From 40eeecc57ca96e99071114bb567f5d3587af47f8 Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Wed, 21 May 2025 15:34:59 -0400 Subject: [PATCH 1/7] Generate current sources --- GoogleAPIClientForREST.podspec | 10 + Package.swift | 20 + .../GTLRAIPlatformNotebooksObjects.m | 40 +- .../GTLRAIPlatformNotebooksQuery.m | 9 +- .../GTLRAIPlatformNotebooksObjects.h | 119 +- .../GTLRAIPlatformNotebooksQuery.h | 6 + .../APIhub/GTLRAPIhubObjects.m | 2002 +++++++ .../APIhub/GTLRAPIhubQuery.m | 1882 ++++++ .../APIhub/GTLRAPIhubService.m | 33 + .../GoogleAPIClientForREST/GTLRAPIhub.h | 11 + .../GTLRAPIhubObjects.h | 5023 +++++++++++++++++ .../GoogleAPIClientForREST/GTLRAPIhubQuery.h | 3902 +++++++++++++ .../GTLRAPIhubService.h | 69 + .../GTLRAdsenseObjects.h | 3 +- .../Aiplatform/GTLRAiplatformObjects.m | 185 +- .../GTLRAiplatformObjects.h | 549 +- .../GTLRAiplatformQuery.h | 8 +- .../AnalyticsHub/GTLRAnalyticsHubObjects.m | 14 +- .../GTLRAnalyticsHubObjects.h | 26 +- .../GTLRAnalyticsHubQuery.h | 94 +- .../GTLRAndroidManagementObjects.m | 205 +- .../GTLRAndroidManagementObjects.h | 1220 +++- .../GTLRAndroidManagementQuery.h | 14 +- .../GTLRAndroidPublisherObjects.m | 215 +- .../GTLRAndroidPublisherQuery.m | 49 + .../GTLRAndroidPublisherObjects.h | 593 +- .../GTLRAndroidPublisherQuery.h | 142 +- .../GTLRApigeeObjects.h | 22 +- .../GoogleAPIClientForREST/GTLRApigeeQuery.h | 50 +- .../Appengine/GTLRAppengineQuery.m | 63 + .../GTLRAppengineQuery.h | 118 + .../Backupdr/GTLRBackupdrObjects.m | 172 +- .../Backupdr/GTLRBackupdrQuery.m | 30 +- .../GTLRBackupdrObjects.h | 403 ++ .../GTLRBackupdrQuery.h | 68 + .../BackupforGKE/GTLRBackupforGKEObjects.m | 37 +- .../GTLRBackupforGKEObjects.h | 119 +- .../GTLRBigQueryReservationObjects.m | 144 + .../GTLRBigQueryReservationQuery.m | 77 + .../GTLRBigQueryReservationObjects.h | 413 +- .../GTLRBigQueryReservationQuery.h | 155 +- .../Bigquery/GTLRBigqueryObjects.m | 3 +- .../GTLRBigqueryObjects.h | 36 +- .../GTLRCloudAlloyDBAdminObjects.m | 35 +- .../GTLRCloudAlloyDBAdminObjects.h | 187 +- .../CloudComposer/GTLRCloudComposerObjects.m | 9 + .../CloudComposer/GTLRCloudComposerQuery.m | 27 + .../GTLRCloudComposerObjects.h | 7 + .../GTLRCloudComposerQuery.h | 35 + .../GTLRCloudDataplexObjects.h | 36 +- .../GTLRCloudDataplexQuery.h | 20 +- .../GTLRCloudHealthcareObjects.h | 6 +- .../GTLRCloudHealthcareQuery.h | 880 ++- .../GTLRCloudKMSObjects.h | 15 +- .../GTLRCloudMemorystoreforMemcachedObjects.m | 10 +- .../GTLRCloudMemorystoreforMemcachedQuery.m | 9 +- .../GTLRCloudMemorystoreforMemcachedObjects.h | 12 + .../GTLRCloudMemorystoreforMemcachedQuery.h | 6 + .../GTLRCloudNaturalLanguageObjects.m | 7 + .../GTLRCloudNaturalLanguageObjects.h | 35 + .../GTLRCloudResourceManagerObjects.h | 2 +- .../GTLRCloudResourceManagerQuery.h | 4 +- .../CloudRetail/GTLRCloudRetailObjects.m | 45 +- .../GTLRCloudRetailObjects.h | 110 +- .../CloudRun/GTLRCloudRunObjects.m | 7 +- .../CloudRun/GTLRCloudRunQuery.m | 50 + .../GTLRCloudRunObjects.h | 53 - .../GTLRCloudRunQuery.h | 87 + .../Compute/GTLRComputeObjects.m | 55 +- .../GTLRComputeObjects.h | 105 +- .../Connectors/GTLRConnectorsObjects.m | 10 +- .../GTLRConnectorsObjects.h | 6 + .../GTLRContactcenterinsightsObjects.m | 140 +- .../GTLRContactcenterinsightsQuery.m | 590 ++ .../GTLRContactcenterinsightsObjects.h | 306 +- .../GTLRContactcenterinsightsQuery.h | 1228 +++- .../Container/GTLRContainerObjects.m | 66 +- .../GTLRContainerObjects.h | 77 + .../GTLRContainerAnalysisObjects.m | 77 +- .../GTLRContainerAnalysisObjects.h | 167 + .../GoogleAPIClientForREST/GTLRDLPObjects.h | 4 +- .../GTLRDataCatalogObjects.h | 18 +- .../GTLRDatabaseMigrationServiceObjects.m | 22 +- .../GTLRDatabaseMigrationServiceObjects.h | 125 + .../Dataflow/GTLRDataflowObjects.m | 58 +- .../Dataflow/GTLRDataflowQuery.m | 31 + .../GTLRDataflowObjects.h | 77 + .../GTLRDataflowQuery.h | 35 + .../Datastream/GTLRDatastreamObjects.m | 17 +- .../GTLRDatastreamObjects.h | 91 +- .../GTLRDeveloperConnectObjects.m | 1 + .../GTLRDeveloperConnectObjects.h | 8 + .../Directory/GTLRDirectoryObjects.m | 6 + .../GTLRDirectoryObjects.h | 78 +- .../GTLRDiscoveryEngineObjects.m | 174 +- .../GTLRDiscoveryEngineQuery.m | 46 + .../GTLRDiscoveryEngineObjects.h | 620 +- .../GTLRDiscoveryEngineQuery.h | 119 +- .../GeneratedServices/Drive/GTLRDriveQuery.m | 6 +- .../GoogleAPIClientForREST/GTLRDriveQuery.h | 13 +- .../GTLRDriveActivityObjects.h | 7 +- .../GTLRFirebaseAppHostingObjects.m | 970 ++++ .../GTLRFirebaseAppHostingQuery.m | 581 ++ .../GTLRFirebaseAppHostingService.m | 41 + .../GTLRFirebaseAppHosting.h | 19 + .../GTLRFirebaseAppHostingObjects.h | 2738 +++++++++ .../GTLRFirebaseAppHostingQuery.h | 1287 +++++ .../GTLRFirebaseAppHostingService.h | 85 + .../GKEHub/GTLRGKEHubObjects.m | 1 + .../GTLRGKEHubObjects.h | 8 + .../HangoutsChat/GTLRHangoutsChatObjects.m | 2 +- .../GTLRHangoutsChatObjects.h | 2 - .../GTLRHangoutsChatQuery.h | 714 ++- .../GTLRKmsinventoryObjects.h | 4 +- .../ManagedKafka/GTLRManagedKafkaObjects.m | 341 ++ .../ManagedKafka/GTLRManagedKafkaQuery.m | 962 ++++ .../GTLRManagedKafkaObjects.h | 851 +++ .../GTLRManagedKafkaQuery.h | 1841 ++++++ .../MapsPlaces/GTLRMapsPlacesObjects.m | 2 +- .../GTLRMapsPlacesObjects.h | 5 +- .../GTLRMonitoringObjects.h | 27 +- .../NetAppFiles/GTLRNetAppFilesObjects.m | 31 +- .../GTLRNetAppFilesObjects.h | 84 +- .../GTLRNetworkSecurityObjects.h | 10 +- .../GTLRNetworkServicesQuery.m | 27 + .../GTLRNetworkServicesQuery.h | 44 + .../GTLRNetworkconnectivityObjects.m | 38 +- .../GTLRNetworkconnectivityQuery.m | 77 + .../GTLRNetworkconnectivityObjects.h | 148 +- .../GTLRNetworkconnectivityQuery.h | 133 + .../OSConfig/GTLROSConfigObjects.m | 25 + .../GTLROSConfigObjects.h | 64 + .../GTLROSConfigQuery.h | 42 +- .../GTLROnDemandScanningObjects.m | 92 +- .../GTLROnDemandScanningObjects.h | 178 +- .../OracleDatabase/GTLROracleDatabaseQuery.m | 2 +- .../GTLROracleDatabaseObjects.h | 4 +- .../GTLROracleDatabaseQuery.h | 9 +- .../GTLRPeopleServiceQuery.h | 32 +- .../PlayIntegrity/GTLRPlayIntegrityObjects.m | 62 + .../PlayIntegrity/GTLRPlayIntegrityQuery.m | 27 + .../GTLRPlayIntegrityObjects.h | 86 + .../GTLRPlayIntegrityQuery.h | 30 + .../GTLRRealTimeBiddingObjects.h | 2 +- .../GTLRRecaptchaEnterpriseObjects.m | 30 +- .../GTLRRecaptchaEnterpriseObjects.h | 95 +- .../GoogleAPIClientForREST/GTLRReportsQuery.h | 16 +- .../GTLRResellerQuery.h | 13 +- .../SQLAdmin/GTLRSQLAdminObjects.m | 3 +- .../GTLRSQLAdminObjects.h | 30 +- .../GTLRSQLAdminQuery.h | 15 +- .../GTLRSecurityCommandCenterObjects.m | 227 +- .../GTLRSecurityCommandCenterObjects.h | 1173 +++- .../GTLRServiceConsumerManagementObjects.m | 49 +- .../GTLRServiceConsumerManagementObjects.h | 163 +- .../GTLRServiceManagementObjects.h | 4 +- .../GTLRServiceNetworkingObjects.m | 49 +- .../GTLRServiceNetworkingObjects.h | 163 +- .../ServiceUsage/GTLRServiceUsageObjects.m | 49 +- .../GTLRServiceUsageObjects.h | 163 +- .../Sheets/GTLRSheetsObjects.m | 15 +- .../GTLRSheetsObjects.h | 23 +- .../GTLRStorageTransferObjects.m | 17 +- .../GTLRStorageTransferObjects.h | 64 +- .../GoogleAPIClientForREST/GTLRTasksQuery.h | 8 +- .../Texttospeech/GTLRTexttospeechObjects.m | 4 +- .../GTLRTexttospeechObjects.h | 42 + .../GTLRWalletobjectsObjects.h | 70 +- 168 files changed, 37037 insertions(+), 1606 deletions(-) create mode 100644 Sources/GeneratedServices/APIhub/GTLRAPIhubObjects.m create mode 100644 Sources/GeneratedServices/APIhub/GTLRAPIhubQuery.m create mode 100644 Sources/GeneratedServices/APIhub/GTLRAPIhubService.m create mode 100644 Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhub.h create mode 100644 Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubObjects.h create mode 100644 Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubQuery.h create mode 100644 Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubService.h create mode 100644 Sources/GeneratedServices/FirebaseAppHosting/GTLRFirebaseAppHostingObjects.m create mode 100644 Sources/GeneratedServices/FirebaseAppHosting/GTLRFirebaseAppHostingQuery.m create mode 100644 Sources/GeneratedServices/FirebaseAppHosting/GTLRFirebaseAppHostingService.m create mode 100644 Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHosting.h create mode 100644 Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingObjects.h create mode 100644 Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingQuery.h create mode 100644 Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingService.h diff --git a/GoogleAPIClientForREST.podspec b/GoogleAPIClientForREST.podspec index c36d86f89..96e9ca31e 100644 --- a/GoogleAPIClientForREST.podspec +++ b/GoogleAPIClientForREST.podspec @@ -199,6 +199,11 @@ Pod::Spec.new do |s| sp.source_files = 'Sources/GeneratedServices/ApigeeRegistry/**/*.{h,m}' sp.public_header_files = 'Sources/GeneratedServices/ApigeeRegistry/Public/GoogleAPIClientForREST/*.h' end + s.subspec 'APIhub' do |sp| + sp.dependency 'GoogleAPIClientForREST/Core' + sp.source_files = 'Sources/GeneratedServices/APIhub/**/*.{h,m}' + sp.public_header_files = 'Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/*.h' + end s.subspec 'ApiKeysService' do |sp| sp.dependency 'GoogleAPIClientForREST/Core' sp.source_files = 'Sources/GeneratedServices/ApiKeysService/**/*.{h,m}' @@ -824,6 +829,11 @@ Pod::Spec.new do |s| sp.source_files = 'Sources/GeneratedServices/FirebaseAppDistribution/**/*.{h,m}' sp.public_header_files = 'Sources/GeneratedServices/FirebaseAppDistribution/Public/GoogleAPIClientForREST/*.h' end + s.subspec 'FirebaseAppHosting' do |sp| + sp.dependency 'GoogleAPIClientForREST/Core' + sp.source_files = 'Sources/GeneratedServices/FirebaseAppHosting/**/*.{h,m}' + sp.public_header_files = 'Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/*.h' + end s.subspec 'FirebaseCloudMessaging' do |sp| sp.dependency 'GoogleAPIClientForREST/Core' sp.source_files = 'Sources/GeneratedServices/FirebaseCloudMessaging/**/*.{h,m}' diff --git a/Package.swift b/Package.swift index 6b072913b..be37f34c6 100644 --- a/Package.swift +++ b/Package.swift @@ -129,6 +129,10 @@ let package = Package( name: "GoogleAPIClientForREST_ApigeeRegistry", targets: ["GoogleAPIClientForREST_ApigeeRegistry"] ), + .library( + name: "GoogleAPIClientForREST_APIhub", + targets: ["GoogleAPIClientForREST_APIhub"] + ), .library( name: "GoogleAPIClientForREST_ApiKeysService", targets: ["GoogleAPIClientForREST_ApiKeysService"] @@ -629,6 +633,10 @@ let package = Package( name: "GoogleAPIClientForREST_FirebaseAppDistribution", targets: ["GoogleAPIClientForREST_FirebaseAppDistribution"] ), + .library( + name: "GoogleAPIClientForREST_FirebaseAppHosting", + targets: ["GoogleAPIClientForREST_FirebaseAppHosting"] + ), .library( name: "GoogleAPIClientForREST_FirebaseCloudMessaging", targets: ["GoogleAPIClientForREST_FirebaseCloudMessaging"] @@ -1407,6 +1415,12 @@ let package = Package( path: "Sources/GeneratedServices/ApigeeRegistry", publicHeadersPath: "Public" ), + .target( + name: "GoogleAPIClientForREST_APIhub", + dependencies: ["GoogleAPIClientForRESTCore"], + path: "Sources/GeneratedServices/APIhub", + publicHeadersPath: "Public" + ), .target( name: "GoogleAPIClientForREST_ApiKeysService", dependencies: ["GoogleAPIClientForRESTCore"], @@ -2157,6 +2171,12 @@ let package = Package( path: "Sources/GeneratedServices/FirebaseAppDistribution", publicHeadersPath: "Public" ), + .target( + name: "GoogleAPIClientForREST_FirebaseAppHosting", + dependencies: ["GoogleAPIClientForRESTCore"], + path: "Sources/GeneratedServices/FirebaseAppHosting", + publicHeadersPath: "Public" + ), .target( name: "GoogleAPIClientForREST_FirebaseCloudMessaging", dependencies: ["GoogleAPIClientForRESTCore"], diff --git a/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksObjects.m b/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksObjects.m index 0232586ca..3ff2c4a3e 100644 --- a/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksObjects.m +++ b/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksObjects.m @@ -43,8 +43,6 @@ // GTLRAIPlatformNotebooks_ConfidentialInstanceConfig.confidentialInstanceType NSString * const kGTLRAIPlatformNotebooks_ConfidentialInstanceConfig_ConfidentialInstanceType_ConfidentialInstanceTypeUnspecified = @"CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED"; NSString * const kGTLRAIPlatformNotebooks_ConfidentialInstanceConfig_ConfidentialInstanceType_Sev = @"SEV"; -NSString * const kGTLRAIPlatformNotebooks_ConfidentialInstanceConfig_ConfidentialInstanceType_SevSnp = @"SEV_SNP"; -NSString * const kGTLRAIPlatformNotebooks_ConfidentialInstanceConfig_ConfidentialInstanceType_Tdx = @"TDX"; // GTLRAIPlatformNotebooks_DataDisk.diskEncryption NSString * const kGTLRAIPlatformNotebooks_DataDisk_DiskEncryption_Cmek = @"CMEK"; @@ -91,6 +89,12 @@ NSString * const kGTLRAIPlatformNotebooks_NetworkInterface_NicType_NicTypeUnspecified = @"NIC_TYPE_UNSPECIFIED"; NSString * const kGTLRAIPlatformNotebooks_NetworkInterface_NicType_VirtioNet = @"VIRTIO_NET"; +// GTLRAIPlatformNotebooks_ReservationAffinity.consumeReservationType +NSString * const kGTLRAIPlatformNotebooks_ReservationAffinity_ConsumeReservationType_ReservationAny = @"RESERVATION_ANY"; +NSString * const kGTLRAIPlatformNotebooks_ReservationAffinity_ConsumeReservationType_ReservationNone = @"RESERVATION_NONE"; +NSString * const kGTLRAIPlatformNotebooks_ReservationAffinity_ConsumeReservationType_ReservationSpecific = @"RESERVATION_SPECIFIC"; +NSString * const kGTLRAIPlatformNotebooks_ReservationAffinity_ConsumeReservationType_ReservationUnspecified = @"RESERVATION_UNSPECIFIED"; + // GTLRAIPlatformNotebooks_UpgradeHistoryEntry.action NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_Action_ActionUnspecified = @"ACTION_UNSPECIFIED"; NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_Action_Rollback = @"ROLLBACK"; @@ -175,7 +179,7 @@ @implementation GTLRAIPlatformNotebooks_CheckInstanceUpgradabilityResponse // @implementation GTLRAIPlatformNotebooks_ConfidentialInstanceConfig -@dynamic confidentialInstanceType, enableConfidentialCompute; +@dynamic confidentialInstanceType; @end @@ -306,8 +310,8 @@ @implementation GTLRAIPlatformNotebooks_GceSetup @dynamic acceleratorConfigs, bootDisk, confidentialInstanceConfig, containerImage, dataDisks, disablePublicIp, enableIpForwarding, gpuDriverConfig, machineType, metadata, minCpuPlatform, - networkInterfaces, serviceAccounts, shieldedInstanceConfig, tags, - vmImage; + networkInterfaces, reservationAffinity, serviceAccounts, + shieldedInstanceConfig, tags, vmImage; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -363,10 +367,10 @@ @implementation GTLRAIPlatformNotebooks_ImageRelease // @implementation GTLRAIPlatformNotebooks_Instance -@dynamic createTime, creator, disableProxyAccess, enableThirdPartyIdentity, - gceSetup, healthInfo, healthState, identifier, instanceOwners, labels, - name, proxyUri, satisfiesPzi, satisfiesPzs, state, thirdPartyProxyUrl, - updateTime, upgradeHistory; +@dynamic createTime, creator, disableProxyAccess, enableDeletionProtection, + enableThirdPartyIdentity, gceSetup, healthInfo, healthState, + identifier, instanceOwners, labels, name, proxyUri, satisfiesPzi, + satisfiesPzs, state, thirdPartyProxyUrl, updateTime, upgradeHistory; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -615,6 +619,24 @@ @implementation GTLRAIPlatformNotebooks_ReportInstanceInfoSystemRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRAIPlatformNotebooks_ReservationAffinity +// + +@implementation GTLRAIPlatformNotebooks_ReservationAffinity +@dynamic consumeReservationType, key, values; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"values" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAIPlatformNotebooks_ResetInstanceRequest diff --git a/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksQuery.m b/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksQuery.m index 85ec0a8a2..606b2e7b4 100644 --- a/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksQuery.m +++ b/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksQuery.m @@ -533,7 +533,14 @@ + (instancetype)queryWithObject:(GTLRAIPlatformNotebooks_UpgradeInstanceSystemRe @implementation GTLRAIPlatformNotebooksQuery_ProjectsLocationsList -@dynamic filter, name, pageSize, pageToken; +@dynamic extraLocationTypes, filter, name, pageSize, pageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"extraLocationTypes" : [NSString class] + }; + return map; +} + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; diff --git a/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h b/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h index 5806bb228..a8b0787d6 100644 --- a/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h +++ b/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h @@ -41,6 +41,7 @@ @class GTLRAIPlatformNotebooks_Operation_Metadata; @class GTLRAIPlatformNotebooks_Operation_Response; @class GTLRAIPlatformNotebooks_Policy; +@class GTLRAIPlatformNotebooks_ReservationAffinity; @class GTLRAIPlatformNotebooks_ServiceAccount; @class GTLRAIPlatformNotebooks_ShieldedInstanceConfig; @class GTLRAIPlatformNotebooks_Snapshot; @@ -213,18 +214,6 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_ConfidentialInstance * Value: "SEV" */ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_ConfidentialInstanceConfig_ConfidentialInstanceType_Sev; -/** - * AMD Secure Encrypted Virtualization - Secure Nested Paging. - * - * Value: "SEV_SNP" - */ -FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_ConfidentialInstanceConfig_ConfidentialInstanceType_SevSnp; -/** - * Intel Trust Domain eXtension. - * - * Value: "TDX" - */ -FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_ConfidentialInstanceConfig_ConfidentialInstanceType_Tdx; // ---------------------------------------------------------------------------- // GTLRAIPlatformNotebooks_DataDisk.diskEncryption @@ -458,6 +447,35 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_NetworkInterface_Nic */ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_NetworkInterface_NicType_VirtioNet; +// ---------------------------------------------------------------------------- +// GTLRAIPlatformNotebooks_ReservationAffinity.consumeReservationType + +/** + * Consume any reservation available. + * + * Value: "RESERVATION_ANY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_ReservationAffinity_ConsumeReservationType_ReservationAny; +/** + * Do not consume from any allocated capacity. + * + * Value: "RESERVATION_NONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_ReservationAffinity_ConsumeReservationType_ReservationNone; +/** + * Must consume from a specific reservation. Must specify key value fields for + * specifying the reservations. + * + * Value: "RESERVATION_SPECIFIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_ReservationAffinity_ConsumeReservationType_ReservationSpecific; +/** + * Default type. + * + * Value: "RESERVATION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_ReservationAffinity_ConsumeReservationType_ReservationUnspecified; + // ---------------------------------------------------------------------------- // GTLRAIPlatformNotebooks_UpgradeHistoryEntry.action @@ -780,22 +798,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_ * "CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED") * @arg @c kGTLRAIPlatformNotebooks_ConfidentialInstanceConfig_ConfidentialInstanceType_Sev * AMD Secure Encrypted Virtualization. (Value: "SEV") - * @arg @c kGTLRAIPlatformNotebooks_ConfidentialInstanceConfig_ConfidentialInstanceType_SevSnp - * AMD Secure Encrypted Virtualization - Secure Nested Paging. (Value: - * "SEV_SNP") - * @arg @c kGTLRAIPlatformNotebooks_ConfidentialInstanceConfig_ConfidentialInstanceType_Tdx - * Intel Trust Domain eXtension. (Value: "TDX") */ @property(nonatomic, copy, nullable) NSString *confidentialInstanceType; -/** - * Optional. Defines whether the instance should have confidential compute - * enabled. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *enableConfidentialCompute; - @end @@ -1161,6 +1166,11 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_ */ @property(nonatomic, strong, nullable) NSArray *networkInterfaces; +/** + * Optional. Specifies the reservations that this instance can consume from. + */ +@property(nonatomic, strong, nullable) GTLRAIPlatformNotebooks_ReservationAffinity *reservationAffinity; + /** * Optional. The service account that serves as an identity for the VM * instance. Currently supports only one service account. @@ -1259,6 +1269,15 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_ */ @property(nonatomic, strong, nullable) NSNumber *disableProxyAccess; +/** + * Optional. If true, deletion protection will be enabled for this Workbench + * Instance. If false, deletion protection will be disabled for this Workbench + * Instance. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableDeletionProtection; + /** * Optional. Flag that specifies that a notebook can be accessed with third * party identity provider. @@ -1310,7 +1329,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_ @property(nonatomic, copy, nullable) NSString *identifier; /** - * Optional. Input only. The owner of this instance after creation. Format: + * Optional. The owner of this instance after creation. Format: * `alias\@example.com` Currently supports one owner only. If not specified, * all of the service account users of your VM instance's service account can * use the instance. @@ -1830,6 +1849,49 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_ @end +/** + * A reservation that an instance can consume from. + */ +@interface GTLRAIPlatformNotebooks_ReservationAffinity : GTLRObject + +/** + * Required. Specifies the type of reservation from which this instance can + * consume resources: RESERVATION_ANY (default), RESERVATION_SPECIFIC, or + * RESERVATION_NONE. See Consuming reserved instances for examples. + * + * Likely values: + * @arg @c kGTLRAIPlatformNotebooks_ReservationAffinity_ConsumeReservationType_ReservationAny + * Consume any reservation available. (Value: "RESERVATION_ANY") + * @arg @c kGTLRAIPlatformNotebooks_ReservationAffinity_ConsumeReservationType_ReservationNone + * Do not consume from any allocated capacity. (Value: + * "RESERVATION_NONE") + * @arg @c kGTLRAIPlatformNotebooks_ReservationAffinity_ConsumeReservationType_ReservationSpecific + * Must consume from a specific reservation. Must specify key value + * fields for specifying the reservations. (Value: + * "RESERVATION_SPECIFIC") + * @arg @c kGTLRAIPlatformNotebooks_ReservationAffinity_ConsumeReservationType_ReservationUnspecified + * Default type. (Value: "RESERVATION_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *consumeReservationType; + +/** + * Optional. Corresponds to the label key of a reservation resource. To target + * a RESERVATION_SPECIFIC by name, use compute.googleapis.com/reservation-name + * as the key and specify the name of your reservation as its value. + */ +@property(nonatomic, copy, nullable) NSString *key; + +/** + * Optional. Corresponds to the label values of a reservation resource. This + * can be either a name to a reservation in the same project or + * "projects/different-project/reservations/some-reservation-name" to target a + * shared reservation in the same zone but in a different project. + */ +@property(nonatomic, strong, nullable) NSArray *values; + +@end + + /** * Request for resetting a notebook instance */ @@ -1923,7 +1985,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_ * Enables monitoring and attestation of the boot integrity of the VM instance. * The attestation is performed against the integrity policy baseline. This * baseline is initially derived from the implicitly trusted boot image when - * the VM instance is created. Enabled by default. + * the VM instance is created. * * Uses NSNumber of boolValue. */ @@ -1940,8 +2002,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_ @property(nonatomic, strong, nullable) NSNumber *enableSecureBoot; /** - * Optional. Defines whether the VM instance has the vTPM enabled. Enabled by - * default. + * Optional. Defines whether the VM instance has the vTPM enabled. * * Uses NSNumber of boolValue. */ diff --git a/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksQuery.h b/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksQuery.h index 7e28889b6..ff86ddaa0 100644 --- a/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksQuery.h +++ b/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksQuery.h @@ -791,6 +791,12 @@ NS_ASSUME_NONNULL_BEGIN */ @interface GTLRAIPlatformNotebooksQuery_ProjectsLocationsList : GTLRAIPlatformNotebooksQuery +/** + * Optional. A list of extra location types that should be used as conditions + * for controlling the visibility of the locations. + */ +@property(nonatomic, strong, nullable) NSArray *extraLocationTypes; + /** * A filter to narrow down results to a preferred subset. The filtering * language accepts strings like `"displayName=tokyo"`, and is documented in diff --git a/Sources/GeneratedServices/APIhub/GTLRAPIhubObjects.m b/Sources/GeneratedServices/APIhub/GTLRAPIhubObjects.m new file mode 100644 index 000000000..7e475e912 --- /dev/null +++ b/Sources/GeneratedServices/APIhub/GTLRAPIhubObjects.m @@ -0,0 +1,2002 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// API hub API (apihub/v1) +// Documentation: +// https://cloud.google.com/apigee/docs/api-hub/what-is-api-hub + +#import + +// ---------------------------------------------------------------------------- +// Constants + +// GTLRAPIhub_GoogleCloudApihubV1ApiHubInstance.state +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ApiHubInstance_State_Active = @"ACTIVE"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ApiHubInstance_State_Creating = @"CREATING"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ApiHubInstance_State_Deleting = @"DELETING"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ApiHubInstance_State_Failed = @"FAILED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ApiHubInstance_State_Inactive = @"INACTIVE"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ApiHubInstance_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ApiHubInstance_State_Updating = @"UPDATING"; + +// GTLRAPIhub_GoogleCloudApihubV1ApiKeyConfig.httpElementLocation +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ApiKeyConfig_HttpElementLocation_Body = @"BODY"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ApiKeyConfig_HttpElementLocation_Cookie = @"COOKIE"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ApiKeyConfig_HttpElementLocation_Header = @"HEADER"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ApiKeyConfig_HttpElementLocation_HttpElementLocationUnspecified = @"HTTP_ELEMENT_LOCATION_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ApiKeyConfig_HttpElementLocation_Path = @"PATH"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ApiKeyConfig_HttpElementLocation_Query = @"QUERY"; + +// GTLRAPIhub_GoogleCloudApihubV1Attribute.dataType +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_DataType_DataTypeUnspecified = @"DATA_TYPE_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_DataType_Enum = @"ENUM"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_DataType_Json = @"JSON"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_DataType_String = @"STRING"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_DataType_Uri = @"URI"; + +// GTLRAPIhub_GoogleCloudApihubV1Attribute.definitionType +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_DefinitionType_DefinitionTypeUnspecified = @"DEFINITION_TYPE_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_DefinitionType_SystemDefined = @"SYSTEM_DEFINED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_DefinitionType_UserDefined = @"USER_DEFINED"; + +// GTLRAPIhub_GoogleCloudApihubV1Attribute.scope +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_Api = @"API"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_ApiOperation = @"API_OPERATION"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_Definition = @"DEFINITION"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_Dependency = @"DEPENDENCY"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_Deployment = @"DEPLOYMENT"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_ExternalApi = @"EXTERNAL_API"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_Plugin = @"PLUGIN"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_ScopeUnspecified = @"SCOPE_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_Spec = @"SPEC"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_Version = @"VERSION"; + +// GTLRAPIhub_GoogleCloudApihubV1AuthConfig.authType +NSString * const kGTLRAPIhub_GoogleCloudApihubV1AuthConfig_AuthType_ApiKey = @"API_KEY"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1AuthConfig_AuthType_AuthTypeUnspecified = @"AUTH_TYPE_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1AuthConfig_AuthType_GoogleServiceAccount = @"GOOGLE_SERVICE_ACCOUNT"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1AuthConfig_AuthType_NoAuth = @"NO_AUTH"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1AuthConfig_AuthType_Oauth2ClientCredentials = @"OAUTH2_CLIENT_CREDENTIALS"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1AuthConfig_AuthType_UserPassword = @"USER_PASSWORD"; + +// GTLRAPIhub_GoogleCloudApihubV1AuthConfigTemplate.supportedAuthTypes +NSString * const kGTLRAPIhub_GoogleCloudApihubV1AuthConfigTemplate_SupportedAuthTypes_ApiKey = @"API_KEY"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1AuthConfigTemplate_SupportedAuthTypes_AuthTypeUnspecified = @"AUTH_TYPE_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1AuthConfigTemplate_SupportedAuthTypes_GoogleServiceAccount = @"GOOGLE_SERVICE_ACCOUNT"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1AuthConfigTemplate_SupportedAuthTypes_NoAuth = @"NO_AUTH"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1AuthConfigTemplate_SupportedAuthTypes_Oauth2ClientCredentials = @"OAUTH2_CLIENT_CREDENTIALS"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1AuthConfigTemplate_SupportedAuthTypes_UserPassword = @"USER_PASSWORD"; + +// GTLRAPIhub_GoogleCloudApihubV1CollectApiDataRequest.collectionType +NSString * const kGTLRAPIhub_GoogleCloudApihubV1CollectApiDataRequest_CollectionType_CollectionTypeDelete = @"COLLECTION_TYPE_DELETE"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1CollectApiDataRequest_CollectionType_CollectionTypeUnspecified = @"COLLECTION_TYPE_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1CollectApiDataRequest_CollectionType_CollectionTypeUpsert = @"COLLECTION_TYPE_UPSERT"; + +// GTLRAPIhub_GoogleCloudApihubV1Config.encryptionType +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Config_EncryptionType_Cmek = @"CMEK"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Config_EncryptionType_EncryptionTypeUnspecified = @"ENCRYPTION_TYPE_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Config_EncryptionType_Gmek = @"GMEK"; + +// GTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate.valueType +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate_ValueType_Bool = @"BOOL"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate_ValueType_Enum = @"ENUM"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate_ValueType_Int = @"INT"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate_ValueType_MultiInt = @"MULTI_INT"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate_ValueType_MultiSelect = @"MULTI_SELECT"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate_ValueType_MultiString = @"MULTI_STRING"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate_ValueType_Secret = @"SECRET"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate_ValueType_String = @"STRING"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate_ValueType_ValueTypeUnspecified = @"VALUE_TYPE_UNSPECIFIED"; + +// GTLRAPIhub_GoogleCloudApihubV1Curation.lastExecutionErrorCode +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Curation_LastExecutionErrorCode_ErrorCodeUnspecified = @"ERROR_CODE_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Curation_LastExecutionErrorCode_InternalError = @"INTERNAL_ERROR"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Curation_LastExecutionErrorCode_Unauthorized = @"UNAUTHORIZED"; + +// GTLRAPIhub_GoogleCloudApihubV1Curation.lastExecutionState +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Curation_LastExecutionState_Failed = @"FAILED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Curation_LastExecutionState_LastExecutionStateUnspecified = @"LAST_EXECUTION_STATE_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Curation_LastExecutionState_Succeeded = @"SUCCEEDED"; + +// GTLRAPIhub_GoogleCloudApihubV1CurationConfig.curationType +NSString * const kGTLRAPIhub_GoogleCloudApihubV1CurationConfig_CurationType_CurationTypeUnspecified = @"CURATION_TYPE_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1CurationConfig_CurationType_CustomCurationForApiMetadata = @"CUSTOM_CURATION_FOR_API_METADATA"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1CurationConfig_CurationType_DefaultCurationForApiMetadata = @"DEFAULT_CURATION_FOR_API_METADATA"; + +// GTLRAPIhub_GoogleCloudApihubV1Definition.type +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Definition_Type_Schema = @"SCHEMA"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Definition_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; + +// GTLRAPIhub_GoogleCloudApihubV1Dependency.discoveryMode +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Dependency_DiscoveryMode_DiscoveryModeUnspecified = @"DISCOVERY_MODE_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Dependency_DiscoveryMode_Manual = @"MANUAL"; + +// GTLRAPIhub_GoogleCloudApihubV1Dependency.state +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Dependency_State_Proposed = @"PROPOSED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Dependency_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Dependency_State_Validated = @"VALIDATED"; + +// GTLRAPIhub_GoogleCloudApihubV1DependencyErrorDetail.error +NSString * const kGTLRAPIhub_GoogleCloudApihubV1DependencyErrorDetail_Error_ErrorUnspecified = @"ERROR_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1DependencyErrorDetail_Error_SupplierNotFound = @"SUPPLIER_NOT_FOUND"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1DependencyErrorDetail_Error_SupplierRecreated = @"SUPPLIER_RECREATED"; + +// GTLRAPIhub_GoogleCloudApihubV1ExecutionStatus.currentExecutionState +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ExecutionStatus_CurrentExecutionState_CurrentExecutionStateUnspecified = @"CURRENT_EXECUTION_STATE_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ExecutionStatus_CurrentExecutionState_NotRunning = @"NOT_RUNNING"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ExecutionStatus_CurrentExecutionState_Running = @"RUNNING"; + +// GTLRAPIhub_GoogleCloudApihubV1HttpOperation.method +NSString * const kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Delete = @"DELETE"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Get = @"GET"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Head = @"HEAD"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_MethodUnspecified = @"METHOD_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Options = @"OPTIONS"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Patch = @"PATCH"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Post = @"POST"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Put = @"PUT"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Trace = @"TRACE"; + +// GTLRAPIhub_GoogleCloudApihubV1Issue.severity +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Issue_Severity_SeverityError = @"SEVERITY_ERROR"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Issue_Severity_SeverityHint = @"SEVERITY_HINT"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Issue_Severity_SeverityInfo = @"SEVERITY_INFO"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Issue_Severity_SeverityUnspecified = @"SEVERITY_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Issue_Severity_SeverityWarning = @"SEVERITY_WARNING"; + +// GTLRAPIhub_GoogleCloudApihubV1LastExecution.result +NSString * const kGTLRAPIhub_GoogleCloudApihubV1LastExecution_Result_Failed = @"FAILED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1LastExecution_Result_ResultUnspecified = @"RESULT_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1LastExecution_Result_Succeeded = @"SUCCEEDED"; + +// GTLRAPIhub_GoogleCloudApihubV1LintResponse.linter +NSString * const kGTLRAPIhub_GoogleCloudApihubV1LintResponse_Linter_LinterUnspecified = @"LINTER_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1LintResponse_Linter_Other = @"OTHER"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1LintResponse_Linter_Spectral = @"SPECTRAL"; + +// GTLRAPIhub_GoogleCloudApihubV1LintResponse.state +NSString * const kGTLRAPIhub_GoogleCloudApihubV1LintResponse_State_LintStateError = @"LINT_STATE_ERROR"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1LintResponse_State_LintStateSuccess = @"LINT_STATE_SUCCESS"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1LintResponse_State_LintStateUnspecified = @"LINT_STATE_UNSPECIFIED"; + +// GTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails.format +NSString * const kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails_Format_FormatUnspecified = @"FORMAT_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails_Format_OpenApiSpec20 = @"OPEN_API_SPEC_2_0"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails_Format_OpenApiSpec30 = @"OPEN_API_SPEC_3_0"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails_Format_OpenApiSpec31 = @"OPEN_API_SPEC_3_1"; + +// GTLRAPIhub_GoogleCloudApihubV1Plugin.ownershipType +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_OwnershipType_OwnershipTypeUnspecified = @"OWNERSHIP_TYPE_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_OwnershipType_SystemOwned = @"SYSTEM_OWNED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_OwnershipType_UserOwned = @"USER_OWNED"; + +// GTLRAPIhub_GoogleCloudApihubV1Plugin.pluginCategory +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_PluginCategory_ApiGateway = @"API_GATEWAY"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_PluginCategory_ApiProducer = @"API_PRODUCER"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_PluginCategory_PluginCategoryUnspecified = @"PLUGIN_CATEGORY_UNSPECIFIED"; + +// GTLRAPIhub_GoogleCloudApihubV1Plugin.state +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_State_Disabled = @"DISABLED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_State_Enabled = @"ENABLED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRAPIhub_GoogleCloudApihubV1PluginActionConfig.triggerMode +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginActionConfig_TriggerMode_ApiHubOnDemandTrigger = @"API_HUB_ON_DEMAND_TRIGGER"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginActionConfig_TriggerMode_ApiHubScheduleTrigger = @"API_HUB_SCHEDULE_TRIGGER"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginActionConfig_TriggerMode_NonApiHubManaged = @"NON_API_HUB_MANAGED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginActionConfig_TriggerMode_TriggerModeUnspecified = @"TRIGGER_MODE_UNSPECIFIED"; + +// GTLRAPIhub_GoogleCloudApihubV1PluginInstance.state +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstance_State_Active = @"ACTIVE"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstance_State_ApplyingConfig = @"APPLYING_CONFIG"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstance_State_Creating = @"CREATING"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstance_State_Deleting = @"DELETING"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstance_State_Error = @"ERROR"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstance_State_Failed = @"FAILED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstance_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction.state +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_Disabled = @"DISABLED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_Disabling = @"DISABLING"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_Enabled = @"ENABLED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_Enabling = @"ENABLING"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_Error = @"ERROR"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRAPIhub_GoogleCloudApihubV1SourceMetadata.sourceType +NSString * const kGTLRAPIhub_GoogleCloudApihubV1SourceMetadata_SourceType_Plugin = @"PLUGIN"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1SourceMetadata_SourceType_SourceTypeUnspecified = @"SOURCE_TYPE_UNSPECIFIED"; + +// GTLRAPIhub_GoogleCloudApihubV1Spec.parsingMode +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Spec_ParsingMode_ParsingModeUnspecified = @"PARSING_MODE_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Spec_ParsingMode_Relaxed = @"RELAXED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Spec_ParsingMode_Strict = @"STRICT"; + +// GTLRAPIhub_GoogleCloudApihubV1StyleGuide.linter +NSString * const kGTLRAPIhub_GoogleCloudApihubV1StyleGuide_Linter_LinterUnspecified = @"LINTER_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1StyleGuide_Linter_Other = @"OTHER"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1StyleGuide_Linter_Spectral = @"SPECTRAL"; + +// GTLRAPIhub_GoogleCloudApihubV1SummaryEntry.severity +NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_Severity_SeverityError = @"SEVERITY_ERROR"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_Severity_SeverityHint = @"SEVERITY_HINT"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_Severity_SeverityInfo = @"SEVERITY_INFO"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_Severity_SeverityUnspecified = @"SEVERITY_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_Severity_SeverityWarning = @"SEVERITY_WARNING"; + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_Empty +// + +@implementation GTLRAPIhub_Empty +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ActionExecutionDetail +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ActionExecutionDetail +@dynamic actionId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1AllowedValue +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1AllowedValue +@dynamic descriptionProperty, displayName, identifier, immutable; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"descriptionProperty" : @"description", + @"identifier" : @"id" + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Api +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Api +@dynamic apiFunctionalRequirements, apiRequirements, apiStyle, + apiTechnicalRequirements, attributes, businessUnit, createTime, + descriptionProperty, displayName, documentation, fingerprint, + maturityLevel, name, owner, selectedVersion, sourceMetadata, + targetUser, team, updateTime, versions; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"sourceMetadata" : [GTLRAPIhub_GoogleCloudApihubV1SourceMetadata class], + @"versions" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Api_Attributes +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Api_Attributes + ++ (Class)classForAdditionalProperties { + return [GTLRAPIhub_GoogleCloudApihubV1AttributeValues class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ApiData +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ApiData +@dynamic apiMetadataList; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ApiHubInstance +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ApiHubInstance +@dynamic config, createTime, descriptionProperty, labels, name, state, + stateMessage, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ApiHubInstance_Labels +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ApiHubInstance_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ApiHubResource +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ApiHubResource +@dynamic api, definition, deployment, operation, spec, version; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ApiKeyConfig +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ApiKeyConfig +@dynamic apiKey, httpElementLocation, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1APIMetadata +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1APIMetadata +@dynamic api, originalCreateTime, originalId, originalUpdateTime, versions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"versions" : [GTLRAPIhub_GoogleCloudApihubV1VersionMetadata class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ApiMetadataList +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ApiMetadataList +@dynamic apiMetadata; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"apiMetadata" : [GTLRAPIhub_GoogleCloudApihubV1APIMetadata class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ApiOperation +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ApiOperation +@dynamic attributes, createTime, details, name, sourceMetadata, spec, + updateTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"sourceMetadata" : [GTLRAPIhub_GoogleCloudApihubV1SourceMetadata class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ApiOperation_Attributes +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ApiOperation_Attributes + ++ (Class)classForAdditionalProperties { + return [GTLRAPIhub_GoogleCloudApihubV1AttributeValues class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ApplicationIntegrationEndpointDetails +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ApplicationIntegrationEndpointDetails +@dynamic triggerId, uri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Attribute +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Attribute +@dynamic allowedValues, cardinality, createTime, dataType, definitionType, + descriptionProperty, displayName, mandatory, name, scope, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"allowedValues" : [GTLRAPIhub_GoogleCloudApihubV1AllowedValue class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1AttributeValues +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1AttributeValues +@dynamic attribute, enumValues, jsonValues, stringValues, uriValues; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1AuthConfig +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1AuthConfig +@dynamic apiKeyConfig, authType, googleServiceAccountConfig, + oauth2ClientCredentialsConfig, userPasswordConfig; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1AuthConfigTemplate +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1AuthConfigTemplate +@dynamic serviceAccount, supportedAuthTypes; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"supportedAuthTypes" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1CollectApiDataRequest +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1CollectApiDataRequest +@dynamic actionId, apiData, collectionType, pluginInstance; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Config +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Config +@dynamic cmekKeyName, disableSearch, encryptionType, vertexLocation; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ConfigTemplate +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ConfigTemplate +@dynamic additionalConfigTemplate, authConfigTemplate; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"additionalConfigTemplate" : [GTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ConfigValueOption +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ConfigValueOption +@dynamic descriptionProperty, displayName, identifier; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"descriptionProperty" : @"description", + @"identifier" : @"id" + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ConfigVariable +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ConfigVariable +@dynamic boolValue, enumValue, intValue, key, multiIntValues, multiSelectValues, + multiStringValues, secretValue, stringValue; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate +@dynamic descriptionProperty, enumOptions, identifier, multiSelectOptions, + required, validationRegex, valueType; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"descriptionProperty" : @"description", + @"identifier" : @"id" + }; + return map; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"enumOptions" : [GTLRAPIhub_GoogleCloudApihubV1ConfigValueOption class], + @"multiSelectOptions" : [GTLRAPIhub_GoogleCloudApihubV1ConfigValueOption class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Curation +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Curation +@dynamic createTime, descriptionProperty, displayName, endpoint, + lastExecutionErrorCode, lastExecutionErrorMessage, lastExecutionState, + name, pluginInstanceActions, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"pluginInstanceActions" : [GTLRAPIhub_GoogleCloudApihubV1PluginInstanceActionID class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1CurationConfig +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1CurationConfig +@dynamic curationType, customCuration; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1CustomCuration +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1CustomCuration +@dynamic curation; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Definition +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Definition +@dynamic attributes, createTime, name, schema, spec, type, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Definition_Attributes +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Definition_Attributes + ++ (Class)classForAdditionalProperties { + return [GTLRAPIhub_GoogleCloudApihubV1AttributeValues class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Dependency +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Dependency +@dynamic attributes, consumer, createTime, descriptionProperty, discoveryMode, + errorDetail, name, state, supplier, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Dependency_Attributes +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Dependency_Attributes + ++ (Class)classForAdditionalProperties { + return [GTLRAPIhub_GoogleCloudApihubV1AttributeValues class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1DependencyEntityReference +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1DependencyEntityReference +@dynamic displayName, externalApiResourceName, operationResourceName; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1DependencyErrorDetail +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1DependencyErrorDetail +@dynamic error, errorTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Deployment +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Deployment +@dynamic apiVersions, attributes, createTime, deploymentType, + descriptionProperty, displayName, documentation, endpoints, + environment, name, resourceUri, slo, sourceMetadata, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"apiVersions" : [NSString class], + @"endpoints" : [NSString class], + @"sourceMetadata" : [GTLRAPIhub_GoogleCloudApihubV1SourceMetadata class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Deployment_Attributes +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Deployment_Attributes + ++ (Class)classForAdditionalProperties { + return [GTLRAPIhub_GoogleCloudApihubV1AttributeValues class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1DeploymentMetadata +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1DeploymentMetadata +@dynamic deployment, originalCreateTime, originalId, originalUpdateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1DisablePluginInstanceActionRequest +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1DisablePluginInstanceActionRequest +@dynamic actionId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1DisablePluginRequest +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1DisablePluginRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Documentation +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Documentation +@dynamic externalUri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1EnablePluginInstanceActionRequest +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1EnablePluginInstanceActionRequest +@dynamic actionId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1EnablePluginRequest +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1EnablePluginRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Endpoint +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Endpoint +@dynamic applicationIntegrationEndpointDetails; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1EnumAttributeValues +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1EnumAttributeValues +@dynamic values; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"values" : [GTLRAPIhub_GoogleCloudApihubV1AllowedValue class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ExecutePluginInstanceActionRequest +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ExecutePluginInstanceActionRequest +@dynamic actionExecutionDetail; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ExecutionStatus +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ExecutionStatus +@dynamic currentExecutionState, lastExecution; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ExternalApi +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ExternalApi +@dynamic attributes, createTime, descriptionProperty, displayName, + documentation, endpoints, name, paths, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"endpoints" : [NSString class], + @"paths" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ExternalApi_Attributes +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ExternalApi_Attributes + ++ (Class)classForAdditionalProperties { + return [GTLRAPIhub_GoogleCloudApihubV1AttributeValues class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1GoogleServiceAccountConfig +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1GoogleServiceAccountConfig +@dynamic serviceAccount; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1HostingService +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1HostingService +@dynamic serviceUri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1HostProjectRegistration +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1HostProjectRegistration +@dynamic createTime, gcpProject, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1HttpOperation +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1HttpOperation +@dynamic method, path; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Issue +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Issue +@dynamic code, message, path, range, severity; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"path" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1LastExecution +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1LastExecution +@dynamic endTime, errorMessage, result, startTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1LintResponse +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1LintResponse +@dynamic createTime, issues, linter, source, state, summary; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"issues" : [GTLRAPIhub_GoogleCloudApihubV1Issue class], + @"summary" : [GTLRAPIhub_GoogleCloudApihubV1SummaryEntry class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1LintSpecRequest +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1LintSpecRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ListApiOperationsResponse +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ListApiOperationsResponse +@dynamic apiOperations, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"apiOperations" : [GTLRAPIhub_GoogleCloudApihubV1ApiOperation class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"apiOperations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ListApisResponse +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ListApisResponse +@dynamic apis, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"apis" : [GTLRAPIhub_GoogleCloudApihubV1Api class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"apis"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ListAttributesResponse +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ListAttributesResponse +@dynamic attributes, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"attributes" : [GTLRAPIhub_GoogleCloudApihubV1Attribute class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"attributes"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ListCurationsResponse +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ListCurationsResponse +@dynamic curations, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"curations" : [GTLRAPIhub_GoogleCloudApihubV1Curation class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"curations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ListDependenciesResponse +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ListDependenciesResponse +@dynamic dependencies, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dependencies" : [GTLRAPIhub_GoogleCloudApihubV1Dependency class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"dependencies"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ListDeploymentsResponse +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ListDeploymentsResponse +@dynamic deployments, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"deployments" : [GTLRAPIhub_GoogleCloudApihubV1Deployment class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"deployments"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ListExternalApisResponse +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ListExternalApisResponse +@dynamic externalApis, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"externalApis" : [GTLRAPIhub_GoogleCloudApihubV1ExternalApi class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"externalApis"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ListHostProjectRegistrationsResponse +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ListHostProjectRegistrationsResponse +@dynamic hostProjectRegistrations, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"hostProjectRegistrations" : [GTLRAPIhub_GoogleCloudApihubV1HostProjectRegistration class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"hostProjectRegistrations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ListPluginInstancesResponse +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ListPluginInstancesResponse +@dynamic nextPageToken, pluginInstances; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"pluginInstances" : [GTLRAPIhub_GoogleCloudApihubV1PluginInstance class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"pluginInstances"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ListPluginsResponse +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ListPluginsResponse +@dynamic nextPageToken, plugins; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"plugins" : [GTLRAPIhub_GoogleCloudApihubV1Plugin class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"plugins"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ListRuntimeProjectAttachmentsResponse +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ListRuntimeProjectAttachmentsResponse +@dynamic nextPageToken, runtimeProjectAttachments; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"runtimeProjectAttachments" : [GTLRAPIhub_GoogleCloudApihubV1RuntimeProjectAttachment class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"runtimeProjectAttachments"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ListSpecsResponse +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ListSpecsResponse +@dynamic nextPageToken, specs; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"specs" : [GTLRAPIhub_GoogleCloudApihubV1Spec class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"specs"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ListVersionsResponse +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ListVersionsResponse +@dynamic nextPageToken, versions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"versions" : [GTLRAPIhub_GoogleCloudApihubV1Version class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"versions"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1LookupApiHubInstanceResponse +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1LookupApiHubInstanceResponse +@dynamic apiHubInstance; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1LookupRuntimeProjectAttachmentResponse +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1LookupRuntimeProjectAttachmentResponse +@dynamic runtimeProjectAttachment; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1MultiIntValues +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1MultiIntValues +@dynamic values; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"values" : [NSNumber class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1MultiSelectValues +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1MultiSelectValues +@dynamic values; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"values" : [GTLRAPIhub_GoogleCloudApihubV1ConfigValueOption class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1MultiStringValues +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1MultiStringValues +@dynamic values; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"values" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Oauth2ClientCredentialsConfig +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Oauth2ClientCredentialsConfig +@dynamic clientId, clientSecret; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails +@dynamic format, owner, version; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1OperationDetails +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1OperationDetails +@dynamic deprecated, descriptionProperty, documentation, httpOperation; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1OperationMetadata +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1OperationMetadata +@dynamic apiVersion, createTime, endTime, requestedCancellation, statusMessage, + target, verb; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Owner +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Owner +@dynamic displayName, email; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Path +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Path +@dynamic descriptionProperty, path; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Plugin +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Plugin +@dynamic actionsConfig, configTemplate, createTime, descriptionProperty, + displayName, documentation, hostingService, name, ownershipType, + pluginCategory, state, type, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"actionsConfig" : [GTLRAPIhub_GoogleCloudApihubV1PluginActionConfig class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1PluginActionConfig +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1PluginActionConfig +@dynamic descriptionProperty, displayName, identifier, triggerMode; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"descriptionProperty" : @"description", + @"identifier" : @"id" + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1PluginInstance +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1PluginInstance +@dynamic actions, additionalConfig, authConfig, createTime, displayName, + errorMessage, name, state, updateTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"actions" : [GTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1PluginInstance_AdditionalConfig +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1PluginInstance_AdditionalConfig + ++ (Class)classForAdditionalProperties { + return [GTLRAPIhub_GoogleCloudApihubV1ConfigVariable class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction +@dynamic actionId, curationConfig, hubInstanceAction, scheduleCronExpression, + scheduleTimeZone, state; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1PluginInstanceActionID +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1PluginInstanceActionID +@dynamic actionId, pluginInstance; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1PluginInstanceActionSource +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1PluginInstanceActionSource +@dynamic actionId, pluginInstance; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Point +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Point +@dynamic character, line; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Range +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Range +@dynamic end, start; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1RuntimeProjectAttachment +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1RuntimeProjectAttachment +@dynamic createTime, name, runtimeProject; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Schema +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Schema +@dynamic displayName, rawValue; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1SearchResourcesRequest +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1SearchResourcesRequest +@dynamic filter, pageSize, pageToken, query; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1SearchResourcesResponse +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1SearchResourcesResponse +@dynamic nextPageToken, searchResults; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"searchResults" : [GTLRAPIhub_GoogleCloudApihubV1SearchResult class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"searchResults"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1SearchResult +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1SearchResult +@dynamic resource; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Secret +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Secret +@dynamic secretVersion; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1SourceMetadata +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1SourceMetadata +@dynamic originalResourceCreateTime, originalResourceId, + originalResourceUpdateTime, pluginInstanceActionSource, sourceType; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Spec +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Spec +@dynamic attributes, contents, createTime, details, displayName, documentation, + lintResponse, name, parsingMode, sourceMetadata, sourceUri, specType, + updateTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"sourceMetadata" : [GTLRAPIhub_GoogleCloudApihubV1SourceMetadata class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Spec_Attributes +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Spec_Attributes + ++ (Class)classForAdditionalProperties { + return [GTLRAPIhub_GoogleCloudApihubV1AttributeValues class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1SpecContents +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1SpecContents +@dynamic contents, mimeType; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1SpecDetails +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1SpecDetails +@dynamic descriptionProperty, openApiSpecDetails; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1SpecMetadata +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1SpecMetadata +@dynamic originalCreateTime, originalId, originalUpdateTime, spec; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1StringAttributeValues +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1StringAttributeValues +@dynamic values; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"values" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1StyleGuide +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1StyleGuide +@dynamic contents, linter, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1StyleGuideContents +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1StyleGuideContents +@dynamic contents, mimeType; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1SummaryEntry +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1SummaryEntry +@dynamic count, severity; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1UserPasswordConfig +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1UserPasswordConfig +@dynamic password, username; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Version +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Version +@dynamic accreditation, apiOperations, attributes, compliance, createTime, + definitions, deployments, descriptionProperty, displayName, + documentation, lifecycle, name, selectedDeployment, sourceMetadata, + specs, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"apiOperations" : [NSString class], + @"definitions" : [NSString class], + @"deployments" : [NSString class], + @"sourceMetadata" : [GTLRAPIhub_GoogleCloudApihubV1SourceMetadata class], + @"specs" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Version_Attributes +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Version_Attributes + ++ (Class)classForAdditionalProperties { + return [GTLRAPIhub_GoogleCloudApihubV1AttributeValues class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1VersionMetadata +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1VersionMetadata +@dynamic deployments, originalCreateTime, originalId, originalUpdateTime, specs, + version; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"deployments" : [GTLRAPIhub_GoogleCloudApihubV1DeploymentMetadata class], + @"specs" : [GTLRAPIhub_GoogleCloudApihubV1SpecMetadata class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudCommonOperationMetadata +// + +@implementation GTLRAPIhub_GoogleCloudCommonOperationMetadata +@dynamic apiVersion, cancelRequested, createTime, endTime, statusDetail, target, + verb; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudLocationListLocationsResponse +// + +@implementation GTLRAPIhub_GoogleCloudLocationListLocationsResponse +@dynamic locations, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"locations" : [GTLRAPIhub_GoogleCloudLocationLocation class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"locations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudLocationLocation +// + +@implementation GTLRAPIhub_GoogleCloudLocationLocation +@dynamic displayName, labels, locationId, metadata, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudLocationLocation_Labels +// + +@implementation GTLRAPIhub_GoogleCloudLocationLocation_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudLocationLocation_Metadata +// + +@implementation GTLRAPIhub_GoogleCloudLocationLocation_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleLongrunningCancelOperationRequest +// + +@implementation GTLRAPIhub_GoogleLongrunningCancelOperationRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleLongrunningListOperationsResponse +// + +@implementation GTLRAPIhub_GoogleLongrunningListOperationsResponse +@dynamic nextPageToken, operations; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"operations" : [GTLRAPIhub_GoogleLongrunningOperation class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"operations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleLongrunningOperation +// + +@implementation GTLRAPIhub_GoogleLongrunningOperation +@dynamic done, error, metadata, name, response; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleLongrunningOperation_Metadata +// + +@implementation GTLRAPIhub_GoogleLongrunningOperation_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleLongrunningOperation_Response +// + +@implementation GTLRAPIhub_GoogleLongrunningOperation_Response + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleRpcStatus +// + +@implementation GTLRAPIhub_GoogleRpcStatus +@dynamic code, details, message; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"details" : [GTLRAPIhub_GoogleRpcStatus_Details_Item class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleRpcStatus_Details_Item +// + +@implementation GTLRAPIhub_GoogleRpcStatus_Details_Item + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end diff --git a/Sources/GeneratedServices/APIhub/GTLRAPIhubQuery.m b/Sources/GeneratedServices/APIhub/GTLRAPIhubQuery.m new file mode 100644 index 000000000..df0c10c92 --- /dev/null +++ b/Sources/GeneratedServices/APIhub/GTLRAPIhubQuery.m @@ -0,0 +1,1882 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// API hub API (apihub/v1) +// Documentation: +// https://cloud.google.com/apigee/docs/api-hub/what-is-api-hub + +#import + +@implementation GTLRAPIhubQuery + +@dynamic fields; + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsApiHubInstancesCreate + +@dynamic apiHubInstanceId, parent; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1ApiHubInstance *)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}/apiHubInstances"; + GTLRAPIhubQuery_ProjectsLocationsApiHubInstancesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleLongrunningOperation class]; + query.loggingName = @"apihub.projects.locations.apiHubInstances.create"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsApiHubInstancesDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsApiHubInstancesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleLongrunningOperation class]; + query.loggingName = @"apihub.projects.locations.apiHubInstances.delete"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsApiHubInstancesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsApiHubInstancesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1ApiHubInstance class]; + query.loggingName = @"apihub.projects.locations.apiHubInstances.get"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsApiHubInstancesLookup + +@dynamic parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/apiHubInstances:lookup"; + GTLRAPIhubQuery_ProjectsLocationsApiHubInstancesLookup *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1LookupApiHubInstanceResponse class]; + query.loggingName = @"apihub.projects.locations.apiHubInstances.lookup"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsApisCreate + +@dynamic apiId, parent; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Api *)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}/apis"; + GTLRAPIhubQuery_ProjectsLocationsApisCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1Api class]; + query.loggingName = @"apihub.projects.locations.apis.create"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsApisDelete + +@dynamic force, name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsApisDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_Empty class]; + query.loggingName = @"apihub.projects.locations.apis.delete"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsApisGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsApisGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1Api class]; + query.loggingName = @"apihub.projects.locations.apis.get"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsApisList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/apis"; + GTLRAPIhubQuery_ProjectsLocationsApisList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1ListApisResponse class]; + query.loggingName = @"apihub.projects.locations.apis.list"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsApisPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Api *)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}"; + GTLRAPIhubQuery_ProjectsLocationsApisPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1Api class]; + query.loggingName = @"apihub.projects.locations.apis.patch"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsApisVersionsCreate + +@dynamic parent, versionId; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Version *)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}/versions"; + GTLRAPIhubQuery_ProjectsLocationsApisVersionsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1Version class]; + query.loggingName = @"apihub.projects.locations.apis.versions.create"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsApisVersionsDefinitionsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsApisVersionsDefinitionsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1Definition class]; + query.loggingName = @"apihub.projects.locations.apis.versions.definitions.get"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsApisVersionsDelete + +@dynamic force, name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsApisVersionsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_Empty class]; + query.loggingName = @"apihub.projects.locations.apis.versions.delete"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsApisVersionsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsApisVersionsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1Version class]; + query.loggingName = @"apihub.projects.locations.apis.versions.get"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsApisVersionsList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/versions"; + GTLRAPIhubQuery_ProjectsLocationsApisVersionsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1ListVersionsResponse class]; + query.loggingName = @"apihub.projects.locations.apis.versions.list"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsApisVersionsOperationsCreate + +@dynamic apiOperationId, parent; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1ApiOperation *)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}/operations"; + GTLRAPIhubQuery_ProjectsLocationsApisVersionsOperationsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1ApiOperation class]; + query.loggingName = @"apihub.projects.locations.apis.versions.operations.create"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsApisVersionsOperationsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsApisVersionsOperationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_Empty class]; + query.loggingName = @"apihub.projects.locations.apis.versions.operations.delete"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsApisVersionsOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsApisVersionsOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1ApiOperation class]; + query.loggingName = @"apihub.projects.locations.apis.versions.operations.get"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsApisVersionsOperationsList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/operations"; + GTLRAPIhubQuery_ProjectsLocationsApisVersionsOperationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1ListApiOperationsResponse class]; + query.loggingName = @"apihub.projects.locations.apis.versions.operations.list"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsApisVersionsOperationsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1ApiOperation *)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}"; + GTLRAPIhubQuery_ProjectsLocationsApisVersionsOperationsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1ApiOperation class]; + query.loggingName = @"apihub.projects.locations.apis.versions.operations.patch"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsApisVersionsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Version *)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}"; + GTLRAPIhubQuery_ProjectsLocationsApisVersionsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1Version class]; + query.loggingName = @"apihub.projects.locations.apis.versions.patch"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsCreate + +@dynamic parent, specId; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Spec *)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}/specs"; + GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1Spec class]; + query.loggingName = @"apihub.projects.locations.apis.versions.specs.create"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_Empty class]; + query.loggingName = @"apihub.projects.locations.apis.versions.specs.delete"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1Spec class]; + query.loggingName = @"apihub.projects.locations.apis.versions.specs.get"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsGetContents + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:contents"; + GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsGetContents *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1SpecContents class]; + query.loggingName = @"apihub.projects.locations.apis.versions.specs.getContents"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsLint + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1LintSpecRequest *)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}:lint"; + GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsLint *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_Empty class]; + query.loggingName = @"apihub.projects.locations.apis.versions.specs.lint"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/specs"; + GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1ListSpecsResponse class]; + query.loggingName = @"apihub.projects.locations.apis.versions.specs.list"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Spec *)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}"; + GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1Spec class]; + query.loggingName = @"apihub.projects.locations.apis.versions.specs.patch"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsAttributesCreate + +@dynamic attributeId, parent; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Attribute *)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}/attributes"; + GTLRAPIhubQuery_ProjectsLocationsAttributesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1Attribute class]; + query.loggingName = @"apihub.projects.locations.attributes.create"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsAttributesDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsAttributesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_Empty class]; + query.loggingName = @"apihub.projects.locations.attributes.delete"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsAttributesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsAttributesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1Attribute class]; + query.loggingName = @"apihub.projects.locations.attributes.get"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsAttributesList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/attributes"; + GTLRAPIhubQuery_ProjectsLocationsAttributesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1ListAttributesResponse class]; + query.loggingName = @"apihub.projects.locations.attributes.list"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsAttributesPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Attribute *)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}"; + GTLRAPIhubQuery_ProjectsLocationsAttributesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1Attribute class]; + query.loggingName = @"apihub.projects.locations.attributes.patch"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsCollectApiData + +@dynamic location; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1CollectApiDataRequest *)object + location:(NSString *)location { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"location" ]; + NSString *pathURITemplate = @"v1/{+location}:collectApiData"; + GTLRAPIhubQuery_ProjectsLocationsCollectApiData *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.location = location; + query.expectedObjectClass = [GTLRAPIhub_GoogleLongrunningOperation class]; + query.loggingName = @"apihub.projects.locations.collectApiData"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsCurationsCreate + +@dynamic curationId, parent; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Curation *)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}/curations"; + GTLRAPIhubQuery_ProjectsLocationsCurationsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1Curation class]; + query.loggingName = @"apihub.projects.locations.curations.create"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsCurationsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsCurationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_Empty class]; + query.loggingName = @"apihub.projects.locations.curations.delete"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsCurationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsCurationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1Curation class]; + query.loggingName = @"apihub.projects.locations.curations.get"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsCurationsList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/curations"; + GTLRAPIhubQuery_ProjectsLocationsCurationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1ListCurationsResponse class]; + query.loggingName = @"apihub.projects.locations.curations.list"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsCurationsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Curation *)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}"; + GTLRAPIhubQuery_ProjectsLocationsCurationsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1Curation class]; + query.loggingName = @"apihub.projects.locations.curations.patch"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsDependenciesCreate + +@dynamic dependencyId, parent; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Dependency *)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}/dependencies"; + GTLRAPIhubQuery_ProjectsLocationsDependenciesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1Dependency class]; + query.loggingName = @"apihub.projects.locations.dependencies.create"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsDependenciesDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsDependenciesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_Empty class]; + query.loggingName = @"apihub.projects.locations.dependencies.delete"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsDependenciesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsDependenciesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1Dependency class]; + query.loggingName = @"apihub.projects.locations.dependencies.get"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsDependenciesList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/dependencies"; + GTLRAPIhubQuery_ProjectsLocationsDependenciesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1ListDependenciesResponse class]; + query.loggingName = @"apihub.projects.locations.dependencies.list"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsDependenciesPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Dependency *)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}"; + GTLRAPIhubQuery_ProjectsLocationsDependenciesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1Dependency class]; + query.loggingName = @"apihub.projects.locations.dependencies.patch"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsDeploymentsCreate + +@dynamic deploymentId, parent; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Deployment *)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}/deployments"; + GTLRAPIhubQuery_ProjectsLocationsDeploymentsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1Deployment class]; + query.loggingName = @"apihub.projects.locations.deployments.create"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsDeploymentsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsDeploymentsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_Empty class]; + query.loggingName = @"apihub.projects.locations.deployments.delete"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsDeploymentsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsDeploymentsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1Deployment class]; + query.loggingName = @"apihub.projects.locations.deployments.get"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsDeploymentsList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/deployments"; + GTLRAPIhubQuery_ProjectsLocationsDeploymentsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1ListDeploymentsResponse class]; + query.loggingName = @"apihub.projects.locations.deployments.list"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsDeploymentsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Deployment *)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}"; + GTLRAPIhubQuery_ProjectsLocationsDeploymentsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1Deployment class]; + query.loggingName = @"apihub.projects.locations.deployments.patch"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsExternalApisCreate + +@dynamic externalApiId, parent; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1ExternalApi *)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}/externalApis"; + GTLRAPIhubQuery_ProjectsLocationsExternalApisCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1ExternalApi class]; + query.loggingName = @"apihub.projects.locations.externalApis.create"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsExternalApisDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsExternalApisDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_Empty class]; + query.loggingName = @"apihub.projects.locations.externalApis.delete"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsExternalApisGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsExternalApisGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1ExternalApi class]; + query.loggingName = @"apihub.projects.locations.externalApis.get"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsExternalApisList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/externalApis"; + GTLRAPIhubQuery_ProjectsLocationsExternalApisList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1ListExternalApisResponse class]; + query.loggingName = @"apihub.projects.locations.externalApis.list"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsExternalApisPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1ExternalApi *)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}"; + GTLRAPIhubQuery_ProjectsLocationsExternalApisPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1ExternalApi class]; + query.loggingName = @"apihub.projects.locations.externalApis.patch"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudLocationLocation class]; + query.loggingName = @"apihub.projects.locations.get"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsHostProjectRegistrationsCreate + +@dynamic hostProjectRegistrationId, parent; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1HostProjectRegistration *)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}/hostProjectRegistrations"; + GTLRAPIhubQuery_ProjectsLocationsHostProjectRegistrationsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1HostProjectRegistration class]; + query.loggingName = @"apihub.projects.locations.hostProjectRegistrations.create"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsHostProjectRegistrationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsHostProjectRegistrationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1HostProjectRegistration class]; + query.loggingName = @"apihub.projects.locations.hostProjectRegistrations.get"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsHostProjectRegistrationsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/hostProjectRegistrations"; + GTLRAPIhubQuery_ProjectsLocationsHostProjectRegistrationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1ListHostProjectRegistrationsResponse class]; + query.loggingName = @"apihub.projects.locations.hostProjectRegistrations.list"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsList + +@dynamic extraLocationTypes, filter, name, pageSize, pageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"extraLocationTypes" : [NSString class] + }; + return map; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/locations"; + GTLRAPIhubQuery_ProjectsLocationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudLocationListLocationsResponse class]; + query.loggingName = @"apihub.projects.locations.list"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsLookupRuntimeProjectAttachment + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:lookupRuntimeProjectAttachment"; + GTLRAPIhubQuery_ProjectsLocationsLookupRuntimeProjectAttachment *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1LookupRuntimeProjectAttachmentResponse class]; + query.loggingName = @"apihub.projects.locations.lookupRuntimeProjectAttachment"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsOperationsCancel + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleLongrunningCancelOperationRequest *)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"; + GTLRAPIhubQuery_ProjectsLocationsOperationsCancel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_Empty class]; + query.loggingName = @"apihub.projects.locations.operations.cancel"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsOperationsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsOperationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_Empty class]; + query.loggingName = @"apihub.projects.locations.operations.delete"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleLongrunningOperation class]; + query.loggingName = @"apihub.projects.locations.operations.get"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsOperationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/operations"; + GTLRAPIhubQuery_ProjectsLocationsOperationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleLongrunningListOperationsResponse class]; + query.loggingName = @"apihub.projects.locations.operations.list"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsPluginsCreate + +@dynamic parent, pluginId; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Plugin *)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}/plugins"; + GTLRAPIhubQuery_ProjectsLocationsPluginsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1Plugin class]; + query.loggingName = @"apihub.projects.locations.plugins.create"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsPluginsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsPluginsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleLongrunningOperation class]; + query.loggingName = @"apihub.projects.locations.plugins.delete"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsPluginsDisable + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1DisablePluginRequest *)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}:disable"; + GTLRAPIhubQuery_ProjectsLocationsPluginsDisable *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1Plugin class]; + query.loggingName = @"apihub.projects.locations.plugins.disable"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsPluginsEnable + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1EnablePluginRequest *)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}:enable"; + GTLRAPIhubQuery_ProjectsLocationsPluginsEnable *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1Plugin class]; + query.loggingName = @"apihub.projects.locations.plugins.enable"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsPluginsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsPluginsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1Plugin class]; + query.loggingName = @"apihub.projects.locations.plugins.get"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsPluginsGetStyleGuide + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsPluginsGetStyleGuide *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1StyleGuide class]; + query.loggingName = @"apihub.projects.locations.plugins.getStyleGuide"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesCreate + +@dynamic parent, pluginInstanceId; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1PluginInstance *)object + parent:(NSString *)parent { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/instances"; + GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleLongrunningOperation class]; + query.loggingName = @"apihub.projects.locations.plugins.instances.create"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleLongrunningOperation class]; + query.loggingName = @"apihub.projects.locations.plugins.instances.delete"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesDisableAction + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1DisablePluginInstanceActionRequest *)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}:disableAction"; + GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesDisableAction *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleLongrunningOperation class]; + query.loggingName = @"apihub.projects.locations.plugins.instances.disableAction"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesEnableAction + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1EnablePluginInstanceActionRequest *)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}:enableAction"; + GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesEnableAction *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleLongrunningOperation class]; + query.loggingName = @"apihub.projects.locations.plugins.instances.enableAction"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesExecuteAction + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1ExecutePluginInstanceActionRequest *)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}:executeAction"; + GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesExecuteAction *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleLongrunningOperation class]; + query.loggingName = @"apihub.projects.locations.plugins.instances.executeAction"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1PluginInstance class]; + query.loggingName = @"apihub.projects.locations.plugins.instances.get"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/instances"; + GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1ListPluginInstancesResponse class]; + query.loggingName = @"apihub.projects.locations.plugins.instances.list"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsPluginsList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/plugins"; + GTLRAPIhubQuery_ProjectsLocationsPluginsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1ListPluginsResponse class]; + query.loggingName = @"apihub.projects.locations.plugins.list"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsPluginsStyleGuideGetContents + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:contents"; + GTLRAPIhubQuery_ProjectsLocationsPluginsStyleGuideGetContents *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1StyleGuideContents class]; + query.loggingName = @"apihub.projects.locations.plugins.styleGuide.getContents"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsPluginsUpdateStyleGuide + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1StyleGuide *)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}"; + GTLRAPIhubQuery_ProjectsLocationsPluginsUpdateStyleGuide *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1StyleGuide class]; + query.loggingName = @"apihub.projects.locations.plugins.updateStyleGuide"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsRuntimeProjectAttachmentsCreate + +@dynamic parent, runtimeProjectAttachmentId; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1RuntimeProjectAttachment *)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}/runtimeProjectAttachments"; + GTLRAPIhubQuery_ProjectsLocationsRuntimeProjectAttachmentsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1RuntimeProjectAttachment class]; + query.loggingName = @"apihub.projects.locations.runtimeProjectAttachments.create"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsRuntimeProjectAttachmentsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsRuntimeProjectAttachmentsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_Empty class]; + query.loggingName = @"apihub.projects.locations.runtimeProjectAttachments.delete"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsRuntimeProjectAttachmentsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsRuntimeProjectAttachmentsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1RuntimeProjectAttachment class]; + query.loggingName = @"apihub.projects.locations.runtimeProjectAttachments.get"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsRuntimeProjectAttachmentsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/runtimeProjectAttachments"; + GTLRAPIhubQuery_ProjectsLocationsRuntimeProjectAttachmentsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1ListRuntimeProjectAttachmentsResponse class]; + query.loggingName = @"apihub.projects.locations.runtimeProjectAttachments.list"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsSearchResources + +@dynamic location; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1SearchResourcesRequest *)object + location:(NSString *)location { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"location" ]; + NSString *pathURITemplate = @"v1/{+location}:searchResources"; + GTLRAPIhubQuery_ProjectsLocationsSearchResources *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.location = location; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1SearchResourcesResponse class]; + query.loggingName = @"apihub.projects.locations.searchResources"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/APIhub/GTLRAPIhubService.m b/Sources/GeneratedServices/APIhub/GTLRAPIhubService.m new file mode 100644 index 000000000..cf7f21b44 --- /dev/null +++ b/Sources/GeneratedServices/APIhub/GTLRAPIhubService.m @@ -0,0 +1,33 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// API hub API (apihub/v1) +// Documentation: +// https://cloud.google.com/apigee/docs/api-hub/what-is-api-hub + +#import + +// ---------------------------------------------------------------------------- +// Authorization scope + +NSString * const kGTLRAuthScopeAPIhubCloudPlatform = @"https://www.googleapis.com/auth/cloud-platform"; + +// ---------------------------------------------------------------------------- +// GTLRAPIhubService +// + +@implementation GTLRAPIhubService + +- (instancetype)init { + self = [super init]; + if (self) { + // From discovery. + self.rootURLString = @"https://apihub.googleapis.com/"; + self.batchPath = @"batch"; + self.prettyPrintQueryParameterNames = @[ @"prettyPrint" ]; + } + return self; +} + +@end diff --git a/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhub.h b/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhub.h new file mode 100644 index 000000000..f2ca47b85 --- /dev/null +++ b/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhub.h @@ -0,0 +1,11 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// API hub API (apihub/v1) +// Documentation: +// https://cloud.google.com/apigee/docs/api-hub/what-is-api-hub + +#import "GTLRAPIhubObjects.h" +#import "GTLRAPIhubQuery.h" +#import "GTLRAPIhubService.h" diff --git a/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubObjects.h b/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubObjects.h new file mode 100644 index 000000000..a0e3e03f9 --- /dev/null +++ b/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubObjects.h @@ -0,0 +1,5023 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// API hub API (apihub/v1) +// Documentation: +// https://cloud.google.com/apigee/docs/api-hub/what-is-api-hub + +#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 GTLRAPIhub_GoogleCloudApihubV1ActionExecutionDetail; +@class GTLRAPIhub_GoogleCloudApihubV1AllowedValue; +@class GTLRAPIhub_GoogleCloudApihubV1Api; +@class GTLRAPIhub_GoogleCloudApihubV1Api_Attributes; +@class GTLRAPIhub_GoogleCloudApihubV1ApiData; +@class GTLRAPIhub_GoogleCloudApihubV1ApiHubInstance; +@class GTLRAPIhub_GoogleCloudApihubV1ApiHubInstance_Labels; +@class GTLRAPIhub_GoogleCloudApihubV1ApiHubResource; +@class GTLRAPIhub_GoogleCloudApihubV1ApiKeyConfig; +@class GTLRAPIhub_GoogleCloudApihubV1APIMetadata; +@class GTLRAPIhub_GoogleCloudApihubV1ApiMetadataList; +@class GTLRAPIhub_GoogleCloudApihubV1ApiOperation; +@class GTLRAPIhub_GoogleCloudApihubV1ApiOperation_Attributes; +@class GTLRAPIhub_GoogleCloudApihubV1ApplicationIntegrationEndpointDetails; +@class GTLRAPIhub_GoogleCloudApihubV1Attribute; +@class GTLRAPIhub_GoogleCloudApihubV1AttributeValues; +@class GTLRAPIhub_GoogleCloudApihubV1AuthConfig; +@class GTLRAPIhub_GoogleCloudApihubV1AuthConfigTemplate; +@class GTLRAPIhub_GoogleCloudApihubV1Config; +@class GTLRAPIhub_GoogleCloudApihubV1ConfigTemplate; +@class GTLRAPIhub_GoogleCloudApihubV1ConfigValueOption; +@class GTLRAPIhub_GoogleCloudApihubV1ConfigVariable; +@class GTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate; +@class GTLRAPIhub_GoogleCloudApihubV1Curation; +@class GTLRAPIhub_GoogleCloudApihubV1CurationConfig; +@class GTLRAPIhub_GoogleCloudApihubV1CustomCuration; +@class GTLRAPIhub_GoogleCloudApihubV1Definition; +@class GTLRAPIhub_GoogleCloudApihubV1Definition_Attributes; +@class GTLRAPIhub_GoogleCloudApihubV1Dependency; +@class GTLRAPIhub_GoogleCloudApihubV1Dependency_Attributes; +@class GTLRAPIhub_GoogleCloudApihubV1DependencyEntityReference; +@class GTLRAPIhub_GoogleCloudApihubV1DependencyErrorDetail; +@class GTLRAPIhub_GoogleCloudApihubV1Deployment; +@class GTLRAPIhub_GoogleCloudApihubV1Deployment_Attributes; +@class GTLRAPIhub_GoogleCloudApihubV1DeploymentMetadata; +@class GTLRAPIhub_GoogleCloudApihubV1Documentation; +@class GTLRAPIhub_GoogleCloudApihubV1Endpoint; +@class GTLRAPIhub_GoogleCloudApihubV1EnumAttributeValues; +@class GTLRAPIhub_GoogleCloudApihubV1ExecutionStatus; +@class GTLRAPIhub_GoogleCloudApihubV1ExternalApi; +@class GTLRAPIhub_GoogleCloudApihubV1ExternalApi_Attributes; +@class GTLRAPIhub_GoogleCloudApihubV1GoogleServiceAccountConfig; +@class GTLRAPIhub_GoogleCloudApihubV1HostingService; +@class GTLRAPIhub_GoogleCloudApihubV1HostProjectRegistration; +@class GTLRAPIhub_GoogleCloudApihubV1HttpOperation; +@class GTLRAPIhub_GoogleCloudApihubV1Issue; +@class GTLRAPIhub_GoogleCloudApihubV1LastExecution; +@class GTLRAPIhub_GoogleCloudApihubV1LintResponse; +@class GTLRAPIhub_GoogleCloudApihubV1MultiIntValues; +@class GTLRAPIhub_GoogleCloudApihubV1MultiSelectValues; +@class GTLRAPIhub_GoogleCloudApihubV1MultiStringValues; +@class GTLRAPIhub_GoogleCloudApihubV1Oauth2ClientCredentialsConfig; +@class GTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails; +@class GTLRAPIhub_GoogleCloudApihubV1OperationDetails; +@class GTLRAPIhub_GoogleCloudApihubV1Owner; +@class GTLRAPIhub_GoogleCloudApihubV1Path; +@class GTLRAPIhub_GoogleCloudApihubV1Plugin; +@class GTLRAPIhub_GoogleCloudApihubV1PluginActionConfig; +@class GTLRAPIhub_GoogleCloudApihubV1PluginInstance; +@class GTLRAPIhub_GoogleCloudApihubV1PluginInstance_AdditionalConfig; +@class GTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction; +@class GTLRAPIhub_GoogleCloudApihubV1PluginInstanceActionID; +@class GTLRAPIhub_GoogleCloudApihubV1PluginInstanceActionSource; +@class GTLRAPIhub_GoogleCloudApihubV1Point; +@class GTLRAPIhub_GoogleCloudApihubV1Range; +@class GTLRAPIhub_GoogleCloudApihubV1RuntimeProjectAttachment; +@class GTLRAPIhub_GoogleCloudApihubV1Schema; +@class GTLRAPIhub_GoogleCloudApihubV1SearchResult; +@class GTLRAPIhub_GoogleCloudApihubV1Secret; +@class GTLRAPIhub_GoogleCloudApihubV1SourceMetadata; +@class GTLRAPIhub_GoogleCloudApihubV1Spec; +@class GTLRAPIhub_GoogleCloudApihubV1Spec_Attributes; +@class GTLRAPIhub_GoogleCloudApihubV1SpecContents; +@class GTLRAPIhub_GoogleCloudApihubV1SpecDetails; +@class GTLRAPIhub_GoogleCloudApihubV1SpecMetadata; +@class GTLRAPIhub_GoogleCloudApihubV1StringAttributeValues; +@class GTLRAPIhub_GoogleCloudApihubV1StyleGuideContents; +@class GTLRAPIhub_GoogleCloudApihubV1SummaryEntry; +@class GTLRAPIhub_GoogleCloudApihubV1UserPasswordConfig; +@class GTLRAPIhub_GoogleCloudApihubV1Version; +@class GTLRAPIhub_GoogleCloudApihubV1Version_Attributes; +@class GTLRAPIhub_GoogleCloudApihubV1VersionMetadata; +@class GTLRAPIhub_GoogleCloudLocationLocation; +@class GTLRAPIhub_GoogleCloudLocationLocation_Labels; +@class GTLRAPIhub_GoogleCloudLocationLocation_Metadata; +@class GTLRAPIhub_GoogleLongrunningOperation; +@class GTLRAPIhub_GoogleLongrunningOperation_Metadata; +@class GTLRAPIhub_GoogleLongrunningOperation_Response; +@class GTLRAPIhub_GoogleRpcStatus; +@class GTLRAPIhub_GoogleRpcStatus_Details_Item; + +// 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. + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1ApiHubInstance.state + +/** + * The ApiHub instance has been created and is ready for use. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ApiHubInstance_State_Active; +/** + * The ApiHub instance is being created. + * + * Value: "CREATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ApiHubInstance_State_Creating; +/** + * The ApiHub instance is being deleted. + * + * Value: "DELETING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ApiHubInstance_State_Deleting; +/** + * The ApiHub instance encountered an error during a state change. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ApiHubInstance_State_Failed; +/** + * The ApiHub instance has not been initialized or has been deleted. + * + * Value: "INACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ApiHubInstance_State_Inactive; +/** + * The default value. This value is used if the state is omitted. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ApiHubInstance_State_StateUnspecified; +/** + * The ApiHub instance is being updated. + * + * Value: "UPDATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ApiHubInstance_State_Updating; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1ApiKeyConfig.httpElementLocation + +/** + * Element is in the HTTP request body. + * + * Value: "BODY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ApiKeyConfig_HttpElementLocation_Body; +/** + * Element is in the HTTP request cookie. + * + * Value: "COOKIE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ApiKeyConfig_HttpElementLocation_Cookie; +/** + * Element is in the HTTP request header. + * + * Value: "HEADER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ApiKeyConfig_HttpElementLocation_Header; +/** + * HTTP element location not specified. + * + * Value: "HTTP_ELEMENT_LOCATION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ApiKeyConfig_HttpElementLocation_HttpElementLocationUnspecified; +/** + * Element is in the HTTP request path. + * + * Value: "PATH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ApiKeyConfig_HttpElementLocation_Path; +/** + * Element is in the HTTP request query. + * + * Value: "QUERY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ApiKeyConfig_HttpElementLocation_Query; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1Attribute.dataType + +/** + * Attribute data type unspecified. + * + * Value: "DATA_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_DataType_DataTypeUnspecified; +/** + * Attribute's value is of type enum. + * + * Value: "ENUM" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_DataType_Enum; +/** + * Attribute's value is of type json. + * + * Value: "JSON" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_DataType_Json; +/** + * Attribute's value is of type string. + * + * Value: "STRING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_DataType_String; +/** + * Attribute's value is of type uri. + * + * Value: "URI" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_DataType_Uri; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1Attribute.definitionType + +/** + * Attribute definition type unspecified. + * + * Value: "DEFINITION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_DefinitionType_DefinitionTypeUnspecified; +/** + * The attribute is predefined by the API Hub. Note that only the list of + * allowed values can be updated in this case via UpdateAttribute method. + * + * Value: "SYSTEM_DEFINED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_DefinitionType_SystemDefined; +/** + * The attribute is defined by the user. + * + * Value: "USER_DEFINED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_DefinitionType_UserDefined; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1Attribute.scope + +/** + * Attribute can be linked to an API. + * + * Value: "API" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_Api; +/** + * Attribute can be linked to an API Operation. + * + * Value: "API_OPERATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_ApiOperation; +/** + * Attribute can be linked to a definition. + * + * Value: "DEFINITION" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_Definition; +/** + * Attribute can be linked to a Dependency. + * + * Value: "DEPENDENCY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_Dependency; +/** + * Attribute can be linked to a Deployment. + * + * Value: "DEPLOYMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_Deployment; +/** + * Attribute can be linked to a ExternalAPI. + * + * Value: "EXTERNAL_API" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_ExternalApi; +/** + * Attribute can be linked to a Plugin. + * + * Value: "PLUGIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_Plugin; +/** + * Scope Unspecified. + * + * Value: "SCOPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_ScopeUnspecified; +/** + * Attribute can be linked to a Spec. + * + * Value: "SPEC" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_Spec; +/** + * Attribute can be linked to an API version. + * + * Value: "VERSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_Version; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1AuthConfig.authType + +/** + * API Key authentication. + * + * Value: "API_KEY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1AuthConfig_AuthType_ApiKey; +/** + * Authentication type not specified. + * + * Value: "AUTH_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1AuthConfig_AuthType_AuthTypeUnspecified; +/** + * Google service account authentication. + * + * Value: "GOOGLE_SERVICE_ACCOUNT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1AuthConfig_AuthType_GoogleServiceAccount; +/** + * No authentication. + * + * Value: "NO_AUTH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1AuthConfig_AuthType_NoAuth; +/** + * Oauth 2.0 client credentials grant authentication. + * + * Value: "OAUTH2_CLIENT_CREDENTIALS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1AuthConfig_AuthType_Oauth2ClientCredentials; +/** + * Username and password authentication. + * + * Value: "USER_PASSWORD" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1AuthConfig_AuthType_UserPassword; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1AuthConfigTemplate.supportedAuthTypes + +/** + * API Key authentication. + * + * Value: "API_KEY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1AuthConfigTemplate_SupportedAuthTypes_ApiKey; +/** + * Authentication type not specified. + * + * Value: "AUTH_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1AuthConfigTemplate_SupportedAuthTypes_AuthTypeUnspecified; +/** + * Google service account authentication. + * + * Value: "GOOGLE_SERVICE_ACCOUNT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1AuthConfigTemplate_SupportedAuthTypes_GoogleServiceAccount; +/** + * No authentication. + * + * Value: "NO_AUTH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1AuthConfigTemplate_SupportedAuthTypes_NoAuth; +/** + * Oauth 2.0 client credentials grant authentication. + * + * Value: "OAUTH2_CLIENT_CREDENTIALS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1AuthConfigTemplate_SupportedAuthTypes_Oauth2ClientCredentials; +/** + * Username and password authentication. + * + * Value: "USER_PASSWORD" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1AuthConfigTemplate_SupportedAuthTypes_UserPassword; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1CollectApiDataRequest.collectionType + +/** + * The collection type is delete. This should be used when an API is deleted at + * the source. + * + * Value: "COLLECTION_TYPE_DELETE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1CollectApiDataRequest_CollectionType_CollectionTypeDelete; +/** + * The default value. This value is used if the collection type is omitted. + * + * Value: "COLLECTION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1CollectApiDataRequest_CollectionType_CollectionTypeUnspecified; +/** + * The collection type is upsert. This should be used when an API is created or + * updated at the source. + * + * Value: "COLLECTION_TYPE_UPSERT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1CollectApiDataRequest_CollectionType_CollectionTypeUpsert; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1Config.encryptionType + +/** + * Encryption using customer managed encryption key. + * + * Value: "CMEK" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Config_EncryptionType_Cmek; +/** + * Encryption type unspecified. + * + * Value: "ENCRYPTION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Config_EncryptionType_EncryptionTypeUnspecified; +/** + * Default encryption using Google managed encryption key. + * + * Value: "GMEK" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Config_EncryptionType_Gmek; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate.valueType + +/** + * Value type is boolean. + * + * Value: "BOOL" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate_ValueType_Bool; +/** + * Value type is enum. + * + * Value: "ENUM" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate_ValueType_Enum; +/** + * Value type is integer. + * + * Value: "INT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate_ValueType_Int; +/** + * Value type is multi int. + * + * Value: "MULTI_INT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate_ValueType_MultiInt; +/** + * Value type is multi select. + * + * Value: "MULTI_SELECT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate_ValueType_MultiSelect; +/** + * Value type is multi string. + * + * Value: "MULTI_STRING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate_ValueType_MultiString; +/** + * Value type is secret. + * + * Value: "SECRET" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate_ValueType_Secret; +/** + * Value type is string. + * + * Value: "STRING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate_ValueType_String; +/** + * Value type is not specified. + * + * Value: "VALUE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate_ValueType_ValueTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1Curation.lastExecutionErrorCode + +/** + * Default unspecified error code. + * + * Value: "ERROR_CODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Curation_LastExecutionErrorCode_ErrorCodeUnspecified; +/** + * The execution failed due to an internal error. + * + * Value: "INTERNAL_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Curation_LastExecutionErrorCode_InternalError; +/** + * The curation is not authorized to trigger the endpoint uri. + * + * Value: "UNAUTHORIZED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Curation_LastExecutionErrorCode_Unauthorized; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1Curation.lastExecutionState + +/** + * The last curation execution failed. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Curation_LastExecutionState_Failed; +/** + * Default unspecified state. + * + * Value: "LAST_EXECUTION_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Curation_LastExecutionState_LastExecutionStateUnspecified; +/** + * The last curation execution was successful. + * + * Value: "SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Curation_LastExecutionState_Succeeded; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1CurationConfig.curationType + +/** + * Default unspecified curation type. + * + * Value: "CURATION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1CurationConfig_CurationType_CurationTypeUnspecified; +/** + * Custom curation for API metadata will be used. + * + * Value: "CUSTOM_CURATION_FOR_API_METADATA" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1CurationConfig_CurationType_CustomCurationForApiMetadata; +/** + * Default curation for API metadata will be used. + * + * Value: "DEFAULT_CURATION_FOR_API_METADATA" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1CurationConfig_CurationType_DefaultCurationForApiMetadata; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1Definition.type + +/** + * Definition type schema. + * + * Value: "SCHEMA" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Definition_Type_Schema; +/** + * Definition type unspecified. + * + * Value: "TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Definition_Type_TypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1Dependency.discoveryMode + +/** + * Default value. This value is unused. + * + * Value: "DISCOVERY_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Dependency_DiscoveryMode_DiscoveryModeUnspecified; +/** + * Manual mode of discovery when the dependency is defined by the user. + * + * Value: "MANUAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Dependency_DiscoveryMode_Manual; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1Dependency.state + +/** + * Dependency will be in a proposed state when it is newly identified by the + * API hub on its own. + * + * Value: "PROPOSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Dependency_State_Proposed; +/** + * Default value. This value is unused. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Dependency_State_StateUnspecified; +/** + * Dependency will be in a validated state when it is validated by the admin or + * manually created in the API hub. + * + * Value: "VALIDATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Dependency_State_Validated; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1DependencyErrorDetail.error + +/** + * Default value used for no error in the dependency. + * + * Value: "ERROR_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1DependencyErrorDetail_Error_ErrorUnspecified; +/** + * Supplier entity has been deleted. + * + * Value: "SUPPLIER_NOT_FOUND" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1DependencyErrorDetail_Error_SupplierNotFound; +/** + * Supplier entity has been recreated. + * + * Value: "SUPPLIER_RECREATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1DependencyErrorDetail_Error_SupplierRecreated; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1ExecutionStatus.currentExecutionState + +/** + * Default unspecified execution state. + * + * Value: "CURRENT_EXECUTION_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ExecutionStatus_CurrentExecutionState_CurrentExecutionStateUnspecified; +/** + * The plugin instance is not running an execution. + * + * Value: "NOT_RUNNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ExecutionStatus_CurrentExecutionState_NotRunning; +/** + * The plugin instance is executing. + * + * Value: "RUNNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ExecutionStatus_CurrentExecutionState_Running; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1HttpOperation.method + +/** + * Delete Operation type. + * + * Value: "DELETE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Delete; +/** + * Get Operation type. + * + * Value: "GET" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Get; +/** + * Head Operation type. + * + * Value: "HEAD" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Head; +/** + * Method unspecified. + * + * Value: "METHOD_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_MethodUnspecified; +/** + * Options Operation type. + * + * Value: "OPTIONS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Options; +/** + * Patch Operation type. + * + * Value: "PATCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Patch; +/** + * Post Operation type. + * + * Value: "POST" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Post; +/** + * Put Operation type. + * + * Value: "PUT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Put; +/** + * Trace Operation type. + * + * Value: "TRACE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Trace; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1Issue.severity + +/** + * Severity error. + * + * Value: "SEVERITY_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Issue_Severity_SeverityError; +/** + * Severity hint. + * + * Value: "SEVERITY_HINT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Issue_Severity_SeverityHint; +/** + * Severity info. + * + * Value: "SEVERITY_INFO" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Issue_Severity_SeverityInfo; +/** + * Severity unspecified. + * + * Value: "SEVERITY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Issue_Severity_SeverityUnspecified; +/** + * Severity warning. + * + * Value: "SEVERITY_WARNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Issue_Severity_SeverityWarning; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1LastExecution.result + +/** + * The plugin instance execution failed. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1LastExecution_Result_Failed; +/** + * Default unspecified execution result. + * + * Value: "RESULT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1LastExecution_Result_ResultUnspecified; +/** + * The plugin instance executed successfully. + * + * Value: "SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1LastExecution_Result_Succeeded; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1LintResponse.linter + +/** + * Linter type unspecified. + * + * Value: "LINTER_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1LintResponse_Linter_LinterUnspecified; +/** + * Linter type other. + * + * Value: "OTHER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1LintResponse_Linter_Other; +/** + * Linter type spectral. + * + * Value: "SPECTRAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1LintResponse_Linter_Spectral; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1LintResponse.state + +/** + * Linting encountered errors. + * + * Value: "LINT_STATE_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1LintResponse_State_LintStateError; +/** + * Linting was completed successfully. + * + * Value: "LINT_STATE_SUCCESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1LintResponse_State_LintStateSuccess; +/** + * Lint state unspecified. + * + * Value: "LINT_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1LintResponse_State_LintStateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails.format + +/** + * SpecFile type unspecified. + * + * Value: "FORMAT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails_Format_FormatUnspecified; +/** + * OpenAPI Spec v2.0. + * + * Value: "OPEN_API_SPEC_2_0" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails_Format_OpenApiSpec20; +/** + * OpenAPI Spec v3.0. + * + * Value: "OPEN_API_SPEC_3_0" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails_Format_OpenApiSpec30; +/** + * OpenAPI Spec v3.1. + * + * Value: "OPEN_API_SPEC_3_1" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails_Format_OpenApiSpec31; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1Plugin.ownershipType + +/** + * Default unspecified type. + * + * Value: "OWNERSHIP_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_OwnershipType_OwnershipTypeUnspecified; +/** + * System owned plugins are defined by API hub and are available out of the box + * in API hub. + * + * Value: "SYSTEM_OWNED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_OwnershipType_SystemOwned; +/** + * User owned plugins are defined by the user and need to be explicitly added + * to API hub via CreatePlugin method. + * + * Value: "USER_OWNED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_OwnershipType_UserOwned; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1Plugin.pluginCategory + +/** + * API_GATEWAY plugins represent plugins built for API Gateways like Apigee. + * + * Value: "API_GATEWAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_PluginCategory_ApiGateway; +/** + * API_PRODUCER plugins represent plugins built for API Producers like Cloud + * Run, Application Integration etc. + * + * Value: "API_PRODUCER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_PluginCategory_ApiProducer; +/** + * Default unspecified plugin type. + * + * Value: "PLUGIN_CATEGORY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_PluginCategory_PluginCategoryUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1Plugin.state + +/** + * The plugin is disabled. + * + * Value: "DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_State_Disabled; +/** + * The plugin is enabled. + * + * Value: "ENABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_State_Enabled; +/** + * The default value. This value is used if the state is omitted. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1PluginActionConfig.triggerMode + +/** + * This action can be executed by invoking ExecutePluginInstanceAction API with + * the given action id. To support this, the plugin hosting service should + * handle this action id as part of execute call. + * + * Value: "API_HUB_ON_DEMAND_TRIGGER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginActionConfig_TriggerMode_ApiHubOnDemandTrigger; +/** + * This action will be executed on schedule by invoking + * ExecutePluginInstanceAction API with the given action id. To set the + * schedule, the user can provide the cron expression in the PluginAction field + * for a given plugin instance. To support this, the plugin hosting service + * should handle this action id as part of execute call. Note, on demand + * execution will be supported by default in this trigger mode. + * + * Value: "API_HUB_SCHEDULE_TRIGGER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginActionConfig_TriggerMode_ApiHubScheduleTrigger; +/** + * The execution of this plugin is not handled by API hub. In this case, the + * plugin hosting service need not handle this action id as part of the execute + * call. + * + * Value: "NON_API_HUB_MANAGED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginActionConfig_TriggerMode_NonApiHubManaged; +/** + * Default unspecified mode. + * + * Value: "TRIGGER_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginActionConfig_TriggerMode_TriggerModeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1PluginInstance.state + +/** + * The plugin instance is active and ready for executions. This is the only + * state where executions can run on the plugin instance. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstance_State_Active; +/** + * The updated config that contains additional_config and auth_config is being + * applied. + * + * Value: "APPLYING_CONFIG" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstance_State_ApplyingConfig; +/** + * The plugin instance is being created. + * + * Value: "CREATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstance_State_Creating; +/** + * The plugin instance is being deleted. Delete is only possible if there is no + * other operation running on the plugin instance and plugin instance action. + * + * Value: "DELETING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstance_State_Deleting; +/** + * The ERROR state can come while applying config. Users can retrigger + * ApplyPluginInstanceConfig to restore the plugin instance back to active + * state. Note, In case the ERROR state happens while applying config + * (auth_config, additional_config), the plugin instance will reflect the + * config which was trying to be applied while error happened. In order to + * overwrite, trigger ApplyConfig with a new config. + * + * Value: "ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstance_State_Error; +/** + * The plugin instance is in a failed state. This indicates that an + * unrecoverable error occurred during a previous operation (Create, Delete). + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstance_State_Failed; +/** + * Default unspecified state. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstance_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction.state + +/** + * The action is disabled in the plugin instance i.e., no executions can be + * triggered for this action. This state indicates that the user explicitly + * disabled the instance, and no further action is needed unless the user wants + * to re-enable it. + * + * Value: "DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_Disabled; +/** + * The action in the plugin instance is being disabled. + * + * Value: "DISABLING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_Disabling; +/** + * The action is enabled in the plugin instance i.e., executions can be + * triggered for this action. + * + * Value: "ENABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_Enabled; +/** + * The action in the plugin instance is being enabled. + * + * Value: "ENABLING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_Enabling; +/** + * The ERROR state can come while enabling/disabling plugin instance action. + * Users can retrigger enable, disable via EnablePluginInstanceAction and + * DisablePluginInstanceAction to restore the action back to enabled/disabled + * state. Note enable/disable on actions can only be triggered if plugin + * instance is in Active state. + * + * Value: "ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_Error; +/** + * Default unspecified state. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1SourceMetadata.sourceType + +/** + * Source type plugin. + * + * Value: "PLUGIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SourceMetadata_SourceType_Plugin; +/** + * Source type not specified. + * + * Value: "SOURCE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SourceMetadata_SourceType_SourceTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1Spec.parsingMode + +/** + * Defaults to `RELAXED`. + * + * Value: "PARSING_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Spec_ParsingMode_ParsingModeUnspecified; +/** + * Parsing of the Spec on create and update is relaxed, meaning that parsing + * errors the spec contents will not fail the API call. + * + * Value: "RELAXED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Spec_ParsingMode_Relaxed; +/** + * Parsing of the Spec on create and update is strict, meaning that parsing + * errors in the spec contents will fail the API call. + * + * Value: "STRICT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Spec_ParsingMode_Strict; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1StyleGuide.linter + +/** + * Linter type unspecified. + * + * Value: "LINTER_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1StyleGuide_Linter_LinterUnspecified; +/** + * Linter type other. + * + * Value: "OTHER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1StyleGuide_Linter_Other; +/** + * Linter type spectral. + * + * Value: "SPECTRAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1StyleGuide_Linter_Spectral; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1SummaryEntry.severity + +/** + * Severity error. + * + * Value: "SEVERITY_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_Severity_SeverityError; +/** + * Severity hint. + * + * Value: "SEVERITY_HINT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_Severity_SeverityHint; +/** + * Severity info. + * + * Value: "SEVERITY_INFO" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_Severity_SeverityInfo; +/** + * Severity unspecified. + * + * Value: "SEVERITY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_Severity_SeverityUnspecified; +/** + * Severity warning. + * + * Value: "SEVERITY_WARNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_Severity_SeverityWarning; + +/** + * 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 GTLRAPIhub_Empty : GTLRObject +@end + + +/** + * The details for the action to execute. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ActionExecutionDetail : GTLRObject + +/** Required. The action id of the plugin to execute. */ +@property(nonatomic, copy, nullable) NSString *actionId; + +@end + + +/** + * The value that can be assigned to the attribute when the data type is enum. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1AllowedValue : GTLRObject + +/** + * Optional. The detailed description of the allowed value. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** Required. The display name of the allowed value. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Required. The ID of the allowed value. * If provided, the same will be used. + * The service will throw an error if the specified id is already used by + * another allowed value in the same attribute resource. * If not provided, a + * system generated id derived from the display name will be used. In this + * case, the service will handle conflict resolution by adding a system + * generated suffix in case of duplicates. This value should be 4-63 + * characters, and valid characters are /a-z-/. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Optional. When set to true, the allowed value cannot be updated or deleted + * by the user. It can only be true for System defined attributes. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *immutable; + +@end + + +/** + * An API resource in the API Hub. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Api : GTLRObject + +/** + * Optional. The api functional requirements associated with the API resource. + * Carinality is 1 for this attribute. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AttributeValues *apiFunctionalRequirements; + +/** + * Optional. The api requirement doc associated with the API resource. + * Carinality is 1 for this attribute. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AttributeValues *apiRequirements; + +/** + * Optional. The style of the API. This maps to the following system defined + * attribute: + * `projects/{project}/locations/{location}/attributes/system-api-style` + * attribute. The number of values for this attribute will be based on the + * cardinality of the attribute. The same can be retrieved via GetAttribute + * API. All values should be from the list of allowed values defined for the + * attribute. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AttributeValues *apiStyle; + +/** + * Optional. The api technical requirements associated with the API resource. + * Carinality is 1 for this attribute. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AttributeValues *apiTechnicalRequirements; + +/** + * Optional. The list of user defined attributes associated with the API + * resource. The key is the attribute name. It will be of the format: + * `projects/{project}/locations/{location}/attributes/{attribute}`. The value + * is the attribute values associated with the resource. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Api_Attributes *attributes; + +/** + * Optional. The business unit owning the API. This maps to the following + * system defined attribute: + * `projects/{project}/locations/{location}/attributes/system-business-unit` + * attribute. The number of values for this attribute will be based on the + * cardinality of the attribute. The same can be retrieved via GetAttribute + * API. All values should be from the list of allowed values defined for the + * attribute. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AttributeValues *businessUnit; + +/** Output only. The time at which the API resource was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. The description of the API resource. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** Required. The display name of the API resource. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** Optional. The documentation for the API resource. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Documentation *documentation; + +/** Optional. Fingerprint of the API resource. */ +@property(nonatomic, copy, nullable) NSString *fingerprint; + +/** + * Optional. The maturity level of the API. This maps to the following system + * defined attribute: + * `projects/{project}/locations/{location}/attributes/system-maturity-level` + * attribute. The number of values for this attribute will be based on the + * cardinality of the attribute. The same can be retrieved via GetAttribute + * API. All values should be from the list of allowed values defined for the + * attribute. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AttributeValues *maturityLevel; + +/** + * Identifier. The name of the API resource in the API Hub. Format: + * `projects/{project}/locations/{location}/apis/{api}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Optional. Owner details for the API resource. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Owner *owner; + +/** + * Optional. The selected version for an API resource. This can be used when + * special handling is needed on client side for particular version of the API. + * Format is + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}` + */ +@property(nonatomic, copy, nullable) NSString *selectedVersion; + +/** + * Output only. The list of sources and metadata from the sources of the API + * resource. + */ +@property(nonatomic, strong, nullable) NSArray *sourceMetadata; + +/** + * Optional. The target users for the API. This maps to the following system + * defined attribute: + * `projects/{project}/locations/{location}/attributes/system-target-user` + * attribute. The number of values for this attribute will be based on the + * cardinality of the attribute. The same can be retrieved via GetAttribute + * API. All values should be from the list of allowed values defined for the + * attribute. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AttributeValues *targetUser; + +/** + * Optional. The team owning the API. This maps to the following system defined + * attribute: `projects/{project}/locations/{location}/attributes/system-team` + * attribute. The number of values for this attribute will be based on the + * cardinality of the attribute. The same can be retrieved via GetAttribute + * API. All values should be from the list of allowed values defined for the + * attribute. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AttributeValues *team; + +/** Output only. The time at which the API resource was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +/** + * Output only. The list of versions present in an API resource. Note: An API + * resource can be associated with more than 1 version. Format is + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}` + */ +@property(nonatomic, strong, nullable) NSArray *versions; + +@end + + +/** + * Optional. The list of user defined attributes associated with the API + * resource. The key is the attribute name. It will be of the format: + * `projects/{project}/locations/{location}/attributes/{attribute}`. The value + * is the attribute values associated with the resource. + * + * @note This class is documented as having more properties of + * GTLRAPIhub_GoogleCloudApihubV1AttributeValues. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Api_Attributes : GTLRObject +@end + + +/** + * The API data to be collected. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ApiData : GTLRObject + +/** Optional. The list of API metadata. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1ApiMetadataList *apiMetadataList; + +@end + + +/** + * An ApiHubInstance represents the instance resources of the API Hub. + * Currently, only one ApiHub instance is allowed for each project. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ApiHubInstance : GTLRObject + +/** Required. Config of the ApiHub instance. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Config *config; + +/** Output only. Creation timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. Description of the ApiHub instance. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Optional. Instance labels to represent user-provided metadata. Refer to + * cloud documentation on labels for more details. + * https://cloud.google.com/compute/docs/labeling-resources + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1ApiHubInstance_Labels *labels; + +/** + * Identifier. Format: + * `projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The current state of the ApiHub instance. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ApiHubInstance_State_Active The + * ApiHub instance has been created and is ready for use. (Value: + * "ACTIVE") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ApiHubInstance_State_Creating The + * ApiHub instance is being created. (Value: "CREATING") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ApiHubInstance_State_Deleting The + * ApiHub instance is being deleted. (Value: "DELETING") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ApiHubInstance_State_Failed The + * ApiHub instance encountered an error during a state change. (Value: + * "FAILED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ApiHubInstance_State_Inactive The + * ApiHub instance has not been initialized or has been deleted. (Value: + * "INACTIVE") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ApiHubInstance_State_StateUnspecified + * The default value. This value is used if the state is omitted. (Value: + * "STATE_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ApiHubInstance_State_Updating The + * ApiHub instance is being updated. (Value: "UPDATING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Output only. Extra information about ApiHub instance state. Currently the + * message would be populated when state is `FAILED`. + */ +@property(nonatomic, copy, nullable) NSString *stateMessage; + +/** Output only. Last update timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. Instance labels to represent user-provided metadata. Refer to + * cloud documentation on labels for more details. + * https://cloud.google.com/compute/docs/labeling-resources + * + * @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 GTLRAPIhub_GoogleCloudApihubV1ApiHubInstance_Labels : GTLRObject +@end + + +/** + * ApiHubResource is one of the resources such as Api, Operation, Deployment, + * Definition, Spec and Version resources stored in API-Hub. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ApiHubResource : GTLRObject + +/** + * This represents Api resource in search results. Only name, display_name, + * description and owner fields are populated in search results. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Api *api; + +/** + * This represents Definition resource in search results. Only name field is + * populated in search results. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Definition *definition; + +/** + * This represents Deployment resource in search results. Only name, + * display_name, description, deployment_type and api_versions fields are + * populated in search results. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Deployment *deployment; + +/** + * This represents ApiOperation resource in search results. Only name, + * description, spec and details fields are populated in search results. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1ApiOperation *operation; + +/** + * This represents Spec resource in search results. Only name, display_name, + * description, spec_type and documentation fields are populated in search + * results. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Spec *spec; + +/** + * This represents Version resource in search results. Only name, display_name, + * description, lifecycle, compliance and accreditation fields are populated in + * search results. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Version *version; + +@end + + +/** + * Config for authentication with API key. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ApiKeyConfig : GTLRObject + +/** + * Required. The name of the SecretManager secret version resource storing the + * API key. Format: `projects/{project}/secrets/{secrete}/versions/{version}`. + * The `secretmanager.versions.access` permission should be granted to the + * service account accessing the secret. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Secret *apiKey; + +/** + * Required. The location of the API key. The default value is QUERY. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ApiKeyConfig_HttpElementLocation_Body + * Element is in the HTTP request body. (Value: "BODY") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ApiKeyConfig_HttpElementLocation_Cookie + * Element is in the HTTP request cookie. (Value: "COOKIE") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ApiKeyConfig_HttpElementLocation_Header + * Element is in the HTTP request header. (Value: "HEADER") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ApiKeyConfig_HttpElementLocation_HttpElementLocationUnspecified + * HTTP element location not specified. (Value: + * "HTTP_ELEMENT_LOCATION_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ApiKeyConfig_HttpElementLocation_Path + * Element is in the HTTP request path. (Value: "PATH") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ApiKeyConfig_HttpElementLocation_Query + * Element is in the HTTP request query. (Value: "QUERY") + */ +@property(nonatomic, copy, nullable) NSString *httpElementLocation; + +/** + * Required. The parameter name of the API key. E.g. If the API request is + * "https://example.com/act?api_key=", "api_key" would be the parameter name. + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + +/** + * The API metadata. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1APIMetadata : GTLRObject + +/** + * Required. The API resource to be pushed to Hub's collect layer. The ID of + * the API resource will be generated by Hub to ensure uniqueness across all + * APIs across systems. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Api *api; + +/** Optional. Timestamp indicating when the API was created at the source. */ +@property(nonatomic, strong, nullable) GTLRDateTime *originalCreateTime; + +/** + * Optional. The unique identifier of the API in the system where it was + * originally created. + */ +@property(nonatomic, copy, nullable) NSString *originalId; + +/** + * Required. Timestamp indicating when the API was last updated at the source. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *originalUpdateTime; + +/** Optional. The list of versions present in an API resource. */ +@property(nonatomic, strong, nullable) NSArray *versions; + +@end + + +/** + * The message to hold repeated API metadata. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ApiMetadataList : GTLRObject + +/** Required. The list of API metadata. */ +@property(nonatomic, strong, nullable) NSArray *apiMetadata; + +@end + + +/** + * Represents an operation contained in an API version in the API Hub. An + * operation is added/updated/deleted in an API version when a new spec is + * added or an existing spec is updated/deleted in a version. Currently, an + * operation will be created only corresponding to OpenAPI spec as parsing is + * supported for OpenAPI spec. Alternatively operations can be managed via + * create,update and delete APIs, creation of apiOperation can be possible only + * for version with no parsed operations and update/delete can be possible only + * for operations created via create API. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ApiOperation : GTLRObject + +/** + * Optional. The list of user defined attributes associated with the API + * operation resource. The key is the attribute name. It will be of the format: + * `projects/{project}/locations/{location}/attributes/{attribute}`. The value + * is the attribute values associated with the resource. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1ApiOperation_Attributes *attributes; + +/** Output only. The time at which the operation was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. Operation details. Note: Even though this field is optional, it is + * required for CreateApiOperation API and we will fail the request if not + * provided. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1OperationDetails *details; + +/** + * Identifier. The name of the operation. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The list of sources and metadata from the sources of the API + * operation. + */ +@property(nonatomic, strong, nullable) NSArray *sourceMetadata; + +/** + * Output only. The name of the spec will be of the format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}` + * Note:The name of the spec will be empty if the operation is created via + * CreateApiOperation API. + */ +@property(nonatomic, copy, nullable) NSString *spec; + +/** Output only. The time at which the operation was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. The list of user defined attributes associated with the API + * operation resource. The key is the attribute name. It will be of the format: + * `projects/{project}/locations/{location}/attributes/{attribute}`. The value + * is the attribute values associated with the resource. + * + * @note This class is documented as having more properties of + * GTLRAPIhub_GoogleCloudApihubV1AttributeValues. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ApiOperation_Attributes : GTLRObject +@end + + +/** + * The details of the Application Integration endpoint to be triggered for + * curation. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ApplicationIntegrationEndpointDetails : GTLRObject + +/** Required. The API trigger ID of the Application Integration workflow. */ +@property(nonatomic, copy, nullable) NSString *triggerId; + +/** + * Required. The endpoint URI should be a valid REST URI for triggering an + * Application Integration. Format: + * `https://integrations.googleapis.com/v1/{name=projects/ * /locations/ * + * /integrations/ *}:execute` or + * `https://{location}-integrations.googleapis.com/v1/{name=projects/ * + * /locations/ * /integrations/ *}:execute` + */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + + +/** + * An attribute in the API Hub. An attribute is a name value pair which can be + * attached to different resources in the API hub based on the scope of the + * attribute. Attributes can either be pre-defined by the API Hub or created by + * users. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Attribute : GTLRObject + +/** + * Optional. The list of allowed values when the attribute value is of type + * enum. This is required when the data_type of the attribute is ENUM. The + * maximum number of allowed values of an attribute will be 1000. + */ +@property(nonatomic, strong, nullable) NSArray *allowedValues; + +/** + * Optional. The maximum number of values that the attribute can have when + * associated with an API Hub resource. Cardinality 1 would represent a + * single-valued attribute. It must not be less than 1 or greater than 20. If + * not specified, the cardinality would be set to 1 by default and represent a + * single-valued attribute. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *cardinality; + +/** Output only. The time at which the attribute was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Required. The type of the data of the attribute. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Attribute_DataType_DataTypeUnspecified + * Attribute data type unspecified. (Value: "DATA_TYPE_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Attribute_DataType_Enum Attribute's + * value is of type enum. (Value: "ENUM") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Attribute_DataType_Json Attribute's + * value is of type json. (Value: "JSON") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Attribute_DataType_String + * Attribute's value is of type string. (Value: "STRING") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Attribute_DataType_Uri Attribute's + * value is of type uri. (Value: "URI") + */ +@property(nonatomic, copy, nullable) NSString *dataType; + +/** + * Output only. The definition type of the attribute. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Attribute_DefinitionType_DefinitionTypeUnspecified + * Attribute definition type unspecified. (Value: + * "DEFINITION_TYPE_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Attribute_DefinitionType_SystemDefined + * The attribute is predefined by the API Hub. Note that only the list of + * allowed values can be updated in this case via UpdateAttribute method. + * (Value: "SYSTEM_DEFINED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Attribute_DefinitionType_UserDefined + * The attribute is defined by the user. (Value: "USER_DEFINED") + */ +@property(nonatomic, copy, nullable) NSString *definitionType; + +/** + * Optional. The description of the attribute. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** Required. The display name of the attribute. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Output only. When mandatory is true, the attribute is mandatory for the + * resource specified in the scope. Only System defined attributes can be + * mandatory. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *mandatory; + +/** + * Identifier. The name of the attribute in the API Hub. Format: + * `projects/{project}/locations/{location}/attributes/{attribute}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. The scope of the attribute. It represents the resource in the API + * Hub to which the attribute can be linked. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_Api Attribute can + * be linked to an API. (Value: "API") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_ApiOperation + * Attribute can be linked to an API Operation. (Value: "API_OPERATION") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_Definition + * Attribute can be linked to a definition. (Value: "DEFINITION") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_Dependency + * Attribute can be linked to a Dependency. (Value: "DEPENDENCY") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_Deployment + * Attribute can be linked to a Deployment. (Value: "DEPLOYMENT") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_ExternalApi + * Attribute can be linked to a ExternalAPI. (Value: "EXTERNAL_API") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_Plugin Attribute + * can be linked to a Plugin. (Value: "PLUGIN") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_ScopeUnspecified + * Scope Unspecified. (Value: "SCOPE_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_Spec Attribute can + * be linked to a Spec. (Value: "SPEC") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Attribute_Scope_Version Attribute + * can be linked to an API version. (Value: "VERSION") + */ +@property(nonatomic, copy, nullable) NSString *scope; + +/** Output only. The time at which the attribute was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * The attribute values associated with resource. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1AttributeValues : GTLRObject + +/** + * Output only. The name of the attribute. Format: + * projects/{project}/locations/{location}/attributes/{attribute} + */ +@property(nonatomic, copy, nullable) NSString *attribute; + +/** + * The attribute values associated with a resource in case attribute data type + * is enum. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1EnumAttributeValues *enumValues; + +/** + * The attribute values associated with a resource in case attribute data type + * is JSON. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1StringAttributeValues *jsonValues; + +/** + * The attribute values associated with a resource in case attribute data type + * is string. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1StringAttributeValues *stringValues; + +/** + * The attribute values associated with a resource in case attribute data type + * is URL, URI or IP, like gs://bucket-name/object-name. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1StringAttributeValues *uriValues; + +@end + + +/** + * AuthConfig represents the authentication information. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1AuthConfig : GTLRObject + +/** Api Key Config. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1ApiKeyConfig *apiKeyConfig; + +/** + * Required. The authentication type. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1AuthConfig_AuthType_ApiKey API Key + * authentication. (Value: "API_KEY") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1AuthConfig_AuthType_AuthTypeUnspecified + * Authentication type not specified. (Value: "AUTH_TYPE_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1AuthConfig_AuthType_GoogleServiceAccount + * Google service account authentication. (Value: + * "GOOGLE_SERVICE_ACCOUNT") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1AuthConfig_AuthType_NoAuth No + * authentication. (Value: "NO_AUTH") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1AuthConfig_AuthType_Oauth2ClientCredentials + * Oauth 2.0 client credentials grant authentication. (Value: + * "OAUTH2_CLIENT_CREDENTIALS") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1AuthConfig_AuthType_UserPassword + * Username and password authentication. (Value: "USER_PASSWORD") + */ +@property(nonatomic, copy, nullable) NSString *authType; + +/** Google Service Account. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1GoogleServiceAccountConfig *googleServiceAccountConfig; + +/** Oauth2.0 Client Credentials. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Oauth2ClientCredentialsConfig *oauth2ClientCredentialsConfig; + +/** User Password. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1UserPasswordConfig *userPasswordConfig; + +@end + + +/** + * AuthConfigTemplate represents the authentication template for a plugin. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1AuthConfigTemplate : GTLRObject + +/** + * Optional. The service account of the plugin hosting service. This service + * account should be granted the required permissions on the Auth Config + * parameters provided while creating the plugin instances corresponding to + * this plugin. For example, if the plugin instance auth config requires a + * secret manager secret, the service account should be granted the + * secretmanager.versions.access permission on the corresponding secret, if the + * plugin instance auth config contains a service account, the service account + * should be granted the iam.serviceAccounts.getAccessToken permission on the + * corresponding service account. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1GoogleServiceAccountConfig *serviceAccount; + +/** Required. The list of authentication types supported by the plugin. */ +@property(nonatomic, strong, nullable) NSArray *supportedAuthTypes; + +@end + + +/** + * The CollectApiData method's request. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1CollectApiDataRequest : GTLRObject + +/** + * Required. The action ID to be used for collecting the API data. This should + * map to one of the action IDs specified in action configs in the plugin. + */ +@property(nonatomic, copy, nullable) NSString *actionId; + +/** Required. The API data to be collected. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1ApiData *apiData; + +/** + * Required. The type of collection. Applies to all entries in api_data. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1CollectApiDataRequest_CollectionType_CollectionTypeDelete + * The collection type is delete. This should be used when an API is + * deleted at the source. (Value: "COLLECTION_TYPE_DELETE") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1CollectApiDataRequest_CollectionType_CollectionTypeUnspecified + * The default value. This value is used if the collection type is + * omitted. (Value: "COLLECTION_TYPE_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1CollectApiDataRequest_CollectionType_CollectionTypeUpsert + * The collection type is upsert. This should be used when an API is + * created or updated at the source. (Value: "COLLECTION_TYPE_UPSERT") + */ +@property(nonatomic, copy, nullable) NSString *collectionType; + +/** + * Required. The plugin instance collecting the API data. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`. + */ +@property(nonatomic, copy, nullable) NSString *pluginInstance; + +@end + + +/** + * Available configurations to provision an ApiHub Instance. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Config : GTLRObject + +/** + * Optional. The Customer Managed Encryption Key (CMEK) used for data + * encryption. The CMEK name should follow the format of + * `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`, + * where the location must match the instance location. If the CMEK is not + * provided, a GMEK will be created for the instance. + */ +@property(nonatomic, copy, nullable) NSString *cmekKeyName; + +/** + * Optional. If true, the search will be disabled for the instance. The default + * value is false. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disableSearch; + +/** + * Optional. Encryption type for the region. If the encryption type is CMEK, + * the cmek_key_name must be provided. If no encryption type is provided, GMEK + * will be used. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Config_EncryptionType_Cmek + * Encryption using customer managed encryption key. (Value: "CMEK") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Config_EncryptionType_EncryptionTypeUnspecified + * Encryption type unspecified. (Value: "ENCRYPTION_TYPE_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Config_EncryptionType_Gmek Default + * encryption using Google managed encryption key. (Value: "GMEK") + */ +@property(nonatomic, copy, nullable) NSString *encryptionType; + +/** + * Optional. The name of the Vertex AI location where the data store is stored. + */ +@property(nonatomic, copy, nullable) NSString *vertexLocation; + +@end + + +/** + * ConfigTemplate represents the configuration template for a plugin. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ConfigTemplate : GTLRObject + +/** + * Optional. The list of additional configuration variables for the plugin's + * configuration. + */ +@property(nonatomic, strong, nullable) NSArray *additionalConfigTemplate; + +/** Optional. The authentication template for the plugin. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AuthConfigTemplate *authConfigTemplate; + +@end + + +/** + * ConfigValueOption represents an option for a config variable of type enum or + * multi select. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ConfigValueOption : GTLRObject + +/** + * Optional. Description of the option. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** Required. Display name of the option. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Required. Id of the option. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +@end + + +/** + * ConfigVariable represents a additional configuration variable present in a + * PluginInstance Config or AuthConfig, based on a ConfigVariableTemplate. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ConfigVariable : GTLRObject + +/** + * Optional. The config variable value in case of config variable of type + * boolean. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *boolValue; + +/** + * Optional. The config variable value in case of config variable of type enum. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1ConfigValueOption *enumValue; + +/** + * Optional. The config variable value in case of config variable of type + * integer. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *intValue; + +/** + * Output only. Key will be the id to uniquely identify the config variable. + */ +@property(nonatomic, copy, nullable) NSString *key; + +/** + * Optional. The config variable value in case of config variable of type multi + * integer. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1MultiIntValues *multiIntValues; + +/** + * Optional. The config variable value in case of config variable of type multi + * select. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1MultiSelectValues *multiSelectValues; + +/** + * Optional. The config variable value in case of config variable of type multi + * string. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1MultiStringValues *multiStringValues; + +/** + * Optional. The config variable value in case of config variable of type + * secret. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Secret *secretValue; + +/** + * Optional. The config variable value in case of config variable of type + * string. + */ +@property(nonatomic, copy, nullable) NSString *stringValue; + +@end + + +/** + * ConfigVariableTemplate represents a configuration variable template present + * in a Plugin Config. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate : GTLRObject + +/** + * Optional. Description. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** Optional. Enum options. To be populated if `ValueType` is `ENUM`. */ +@property(nonatomic, strong, nullable) NSArray *enumOptions; + +/** + * Required. ID of the config variable. Must be unique within the + * configuration. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Optional. Multi select options. To be populated if `ValueType` is + * `MULTI_SELECT`. + */ +@property(nonatomic, strong, nullable) NSArray *multiSelectOptions; + +/** + * Optional. Flag represents that this `ConfigVariable` must be provided for a + * PluginInstance. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *required; + +/** + * Optional. Regular expression in RE2 syntax used for validating the `value` + * of a `ConfigVariable`. + */ +@property(nonatomic, copy, nullable) NSString *validationRegex; + +/** + * Required. Type of the parameter: string, int, bool etc. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate_ValueType_Bool + * Value type is boolean. (Value: "BOOL") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate_ValueType_Enum + * Value type is enum. (Value: "ENUM") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate_ValueType_Int + * Value type is integer. (Value: "INT") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate_ValueType_MultiInt + * Value type is multi int. (Value: "MULTI_INT") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate_ValueType_MultiSelect + * Value type is multi select. (Value: "MULTI_SELECT") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate_ValueType_MultiString + * Value type is multi string. (Value: "MULTI_STRING") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate_ValueType_Secret + * Value type is secret. (Value: "SECRET") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate_ValueType_String + * Value type is string. (Value: "STRING") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ConfigVariableTemplate_ValueType_ValueTypeUnspecified + * Value type is not specified. (Value: "VALUE_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *valueType; + +@end + + +/** + * A curation resource in the API Hub. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Curation : GTLRObject + +/** Output only. The time at which the curation was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. The description of the curation. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** Required. The display name of the curation. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** Required. The endpoint to be triggered for curation. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Endpoint *endpoint; + +/** + * Output only. The error code of the last execution of the curation. The error + * code is populated only when the last execution state is failed. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Curation_LastExecutionErrorCode_ErrorCodeUnspecified + * Default unspecified error code. (Value: "ERROR_CODE_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Curation_LastExecutionErrorCode_InternalError + * The execution failed due to an internal error. (Value: + * "INTERNAL_ERROR") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Curation_LastExecutionErrorCode_Unauthorized + * The curation is not authorized to trigger the endpoint uri. (Value: + * "UNAUTHORIZED") + */ +@property(nonatomic, copy, nullable) NSString *lastExecutionErrorCode; + +/** + * Output only. Error message describing the failure, if any, during the last + * execution of the curation. + */ +@property(nonatomic, copy, nullable) NSString *lastExecutionErrorMessage; + +/** + * Output only. The last execution state of the curation. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Curation_LastExecutionState_Failed + * The last curation execution failed. (Value: "FAILED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Curation_LastExecutionState_LastExecutionStateUnspecified + * Default unspecified state. (Value: "LAST_EXECUTION_STATE_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Curation_LastExecutionState_Succeeded + * The last curation execution was successful. (Value: "SUCCEEDED") + */ +@property(nonatomic, copy, nullable) NSString *lastExecutionState; + +/** + * Identifier. The name of the curation. Format: + * `projects/{project}/locations/{location}/curations/{curation}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The plugin instances and associated actions that are using the + * curation. Note: A particular curation could be used by multiple plugin + * instances or multiple actions in a plugin instance. + */ +@property(nonatomic, strong, nullable) NSArray *pluginInstanceActions; + +/** Output only. The time at which the curation was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * The curation information for this plugin instance. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1CurationConfig : GTLRObject + +/** + * Required. The curation type for this plugin instance. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1CurationConfig_CurationType_CurationTypeUnspecified + * Default unspecified curation type. (Value: + * "CURATION_TYPE_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1CurationConfig_CurationType_CustomCurationForApiMetadata + * Custom curation for API metadata will be used. (Value: + * "CUSTOM_CURATION_FOR_API_METADATA") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1CurationConfig_CurationType_DefaultCurationForApiMetadata + * Default curation for API metadata will be used. (Value: + * "DEFAULT_CURATION_FOR_API_METADATA") + */ +@property(nonatomic, copy, nullable) NSString *curationType; + +/** Optional. Custom curation information for this plugin instance. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1CustomCuration *customCuration; + +@end + + +/** + * Custom curation information for this plugin instance. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1CustomCuration : GTLRObject + +/** + * Required. The unique name of the curation resource. This will be the name of + * the curation resource in the format: + * `projects/{project}/locations/{location}/curations/{curation}` + */ +@property(nonatomic, copy, nullable) NSString *curation; + +@end + + +/** + * Represents a definition for example schema, request, response definitions + * contained in an API version. A definition is added/updated/deleted in an API + * version when a new spec is added or an existing spec is updated/deleted in a + * version. Currently, definition will be created only corresponding to OpenAPI + * spec as parsing is supported for OpenAPI spec. Also, within OpenAPI spec, + * only `schema` object is supported. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Definition : GTLRObject + +/** + * Optional. The list of user defined attributes associated with the definition + * resource. The key is the attribute name. It will be of the format: + * `projects/{project}/locations/{location}/attributes/{attribute}`. The value + * is the attribute values associated with the resource. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Definition_Attributes *attributes; + +/** Output only. The time at which the definition was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Identifier. The name of the definition. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/definitions/{definition}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. The value of a schema definition. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Schema *schema; + +/** + * Output only. The name of the spec from where the definition was parsed. + * Format is + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}` + */ +@property(nonatomic, copy, nullable) NSString *spec; + +/** + * Output only. The type of the definition. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Definition_Type_Schema Definition + * type schema. (Value: "SCHEMA") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Definition_Type_TypeUnspecified + * Definition type unspecified. (Value: "TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; + +/** Output only. The time at which the definition was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. The list of user defined attributes associated with the definition + * resource. The key is the attribute name. It will be of the format: + * `projects/{project}/locations/{location}/attributes/{attribute}`. The value + * is the attribute values associated with the resource. + * + * @note This class is documented as having more properties of + * GTLRAPIhub_GoogleCloudApihubV1AttributeValues. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Definition_Attributes : GTLRObject +@end + + +/** + * A dependency resource defined in the API hub describes a dependency directed + * from a consumer to a supplier entity. A dependency can be defined between + * two Operations or between an Operation and External API. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Dependency : GTLRObject + +/** + * Optional. The list of user defined attributes associated with the dependency + * resource. The key is the attribute name. It will be of the format: + * `projects/{project}/locations/{location}/attributes/{attribute}`. The value + * is the attribute values associated with the resource. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Dependency_Attributes *attributes; + +/** + * Required. Immutable. The entity acting as the consumer in the dependency. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1DependencyEntityReference *consumer; + +/** Output only. The time at which the dependency was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. Human readable description corresponding of the dependency. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Output only. Discovery mode of the dependency. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Dependency_DiscoveryMode_DiscoveryModeUnspecified + * Default value. This value is unused. (Value: + * "DISCOVERY_MODE_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Dependency_DiscoveryMode_Manual + * Manual mode of discovery when the dependency is defined by the user. + * (Value: "MANUAL") + */ +@property(nonatomic, copy, nullable) NSString *discoveryMode; + +/** + * Output only. Error details of a dependency if the system has detected it + * internally. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1DependencyErrorDetail *errorDetail; + +/** + * Identifier. The name of the dependency in the API Hub. Format: + * `projects/{project}/locations/{location}/dependencies/{dependency}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. State of the dependency. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Dependency_State_Proposed + * Dependency will be in a proposed state when it is newly identified by + * the API hub on its own. (Value: "PROPOSED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Dependency_State_StateUnspecified + * Default value. This value is unused. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Dependency_State_Validated + * Dependency will be in a validated state when it is validated by the + * admin or manually created in the API hub. (Value: "VALIDATED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Required. Immutable. The entity acting as the supplier in the dependency. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1DependencyEntityReference *supplier; + +/** Output only. The time at which the dependency was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. The list of user defined attributes associated with the dependency + * resource. The key is the attribute name. It will be of the format: + * `projects/{project}/locations/{location}/attributes/{attribute}`. The value + * is the attribute values associated with the resource. + * + * @note This class is documented as having more properties of + * GTLRAPIhub_GoogleCloudApihubV1AttributeValues. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Dependency_Attributes : GTLRObject +@end + + +/** + * Reference to an entity participating in a dependency. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1DependencyEntityReference : GTLRObject + +/** Output only. Display name of the entity. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * The resource name of an external API in the API Hub. Format: + * `projects/{project}/locations/{location}/externalApis/{external_api}` + */ +@property(nonatomic, copy, nullable) NSString *externalApiResourceName; + +/** + * The resource name of an operation in the API Hub. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}` + */ +@property(nonatomic, copy, nullable) NSString *operationResourceName; + +@end + + +/** + * Details describing error condition of a dependency. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1DependencyErrorDetail : GTLRObject + +/** + * Optional. Error in the dependency. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1DependencyErrorDetail_Error_ErrorUnspecified + * Default value used for no error in the dependency. (Value: + * "ERROR_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1DependencyErrorDetail_Error_SupplierNotFound + * Supplier entity has been deleted. (Value: "SUPPLIER_NOT_FOUND") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1DependencyErrorDetail_Error_SupplierRecreated + * Supplier entity has been recreated. (Value: "SUPPLIER_RECREATED") + */ +@property(nonatomic, copy, nullable) NSString *error; + +/** Optional. Timestamp at which the error was found. */ +@property(nonatomic, strong, nullable) GTLRDateTime *errorTime; + +@end + + +/** + * Details of the deployment where APIs are hosted. A deployment could + * represent an Apigee proxy, API gateway, other Google Cloud services or + * non-Google Cloud services as well. A deployment entity is a root level + * entity in the API hub and exists independent of any API. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Deployment : GTLRObject + +/** + * Output only. The API versions linked to this deployment. Note: A particular + * deployment could be linked to multiple different API versions (of same or + * different APIs). + */ +@property(nonatomic, strong, nullable) NSArray *apiVersions; + +/** + * Optional. The list of user defined attributes associated with the deployment + * resource. The key is the attribute name. It will be of the format: + * `projects/{project}/locations/{location}/attributes/{attribute}`. The value + * is the attribute values associated with the resource. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Deployment_Attributes *attributes; + +/** Output only. The time at which the deployment was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Required. The type of deployment. This maps to the following system defined + * attribute: + * `projects/{project}/locations/{location}/attributes/system-deployment-type` + * attribute. The number of values for this attribute will be based on the + * cardinality of the attribute. The same can be retrieved via GetAttribute + * API. All values should be from the list of allowed values defined for the + * attribute. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AttributeValues *deploymentType; + +/** + * Optional. The description of the deployment. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** Required. The display name of the deployment. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** Optional. The documentation of the deployment. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Documentation *documentation; + +/** + * Required. The endpoints at which this deployment resource is listening for + * API requests. This could be a list of complete URIs, hostnames or an IP + * addresses. + */ +@property(nonatomic, strong, nullable) NSArray *endpoints; + +/** + * Optional. The environment mapping to this deployment. This maps to the + * following system defined attribute: + * `projects/{project}/locations/{location}/attributes/system-environment` + * attribute. The number of values for this attribute will be based on the + * cardinality of the attribute. The same can be retrieved via GetAttribute + * API. All values should be from the list of allowed values defined for the + * attribute. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AttributeValues *environment; + +/** + * Identifier. The name of the deployment. Format: + * `projects/{project}/locations/{location}/deployments/{deployment}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. A URI to the runtime resource. This URI can be used to manage the + * resource. For example, if the runtime resource is of type APIGEE_PROXY, then + * this field will contain the URI to the management UI of the proxy. + */ +@property(nonatomic, copy, nullable) NSString *resourceUri; + +/** + * Optional. The SLO for this deployment. This maps to the following system + * defined attribute: + * `projects/{project}/locations/{location}/attributes/system-slo` attribute. + * The number of values for this attribute will be based on the cardinality of + * the attribute. The same can be retrieved via GetAttribute API. All values + * should be from the list of allowed values defined for the attribute. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AttributeValues *slo; + +/** + * Output only. The list of sources and metadata from the sources of the + * deployment. + */ +@property(nonatomic, strong, nullable) NSArray *sourceMetadata; + +/** Output only. The time at which the deployment was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. The list of user defined attributes associated with the deployment + * resource. The key is the attribute name. It will be of the format: + * `projects/{project}/locations/{location}/attributes/{attribute}`. The value + * is the attribute values associated with the resource. + * + * @note This class is documented as having more properties of + * GTLRAPIhub_GoogleCloudApihubV1AttributeValues. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Deployment_Attributes : GTLRObject +@end + + +/** + * The metadata associated with a deployment. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1DeploymentMetadata : GTLRObject + +/** + * Required. The deployment resource to be pushed to Hub's collect layer. The + * ID of the deployment will be generated by Hub. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Deployment *deployment; + +/** + * Optional. Timestamp indicating when the deployment was created at the + * source. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *originalCreateTime; + +/** + * Optional. The unique identifier of the deployment in the system where it was + * originally created. + */ +@property(nonatomic, copy, nullable) NSString *originalId; + +/** + * Required. Timestamp indicating when the deployment was last updated at the + * source. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *originalUpdateTime; + +@end + + +/** + * The DisablePluginInstanceAction method's request. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1DisablePluginInstanceActionRequest : GTLRObject + +/** Required. The action id to disable. */ +@property(nonatomic, copy, nullable) NSString *actionId; + +@end + + +/** + * The DisablePlugin method's request. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1DisablePluginRequest : GTLRObject +@end + + +/** + * Documentation details. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Documentation : GTLRObject + +/** Optional. The uri of the externally hosted documentation. */ +@property(nonatomic, copy, nullable) NSString *externalUri; + +@end + + +/** + * The EnablePluginInstanceAction method's request. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1EnablePluginInstanceActionRequest : GTLRObject + +/** Required. The action id to enable. */ +@property(nonatomic, copy, nullable) NSString *actionId; + +@end + + +/** + * The EnablePlugin method's request. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1EnablePluginRequest : GTLRObject +@end + + +/** + * The endpoint to be triggered for curation. The endpoint will be invoked with + * a request payload containing ApiMetadata. Response should contain curated + * data in the form of ApiMetadata. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Endpoint : GTLRObject + +/** + * Required. The details of the Application Integration endpoint to be + * triggered for curation. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1ApplicationIntegrationEndpointDetails *applicationIntegrationEndpointDetails; + +@end + + +/** + * The attribute values of data type enum. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1EnumAttributeValues : GTLRObject + +/** Required. The attribute values in case attribute data type is enum. */ +@property(nonatomic, strong, nullable) NSArray *values; + +@end + + +/** + * The ExecutePluginInstanceAction method's request. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ExecutePluginInstanceActionRequest : GTLRObject + +/** Required. The execution details for the action to execute. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1ActionExecutionDetail *actionExecutionDetail; + +@end + + +/** + * The execution status for the plugin instance. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ExecutionStatus : GTLRObject + +/** + * Output only. The current state of the execution. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ExecutionStatus_CurrentExecutionState_CurrentExecutionStateUnspecified + * Default unspecified execution state. (Value: + * "CURRENT_EXECUTION_STATE_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ExecutionStatus_CurrentExecutionState_NotRunning + * The plugin instance is not running an execution. (Value: + * "NOT_RUNNING") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ExecutionStatus_CurrentExecutionState_Running + * The plugin instance is executing. (Value: "RUNNING") + */ +@property(nonatomic, copy, nullable) NSString *currentExecutionState; + +/** Output only. The last execution of the plugin instance. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1LastExecution *lastExecution; + +@end + + +/** + * An external API represents an API being provided by external sources. This + * can be used to model third-party APIs and can be used to define + * dependencies. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ExternalApi : GTLRObject + +/** + * Optional. The list of user defined attributes associated with the Version + * resource. The key is the attribute name. It will be of the format: + * `projects/{project}/locations/{location}/attributes/{attribute}`. The value + * is the attribute values associated with the resource. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1ExternalApi_Attributes *attributes; + +/** Output only. Creation timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. Description of the external API. Max length is 2000 characters + * (Unicode Code Points). + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Required. Display name of the external API. Max length is 63 characters + * (Unicode Code Points). + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** Optional. Documentation of the external API. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Documentation *documentation; + +/** Optional. List of endpoints on which this API is accessible. */ +@property(nonatomic, strong, nullable) NSArray *endpoints; + +/** + * Identifier. Format: + * `projects/{project}/locations/{location}/externalApi/{externalApi}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Optional. List of paths served by this API. */ +@property(nonatomic, strong, nullable) NSArray *paths; + +/** Output only. Last update timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. The list of user defined attributes associated with the Version + * resource. The key is the attribute name. It will be of the format: + * `projects/{project}/locations/{location}/attributes/{attribute}`. The value + * is the attribute values associated with the resource. + * + * @note This class is documented as having more properties of + * GTLRAPIhub_GoogleCloudApihubV1AttributeValues. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ExternalApi_Attributes : GTLRObject +@end + + +/** + * Config for Google service account authentication. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1GoogleServiceAccountConfig : GTLRObject + +/** + * Required. The service account to be used for authenticating request. The + * `iam.serviceAccounts.getAccessToken` permission should be granted on this + * service account to the impersonator service account. + */ +@property(nonatomic, copy, nullable) NSString *serviceAccount; + +@end + + +/** + * The information related to the service implemented by the plugin developer, + * used to invoke the plugin's functionality. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1HostingService : GTLRObject + +/** + * Optional. The URI of the service implemented by the plugin developer, used + * to invoke the plugin's functionality. This information is only required for + * user defined plugins. + */ +@property(nonatomic, copy, nullable) NSString *serviceUri; + +@end + + +/** + * Host project registration refers to the registration of a Google cloud + * project with Api Hub as a host project. This is the project where Api Hub is + * provisioned. It acts as the consumer project for the Api Hub instance + * provisioned. Multiple runtime projects can be attached to the host project + * and these attachments define the scope of Api Hub. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1HostProjectRegistration : GTLRObject + +/** + * Output only. The time at which the host project registration was created. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Required. Immutable. Google cloud project name in the format: "projects/abc" + * or "projects/123". As input, project name with either project id or number + * are accepted. As output, this field will contain project number. + */ +@property(nonatomic, copy, nullable) NSString *gcpProject; + +/** + * Identifier. The name of the host project registration. Format: + * "projects/{project}/locations/{location}/hostProjectRegistrations/{host_project_registration}". + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + +/** + * The HTTP Operation. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1HttpOperation : GTLRObject + +/** + * Optional. Operation method Note: Even though this field is optional, it is + * required for CreateApiOperation API and we will fail the request if not + * provided. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Delete Delete + * Operation type. (Value: "DELETE") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Get Get + * Operation type. (Value: "GET") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Head Head + * Operation type. (Value: "HEAD") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_MethodUnspecified + * Method unspecified. (Value: "METHOD_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Options + * Options Operation type. (Value: "OPTIONS") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Patch Patch + * Operation type. (Value: "PATCH") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Post Post + * Operation type. (Value: "POST") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Put Put + * Operation type. (Value: "PUT") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Trace Trace + * Operation type. (Value: "TRACE") + */ +@property(nonatomic, copy, nullable) NSString *method; + +/** + * Optional. The path details for the Operation. Note: Even though this field + * is optional, it is required for CreateApiOperation API and we will fail the + * request if not provided. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Path *path; + +@end + + +/** + * Issue contains the details of a single issue found by the linter. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Issue : GTLRObject + +/** Required. Rule code unique to each rule defined in linter. */ +@property(nonatomic, copy, nullable) NSString *code; + +/** + * Required. Human-readable message describing the issue found by the linter. + */ +@property(nonatomic, copy, nullable) NSString *message; + +/** + * Required. An array of strings indicating the location in the analyzed + * document where the rule was triggered. + */ +@property(nonatomic, strong, nullable) NSArray *path; + +/** Required. Object describing where in the file the issue was found. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Range *range; + +/** + * Required. Severity level of the rule violation. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Issue_Severity_SeverityError + * Severity error. (Value: "SEVERITY_ERROR") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Issue_Severity_SeverityHint + * Severity hint. (Value: "SEVERITY_HINT") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Issue_Severity_SeverityInfo + * Severity info. (Value: "SEVERITY_INFO") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Issue_Severity_SeverityUnspecified + * Severity unspecified. (Value: "SEVERITY_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Issue_Severity_SeverityWarning + * Severity warning. (Value: "SEVERITY_WARNING") + */ +@property(nonatomic, copy, nullable) NSString *severity; + +@end + + +/** + * The result of the last execution of the plugin instance. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1LastExecution : GTLRObject + +/** Output only. The last execution end time of the plugin instance. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** + * Output only. Error message describing the failure, if any, during the last + * execution. + */ +@property(nonatomic, copy, nullable) NSString *errorMessage; + +/** + * Output only. The result of the last execution of the plugin instance. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1LastExecution_Result_Failed The + * plugin instance execution failed. (Value: "FAILED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1LastExecution_Result_ResultUnspecified + * Default unspecified execution result. (Value: "RESULT_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1LastExecution_Result_Succeeded The + * plugin instance executed successfully. (Value: "SUCCEEDED") + */ +@property(nonatomic, copy, nullable) NSString *result; + +/** Output only. The last execution start time of the plugin instance. */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; + +@end + + +/** + * LintResponse contains the response from the linter. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1LintResponse : GTLRObject + +/** Required. Timestamp when the linting response was generated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Optional. Array of issues found in the analyzed document. */ +@property(nonatomic, strong, nullable) NSArray *issues; + +/** + * Required. Name of the linter used. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1LintResponse_Linter_LinterUnspecified + * Linter type unspecified. (Value: "LINTER_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1LintResponse_Linter_Other Linter + * type other. (Value: "OTHER") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1LintResponse_Linter_Spectral Linter + * type spectral. (Value: "SPECTRAL") + */ +@property(nonatomic, copy, nullable) NSString *linter; + +/** Required. Name of the linting application. */ +@property(nonatomic, copy, nullable) NSString *source; + +/** + * Required. Lint state represents success or failure for linting. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1LintResponse_State_LintStateError + * Linting encountered errors. (Value: "LINT_STATE_ERROR") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1LintResponse_State_LintStateSuccess + * Linting was completed successfully. (Value: "LINT_STATE_SUCCESS") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1LintResponse_State_LintStateUnspecified + * Lint state unspecified. (Value: "LINT_STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Optional. Summary of all issue types and counts for each severity level. + */ +@property(nonatomic, strong, nullable) NSArray *summary; + +@end + + +/** + * The LintSpec method's request. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1LintSpecRequest : GTLRObject +@end + + +/** + * The ListApiOperations method's response. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "apiOperations" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ListApiOperationsResponse : GTLRCollectionObject + +/** + * The operations corresponding to an API version. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *apiOperations; + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * The ListApis method's response. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "apis" property. If returned as the result of a query, it should + * support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ListApisResponse : GTLRCollectionObject + +/** + * The API resources present in the API hub. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *apis; + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * The ListAttributes method's response. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "attributes" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ListAttributesResponse : GTLRCollectionObject + +/** + * The list of all attributes. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *attributes; + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * The ListCurations method's response. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "curations" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ListCurationsResponse : GTLRCollectionObject + +/** + * The curation resources present in the API hub. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *curations; + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * The ListDependencies method's response. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "dependencies" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ListDependenciesResponse : GTLRCollectionObject + +/** + * The dependency resources present in the API hub. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *dependencies; + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * The ListDeployments method's response. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "deployments" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ListDeploymentsResponse : GTLRCollectionObject + +/** + * The deployment resources present in the API hub. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *deployments; + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * The ListExternalApis method's response. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "externalApis" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ListExternalApisResponse : GTLRCollectionObject + +/** + * The External API resources present in the API hub. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *externalApis; + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * The ListHostProjectRegistrations method's response. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "hostProjectRegistrations" property. If returned as the result of + * a query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ListHostProjectRegistrationsResponse : GTLRCollectionObject + +/** + * The list of host project registrations. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *hostProjectRegistrations; + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * The ListPluginInstances method's response. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "pluginInstances" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ListPluginInstancesResponse : GTLRCollectionObject + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The plugin instances from the specified parent resource. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *pluginInstances; + +@end + + +/** + * The ListPlugins method's response. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "plugins" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ListPluginsResponse : GTLRCollectionObject + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The plugins from the specified parent resource. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *plugins; + +@end + + +/** + * The ListRuntimeProjectAttachments method's response. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "runtimeProjectAttachments" property. If returned as the result of + * a query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ListRuntimeProjectAttachmentsResponse : GTLRCollectionObject + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * List of runtime project attachments. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *runtimeProjectAttachments; + +@end + + +/** + * The ListSpecs method's response. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "specs" property. If returned as the result of a query, it should + * support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ListSpecsResponse : GTLRCollectionObject + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The specs corresponding to an API Version. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *specs; + +@end + + +/** + * The ListVersions method's response. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "versions" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ListVersionsResponse : GTLRCollectionObject + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The versions corresponding to an API. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *versions; + +@end + + +/** + * The LookupApiHubInstance method's response.` + */ +@interface GTLRAPIhub_GoogleCloudApihubV1LookupApiHubInstanceResponse : GTLRObject + +/** API Hub instance for a project if it exists, empty otherwise. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1ApiHubInstance *apiHubInstance; + +@end + + +/** + * The ListRuntimeProjectAttachments method's response. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1LookupRuntimeProjectAttachmentResponse : GTLRObject + +/** Runtime project attachment for a project if exists, empty otherwise. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1RuntimeProjectAttachment *runtimeProjectAttachment; + +@end + + +/** + * The config variable value of data type multi int. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1MultiIntValues : GTLRObject + +/** + * Optional. The config variable value of data type multi int. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSArray *values; + +@end + + +/** + * The config variable value of data type multi select. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1MultiSelectValues : GTLRObject + +/** Optional. The config variable value of data type multi select. */ +@property(nonatomic, strong, nullable) NSArray *values; + +@end + + +/** + * The config variable value of data type multi string. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1MultiStringValues : GTLRObject + +/** Optional. The config variable value of data type multi string. */ +@property(nonatomic, strong, nullable) NSArray *values; + +@end + + +/** + * Parameters to support Oauth 2.0 client credentials grant authentication. See + * https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Oauth2ClientCredentialsConfig : GTLRObject + +/** Required. The client identifier. */ +@property(nonatomic, copy, nullable) NSString *clientId; + +/** + * Required. Secret version reference containing the client secret. The + * `secretmanager.versions.access` permission should be granted to the service + * account accessing the secret. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Secret *clientSecret; + +@end + + +/** + * OpenApiSpecDetails contains the details parsed from an OpenAPI spec in + * addition to the fields mentioned in SpecDetails. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails : GTLRObject + +/** + * Output only. The format of the spec. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails_Format_FormatUnspecified + * SpecFile type unspecified. (Value: "FORMAT_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails_Format_OpenApiSpec20 + * OpenAPI Spec v2.0. (Value: "OPEN_API_SPEC_2_0") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails_Format_OpenApiSpec30 + * OpenAPI Spec v3.0. (Value: "OPEN_API_SPEC_3_0") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails_Format_OpenApiSpec31 + * OpenAPI Spec v3.1. (Value: "OPEN_API_SPEC_3_1") + */ +@property(nonatomic, copy, nullable) NSString *format; + +/** + * Output only. Owner details for the spec. This maps to `info.contact` in + * OpenAPI spec. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Owner *owner; + +/** + * Output only. The version in the spec. This maps to `info.version` in OpenAPI + * spec. + */ +@property(nonatomic, copy, nullable) NSString *version; + +@end + + +/** + * The operation details parsed from the spec. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1OperationDetails : GTLRObject + +/** + * Optional. For OpenAPI spec, this will be set if `operation.deprecated`is + * marked as `true` in the spec. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *deprecated; + +/** + * Optional. Description of the operation behavior. For OpenAPI spec, this will + * map to `operation.description` in the spec, in case description is empty, + * `operation.summary` will be used. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Optional. Additional external documentation for this operation. For OpenAPI + * spec, this will map to `operation.documentation` in the spec. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Documentation *documentation; + +/** The HTTP Operation. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1HttpOperation *httpOperation; + +@end + + +/** + * Represents the metadata of the long-running operation. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1OperationMetadata : GTLRObject + +/** Output only. API version used to start the operation. */ +@property(nonatomic, copy, nullable) NSString *apiVersion; + +/** Output only. The time the operation was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Output only. The time the operation finished running. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** + * Output only. Identifies whether the user has requested cancellation of the + * operation. Operations that have 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. Human-readable status of the operation, if any. */ +@property(nonatomic, copy, nullable) NSString *statusMessage; + +/** + * Output only. Server-defined resource path for the target of the operation. + */ +@property(nonatomic, copy, nullable) NSString *target; + +/** Output only. Name of the verb executed by the operation. */ +@property(nonatomic, copy, nullable) NSString *verb; + +@end + + +/** + * Owner details. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Owner : GTLRObject + +/** Optional. The name of the owner. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** Required. The email of the owner. */ +@property(nonatomic, copy, nullable) NSString *email; + +@end + + +/** + * The path details derived from the spec. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Path : GTLRObject + +/** + * Optional. A short description for the path applicable to all operations. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Optional. Complete path relative to server endpoint. Note: Even though this + * field is optional, it is required for CreateApiOperation API and we will + * fail the request if not provided. + */ +@property(nonatomic, copy, nullable) NSString *path; + +@end + + +/** + * A plugin resource in the API Hub. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Plugin : GTLRObject + +/** Optional. The configuration of actions supported by the plugin. */ +@property(nonatomic, strong, nullable) NSArray *actionsConfig; + +/** Optional. The configuration template for the plugin. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1ConfigTemplate *configTemplate; + +/** Output only. Timestamp indicating when the plugin was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. The plugin description. Max length is 2000 characters (Unicode + * code points). + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Required. The display name of the plugin. Max length is 50 characters + * (Unicode code points). + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Optional. The documentation of the plugin, that explains how to set up and + * use the plugin. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Documentation *documentation; + +/** + * Optional. This field is optional. It is used to notify the plugin hosting + * service for any lifecycle changes of the plugin instance and trigger + * execution of plugin instance actions in case of API hub managed actions. + * This field should be provided if the plugin instance lifecycle of the + * developed plugin needs to be managed from API hub. Also, in this case the + * plugin hosting service interface needs to be implemented. This field should + * not be provided if the plugin wants to manage plugin instance lifecycle + * events outside of hub interface and use plugin framework for only + * registering of plugin and plugin instances to capture the source of data + * into hub. Note, in this case the plugin hosting service interface is not + * required to be implemented. Also, the plugin instance lifecycle actions will + * be disabled from API hub's UI. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1HostingService *hostingService; + +/** + * Identifier. The name of the plugin. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The type of the plugin, indicating whether it is 'SYSTEM_OWNED' + * or 'USER_OWNED'. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Plugin_OwnershipType_OwnershipTypeUnspecified + * Default unspecified type. (Value: "OWNERSHIP_TYPE_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Plugin_OwnershipType_SystemOwned + * System owned plugins are defined by API hub and are available out of + * the box in API hub. (Value: "SYSTEM_OWNED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Plugin_OwnershipType_UserOwned User + * owned plugins are defined by the user and need to be explicitly added + * to API hub via CreatePlugin method. (Value: "USER_OWNED") + */ +@property(nonatomic, copy, nullable) NSString *ownershipType; + +/** + * Optional. The category of the plugin, identifying its primary category or + * purpose. This field is required for all plugins. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Plugin_PluginCategory_ApiGateway + * API_GATEWAY plugins represent plugins built for API Gateways like + * Apigee. (Value: "API_GATEWAY") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Plugin_PluginCategory_ApiProducer + * API_PRODUCER plugins represent plugins built for API Producers like + * Cloud Run, Application Integration etc. (Value: "API_PRODUCER") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Plugin_PluginCategory_PluginCategoryUnspecified + * Default unspecified plugin type. (Value: + * "PLUGIN_CATEGORY_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *pluginCategory; + +/** + * Output only. Represents the state of the plugin. Note this field will not be + * set for plugins developed via plugin framework as the state will be managed + * at plugin instance level. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Plugin_State_Disabled The plugin is + * disabled. (Value: "DISABLED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Plugin_State_Enabled The plugin is + * enabled. (Value: "ENABLED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Plugin_State_StateUnspecified The + * default value. This value is used if the state is omitted. (Value: + * "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Optional. The type of the API. This maps to the following system defined + * attribute: + * `projects/{project}/locations/{location}/attributes/system-plugin-type` + * attribute. The number of allowed values for this attribute will be based on + * the cardinality of the attribute. The same can be retrieved via GetAttribute + * API. All values should be from the list of allowed values defined for the + * attribute. Note this field is not required for plugins developed via plugin + * framework. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AttributeValues *type; + +/** Output only. Timestamp indicating when the plugin was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * PluginActionConfig represents the configuration of an action supported by a + * plugin. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1PluginActionConfig : GTLRObject + +/** + * Required. The description of the operation performed by the action. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** Required. The display name of the action. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Required. The id of the action. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * Required. The trigger mode supported by the action. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PluginActionConfig_TriggerMode_ApiHubOnDemandTrigger + * This action can be executed by invoking ExecutePluginInstanceAction + * API with the given action id. To support this, the plugin hosting + * service should handle this action id as part of execute call. (Value: + * "API_HUB_ON_DEMAND_TRIGGER") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PluginActionConfig_TriggerMode_ApiHubScheduleTrigger + * This action will be executed on schedule by invoking + * ExecutePluginInstanceAction API with the given action id. To set the + * schedule, the user can provide the cron expression in the PluginAction + * field for a given plugin instance. To support this, the plugin hosting + * service should handle this action id as part of execute call. Note, on + * demand execution will be supported by default in this trigger mode. + * (Value: "API_HUB_SCHEDULE_TRIGGER") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PluginActionConfig_TriggerMode_NonApiHubManaged + * The execution of this plugin is not handled by API hub. In this case, + * the plugin hosting service need not handle this action id as part of + * the execute call. (Value: "NON_API_HUB_MANAGED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PluginActionConfig_TriggerMode_TriggerModeUnspecified + * Default unspecified mode. (Value: "TRIGGER_MODE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *triggerMode; + +@end + + +/** + * Represents a plugin instance resource in the API Hub. A PluginInstance is a + * specific instance of a hub plugin with its own configuration, state, and + * execution details. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1PluginInstance : GTLRObject + +/** Required. The action status for the plugin instance. */ +@property(nonatomic, strong, nullable) NSArray *actions; + +/** + * Optional. The additional information for this plugin instance corresponding + * to the additional config template of the plugin. This information will be + * sent to plugin hosting service on each call to plugin hosted service. The + * key will be the config_variable_template.display_name to uniquely identify + * the config variable. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1PluginInstance_AdditionalConfig *additionalConfig; + +/** Optional. The authentication information for this plugin instance. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AuthConfig *authConfig; + +/** Output only. Timestamp indicating when the plugin instance was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Required. The display name for this plugin instance. Max length is 255 + * characters. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Output only. Error message describing the failure, if any, during Create, + * Delete or ApplyConfig operation corresponding to the plugin instance.This + * field will only be populated if the plugin instance is in the ERROR or + * FAILED state. + */ +@property(nonatomic, copy, nullable) NSString *errorMessage; + +/** + * Identifier. The unique name of the plugin instance resource. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The current state of the plugin instance (e.g., enabled, + * disabled, provisioning). + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PluginInstance_State_Active The + * plugin instance is active and ready for executions. This is the only + * state where executions can run on the plugin instance. (Value: + * "ACTIVE") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PluginInstance_State_ApplyingConfig + * The updated config that contains additional_config and auth_config is + * being applied. (Value: "APPLYING_CONFIG") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PluginInstance_State_Creating The + * plugin instance is being created. (Value: "CREATING") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PluginInstance_State_Deleting The + * plugin instance is being deleted. Delete is only possible if there is + * no other operation running on the plugin instance and plugin instance + * action. (Value: "DELETING") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PluginInstance_State_Error The + * ERROR state can come while applying config. Users can retrigger + * ApplyPluginInstanceConfig to restore the plugin instance back to + * active state. Note, In case the ERROR state happens while applying + * config (auth_config, additional_config), the plugin instance will + * reflect the config which was trying to be applied while error + * happened. In order to overwrite, trigger ApplyConfig with a new + * config. (Value: "ERROR") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PluginInstance_State_Failed The + * plugin instance is in a failed state. This indicates that an + * unrecoverable error occurred during a previous operation (Create, + * Delete). (Value: "FAILED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PluginInstance_State_StateUnspecified + * Default unspecified state. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Output only. Timestamp indicating when the plugin instance was last updated. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. The additional information for this plugin instance corresponding + * to the additional config template of the plugin. This information will be + * sent to plugin hosting service on each call to plugin hosted service. The + * key will be the config_variable_template.display_name to uniquely identify + * the config variable. + * + * @note This class is documented as having more properties of + * GTLRAPIhub_GoogleCloudApihubV1ConfigVariable. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1PluginInstance_AdditionalConfig : GTLRObject +@end + + +/** + * PluginInstanceAction represents an action which can be executed in the + * plugin instance. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction : GTLRObject + +/** + * Required. This should map to one of the action id specified in + * actions_config in the plugin. + */ +@property(nonatomic, copy, nullable) NSString *actionId; + +/** + * Optional. This configuration should be provided if the plugin action is + * publishing data to API hub curate layer. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1CurationConfig *curationConfig; + +/** + * Optional. The execution information for the plugin instance action done + * corresponding to an API hub instance. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1ExecutionStatus *hubInstanceAction; + +/** + * Optional. The schedule for this plugin instance action. This can only be set + * if the plugin supports API_HUB_SCHEDULE_TRIGGER mode for this action. + */ +@property(nonatomic, copy, nullable) NSString *scheduleCronExpression; + +/** + * Optional. The time zone for the schedule cron expression. If not provided, + * UTC will be used. + */ +@property(nonatomic, copy, nullable) NSString *scheduleTimeZone; + +/** + * Output only. The current state of the plugin action in the plugin instance. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_Disabled + * The action is disabled in the plugin instance i.e., no executions can + * be triggered for this action. This state indicates that the user + * explicitly disabled the instance, and no further action is needed + * unless the user wants to re-enable it. (Value: "DISABLED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_Disabling + * The action in the plugin instance is being disabled. (Value: + * "DISABLING") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_Enabled + * The action is enabled in the plugin instance i.e., executions can be + * triggered for this action. (Value: "ENABLED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_Enabling + * The action in the plugin instance is being enabled. (Value: + * "ENABLING") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_Error + * The ERROR state can come while enabling/disabling plugin instance + * action. Users can retrigger enable, disable via + * EnablePluginInstanceAction and DisablePluginInstanceAction to restore + * the action back to enabled/disabled state. Note enable/disable on + * actions can only be triggered if plugin instance is in Active state. + * (Value: "ERROR") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_StateUnspecified + * Default unspecified state. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + +/** + * The plugin instance and associated action that is using the curation. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1PluginInstanceActionID : GTLRObject + +/** + * Output only. The action ID that is using the curation. This should map to + * one of the action IDs specified in action configs in the plugin. + */ +@property(nonatomic, copy, nullable) NSString *actionId; + +/** + * Output only. Plugin instance that is using the curation. Format is + * `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}` + */ +@property(nonatomic, copy, nullable) NSString *pluginInstance; + +@end + + +/** + * PluginInstanceActionSource represents the plugin instance action source. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1PluginInstanceActionSource : GTLRObject + +/** Output only. The id of the plugin instance action. */ +@property(nonatomic, copy, nullable) NSString *actionId; + +/** + * Output only. The resource name of the source plugin instance. Format is + * `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}` + */ +@property(nonatomic, copy, nullable) NSString *pluginInstance; + +@end + + +/** + * Point within the file (line and character). + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Point : GTLRObject + +/** + * Required. Character position within the line (zero-indexed). + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *character; + +/** + * Required. Line number (zero-indexed). + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *line; + +@end + + +/** + * Object describing where in the file the issue was found. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Range : GTLRObject + +/** Required. End of the issue. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Point *end; + +/** Required. Start of the issue. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Point *start; + +@end + + +/** + * Runtime project attachment represents an attachment from the runtime project + * to the host project. Api Hub looks for deployments in the attached runtime + * projects and creates corresponding resources in Api Hub for the discovered + * deployments. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1RuntimeProjectAttachment : GTLRObject + +/** Output only. Create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Identifier. The resource name of a runtime project attachment. Format: + * "projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment}". + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. Immutable. Google cloud project name in the format: "projects/abc" + * or "projects/123". As input, project name with either project id or number + * are accepted. As output, this field will contain project number. + */ +@property(nonatomic, copy, nullable) NSString *runtimeProject; + +@end + + +/** + * The schema details derived from the spec. Currently, this entity is + * supported for OpenAPI spec only. For OpenAPI spec, this maps to the schema + * defined in the `definitions` section for OpenAPI 2.0 version and in + * `components.schemas` section for OpenAPI 3.0 and 3.1 version. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Schema : GTLRObject + +/** + * Output only. The display name of the schema. This will map to the name of + * the schema in the spec. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Output only. The raw value of the schema definition corresponding to the + * schema name in the spec. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *rawValue; + +@end + + +/** + * The SearchResources method's request. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1SearchResourcesRequest : GTLRObject + +/** + * Optional. An expression that filters the list of search results. 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 `=`. Filters are not case sensitive. The + * following field names are eligible for filtering: * `resource_type` - The + * type of resource in the search results. Must be one of the following: `Api`, + * `ApiOperation`, `Deployment`, `Definition`, `Spec` or `Version`. This field + * can only be specified once in the filter. Here are is an example: * + * `resource_type = Api` - The resource_type is _Api_. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The maximum number of search results to return. The service may + * return fewer than this value. If unspecified at most 10 search results will + * be returned. If value is negative then `INVALID_ARGUMENT` error is returned. + * The maximum value is 25; values above 25 will be coerced to 25. While + * paginating, you can specify a new page size parameter for each page of + * search results to be listed. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *pageSize; + +/** + * Optional. A page token, received from a previous SearchResources call. + * Specify this parameter to retrieve the next page of transactions. When + * paginating, you must specify the `page_token` parameter and all the other + * parameters except page_size should be specified with the same value which + * was used in the previous call. If the other fields are set with a different + * value than the previous call then `INVALID_ARGUMENT` error is returned. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The free text search query. This query can contain keywords which + * could be related to any detail of the API-Hub resources such display names, + * descriptions, attributes etc. + */ +@property(nonatomic, copy, nullable) NSString *query; + +@end + + +/** + * Response for the SearchResources method. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "searchResults" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRAPIhub_GoogleCloudApihubV1SearchResourcesResponse : GTLRCollectionObject + +/** + * Pass this token in the SearchResourcesRequest to continue to list results. + * If all results have been returned, this field is an empty string or not + * present in the response. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * List of search results according to the filter and search query specified. + * The order of search results represents the ranking. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *searchResults; + +@end + + +/** + * Represents the search results. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1SearchResult : GTLRObject + +/** + * This represents the ApiHubResource. Note: Only selected fields of the + * resources are populated in response. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1ApiHubResource *resource; + +@end + + +/** + * Secret provides a reference to entries in Secret Manager. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Secret : GTLRObject + +/** + * Required. The resource name of the secret version in the format, format as: + * `projects/ * /secrets/ * /versions/ *`. + */ +@property(nonatomic, copy, nullable) NSString *secretVersion; + +@end + + +/** + * SourceMetadata represents the metadata for a resource at the source. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1SourceMetadata : GTLRObject + +/** Output only. The time at which the resource was created at the source. */ +@property(nonatomic, strong, nullable) GTLRDateTime *originalResourceCreateTime; + +/** Output only. The unique identifier of the resource at the source. */ +@property(nonatomic, copy, nullable) NSString *originalResourceId; + +/** + * Output only. The time at which the resource was last updated at the source. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *originalResourceUpdateTime; + +/** Output only. The source of the resource is a plugin instance action. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1PluginInstanceActionSource *pluginInstanceActionSource; + +/** + * Output only. The type of the source. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1SourceMetadata_SourceType_Plugin + * Source type plugin. (Value: "PLUGIN") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1SourceMetadata_SourceType_SourceTypeUnspecified + * Source type not specified. (Value: "SOURCE_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *sourceType; + +@end + + +/** + * Represents a spec associated with an API version in the API Hub. Note that + * specs of various types can be uploaded, however parsing of details is + * supported for OpenAPI spec currently. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Spec : GTLRObject + +/** + * Optional. The list of user defined attributes associated with the spec. The + * key is the attribute name. It will be of the format: + * `projects/{project}/locations/{location}/attributes/{attribute}`. The value + * is the attribute values associated with the resource. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Spec_Attributes *attributes; + +/** Optional. Input only. The contents of the uploaded spec. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1SpecContents *contents; + +/** Output only. The time at which the spec was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Output only. Details parsed from the spec. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1SpecDetails *details; + +/** + * Required. The display name of the spec. This can contain the file name of + * the spec. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Optional. The documentation of the spec. For OpenAPI spec, this will be + * populated from `externalDocs` in OpenAPI spec. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Documentation *documentation; + +/** Optional. The lint response for the spec. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1LintResponse *lintResponse; + +/** + * Identifier. The name of the spec. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Input only. Enum specifying the parsing mode for OpenAPI + * Specification (OAS) parsing. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Spec_ParsingMode_ParsingModeUnspecified + * Defaults to `RELAXED`. (Value: "PARSING_MODE_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Spec_ParsingMode_Relaxed Parsing of + * the Spec on create and update is relaxed, meaning that parsing errors + * the spec contents will not fail the API call. (Value: "RELAXED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Spec_ParsingMode_Strict Parsing of + * the Spec on create and update is strict, meaning that parsing errors + * in the spec contents will fail the API call. (Value: "STRICT") + */ +@property(nonatomic, copy, nullable) NSString *parsingMode; + +/** + * Output only. The list of sources and metadata from the sources of the spec. + */ +@property(nonatomic, strong, nullable) NSArray *sourceMetadata; + +/** + * Optional. The URI of the spec source in case file is uploaded from an + * external version control system. + */ +@property(nonatomic, copy, nullable) NSString *sourceUri; + +/** + * Required. The type of spec. The value should be one of the allowed values + * defined for + * `projects/{project}/locations/{location}/attributes/system-spec-type` + * attribute. The number of values for this attribute will be based on the + * cardinality of the attribute. The same can be retrieved via GetAttribute + * API. Note, this field is mandatory if content is provided. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AttributeValues *specType; + +/** Output only. The time at which the spec was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. The list of user defined attributes associated with the spec. The + * key is the attribute name. It will be of the format: + * `projects/{project}/locations/{location}/attributes/{attribute}`. The value + * is the attribute values associated with the resource. + * + * @note This class is documented as having more properties of + * GTLRAPIhub_GoogleCloudApihubV1AttributeValues. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Spec_Attributes : GTLRObject +@end + + +/** + * The spec contents. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1SpecContents : GTLRObject + +/** + * Required. The contents of the spec. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *contents; + +/** + * Required. The mime type of the content for example application/json, + * application/yaml, application/wsdl etc. + */ +@property(nonatomic, copy, nullable) NSString *mimeType; + +@end + + +/** + * SpecDetails contains the details parsed from supported spec types. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1SpecDetails : GTLRObject + +/** + * Output only. The description of the spec. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Output only. Additional details apart from `OperationDetails` parsed from an + * OpenAPI spec. The OperationDetails parsed from the spec can be obtained by + * using ListAPIOperations method. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails *openApiSpecDetails; + +@end + + +/** + * The metadata associated with a spec of the API version. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1SpecMetadata : GTLRObject + +/** Optional. Timestamp indicating when the spec was created at the source. */ +@property(nonatomic, strong, nullable) GTLRDateTime *originalCreateTime; + +/** + * Optional. The unique identifier of the spec in the system where it was + * originally created. + */ +@property(nonatomic, copy, nullable) NSString *originalId; + +/** + * Required. Timestamp indicating when the spec was last updated at the source. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *originalUpdateTime; + +/** + * Required. The spec resource to be pushed to Hub's collect layer. The ID of + * the spec will be generated by Hub. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Spec *spec; + +@end + + +/** + * The attribute values of data type string or JSON. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1StringAttributeValues : GTLRObject + +/** + * Required. The attribute values in case attribute data type is string or + * JSON. + */ +@property(nonatomic, strong, nullable) NSArray *values; + +@end + + +/** + * Represents a singleton style guide resource to be used for linting Open API + * specs. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1StyleGuide : GTLRObject + +/** Required. Input only. The contents of the uploaded style guide. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1StyleGuideContents *contents; + +/** + * Required. Target linter for the style guide. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1StyleGuide_Linter_LinterUnspecified + * Linter type unspecified. (Value: "LINTER_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1StyleGuide_Linter_Other Linter type + * other. (Value: "OTHER") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1StyleGuide_Linter_Spectral Linter + * type spectral. (Value: "SPECTRAL") + */ +@property(nonatomic, copy, nullable) NSString *linter; + +/** + * Identifier. The name of the style guide. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}/styleGuide` + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + +/** + * The style guide contents. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1StyleGuideContents : GTLRObject + +/** + * Required. The contents of the style guide. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *contents; + +/** Required. The mime type of the content. */ +@property(nonatomic, copy, nullable) NSString *mimeType; + +@end + + +/** + * Count of issues with a given severity. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1SummaryEntry : GTLRObject + +/** + * Required. Count of issues with the given severity. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *count; + +/** + * Required. Severity of the issue. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_Severity_SeverityError + * Severity error. (Value: "SEVERITY_ERROR") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_Severity_SeverityHint + * Severity hint. (Value: "SEVERITY_HINT") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_Severity_SeverityInfo + * Severity info. (Value: "SEVERITY_INFO") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_Severity_SeverityUnspecified + * Severity unspecified. (Value: "SEVERITY_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_Severity_SeverityWarning + * Severity warning. (Value: "SEVERITY_WARNING") + */ +@property(nonatomic, copy, nullable) NSString *severity; + +@end + + +/** + * Parameters to support Username and Password Authentication. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1UserPasswordConfig : GTLRObject + +/** + * Required. Secret version reference containing the password. The + * `secretmanager.versions.access` permission should be granted to the service + * account accessing the secret. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Secret *password; + +/** Required. Username. */ +@property(nonatomic, copy, nullable) NSString *username; + +@end + + +/** + * Represents a version of the API resource in API hub. This is also referred + * to as the API version. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Version : GTLRObject + +/** + * Optional. The accreditations associated with the API version. This maps to + * the following system defined attribute: + * `projects/{project}/locations/{location}/attributes/system-accreditation` + * attribute. The number of values for this attribute will be based on the + * cardinality of the attribute. The same can be retrieved via GetAttribute + * API. All values should be from the list of allowed values defined for the + * attribute. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AttributeValues *accreditation; + +/** + * Output only. The operations contained in the API version. These operations + * will be added to the version when a new spec is added or when an existing + * spec is updated. Format is + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}` + */ +@property(nonatomic, strong, nullable) NSArray *apiOperations; + +/** + * Optional. The list of user defined attributes associated with the Version + * resource. The key is the attribute name. It will be of the format: + * `projects/{project}/locations/{location}/attributes/{attribute}`. The value + * is the attribute values associated with the resource. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Version_Attributes *attributes; + +/** + * Optional. The compliance associated with the API version. This maps to the + * following system defined attribute: + * `projects/{project}/locations/{location}/attributes/system-compliance` + * attribute. The number of values for this attribute will be based on the + * cardinality of the attribute. The same can be retrieved via GetAttribute + * API. All values should be from the list of allowed values defined for the + * attribute. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AttributeValues *compliance; + +/** Output only. The time at which the version was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Output only. The definitions contained in the API version. These definitions + * will be added to the version when a new spec is added or when an existing + * spec is updated. Format is + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/definitions/{definition}` + */ +@property(nonatomic, strong, nullable) NSArray *definitions; + +/** + * Optional. The deployments linked to this API version. Note: A particular API + * version could be deployed to multiple deployments (for dev deployment, UAT + * deployment, etc) Format is + * `projects/{project}/locations/{location}/deployments/{deployment}` + */ +@property(nonatomic, strong, nullable) NSArray *deployments; + +/** + * Optional. The description of the version. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** Required. The display name of the version. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** Optional. The documentation of the version. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Documentation *documentation; + +/** + * Optional. The lifecycle of the API version. This maps to the following + * system defined attribute: + * `projects/{project}/locations/{location}/attributes/system-lifecycle` + * attribute. The number of values for this attribute will be based on the + * cardinality of the attribute. The same can be retrieved via GetAttribute + * API. All values should be from the list of allowed values defined for the + * attribute. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AttributeValues *lifecycle; + +/** + * Identifier. The name of the version. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The selected deployment for a Version resource. This can be used + * when special handling is needed on client side for a particular deployment + * linked to the version. Format is + * `projects/{project}/locations/{location}/deployments/{deployment}` + */ +@property(nonatomic, copy, nullable) NSString *selectedDeployment; + +/** + * Output only. The list of sources and metadata from the sources of the + * version. + */ +@property(nonatomic, strong, nullable) NSArray *sourceMetadata; + +/** + * Output only. The specs associated with this version. Note that an API + * version can be associated with multiple specs. Format is + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}` + */ +@property(nonatomic, strong, nullable) NSArray *specs; + +/** Output only. The time at which the version was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. The list of user defined attributes associated with the Version + * resource. The key is the attribute name. It will be of the format: + * `projects/{project}/locations/{location}/attributes/{attribute}`. The value + * is the attribute values associated with the resource. + * + * @note This class is documented as having more properties of + * GTLRAPIhub_GoogleCloudApihubV1AttributeValues. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Version_Attributes : GTLRObject +@end + + +/** + * The metadata associated with a version of the API resource. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1VersionMetadata : GTLRObject + +/** + * Optional. The deployments linked to this API version. Note: A particular API + * version could be deployed to multiple deployments (for dev deployment, UAT + * deployment, etc.) + */ +@property(nonatomic, strong, nullable) NSArray *deployments; + +/** + * Optional. Timestamp indicating when the version was created at the source. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *originalCreateTime; + +/** + * Optional. The unique identifier of the version in the system where it was + * originally created. + */ +@property(nonatomic, copy, nullable) NSString *originalId; + +/** + * Required. Timestamp indicating when the version was last updated at the + * source. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *originalUpdateTime; + +/** + * Optional. The specs associated with this version. Note that an API version + * can be associated with multiple specs. + */ +@property(nonatomic, strong, nullable) NSArray *specs; + +/** + * Required. Represents a version of the API resource in API hub. The ID of the + * version will be generated by Hub. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Version *version; + +@end + + +/** + * Represents the metadata of the long-running operation. + */ +@interface GTLRAPIhub_GoogleCloudCommonOperationMetadata : 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 + * google.longrunning.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 + + +/** + * 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 GTLRAPIhub_GoogleCloudLocationListLocationsResponse : 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 + + +/** + * A resource that represents a Google Cloud location. + */ +@interface GTLRAPIhub_GoogleCloudLocationLocation : 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) GTLRAPIhub_GoogleCloudLocationLocation_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) GTLRAPIhub_GoogleCloudLocationLocation_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 GTLRAPIhub_GoogleCloudLocationLocation_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 GTLRAPIhub_GoogleCloudLocationLocation_Metadata : GTLRObject +@end + + +/** + * The request message for Operations.CancelOperation. + */ +@interface GTLRAPIhub_GoogleLongrunningCancelOperationRequest : GTLRObject +@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 GTLRAPIhub_GoogleLongrunningListOperationsResponse : 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 + + +/** + * This resource represents a long-running operation that is the result of a + * network API call. + */ +@interface GTLRAPIhub_GoogleLongrunningOperation : 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) GTLRAPIhub_GoogleRpcStatus *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) GTLRAPIhub_GoogleLongrunningOperation_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) GTLRAPIhub_GoogleLongrunningOperation_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 GTLRAPIhub_GoogleLongrunningOperation_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 GTLRAPIhub_GoogleLongrunningOperation_Response : GTLRObject +@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 GTLRAPIhub_GoogleRpcStatus : 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 + + +/** + * GTLRAPIhub_GoogleRpcStatus_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 GTLRAPIhub_GoogleRpcStatus_Details_Item : GTLRObject +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubQuery.h b/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubQuery.h new file mode 100644 index 000000000..1cb6f6a20 --- /dev/null +++ b/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubQuery.h @@ -0,0 +1,3902 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// API hub API (apihub/v1) +// Documentation: +// https://cloud.google.com/apigee/docs/api-hub/what-is-api-hub + +#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 "GTLRAPIhubObjects.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 API hub query classes. + */ +@interface GTLRAPIhubQuery : GTLRQuery + +/** Selector specifying which fields to include in a partial response. */ +@property(nonatomic, copy, nullable) NSString *fields; + +@end + +/** + * Provisions instance resources for the API Hub. + * + * Method: apihub.projects.locations.apiHubInstances.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsApiHubInstancesCreate : GTLRAPIhubQuery + +/** + * Optional. Identifier to assign to the Api Hub instance. Must be unique + * within scope of the parent resource. If the field is not provided, system + * generated id will be used. This value should be 4-40 characters, and valid + * characters are `/a-z[0-9]-_/`. + */ +@property(nonatomic, copy, nullable) NSString *apiHubInstanceId; + +/** + * Required. The parent resource for the Api Hub instance resource. Format: + * `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAPIhub_GoogleLongrunningOperation. + * + * Provisions instance resources for the API Hub. + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1ApiHubInstance to include + * in the query. + * @param parent Required. The parent resource for the Api Hub instance + * resource. Format: `projects/{project}/locations/{location}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsApiHubInstancesCreate + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1ApiHubInstance *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes the API hub instance. + * + * Method: apihub.projects.locations.apiHubInstances.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsApiHubInstancesDelete : GTLRAPIhubQuery + +/** + * Required. The name of the Api Hub instance to delete. Format: + * `projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleLongrunningOperation. + * + * Deletes the API hub instance. + * + * @param name Required. The name of the Api Hub instance to delete. Format: + * `projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}`. + * + * @return GTLRAPIhubQuery_ProjectsLocationsApiHubInstancesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets details of a single API Hub instance. + * + * Method: apihub.projects.locations.apiHubInstances.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsApiHubInstancesGet : GTLRAPIhubQuery + +/** + * Required. The name of the Api Hub instance to retrieve. Format: + * `projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1ApiHubInstance. + * + * Gets details of a single API Hub instance. + * + * @param name Required. The name of the Api Hub instance to retrieve. Format: + * `projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}`. + * + * @return GTLRAPIhubQuery_ProjectsLocationsApiHubInstancesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Looks up an Api Hub instance in a given GCP project. There will always be + * only one Api Hub instance for a GCP project across all locations. + * + * Method: apihub.projects.locations.apiHubInstances.lookup + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsApiHubInstancesLookup : GTLRAPIhubQuery + +/** + * Required. There will always be only one Api Hub instance for a GCP project + * across all locations. The parent resource for the Api Hub instance resource. + * Format: `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1LookupApiHubInstanceResponse. + * + * Looks up an Api Hub instance in a given GCP project. There will always be + * only one Api Hub instance for a GCP project across all locations. + * + * @param parent Required. There will always be only one Api Hub instance for a + * GCP project across all locations. The parent resource for the Api Hub + * instance resource. Format: `projects/{project}/locations/{location}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsApiHubInstancesLookup + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Create an API resource in the API hub. Once an API resource is created, + * versions can be added to it. + * + * Method: apihub.projects.locations.apis.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsApisCreate : GTLRAPIhubQuery + +/** + * Optional. The ID to use for the API resource, which will become the final + * component of the API's resource name. This field is optional. * If provided, + * the same will be used. The service will throw an error if the specified id + * is already used by another API resource in the API hub. * If not provided, a + * system generated id will be used. This value should be 4-500 characters, and + * valid characters are /a-z[0-9]-_/. + */ +@property(nonatomic, copy, nullable) NSString *apiId; + +/** + * Required. The parent resource for the API resource. Format: + * `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1Api. + * + * Create an API resource in the API hub. Once an API resource is created, + * versions can be added to it. + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1Api to include in the + * query. + * @param parent Required. The parent resource for the API resource. Format: + * `projects/{project}/locations/{location}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsApisCreate + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Api *)object + parent:(NSString *)parent; + +@end + +/** + * Delete an API resource in the API hub. API can only be deleted if all + * underlying versions are deleted. + * + * Method: apihub.projects.locations.apis.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsApisDelete : GTLRAPIhubQuery + +/** + * Optional. If set to true, any versions from this API will also be deleted. + * Otherwise, the request will only work if the API has no versions. + */ +@property(nonatomic, assign) BOOL force; + +/** + * Required. The name of the API resource to delete. Format: + * `projects/{project}/locations/{location}/apis/{api}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_Empty. + * + * Delete an API resource in the API hub. API can only be deleted if all + * underlying versions are deleted. + * + * @param name Required. The name of the API resource to delete. Format: + * `projects/{project}/locations/{location}/apis/{api}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsApisDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get API resource details including the API versions contained in it. + * + * Method: apihub.projects.locations.apis.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsApisGet : GTLRAPIhubQuery + +/** + * Required. The name of the API resource to retrieve. Format: + * `projects/{project}/locations/{location}/apis/{api}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1Api. + * + * Get API resource details including the API versions contained in it. + * + * @param name Required. The name of the API resource to retrieve. Format: + * `projects/{project}/locations/{location}/apis/{api}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsApisGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * List API resources in the API hub. + * + * Method: apihub.projects.locations.apis.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsApisList : GTLRAPIhubQuery + +/** + * Optional. An expression that filters the list of ApiResources. A filter + * expression consists of a field name, a comparison operator, and a value for + * filtering. The value must be a string. The comparison operator must be one + * of: `<`, `>`, `:` or `=`. Filters are not case sensitive. The following + * fields in the `ApiResource` are eligible for filtering: * `owner.email` - + * The email of the team which owns the ApiResource. Allowed comparison + * operators: `=`. * `create_time` - The time at which the ApiResource was + * created. The value should be in the + * (RFC3339)[https://tools.ietf.org/html/rfc3339] format. Allowed comparison + * operators: `>` and `<`. * `display_name` - The display name of the + * ApiResource. Allowed comparison operators: `=`. * + * `target_user.enum_values.values.id` - The allowed value id of the target + * users attribute associated with the ApiResource. Allowed comparison operator + * is `:`. * `target_user.enum_values.values.display_name` - The allowed value + * display name of the target users attribute associated with the ApiResource. + * Allowed comparison operator is `:`. * `team.enum_values.values.id` - The + * allowed value id of the team attribute associated with the ApiResource. + * Allowed comparison operator is `:`. * `team.enum_values.values.display_name` + * - The allowed value display name of the team attribute associated with the + * ApiResource. Allowed comparison operator is `:`. * + * `business_unit.enum_values.values.id` - The allowed value id of the business + * unit attribute associated with the ApiResource. Allowed comparison operator + * is `:`. * `business_unit.enum_values.values.display_name` - The allowed + * value display name of the business unit attribute associated with the + * ApiResource. Allowed comparison operator is `:`. * + * `maturity_level.enum_values.values.id` - The allowed value id of the + * maturity level attribute associated with the ApiResource. Allowed comparison + * operator is `:`. * `maturity_level.enum_values.values.display_name` - The + * allowed value display name of the maturity level attribute associated with + * the ApiResource. Allowed comparison operator is `:`. * + * `api_style.enum_values.values.id` - The allowed value id of the api style + * attribute associated with the ApiResource. Allowed comparison operator is + * `:`. * `api_style.enum_values.values.display_name` - The allowed value + * display name of the api style attribute associated with the ApiResource. + * Allowed comparison operator is `:`. * + * `attributes.projects/test-project-id/locations/test-location-id/ + * attributes/user-defined-attribute-id.enum_values.values.id` - The allowed + * value id of the user defined enum attribute associated with the Resource. + * Allowed comparison operator is `:`. Here user-defined-attribute-enum-id is a + * placeholder that can be replaced with any user defined enum attribute name. + * * `attributes.projects/test-project-id/locations/test-location-id/ + * attributes/user-defined-attribute-id.enum_values.values.display_name` - The + * allowed value display name of the user defined enum attribute associated + * with the Resource. Allowed comparison operator is `:`. Here + * user-defined-attribute-enum-display-name is a placeholder that can be + * replaced with any user defined enum attribute enum name. * + * `attributes.projects/test-project-id/locations/test-location-id/ + * attributes/user-defined-attribute-id.string_values.values` - The allowed + * value of the user defined string attribute associated with the Resource. + * Allowed comparison operator is `:`. Here user-defined-attribute-string is a + * placeholder that can be replaced with any user defined string attribute + * name. * `attributes.projects/test-project-id/locations/test-location-id/ + * attributes/user-defined-attribute-id.json_values.values` - The allowed value + * of the user defined JSON attribute associated with the Resource. Allowed + * comparison operator is `:`. Here user-defined-attribute-json is a + * placeholder that can be replaced with any user defined JSON attribute name. + * Expressions are combined with either `AND` logic operator or `OR` logical + * operator but not both of them together i.e. only one of the `AND` or `OR` + * operator can be used throughout the filter string and both the operators + * cannot be used together. No other logical operators are supported. At most + * three filter fields are allowed in the filter string and if provided more + * than that then `INVALID_ARGUMENT` error is returned by the API. Here are a + * few examples: * `owner.email = \\"apihub\@google.com\\"` - - The owner team + * email is _apihub\@google.com_. * `owner.email = \\"apihub\@google.com\\" AND + * create_time < \\"2021-08-15T14:50:00Z\\" AND create_time > + * \\"2021-08-10T12:00:00Z\\"` - The owner team email is _apihub\@google.com_ + * and the api was created before _2021-08-15 14:50:00 UTC_ and after + * _2021-08-10 12:00:00 UTC_. * `owner.email = \\"apihub\@google.com\\" OR + * team.enum_values.values.id: apihub-team-id` - The filter string specifies + * the APIs where the owner team email is _apihub\@google.com_ or the id of the + * allowed value associated with the team attribute is _apihub-team-id_. * + * `owner.email = \\"apihub\@google.com\\" OR + * team.enum_values.values.display_name: ApiHub Team` - The filter string + * specifies the APIs where the owner team email is _apihub\@google.com_ or the + * display name of the allowed value associated with the team attribute is + * `ApiHub Team`. * `owner.email = \\"apihub\@google.com\\" AND + * attributes.projects/test-project-id/locations/test-location-id/ + * attributes/17650f90-4a29-4971-b3c0-d5532da3764b.enum_values.values.id: + * test_enum_id AND + * attributes.projects/test-project-id/locations/test-location-id/ + * attributes/1765\\0f90-4a29-5431-b3d0-d5532da3764c.string_values.values: + * test_string_value` - The filter string specifies the APIs where the owner + * team email is _apihub\@google.com_ and the id of the allowed value + * associated with the user defined attribute of type enum is _test_enum_id_ + * and the value of the user defined attribute of type string is _test_.. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The maximum number of API resources to return. The service may + * return fewer than this value. If unspecified, at most 50 Apis will be + * returned. The maximum value is 1000; values above 1000 will be coerced to + * 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListApis` call. Provide + * this to retrieve the subsequent page. When paginating, all other parameters + * (except page_size) provided to `ListApis` must match the call that provided + * the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent, which owns this collection of API resources. Format: + * `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1ListApisResponse. + * + * List API resources in the API hub. + * + * @param parent Required. The parent, which owns this collection of API + * resources. Format: `projects/{project}/locations/{location}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsApisList + * + * @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 + +/** + * Update an API resource in the API hub. The following fields in the API can + * be updated: * display_name * description * owner * documentation * + * target_user * team * business_unit * maturity_level * api_style * attributes + * The update_mask should be used to specify the fields being updated. Updating + * the owner field requires complete owner message and updates both owner and + * email fields. + * + * Method: apihub.projects.locations.apis.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsApisPatch : GTLRAPIhubQuery + +/** + * Identifier. The name of the API resource in the API Hub. Format: + * `projects/{project}/locations/{location}/apis/{api}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. The list of fields to update. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1Api. + * + * Update an API resource in the API hub. The following fields in the API can + * be updated: * display_name * description * owner * documentation * + * target_user * team * business_unit * maturity_level * api_style * attributes + * The update_mask should be used to specify the fields being updated. Updating + * the owner field requires complete owner message and updates both owner and + * email fields. + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1Api to include in the + * query. + * @param name Identifier. The name of the API resource in the API Hub. Format: + * `projects/{project}/locations/{location}/apis/{api}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsApisPatch + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Api *)object + name:(NSString *)name; + +@end + +/** + * Create an API version for an API resource in the API hub. + * + * Method: apihub.projects.locations.apis.versions.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsApisVersionsCreate : GTLRAPIhubQuery + +/** + * Required. The parent resource for API version. Format: + * `projects/{project}/locations/{location}/apis/{api}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. The ID to use for the API version, which will become the final + * component of the version's resource name. This field is optional. * If + * provided, the same will be used. The service will throw an error if the + * specified id is already used by another version in the API resource. * If + * not provided, a system generated id will be used. This value should be 4-500 + * characters, overall resource name which will be of format + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}`, its + * length is limited to 700 characters and valid characters are /a-z[0-9]-_/. + */ +@property(nonatomic, copy, nullable) NSString *versionId; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1Version. + * + * Create an API version for an API resource in the API hub. + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1Version to include in the + * query. + * @param parent Required. The parent resource for API version. Format: + * `projects/{project}/locations/{location}/apis/{api}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsApisVersionsCreate + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Version *)object + parent:(NSString *)parent; + +@end + +/** + * Get details about a definition in an API version. + * + * Method: apihub.projects.locations.apis.versions.definitions.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsApisVersionsDefinitionsGet : GTLRAPIhubQuery + +/** + * Required. The name of the definition to retrieve. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/definitions/{definition}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1Definition. + * + * Get details about a definition in an API version. + * + * @param name Required. The name of the definition to retrieve. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/definitions/{definition}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsApisVersionsDefinitionsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Delete an API version. Version can only be deleted if all underlying specs, + * operations, definitions and linked deployments are deleted. + * + * Method: apihub.projects.locations.apis.versions.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsApisVersionsDelete : GTLRAPIhubQuery + +/** + * Optional. If set to true, any specs from this version will also be deleted. + * Otherwise, the request will only work if the version has no specs. + */ +@property(nonatomic, assign) BOOL force; + +/** + * Required. The name of the version to delete. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_Empty. + * + * Delete an API version. Version can only be deleted if all underlying specs, + * operations, definitions and linked deployments are deleted. + * + * @param name Required. The name of the version to delete. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsApisVersionsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get details about the API version of an API resource. This will include + * information about the specs and operations present in the API version as + * well as the deployments linked to it. + * + * Method: apihub.projects.locations.apis.versions.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsApisVersionsGet : GTLRAPIhubQuery + +/** + * Required. The name of the API version to retrieve. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1Version. + * + * Get details about the API version of an API resource. This will include + * information about the specs and operations present in the API version as + * well as the deployments linked to it. + * + * @param name Required. The name of the API version to retrieve. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsApisVersionsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * List API versions of an API resource in the API hub. + * + * Method: apihub.projects.locations.apis.versions.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsApisVersionsList : GTLRAPIhubQuery + +/** + * Optional. An expression that filters the list of Versions. 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 `=`. Filters are not case + * sensitive. The following fields in the `Version` are eligible for filtering: + * * `display_name` - The display name of the Version. Allowed comparison + * operators: `=`. * `create_time` - The time at which the Version was created. + * The value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339] + * format. Allowed comparison operators: `>` and `<`. * + * `lifecycle.enum_values.values.id` - The allowed value id of the lifecycle + * attribute associated with the Version. Allowed comparison operators: `:`. * + * `lifecycle.enum_values.values.display_name` - The allowed value display name + * of the lifecycle attribute associated with the Version. Allowed comparison + * operators: `:`. * `compliance.enum_values.values.id` - The allowed value id + * of the compliances attribute associated with the Version. Allowed comparison + * operators: `:`. * `compliance.enum_values.values.display_name` - The allowed + * value display name of the compliances attribute associated with the Version. + * Allowed comparison operators: `:`. * `accreditation.enum_values.values.id` - + * The allowed value id of the accreditations attribute associated with the + * Version. Allowed comparison operators: `:`. * + * `accreditation.enum_values.values.display_name` - The allowed value display + * name of the accreditations attribute associated with the Version. Allowed + * comparison operators: `:`. * + * `attributes.projects/test-project-id/locations/test-location-id/ + * attributes/user-defined-attribute-id.enum_values.values.id` - The allowed + * value id of the user defined enum attribute associated with the Resource. + * Allowed comparison operator is `:`. Here user-defined-attribute-enum-id is a + * placeholder that can be replaced with any user defined enum attribute name. + * * `attributes.projects/test-project-id/locations/test-location-id/ + * attributes/user-defined-attribute-id.enum_values.values.display_name` - The + * allowed value display name of the user defined enum attribute associated + * with the Resource. Allowed comparison operator is `:`. Here + * user-defined-attribute-enum-display-name is a placeholder that can be + * replaced with any user defined enum attribute enum name. * + * `attributes.projects/test-project-id/locations/test-location-id/ + * attributes/user-defined-attribute-id.string_values.values` - The allowed + * value of the user defined string attribute associated with the Resource. + * Allowed comparison operator is `:`. Here user-defined-attribute-string is a + * placeholder that can be replaced with any user defined string attribute + * name. * `attributes.projects/test-project-id/locations/test-location-id/ + * attributes/user-defined-attribute-id.json_values.values` - The allowed value + * of the user defined JSON attribute associated with the Resource. Allowed + * comparison operator is `:`. Here user-defined-attribute-json is a + * placeholder that can be replaced with any user defined JSON attribute name. + * Expressions are combined with either `AND` logic operator or `OR` logical + * operator but not both of them together i.e. only one of the `AND` or `OR` + * operator can be used throughout the filter string and both the operators + * cannot be used together. No other logical operators are supported. At most + * three filter fields are allowed in the filter string and if provided more + * than that then `INVALID_ARGUMENT` error is returned by the API. Here are a + * few examples: * `lifecycle.enum_values.values.id: preview-id` - The filter + * string specifies that the id of the allowed value associated with the + * lifecycle attribute of the Version is _preview-id_. * + * `lifecycle.enum_values.values.display_name: \\"Preview Display Name\\"` - + * The filter string specifies that the display name of the allowed value + * associated with the lifecycle attribute of the Version is `Preview Display + * Name`. * `lifecycle.enum_values.values.id: preview-id AND create_time < + * \\"2021-08-15T14:50:00Z\\" AND create_time > \\"2021-08-10T12:00:00Z\\"` - + * The id of the allowed value associated with the lifecycle attribute of the + * Version is _preview-id_ and it was created before _2021-08-15 14:50:00 UTC_ + * and after _2021-08-10 12:00:00 UTC_. * `compliance.enum_values.values.id: + * gdpr-id OR compliance.enum_values.values.id: pci-dss-id` - The id of the + * allowed value associated with the compliance attribute is _gdpr-id_ or + * _pci-dss-id_. * `lifecycle.enum_values.values.id: preview-id AND + * attributes.projects/test-project-id/locations/test-location-id/ + * attributes/17650f90-4a29-4971-b3c0-d5532da3764b.string_values.values: test` + * - The filter string specifies that the id of the allowed value associated + * with the lifecycle attribute of the Version is _preview-id_ and the value of + * the user defined attribute of type string is _test_. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The maximum number of versions to return. The service may return + * fewer than this value. If unspecified, at most 50 versions will be returned. + * The maximum value is 1000; values above 1000 will be coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListVersions` call. + * Provide this to retrieve the subsequent page. When paginating, all other + * parameters (except page_size) provided to `ListVersions` must match the call + * that provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent which owns this collection of API versions i.e., the + * API resource Format: `projects/{project}/locations/{location}/apis/{api}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1ListVersionsResponse. + * + * List API versions of an API resource in the API hub. + * + * @param parent Required. The parent which owns this collection of API + * versions i.e., the API resource Format: + * `projects/{project}/locations/{location}/apis/{api}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsApisVersionsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Create an apiOperation in an API version. An apiOperation can be created + * only if the version has no apiOperations which were created by parsing a + * spec. + * + * Method: apihub.projects.locations.apis.versions.operations.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsApisVersionsOperationsCreate : GTLRAPIhubQuery + +/** + * Optional. The ID to use for the operation resource, which will become the + * final component of the operation's resource name. This field is optional. * + * If provided, the same will be used. The service will throw an error if the + * specified id is already used by another operation resource in the API hub. * + * If not provided, a system generated id will be used. This value should be + * 4-500 characters, overall resource name which will be of format + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`, + * its length is limited to 700 characters, and valid characters are + * /a-z[0-9]-_/. + */ +@property(nonatomic, copy, nullable) NSString *apiOperationId; + +/** + * Required. The parent resource for the operation resource. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1ApiOperation. + * + * Create an apiOperation in an API version. An apiOperation can be created + * only if the version has no apiOperations which were created by parsing a + * spec. + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1ApiOperation to include + * in the query. + * @param parent Required. The parent resource for the operation resource. + * Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsApisVersionsOperationsCreate + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1ApiOperation *)object + parent:(NSString *)parent; + +@end + +/** + * Delete an operation in an API version and we can delete only the operations + * created via create API. If the operation was created by parsing the spec, + * then it can be deleted by editing or deleting the spec. + * + * Method: apihub.projects.locations.apis.versions.operations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsApisVersionsOperationsDelete : GTLRAPIhubQuery + +/** + * Required. The name of the operation resource to delete. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_Empty. + * + * Delete an operation in an API version and we can delete only the operations + * created via create API. If the operation was created by parsing the spec, + * then it can be deleted by editing or deleting the spec. + * + * @param name Required. The name of the operation resource to delete. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsApisVersionsOperationsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get details about a particular operation in API version. + * + * Method: apihub.projects.locations.apis.versions.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsApisVersionsOperationsGet : GTLRAPIhubQuery + +/** + * Required. The name of the operation to retrieve. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1ApiOperation. + * + * Get details about a particular operation in API version. + * + * @param name Required. The name of the operation to retrieve. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsApisVersionsOperationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * List operations in an API version. + * + * Method: apihub.projects.locations.apis.versions.operations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsApisVersionsOperationsList : GTLRAPIhubQuery + +/** + * Optional. An expression that filters the list of ApiOperations. A filter + * expression consists of a field name, a comparison operator, and a value for + * filtering. The value must be a string or a boolean. The comparison operator + * must be one of: `<`, `>` or `=`. Filters are not case sensitive. The + * following fields in the `ApiOperation` are eligible for filtering: * `name` + * - The ApiOperation resource name. Allowed comparison operators: `=`. * + * `details.http_operation.path.path` - The http operation's complete path + * relative to server endpoint. Allowed comparison operators: `=`. * + * `details.http_operation.method` - The http operation method type. Allowed + * comparison operators: `=`. * `details.deprecated` - Indicates if the + * ApiOperation is deprecated. Allowed values are True / False indicating the + * deprycation status of the ApiOperation. Allowed comparison operators: `=`. * + * `create_time` - The time at which the ApiOperation was created. The value + * should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339] format. + * Allowed comparison operators: `>` and `<`. * + * `attributes.projects/test-project-id/locations/test-location-id/ + * attributes/user-defined-attribute-id.enum_values.values.id` - The allowed + * value id of the user defined enum attribute associated with the Resource. + * Allowed comparison operator is `:`. Here user-defined-attribute-enum-id is a + * placeholder that can be replaced with any user defined enum attribute name. + * * `attributes.projects/test-project-id/locations/test-location-id/ + * attributes/user-defined-attribute-id.enum_values.values.display_name` - The + * allowed value display name of the user defined enum attribute associated + * with the Resource. Allowed comparison operator is `:`. Here + * user-defined-attribute-enum-display-name is a placeholder that can be + * replaced with any user defined enum attribute enum name. * + * `attributes.projects/test-project-id/locations/test-location-id/ + * attributes/user-defined-attribute-id.string_values.values` - The allowed + * value of the user defined string attribute associated with the Resource. + * Allowed comparison operator is `:`. Here user-defined-attribute-string is a + * placeholder that can be replaced with any user defined string attribute + * name. * `attributes.projects/test-project-id/locations/test-location-id/ + * attributes/user-defined-attribute-id.json_values.values` - The allowed value + * of the user defined JSON attribute associated with the Resource. Allowed + * comparison operator is `:`. Here user-defined-attribute-json is a + * placeholder that can be replaced with any user defined JSON attribute name. + * Expressions are combined with either `AND` logic operator or `OR` logical + * operator but not both of them together i.e. only one of the `AND` or `OR` + * operator can be used throughout the filter string and both the operators + * cannot be used together. No other logical operators are supported. At most + * three filter fields are allowed in the filter string and if provided more + * than that then `INVALID_ARGUMENT` error is returned by the API. Here are a + * few examples: * `details.deprecated = True` - The ApiOperation is + * deprecated. * `details.http_operation.method = GET AND create_time < + * \\"2021-08-15T14:50:00Z\\" AND create_time > \\"2021-08-10T12:00:00Z\\"` - + * The method of the http operation of the ApiOperation is _GET_ and the spec + * was created before _2021-08-15 14:50:00 UTC_ and after _2021-08-10 12:00:00 + * UTC_. * `details.http_operation.method = GET OR + * details.http_operation.method = POST`. - The http operation of the method of + * ApiOperation is _GET_ or _POST_. * `details.deprecated = True AND + * attributes.projects/test-project-id/locations/test-location-id/ + * attributes/17650f90-4a29-4971-b3c0-d5532da3764b.string_values.values: test` + * - The filter string specifies that the ApiOperation is deprecated and the + * value of the user defined attribute of type string is _test_. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The maximum number of operations to return. The service may return + * fewer than this value. If unspecified, at most 50 operations will be + * returned. The maximum value is 1000; values above 1000 will be coerced to + * 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListApiOperations` call. + * Provide this to retrieve the subsequent page. When paginating, all other + * parameters (except page_size) provided to `ListApiOperations` must match the + * call that provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent which owns this collection of operations i.e., the API + * version. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1ListApiOperationsResponse. + * + * List operations in an API version. + * + * @param parent Required. The parent which owns this collection of operations + * i.e., the API version. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsApisVersionsOperationsList + * + * @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 + +/** + * Update an operation in an API version. The following fields in the + * ApiOperation resource can be updated: * details.description * + * details.documentation * details.http_operation.path * + * details.http_operation.method * details.deprecated * attributes The + * update_mask should be used to specify the fields being updated. An operation + * can be updated only if the operation was created via CreateApiOperation API. + * If the operation was created by parsing the spec, then it can be edited by + * updating the spec. + * + * Method: apihub.projects.locations.apis.versions.operations.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsApisVersionsOperationsPatch : GTLRAPIhubQuery + +/** + * Identifier. The name of the operation. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. The list of fields to update. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1ApiOperation. + * + * Update an operation in an API version. The following fields in the + * ApiOperation resource can be updated: * details.description * + * details.documentation * details.http_operation.path * + * details.http_operation.method * details.deprecated * attributes The + * update_mask should be used to specify the fields being updated. An operation + * can be updated only if the operation was created via CreateApiOperation API. + * If the operation was created by parsing the spec, then it can be edited by + * updating the spec. + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1ApiOperation to include + * in the query. + * @param name Identifier. The name of the operation. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsApisVersionsOperationsPatch + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1ApiOperation *)object + name:(NSString *)name; + +@end + +/** + * Update API version. The following fields in the version can be updated + * currently: * display_name * description * documentation * deployments * + * lifecycle * compliance * accreditation * attributes The update_mask should + * be used to specify the fields being updated. + * + * Method: apihub.projects.locations.apis.versions.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsApisVersionsPatch : GTLRAPIhubQuery + +/** + * Identifier. The name of the version. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. The list of fields to update. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1Version. + * + * Update API version. The following fields in the version can be updated + * currently: * display_name * description * documentation * deployments * + * lifecycle * compliance * accreditation * attributes The update_mask should + * be used to specify the fields being updated. + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1Version to include in the + * query. + * @param name Identifier. The name of the version. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsApisVersionsPatch + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Version *)object + name:(NSString *)name; + +@end + +/** + * Add a spec to an API version in the API hub. Multiple specs can be added to + * an API version. Note, while adding a spec, at least one of `contents` or + * `source_uri` must be provided. If `contents` is provided, then `spec_type` + * must also be provided. On adding a spec with contents to the version, the + * operations present in it will be added to the version.Note that the file + * contents in the spec should be of the same type as defined in the + * `projects/{project}/locations/{location}/attributes/system-spec-type` + * attribute associated with spec resource. Note that specs of various types + * can be uploaded, however parsing of details is supported for OpenAPI spec + * currently. In order to access the information parsed from the spec, use the + * GetSpec method. In order to access the raw contents for a particular spec, + * use the GetSpecContents method. In order to access the operations parsed + * from the spec, use the ListAPIOperations method. + * + * Method: apihub.projects.locations.apis.versions.specs.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsCreate : GTLRAPIhubQuery + +/** + * Required. The parent resource for Spec. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. The ID to use for the spec, which will become the final component + * of the spec's resource name. This field is optional. * If provided, the same + * will be used. The service will throw an error if the specified id is already + * used by another spec in the API resource. * If not provided, a system + * generated id will be used. This value should be 4-500 characters, overall + * resource name which will be of format + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`, + * its length is limited to 1000 characters and valid characters are + * /a-z[0-9]-_/. + */ +@property(nonatomic, copy, nullable) NSString *specId; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1Spec. + * + * Add a spec to an API version in the API hub. Multiple specs can be added to + * an API version. Note, while adding a spec, at least one of `contents` or + * `source_uri` must be provided. If `contents` is provided, then `spec_type` + * must also be provided. On adding a spec with contents to the version, the + * operations present in it will be added to the version.Note that the file + * contents in the spec should be of the same type as defined in the + * `projects/{project}/locations/{location}/attributes/system-spec-type` + * attribute associated with spec resource. Note that specs of various types + * can be uploaded, however parsing of details is supported for OpenAPI spec + * currently. In order to access the information parsed from the spec, use the + * GetSpec method. In order to access the raw contents for a particular spec, + * use the GetSpecContents method. In order to access the operations parsed + * from the spec, use the ListAPIOperations method. + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1Spec to include in the + * query. + * @param parent Required. The parent resource for Spec. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsCreate + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Spec *)object + parent:(NSString *)parent; + +@end + +/** + * Delete a spec. Deleting a spec will also delete the associated operations + * from the version. + * + * Method: apihub.projects.locations.apis.versions.specs.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsDelete : GTLRAPIhubQuery + +/** + * Required. The name of the spec to delete. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_Empty. + * + * Delete a spec. Deleting a spec will also delete the associated operations + * from the version. + * + * @param name Required. The name of the spec to delete. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get details about the information parsed from a spec. Note that this method + * does not return the raw spec contents. Use GetSpecContents method to + * retrieve the same. + * + * Method: apihub.projects.locations.apis.versions.specs.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsGet : GTLRAPIhubQuery + +/** + * Required. The name of the spec to retrieve. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1Spec. + * + * Get details about the information parsed from a spec. Note that this method + * does not return the raw spec contents. Use GetSpecContents method to + * retrieve the same. + * + * @param name Required. The name of the spec to retrieve. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get spec contents. + * + * Method: apihub.projects.locations.apis.versions.specs.getContents + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsGetContents : GTLRAPIhubQuery + +/** + * Required. The name of the spec whose contents need to be retrieved. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1SpecContents. + * + * Get spec contents. + * + * @param name Required. The name of the spec whose contents need to be + * retrieved. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsGetContents + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lints the requested spec and updates the corresponding API Spec with the + * lint response. This lint response will be available in all subsequent Get + * and List Spec calls to Core service. + * + * Method: apihub.projects.locations.apis.versions.specs.lint + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsLint : GTLRAPIhubQuery + +/** + * Required. The name of the spec to be linted. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_Empty. + * + * Lints the requested spec and updates the corresponding API Spec with the + * lint response. This lint response will be available in all subsequent Get + * and List Spec calls to Core service. + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1LintSpecRequest to + * include in the query. + * @param name Required. The name of the spec to be linted. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsLint + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1LintSpecRequest *)object + name:(NSString *)name; + +@end + +/** + * List specs corresponding to a particular API resource. + * + * Method: apihub.projects.locations.apis.versions.specs.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsList : GTLRAPIhubQuery + +/** + * Optional. An expression that filters the list of Specs. A filter expression + * consists of a field name, a comparison operator, and a value for filtering. + * The value must be a string. The comparison operator must be one of: `<`, + * `>`, `:` or `=`. Filters are not case sensitive. The following fields in the + * `Spec` are eligible for filtering: * `display_name` - The display name of + * the Spec. Allowed comparison operators: `=`. * `create_time` - The time at + * which the Spec was created. The value should be in the + * (RFC3339)[https://tools.ietf.org/html/rfc3339] format. Allowed comparison + * operators: `>` and `<`. * `spec_type.enum_values.values.id` - The allowed + * value id of the spec_type attribute associated with the Spec. Allowed + * comparison operators: `:`. * `spec_type.enum_values.values.display_name` - + * The allowed value display name of the spec_type attribute associated with + * the Spec. Allowed comparison operators: `:`. * + * `lint_response.json_values.values` - The json value of the lint_response + * attribute associated with the Spec. Allowed comparison operators: `:`. * + * `mime_type` - The MIME type of the Spec. Allowed comparison operators: `=`. + * * `attributes.projects/test-project-id/locations/test-location-id/ + * attributes/user-defined-attribute-id.enum_values.values.id` - The allowed + * value id of the user defined enum attribute associated with the Resource. + * Allowed comparison operator is `:`. Here user-defined-attribute-enum-id is a + * placeholder that can be replaced with any user defined enum attribute name. + * * `attributes.projects/test-project-id/locations/test-location-id/ + * attributes/user-defined-attribute-id.enum_values.values.display_name` - The + * allowed value display name of the user defined enum attribute associated + * with the Resource. Allowed comparison operator is `:`. Here + * user-defined-attribute-enum-display-name is a placeholder that can be + * replaced with any user defined enum attribute enum name. * + * `attributes.projects/test-project-id/locations/test-location-id/ + * attributes/user-defined-attribute-id.string_values.values` - The allowed + * value of the user defined string attribute associated with the Resource. + * Allowed comparison operator is `:`. Here user-defined-attribute-string is a + * placeholder that can be replaced with any user defined string attribute + * name. * `attributes.projects/test-project-id/locations/test-location-id/ + * attributes/user-defined-attribute-id.json_values.values` - The allowed value + * of the user defined JSON attribute associated with the Resource. Allowed + * comparison operator is `:`. Here user-defined-attribute-json is a + * placeholder that can be replaced with any user defined JSON attribute name. + * Expressions are combined with either `AND` logic operator or `OR` logical + * operator but not both of them together i.e. only one of the `AND` or `OR` + * operator can be used throughout the filter string and both the operators + * cannot be used together. No other logical operators are supported. At most + * three filter fields are allowed in the filter string and if provided more + * than that then `INVALID_ARGUMENT` error is returned by the API. Here are a + * few examples: * `spec_type.enum_values.values.id: rest-id` - The filter + * string specifies that the id of the allowed value associated with the + * spec_type attribute is _rest-id_. * + * `spec_type.enum_values.values.display_name: \\"Rest Display Name\\"` - The + * filter string specifies that the display name of the allowed value + * associated with the spec_type attribute is `Rest Display Name`. * + * `spec_type.enum_values.values.id: grpc-id AND create_time < + * \\"2021-08-15T14:50:00Z\\" AND create_time > \\"2021-08-10T12:00:00Z\\"` - + * The id of the allowed value associated with the spec_type attribute is + * _grpc-id_ and the spec was created before _2021-08-15 14:50:00 UTC_ and + * after _2021-08-10 12:00:00 UTC_. * `spec_type.enum_values.values.id: rest-id + * OR spec_type.enum_values.values.id: grpc-id` - The id of the allowed value + * associated with the spec_type attribute is _rest-id_ or _grpc-id_. * + * `spec_type.enum_values.values.id: rest-id AND + * attributes.projects/test-project-id/locations/test-location-id/ + * attributes/17650f90-4a29-4971-b3c0-d5532da3764b.enum_values.values.id: test` + * - The filter string specifies that the id of the allowed value associated + * with the spec_type attribute is _rest-id_ and the id of the allowed value + * associated with the user defined attribute of type enum is _test_. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The maximum number of specs to return. The service may return + * fewer than this value. If unspecified, at most 50 specs will be returned. + * The maximum value is 1000; values above 1000 will be coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListSpecs` call. Provide + * this to retrieve the subsequent page. When paginating, all other parameters + * provided to `ListSpecs` must match the call that provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent, which owns this collection of specs. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1ListSpecsResponse. + * + * List specs corresponding to a particular API resource. + * + * @param parent Required. The parent, which owns this collection of specs. + * Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsList + * + * @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 + +/** + * Update spec. The following fields in the spec can be updated: * display_name + * * source_uri * lint_response * attributes * contents * spec_type In case of + * an OAS spec, updating spec contents can lead to: 1. Creation, deletion and + * update of operations. 2. Creation, deletion and update of definitions. 3. + * Update of other info parsed out from the new spec. In case of contents or + * source_uri being present in update mask, spec_type must also be present. + * Also, spec_type can not be present in update mask if contents or source_uri + * is not present. The update_mask should be used to specify the fields being + * updated. + * + * Method: apihub.projects.locations.apis.versions.specs.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsPatch : GTLRAPIhubQuery + +/** + * Identifier. The name of the spec. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. The list of fields to update. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1Spec. + * + * Update spec. The following fields in the spec can be updated: * display_name + * * source_uri * lint_response * attributes * contents * spec_type In case of + * an OAS spec, updating spec contents can lead to: 1. Creation, deletion and + * update of operations. 2. Creation, deletion and update of definitions. 3. + * Update of other info parsed out from the new spec. In case of contents or + * source_uri being present in update mask, spec_type must also be present. + * Also, spec_type can not be present in update mask if contents or source_uri + * is not present. The update_mask should be used to specify the fields being + * updated. + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1Spec to include in the + * query. + * @param name Identifier. The name of the spec. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsApisVersionsSpecsPatch + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Spec *)object + name:(NSString *)name; + +@end + +/** + * Create a user defined attribute. Certain pre defined attributes are already + * created by the API hub. These attributes will have type as `SYSTEM_DEFINED` + * and can be listed via ListAttributes method. Allowed values for the same can + * be updated via UpdateAttribute method. + * + * Method: apihub.projects.locations.attributes.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsAttributesCreate : GTLRAPIhubQuery + +/** + * Optional. The ID to use for the attribute, which will become the final + * component of the attribute's resource name. This field is optional. * If + * provided, the same will be used. The service will throw an error if the + * specified id is already used by another attribute resource in the API hub. * + * If not provided, a system generated id will be used. This value should be + * 4-500 characters, and valid characters are /a-z[0-9]-_/. + */ +@property(nonatomic, copy, nullable) NSString *attributeId; + +/** + * Required. The parent resource for Attribute. Format: + * `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1Attribute. + * + * Create a user defined attribute. Certain pre defined attributes are already + * created by the API hub. These attributes will have type as `SYSTEM_DEFINED` + * and can be listed via ListAttributes method. Allowed values for the same can + * be updated via UpdateAttribute method. + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1Attribute to include in + * the query. + * @param parent Required. The parent resource for Attribute. Format: + * `projects/{project}/locations/{location}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsAttributesCreate + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Attribute *)object + parent:(NSString *)parent; + +@end + +/** + * Delete an attribute. Note: System defined attributes cannot be deleted. All + * associations of the attribute being deleted with any API hub resource will + * also get deleted. + * + * Method: apihub.projects.locations.attributes.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsAttributesDelete : GTLRAPIhubQuery + +/** + * Required. The name of the attribute to delete. Format: + * `projects/{project}/locations/{location}/attributes/{attribute}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_Empty. + * + * Delete an attribute. Note: System defined attributes cannot be deleted. All + * associations of the attribute being deleted with any API hub resource will + * also get deleted. + * + * @param name Required. The name of the attribute to delete. Format: + * `projects/{project}/locations/{location}/attributes/{attribute}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsAttributesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get details about the attribute. + * + * Method: apihub.projects.locations.attributes.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsAttributesGet : GTLRAPIhubQuery + +/** + * Required. The name of the attribute to retrieve. Format: + * `projects/{project}/locations/{location}/attributes/{attribute}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1Attribute. + * + * Get details about the attribute. + * + * @param name Required. The name of the attribute to retrieve. Format: + * `projects/{project}/locations/{location}/attributes/{attribute}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsAttributesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * List all attributes. + * + * Method: apihub.projects.locations.attributes.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsAttributesList : GTLRAPIhubQuery + +/** + * Optional. An expression that filters the list of Attributes. A filter + * expression consists of a field name, a comparison operator, and a value for + * filtering. The value must be a string or a boolean. The comparison operator + * must be one of: `<`, `>` or `=`. Filters are not case sensitive. The + * following fields in the `Attribute` are eligible for filtering: * + * `display_name` - The display name of the Attribute. Allowed comparison + * operators: `=`. * `definition_type` - The definition type of the attribute. + * Allowed comparison operators: `=`. * `scope` - The scope of the attribute. + * Allowed comparison operators: `=`. * `data_type` - The type of the data of + * the attribute. Allowed comparison operators: `=`. * `mandatory` - Denotes + * whether the attribute is mandatory or not. Allowed comparison operators: + * `=`. * `create_time` - The time at which the Attribute was created. The + * value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339] + * format. Allowed comparison operators: `>` and `<`. Expressions are combined + * with either `AND` logic operator or `OR` logical operator but not both of + * them together i.e. only one of the `AND` or `OR` operator can be used + * throughout the filter string and both the operators cannot be used together. + * No other logical operators are supported. At most three filter fields are + * allowed in the filter string and if provided more than that then + * `INVALID_ARGUMENT` error is returned by the API. Here are a few examples: * + * `display_name = production` - - The display name of the attribute is + * _production_. * `(display_name = production) AND (create_time < + * \\"2021-08-15T14:50:00Z\\") AND (create_time > \\"2021-08-10T12:00:00Z\\")` + * - The display name of the attribute is _production_ and the attribute was + * created before _2021-08-15 14:50:00 UTC_ and after _2021-08-10 12:00:00 + * UTC_. * `display_name = production OR scope = api` - The attribute where the + * display name is _production_ or the scope is _api_. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The maximum number of attribute resources to return. The service + * may return fewer than this value. If unspecified, at most 50 attributes will + * be returned. The maximum value is 1000; values above 1000 will be coerced to + * 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListAttributes` call. + * Provide this to retrieve the subsequent page. When paginating, all other + * parameters provided to `ListAttributes` must match the call that provided + * the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent resource for Attribute. Format: + * `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1ListAttributesResponse. + * + * List all attributes. + * + * @param parent Required. The parent resource for Attribute. Format: + * `projects/{project}/locations/{location}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsAttributesList + * + * @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 + +/** + * Update the attribute. The following fields in the Attribute resource can be + * updated: * display_name The display name can be updated for user defined + * attributes only. * description The description can be updated for user + * defined attributes only. * allowed_values To update the list of allowed + * values, clients need to use the fetched list of allowed values and add or + * remove values to or from the same list. The mutable allowed values can be + * updated for both user defined and System defined attributes. The immutable + * allowed values cannot be updated or deleted. The updated list of allowed + * values cannot be empty. If an allowed value that is already used by some + * resource's attribute is deleted, then the association between the resource + * and the attribute value will also be deleted. * cardinality The cardinality + * can be updated for user defined attributes only. Cardinality can only be + * increased during an update. The update_mask should be used to specify the + * fields being updated. + * + * Method: apihub.projects.locations.attributes.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsAttributesPatch : GTLRAPIhubQuery + +/** + * Identifier. The name of the attribute in the API Hub. Format: + * `projects/{project}/locations/{location}/attributes/{attribute}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. The list of fields to update. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1Attribute. + * + * Update the attribute. The following fields in the Attribute resource can be + * updated: * display_name The display name can be updated for user defined + * attributes only. * description The description can be updated for user + * defined attributes only. * allowed_values To update the list of allowed + * values, clients need to use the fetched list of allowed values and add or + * remove values to or from the same list. The mutable allowed values can be + * updated for both user defined and System defined attributes. The immutable + * allowed values cannot be updated or deleted. The updated list of allowed + * values cannot be empty. If an allowed value that is already used by some + * resource's attribute is deleted, then the association between the resource + * and the attribute value will also be deleted. * cardinality The cardinality + * can be updated for user defined attributes only. Cardinality can only be + * increased during an update. The update_mask should be used to specify the + * fields being updated. + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1Attribute to include in + * the query. + * @param name Identifier. The name of the attribute in the API Hub. Format: + * `projects/{project}/locations/{location}/attributes/{attribute}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsAttributesPatch + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Attribute *)object + name:(NSString *)name; + +@end + +/** + * Collect API data from a source and push it to Hub's collect layer. + * + * Method: apihub.projects.locations.collectApiData + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsCollectApiData : GTLRAPIhubQuery + +/** + * Required. The regional location of the API hub instance and its resources. + * Format: `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *location; + +/** + * Fetches a @c GTLRAPIhub_GoogleLongrunningOperation. + * + * Collect API data from a source and push it to Hub's collect layer. + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1CollectApiDataRequest to + * include in the query. + * @param location Required. The regional location of the API hub instance and + * its resources. Format: `projects/{project}/locations/{location}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsCollectApiData + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1CollectApiDataRequest *)object + location:(NSString *)location; + +@end + +/** + * Create a curation resource in the API hub. Once a curation resource is + * created, plugin instances can start using it. + * + * Method: apihub.projects.locations.curations.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsCurationsCreate : GTLRAPIhubQuery + +/** + * Optional. The ID to use for the curation resource, which will become the + * final component of the curations's resource name. This field is optional. * + * If provided, the same will be used. The service will throw an error if the + * specified ID is already used by another curation resource in the API hub. * + * If not provided, a system generated ID will be used. This value should be + * 4-500 characters, and valid characters are /a-z[0-9]-_/. + */ +@property(nonatomic, copy, nullable) NSString *curationId; + +/** + * Required. The parent resource for the curation resource. Format: + * `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1Curation. + * + * Create a curation resource in the API hub. Once a curation resource is + * created, plugin instances can start using it. + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1Curation to include in + * the query. + * @param parent Required. The parent resource for the curation resource. + * Format: `projects/{project}/locations/{location}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsCurationsCreate + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Curation *)object + parent:(NSString *)parent; + +@end + +/** + * Delete a curation resource in the API hub. A curation can only be deleted if + * it's not being used by any plugin instance. + * + * Method: apihub.projects.locations.curations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsCurationsDelete : GTLRAPIhubQuery + +/** + * Required. The name of the curation resource to delete. Format: + * `projects/{project}/locations/{location}/curations/{curation}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_Empty. + * + * Delete a curation resource in the API hub. A curation can only be deleted if + * it's not being used by any plugin instance. + * + * @param name Required. The name of the curation resource to delete. Format: + * `projects/{project}/locations/{location}/curations/{curation}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsCurationsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get curation resource details. + * + * Method: apihub.projects.locations.curations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsCurationsGet : GTLRAPIhubQuery + +/** + * Required. The name of the curation resource to retrieve. Format: + * `projects/{project}/locations/{location}/curations/{curation}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1Curation. + * + * Get curation resource details. + * + * @param name Required. The name of the curation resource to retrieve. Format: + * `projects/{project}/locations/{location}/curations/{curation}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsCurationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * List curation resources in the API hub. + * + * Method: apihub.projects.locations.curations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsCurationsList : GTLRAPIhubQuery + +/** + * Optional. An expression that filters the list of curation resources. A + * filter expression consists of a field name, a comparison operator, and a + * value for filtering. The value must be a string. The comparison operator + * must be one of: `<`, `>`, `:` or `=`. Filters are case insensitive. The + * following fields in the `curation resource` are eligible for filtering: * + * `create_time` - The time at which the curation was created. The value should + * be in the (RFC3339)[https://tools.ietf.org/html/rfc3339] format. Allowed + * comparison operators: `>` and `<`. * `display_name` - The display name of + * the curation. Allowed comparison operators: `=`. * `state` - The state of + * the curation. Allowed comparison operators: `=`. Expressions are combined + * with either `AND` logic operator or `OR` logical operator but not both of + * them together i.e. only one of the `AND` or `OR` operator can be used + * throughout the filter string and both the operators cannot be used together. + * No other logical operators are supported. At most three filter fields are + * allowed in the filter string and if provided more than that then + * `INVALID_ARGUMENT` error is returned by the API. Here are a few examples: * + * `create_time < \\"2021-08-15T14:50:00Z\\" AND create_time > + * \\"2021-08-10T12:00:00Z\\"` - The curation resource was created before + * _2021-08-15 14:50:00 UTC_ and after _2021-08-10 12:00:00 UTC_. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The maximum number of curation resources to return. The service + * may return fewer than this value. If unspecified, at most 50 curations will + * be returned. The maximum value is 1000; values above 1000 will be coerced to + * 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListCurations` call. + * Provide this to retrieve the subsequent page. When paginating, all other + * parameters (except page_size) provided to `ListCurations` must match the + * call that provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent, which owns this collection of curation resources. + * Format: `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1ListCurationsResponse. + * + * List curation resources in the API hub. + * + * @param parent Required. The parent, which owns this collection of curation + * resources. Format: `projects/{project}/locations/{location}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsCurationsList + * + * @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 + +/** + * Update a curation resource in the API hub. The following fields in the + * curation can be updated: * display_name * description The update_mask should + * be used to specify the fields being updated. + * + * Method: apihub.projects.locations.curations.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsCurationsPatch : GTLRAPIhubQuery + +/** + * Identifier. The name of the curation. Format: + * `projects/{project}/locations/{location}/curations/{curation}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The list of fields to update. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1Curation. + * + * Update a curation resource in the API hub. The following fields in the + * curation can be updated: * display_name * description The update_mask should + * be used to specify the fields being updated. + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1Curation to include in + * the query. + * @param name Identifier. The name of the curation. Format: + * `projects/{project}/locations/{location}/curations/{curation}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsCurationsPatch + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Curation *)object + name:(NSString *)name; + +@end + +/** + * Create a dependency between two entities in the API hub. + * + * Method: apihub.projects.locations.dependencies.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsDependenciesCreate : GTLRAPIhubQuery + +/** + * Optional. The ID to use for the dependency resource, which will become the + * final component of the dependency's resource name. This field is optional. * + * If provided, the same will be used. The service will throw an error if + * duplicate id is provided by the client. * If not provided, a system + * generated id will be used. This value should be 4-500 characters, and valid + * characters are `a-z[0-9]-_`. + */ +@property(nonatomic, copy, nullable) NSString *dependencyId; + +/** + * Required. The parent resource for the dependency resource. Format: + * `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1Dependency. + * + * Create a dependency between two entities in the API hub. + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1Dependency to include in + * the query. + * @param parent Required. The parent resource for the dependency resource. + * Format: `projects/{project}/locations/{location}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsDependenciesCreate + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Dependency *)object + parent:(NSString *)parent; + +@end + +/** + * Delete the dependency resource. + * + * Method: apihub.projects.locations.dependencies.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsDependenciesDelete : GTLRAPIhubQuery + +/** + * Required. The name of the dependency resource to delete. Format: + * `projects/{project}/locations/{location}/dependencies/{dependency}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_Empty. + * + * Delete the dependency resource. + * + * @param name Required. The name of the dependency resource to delete. Format: + * `projects/{project}/locations/{location}/dependencies/{dependency}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsDependenciesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get details about a dependency resource in the API hub. + * + * Method: apihub.projects.locations.dependencies.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsDependenciesGet : GTLRAPIhubQuery + +/** + * Required. The name of the dependency resource to retrieve. Format: + * `projects/{project}/locations/{location}/dependencies/{dependency}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1Dependency. + * + * Get details about a dependency resource in the API hub. + * + * @param name Required. The name of the dependency resource to retrieve. + * Format: + * `projects/{project}/locations/{location}/dependencies/{dependency}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsDependenciesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * List dependencies based on the provided filter and pagination parameters. + * + * Method: apihub.projects.locations.dependencies.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsDependenciesList : GTLRAPIhubQuery + +/** + * Optional. An expression that filters the list of Dependencies. A filter + * expression consists of a field name, a comparison operator, and a value for + * filtering. The value must be a string. Allowed comparison operator is `=`. + * Filters are not case sensitive. The following fields in the `Dependency` are + * eligible for filtering: * `consumer.operation_resource_name` - The operation + * resource name for the consumer entity involved in a dependency. Allowed + * comparison operators: `=`. * `consumer.external_api_resource_name` - The + * external api resource name for the consumer entity involved in a dependency. + * Allowed comparison operators: `=`. * `supplier.operation_resource_name` - + * The operation resource name for the supplier entity involved in a + * dependency. Allowed comparison operators: `=`. * + * `supplier.external_api_resource_name` - The external api resource name for + * the supplier entity involved in a dependency. Allowed comparison operators: + * `=`. Expressions are combined with either `AND` logic operator or `OR` + * logical operator but not both of them together i.e. only one of the `AND` or + * `OR` operator can be used throughout the filter string and both the + * operators cannot be used together. No other logical operators are supported. + * At most three filter fields are allowed in the filter string and if provided + * more than that then `INVALID_ARGUMENT` error is returned by the API. For + * example, `consumer.operation_resource_name = + * \\"projects/p1/locations/global/apis/a1/versions/v1/operations/o1\\" OR + * supplier.operation_resource_name = + * \\"projects/p1/locations/global/apis/a1/versions/v1/operations/o1\\"` - The + * dependencies with either consumer or supplier operation resource name as + * _projects/p1/locations/global/apis/a1/versions/v1/operations/o1_. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The maximum number of dependency resources to return. The service + * may return fewer than this value. If unspecified, at most 50 dependencies + * will be returned. The maximum value is 1000; values above 1000 will be + * coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListDependencies` call. + * Provide this to retrieve the subsequent page. When paginating, all other + * parameters provided to `ListDependencies` must match the call that provided + * the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent which owns this collection of dependency resources. + * Format: `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1ListDependenciesResponse. + * + * List dependencies based on the provided filter and pagination parameters. + * + * @param parent Required. The parent which owns this collection of dependency + * resources. Format: `projects/{project}/locations/{location}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsDependenciesList + * + * @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 + +/** + * Update a dependency based on the update_mask provided in the request. The + * following fields in the dependency can be updated: * description + * + * Method: apihub.projects.locations.dependencies.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsDependenciesPatch : GTLRAPIhubQuery + +/** + * Identifier. The name of the dependency in the API Hub. Format: + * `projects/{project}/locations/{location}/dependencies/{dependency}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. The list of fields to update. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1Dependency. + * + * Update a dependency based on the update_mask provided in the request. The + * following fields in the dependency can be updated: * description + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1Dependency to include in + * the query. + * @param name Identifier. The name of the dependency in the API Hub. Format: + * `projects/{project}/locations/{location}/dependencies/{dependency}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsDependenciesPatch + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Dependency *)object + name:(NSString *)name; + +@end + +/** + * Create a deployment resource in the API hub. Once a deployment resource is + * created, it can be associated with API versions. + * + * Method: apihub.projects.locations.deployments.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsDeploymentsCreate : GTLRAPIhubQuery + +/** + * Optional. The ID to use for the deployment resource, which will become the + * final component of the deployment's resource name. This field is optional. * + * If provided, the same will be used. The service will throw an error if the + * specified id is already used by another deployment resource in the API hub. + * * If not provided, a system generated id will be used. This value should be + * 4-500 characters, and valid characters are /a-z[0-9]-_/. + */ +@property(nonatomic, copy, nullable) NSString *deploymentId; + +/** + * Required. The parent resource for the deployment resource. Format: + * `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1Deployment. + * + * Create a deployment resource in the API hub. Once a deployment resource is + * created, it can be associated with API versions. + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1Deployment to include in + * the query. + * @param parent Required. The parent resource for the deployment resource. + * Format: `projects/{project}/locations/{location}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsDeploymentsCreate + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Deployment *)object + parent:(NSString *)parent; + +@end + +/** + * Delete a deployment resource in the API hub. + * + * Method: apihub.projects.locations.deployments.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsDeploymentsDelete : GTLRAPIhubQuery + +/** + * Required. The name of the deployment resource to delete. Format: + * `projects/{project}/locations/{location}/deployments/{deployment}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_Empty. + * + * Delete a deployment resource in the API hub. + * + * @param name Required. The name of the deployment resource to delete. Format: + * `projects/{project}/locations/{location}/deployments/{deployment}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsDeploymentsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get details about a deployment and the API versions linked to it. + * + * Method: apihub.projects.locations.deployments.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsDeploymentsGet : GTLRAPIhubQuery + +/** + * Required. The name of the deployment resource to retrieve. Format: + * `projects/{project}/locations/{location}/deployments/{deployment}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1Deployment. + * + * Get details about a deployment and the API versions linked to it. + * + * @param name Required. The name of the deployment resource to retrieve. + * Format: `projects/{project}/locations/{location}/deployments/{deployment}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsDeploymentsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * List deployment resources in the API hub. + * + * Method: apihub.projects.locations.deployments.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsDeploymentsList : GTLRAPIhubQuery + +/** + * Optional. An expression that filters the list of Deployments. A filter + * expression consists of a field name, a comparison operator, and a value for + * filtering. The value must be a string. The comparison operator must be one + * of: `<`, `>` or `=`. Filters are not case sensitive. The following fields in + * the `Deployments` are eligible for filtering: * `display_name` - The display + * name of the Deployment. Allowed comparison operators: `=`. * `create_time` - + * The time at which the Deployment was created. The value should be in the + * (RFC3339)[https://tools.ietf.org/html/rfc3339] format. Allowed comparison + * operators: `>` and `<`. * `resource_uri` - A URI to the deployment resource. + * Allowed comparison operators: `=`. * `api_versions` - The API versions + * linked to this deployment. Allowed comparison operators: `:`. * + * `deployment_type.enum_values.values.id` - The allowed value id of the + * deployment_type attribute associated with the Deployment. Allowed comparison + * operators: `:`. * `deployment_type.enum_values.values.display_name` - The + * allowed value display name of the deployment_type attribute associated with + * the Deployment. Allowed comparison operators: `:`. * + * `slo.string_values.values` -The allowed string value of the slo attribute + * associated with the deployment. Allowed comparison operators: `:`. * + * `environment.enum_values.values.id` - The allowed value id of the + * environment attribute associated with the deployment. Allowed comparison + * operators: `:`. * `environment.enum_values.values.display_name` - The + * allowed value display name of the environment attribute associated with the + * deployment. Allowed comparison operators: `:`. * + * `attributes.projects/test-project-id/locations/test-location-id/ + * attributes/user-defined-attribute-id.enum_values.values.id` - The allowed + * value id of the user defined enum attribute associated with the Resource. + * Allowed comparison operator is `:`. Here user-defined-attribute-enum-id is a + * placeholder that can be replaced with any user defined enum attribute name. + * * `attributes.projects/test-project-id/locations/test-location-id/ + * attributes/user-defined-attribute-id.enum_values.values.display_name` - The + * allowed value display name of the user defined enum attribute associated + * with the Resource. Allowed comparison operator is `:`. Here + * user-defined-attribute-enum-display-name is a placeholder that can be + * replaced with any user defined enum attribute enum name. * + * `attributes.projects/test-project-id/locations/test-location-id/ + * attributes/user-defined-attribute-id.string_values.values` - The allowed + * value of the user defined string attribute associated with the Resource. + * Allowed comparison operator is `:`. Here user-defined-attribute-string is a + * placeholder that can be replaced with any user defined string attribute + * name. * `attributes.projects/test-project-id/locations/test-location-id/ + * attributes/user-defined-attribute-id.json_values.values` - The allowed value + * of the user defined JSON attribute associated with the Resource. Allowed + * comparison operator is `:`. Here user-defined-attribute-json is a + * placeholder that can be replaced with any user defined JSON attribute name. + * Expressions are combined with either `AND` logic operator or `OR` logical + * operator but not both of them together i.e. only one of the `AND` or `OR` + * operator can be used throughout the filter string and both the operators + * cannot be used together. No other logical operators are supported. At most + * three filter fields are allowed in the filter string and if provided more + * than that then `INVALID_ARGUMENT` error is returned by the API. Here are a + * few examples: * `environment.enum_values.values.id: staging-id` - The + * allowed value id of the environment attribute associated with the Deployment + * is _staging-id_. * `environment.enum_values.values.display_name: \\"Staging + * Deployment\\"` - The allowed value display name of the environment attribute + * associated with the Deployment is `Staging Deployment`. * + * `environment.enum_values.values.id: production-id AND create_time < + * \\"2021-08-15T14:50:00Z\\" AND create_time > \\"2021-08-10T12:00:00Z\\"` - + * The allowed value id of the environment attribute associated with the + * Deployment is _production-id_ and Deployment was created before _2021-08-15 + * 14:50:00 UTC_ and after _2021-08-10 12:00:00 UTC_. * + * `environment.enum_values.values.id: production-id OR + * slo.string_values.values: \\"99.99%\\"` - The allowed value id of the + * environment attribute Deployment is _production-id_ or string value of the + * slo attribute is _99.99%_. * `environment.enum_values.values.id: staging-id + * AND attributes.projects/test-project-id/locations/test-location-id/ + * attributes/17650f90-4a29-4971-b3c0-d5532da3764b.string_values.values: test` + * - The filter string specifies that the allowed value id of the environment + * attribute associated with the Deployment is _staging-id_ and the value of + * the user defined attribute of type string is _test_. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The maximum number of deployment resources to return. The service + * may return fewer than this value. If unspecified, at most 50 deployments + * will be returned. The maximum value is 1000; values above 1000 will be + * coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListDeployments` call. + * Provide this to retrieve the subsequent page. When paginating, all other + * parameters (except page_size) provided to `ListDeployments` must match the + * call that provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent, which owns this collection of deployment resources. + * Format: `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1ListDeploymentsResponse. + * + * List deployment resources in the API hub. + * + * @param parent Required. The parent, which owns this collection of deployment + * resources. Format: `projects/{project}/locations/{location}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsDeploymentsList + * + * @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 + +/** + * Update a deployment resource in the API hub. The following fields in the + * deployment resource can be updated: * display_name * description * + * documentation * deployment_type * resource_uri * endpoints * slo * + * environment * attributes The update_mask should be used to specify the + * fields being updated. + * + * Method: apihub.projects.locations.deployments.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsDeploymentsPatch : GTLRAPIhubQuery + +/** + * Identifier. The name of the deployment. Format: + * `projects/{project}/locations/{location}/deployments/{deployment}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. The list of fields to update. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1Deployment. + * + * Update a deployment resource in the API hub. The following fields in the + * deployment resource can be updated: * display_name * description * + * documentation * deployment_type * resource_uri * endpoints * slo * + * environment * attributes The update_mask should be used to specify the + * fields being updated. + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1Deployment to include in + * the query. + * @param name Identifier. The name of the deployment. Format: + * `projects/{project}/locations/{location}/deployments/{deployment}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsDeploymentsPatch + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Deployment *)object + name:(NSString *)name; + +@end + +/** + * Create an External API resource in the API hub. + * + * Method: apihub.projects.locations.externalApis.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsExternalApisCreate : GTLRAPIhubQuery + +/** + * Optional. The ID to use for the External API resource, which will become the + * final component of the External API's resource name. This field is optional. + * * If provided, the same will be used. The service will throw an error if the + * specified id is already used by another External API resource in the API + * hub. * If not provided, a system generated id will be used. This value + * should be 4-500 characters, and valid characters are /a-z[0-9]-_/. + */ +@property(nonatomic, copy, nullable) NSString *externalApiId; + +/** + * Required. The parent resource for the External API resource. Format: + * `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1ExternalApi. + * + * Create an External API resource in the API hub. + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1ExternalApi to include in + * the query. + * @param parent Required. The parent resource for the External API resource. + * Format: `projects/{project}/locations/{location}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsExternalApisCreate + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1ExternalApi *)object + parent:(NSString *)parent; + +@end + +/** + * Delete an External API resource in the API hub. + * + * Method: apihub.projects.locations.externalApis.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsExternalApisDelete : GTLRAPIhubQuery + +/** + * Required. The name of the External API resource to delete. Format: + * `projects/{project}/locations/{location}/externalApis/{externalApi}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_Empty. + * + * Delete an External API resource in the API hub. + * + * @param name Required. The name of the External API resource to delete. + * Format: + * `projects/{project}/locations/{location}/externalApis/{externalApi}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsExternalApisDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get details about an External API resource in the API hub. + * + * Method: apihub.projects.locations.externalApis.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsExternalApisGet : GTLRAPIhubQuery + +/** + * Required. The name of the External API resource to retrieve. Format: + * `projects/{project}/locations/{location}/externalApis/{externalApi}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1ExternalApi. + * + * Get details about an External API resource in the API hub. + * + * @param name Required. The name of the External API resource to retrieve. + * Format: + * `projects/{project}/locations/{location}/externalApis/{externalApi}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsExternalApisGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * List External API resources in the API hub. + * + * Method: apihub.projects.locations.externalApis.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsExternalApisList : GTLRAPIhubQuery + +/** + * Optional. The maximum number of External API resources to return. The + * service may return fewer than this value. If unspecified, at most 50 + * ExternalApis will be returned. The maximum value is 1000; values above 1000 + * will be coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListExternalApis` call. + * Provide this to retrieve the subsequent page. When paginating, all other + * parameters (except page_size) provided to `ListExternalApis` must match the + * call that provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent, which owns this collection of External API resources. + * Format: `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1ListExternalApisResponse. + * + * List External API resources in the API hub. + * + * @param parent Required. The parent, which owns this collection of External + * API resources. Format: `projects/{project}/locations/{location}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsExternalApisList + * + * @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 + +/** + * Update an External API resource in the API hub. The following fields can be + * updated: * display_name * description * documentation * endpoints * paths + * The update_mask should be used to specify the fields being updated. + * + * Method: apihub.projects.locations.externalApis.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsExternalApisPatch : GTLRAPIhubQuery + +/** + * Identifier. Format: + * `projects/{project}/locations/{location}/externalApi/{externalApi}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. The list of fields to update. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1ExternalApi. + * + * Update an External API resource in the API hub. The following fields can be + * updated: * display_name * description * documentation * endpoints * paths + * The update_mask should be used to specify the fields being updated. + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1ExternalApi to include in + * the query. + * @param name Identifier. Format: + * `projects/{project}/locations/{location}/externalApi/{externalApi}`. + * + * @return GTLRAPIhubQuery_ProjectsLocationsExternalApisPatch + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1ExternalApi *)object + name:(NSString *)name; + +@end + +/** + * Gets information about a location. + * + * Method: apihub.projects.locations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsGet : GTLRAPIhubQuery + +/** Resource name for the location. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudLocationLocation. + * + * Gets information about a location. + * + * @param name Resource name for the location. + * + * @return GTLRAPIhubQuery_ProjectsLocationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Create a host project registration. A Google cloud project can be registered + * as a host project if it is not attached as a runtime project to another host + * project. A project can be registered as a host project only once. Subsequent + * register calls for the same project will fail. + * + * Method: apihub.projects.locations.hostProjectRegistrations.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsHostProjectRegistrationsCreate : GTLRAPIhubQuery + +/** + * Required. The ID to use for the Host Project Registration, which will become + * the final component of the host project registration's resource name. The ID + * must be the same as the Google cloud project specified in the + * host_project_registration.gcp_project field. + */ +@property(nonatomic, copy, nullable) NSString *hostProjectRegistrationId; + +/** + * Required. The parent resource for the host project. Format: + * `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1HostProjectRegistration. + * + * Create a host project registration. A Google cloud project can be registered + * as a host project if it is not attached as a runtime project to another host + * project. A project can be registered as a host project only once. Subsequent + * register calls for the same project will fail. + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1HostProjectRegistration + * to include in the query. + * @param parent Required. The parent resource for the host project. Format: + * `projects/{project}/locations/{location}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsHostProjectRegistrationsCreate + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1HostProjectRegistration *)object + parent:(NSString *)parent; + +@end + +/** + * Get a host project registration. + * + * Method: apihub.projects.locations.hostProjectRegistrations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsHostProjectRegistrationsGet : GTLRAPIhubQuery + +/** + * Required. Host project registration resource name. + * projects/{project}/locations/{location}/hostProjectRegistrations/{host_project_registration_id} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1HostProjectRegistration. + * + * Get a host project registration. + * + * @param name Required. Host project registration resource name. + * projects/{project}/locations/{location}/hostProjectRegistrations/{host_project_registration_id} + * + * @return GTLRAPIhubQuery_ProjectsLocationsHostProjectRegistrationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists host project registrations. + * + * Method: apihub.projects.locations.hostProjectRegistrations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsHostProjectRegistrationsList : GTLRAPIhubQuery + +/** + * Optional. An expression that filters the list of HostProjectRegistrations. A + * filter expression consists of a field name, a comparison operator, and a + * value for filtering. The value must be a string. All standard operators as + * documented at https://google.aip.dev/160 are supported. The following fields + * in the `HostProjectRegistration` are eligible for filtering: * `name` - The + * name of the HostProjectRegistration. * `create_time` - The time at which the + * HostProjectRegistration was created. The value should be in the + * (RFC3339)[https://tools.ietf.org/html/rfc3339] format. * `gcp_project` - The + * Google cloud project associated with the HostProjectRegistration. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Optional. Hint for how to order the results. */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. The maximum number of host project registrations to return. The + * service may return fewer than this value. If unspecified, at most 50 host + * project registrations will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous + * `ListHostProjectRegistrations` call. Provide this to retrieve the subsequent + * page. When paginating, all other parameters (except page_size) provided to + * `ListHostProjectRegistrations` must match the call that provided the page + * token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent, which owns this collection of host projects. Format: + * `projects/ * /locations/ *` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRAPIhub_GoogleCloudApihubV1ListHostProjectRegistrationsResponse. + * + * Lists host project registrations. + * + * @param parent Required. The parent, which owns this collection of host + * projects. Format: `projects/ * /locations/ *` + * + * @return GTLRAPIhubQuery_ProjectsLocationsHostProjectRegistrationsList + * + * @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: apihub.projects.locations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsList : GTLRAPIhubQuery + +/** + * Optional. A list of extra location types that should be used as conditions + * for controlling the visibility of the locations. + */ +@property(nonatomic, strong, nullable) NSArray *extraLocationTypes; + +/** + * A filter to narrow down results to a preferred subset. The filtering + * language accepts strings like `"displayName=tokyo"`, and is documented in + * more detail in [AIP-160](https://google.aip.dev/160). + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** The resource that owns the locations collection, if applicable. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The maximum number of results to return. If not set, the service selects a + * default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token received from the `next_page_token` field in the response. Send + * that page token to receive the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudLocationListLocationsResponse. + * + * Lists information about the supported locations for this service. + * + * @param name The resource that owns the locations collection, if applicable. + * + * @return GTLRAPIhubQuery_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 + +/** + * Look up a runtime project attachment. This API can be called in the context + * of any project. + * + * Method: apihub.projects.locations.lookupRuntimeProjectAttachment + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsLookupRuntimeProjectAttachment : GTLRAPIhubQuery + +/** + * Required. Runtime project ID to look up runtime project attachment for. + * Lookup happens across all regions. Expected format: + * `projects/{project}/locations/{location}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c + * GTLRAPIhub_GoogleCloudApihubV1LookupRuntimeProjectAttachmentResponse. + * + * Look up a runtime project attachment. This API can be called in the context + * of any project. + * + * @param name Required. Runtime project ID to look up runtime project + * attachment for. Lookup happens across all regions. Expected format: + * `projects/{project}/locations/{location}`. + * + * @return GTLRAPIhubQuery_ProjectsLocationsLookupRuntimeProjectAttachment + */ ++ (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: apihub.projects.locations.operations.cancel + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsOperationsCancel : GTLRAPIhubQuery + +/** The name of the operation resource to be cancelled. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_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 GTLRAPIhub_GoogleLongrunningCancelOperationRequest to + * include in the query. + * @param name The name of the operation resource to be cancelled. + * + * @return GTLRAPIhubQuery_ProjectsLocationsOperationsCancel + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleLongrunningCancelOperationRequest *)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: apihub.projects.locations.operations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsOperationsDelete : GTLRAPIhubQuery + +/** The name of the operation resource to be deleted. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_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 GTLRAPIhubQuery_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: apihub.projects.locations.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsOperationsGet : GTLRAPIhubQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleLongrunningOperation. + * + * 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 GTLRAPIhubQuery_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: apihub.projects.locations.operations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsOperationsList : GTLRAPIhubQuery + +/** 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 GTLRAPIhub_GoogleLongrunningListOperationsResponse. + * + * 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 GTLRAPIhubQuery_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 + +/** + * Create an API Hub plugin resource in the API hub. Once a plugin is created, + * it can be used to create plugin instances. + * + * Method: apihub.projects.locations.plugins.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsPluginsCreate : GTLRAPIhubQuery + +/** + * Required. The parent resource where this plugin will be created. Format: + * `projects/{project}/locations/{location}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. The ID to use for the Plugin resource, which will become the final + * component of the Plugin's resource name. This field is optional. * If + * provided, the same will be used. The service will throw an error if the + * specified id is already used by another Plugin resource in the API hub + * instance. * If not provided, a system generated id will be used. This value + * should be 4-500 characters, overall resource name which will be of format + * `projects/{project}/locations/{location}/plugins/{plugin}`, its length is + * limited to 1000 characters and valid characters are /a-z[0-9]-_/. + */ +@property(nonatomic, copy, nullable) NSString *pluginId; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1Plugin. + * + * Create an API Hub plugin resource in the API hub. Once a plugin is created, + * it can be used to create plugin instances. + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1Plugin to include in the + * query. + * @param parent Required. The parent resource where this plugin will be + * created. Format: `projects/{project}/locations/{location}`. + * + * @return GTLRAPIhubQuery_ProjectsLocationsPluginsCreate + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Plugin *)object + parent:(NSString *)parent; + +@end + +/** + * Delete a Plugin in API hub. Note, only user owned plugins can be deleted via + * this method. + * + * Method: apihub.projects.locations.plugins.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsPluginsDelete : GTLRAPIhubQuery + +/** + * Required. The name of the Plugin resource to delete. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleLongrunningOperation. + * + * Delete a Plugin in API hub. Note, only user owned plugins can be deleted via + * this method. + * + * @param name Required. The name of the Plugin resource to delete. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsPluginsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Disables a plugin. The `state` of the plugin after disabling is `DISABLED` + * + * Method: apihub.projects.locations.plugins.disable + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsPluginsDisable : GTLRAPIhubQuery + +/** + * Required. The name of the plugin to disable. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1Plugin. + * + * Disables a plugin. The `state` of the plugin after disabling is `DISABLED` + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1DisablePluginRequest to + * include in the query. + * @param name Required. The name of the plugin to disable. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}`. + * + * @return GTLRAPIhubQuery_ProjectsLocationsPluginsDisable + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1DisablePluginRequest *)object + name:(NSString *)name; + +@end + +/** + * Enables a plugin. The `state` of the plugin after enabling is `ENABLED` + * + * Method: apihub.projects.locations.plugins.enable + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsPluginsEnable : GTLRAPIhubQuery + +/** + * Required. The name of the plugin to enable. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1Plugin. + * + * Enables a plugin. The `state` of the plugin after enabling is `ENABLED` + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1EnablePluginRequest to + * include in the query. + * @param name Required. The name of the plugin to enable. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}`. + * + * @return GTLRAPIhubQuery_ProjectsLocationsPluginsEnable + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1EnablePluginRequest *)object + name:(NSString *)name; + +@end + +/** + * Get an API Hub plugin. + * + * Method: apihub.projects.locations.plugins.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsPluginsGet : GTLRAPIhubQuery + +/** + * Required. The name of the plugin to retrieve. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1Plugin. + * + * Get an API Hub plugin. + * + * @param name Required. The name of the plugin to retrieve. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}`. + * + * @return GTLRAPIhubQuery_ProjectsLocationsPluginsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get the style guide being used for linting. + * + * Method: apihub.projects.locations.plugins.getStyleGuide + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsPluginsGetStyleGuide : GTLRAPIhubQuery + +/** + * Required. The name of the spec to retrieve. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}/styleGuide`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1StyleGuide. + * + * Get the style guide being used for linting. + * + * @param name Required. The name of the spec to retrieve. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}/styleGuide`. + * + * @return GTLRAPIhubQuery_ProjectsLocationsPluginsGetStyleGuide + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Creates a Plugin instance in the API hub. + * + * Method: apihub.projects.locations.plugins.instances.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesCreate : GTLRAPIhubQuery + +/** + * Required. The parent of the plugin instance resource. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. The ID to use for the plugin instance, which will become the final + * component of the plugin instance's resource name. This field is optional. * + * If provided, the same will be used. The service will throw an error if the + * specified id is already used by another plugin instance in the plugin + * resource. * If not provided, a system generated id will be used. This value + * should be 4-500 characters, and valid characters are /a-z[0-9]-_/. + */ +@property(nonatomic, copy, nullable) NSString *pluginInstanceId; + +/** + * Fetches a @c GTLRAPIhub_GoogleLongrunningOperation. + * + * Creates a Plugin instance in the API hub. + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1PluginInstance to include + * in the query. + * @param parent Required. The parent of the plugin instance resource. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesCreate + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1PluginInstance *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a plugin instance in the API hub. + * + * Method: apihub.projects.locations.plugins.instances.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesDelete : GTLRAPIhubQuery + +/** + * Required. The name of the plugin instance to delete. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleLongrunningOperation. + * + * Deletes a plugin instance in the API hub. + * + * @param name Required. The name of the plugin instance to delete. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`. + * + * @return GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Disables a plugin instance in the API hub. + * + * Method: apihub.projects.locations.plugins.instances.disableAction + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesDisableAction : GTLRAPIhubQuery + +/** + * Required. The name of the plugin instance to disable. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleLongrunningOperation. + * + * Disables a plugin instance in the API hub. + * + * @param object The @c + * GTLRAPIhub_GoogleCloudApihubV1DisablePluginInstanceActionRequest to + * include in the query. + * @param name Required. The name of the plugin instance to disable. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesDisableAction + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1DisablePluginInstanceActionRequest *)object + name:(NSString *)name; + +@end + +/** + * Enables a plugin instance in the API hub. + * + * Method: apihub.projects.locations.plugins.instances.enableAction + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesEnableAction : GTLRAPIhubQuery + +/** + * Required. The name of the plugin instance to enable. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleLongrunningOperation. + * + * Enables a plugin instance in the API hub. + * + * @param object The @c + * GTLRAPIhub_GoogleCloudApihubV1EnablePluginInstanceActionRequest to include + * in the query. + * @param name Required. The name of the plugin instance to enable. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesEnableAction + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1EnablePluginInstanceActionRequest *)object + name:(NSString *)name; + +@end + +/** + * Executes a plugin instance in the API hub. + * + * Method: apihub.projects.locations.plugins.instances.executeAction + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesExecuteAction : GTLRAPIhubQuery + +/** + * Required. The name of the plugin instance to execute. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleLongrunningOperation. + * + * Executes a plugin instance in the API hub. + * + * @param object The @c + * GTLRAPIhub_GoogleCloudApihubV1ExecutePluginInstanceActionRequest to + * include in the query. + * @param name Required. The name of the plugin instance to execute. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesExecuteAction + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1ExecutePluginInstanceActionRequest *)object + name:(NSString *)name; + +@end + +/** + * Get an API Hub plugin instance. + * + * Method: apihub.projects.locations.plugins.instances.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesGet : GTLRAPIhubQuery + +/** + * Required. The name of the plugin instance to retrieve. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1PluginInstance. + * + * Get an API Hub plugin instance. + * + * @param name Required. The name of the plugin instance to retrieve. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * List all the plugins in a given project and location. `-` can be used as + * wildcard value for {plugin_id} + * + * Method: apihub.projects.locations.plugins.instances.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesList : GTLRAPIhubQuery + +/** + * Optional. An expression that filters the list of plugin instances. A filter + * expression consists of a field name, a comparison operator, and a value for + * filtering. The value must be a string. The comparison operator must be one + * of: `<`, `>` or `=`. Filters are not case sensitive. The following fields in + * the `PluginInstances` are eligible for filtering: * `state` - The state of + * the Plugin Instance. Allowed comparison operators: `=`. Expressions are + * combined with either `AND` logic operator or `OR` logical operator but not + * both of them together i.e. only one of the `AND` or `OR` operator can be + * used throughout the filter string and both the operators cannot be used + * together. No other logical operators are supported. At most three filter + * fields are allowed in the filter string and if provided more than that then + * `INVALID_ARGUMENT` error is returned by the API. Here are a few examples: * + * `state = ENABLED` - The plugin instance is in enabled state. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The maximum number of hub plugins to return. The service may + * return fewer than this value. If unspecified, at most 50 hub plugins will be + * returned. The maximum value is 1000; values above 1000 will be coerced to + * 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListPluginInstances` call. + * Provide this to retrieve the subsequent page. When paginating, all other + * parameters provided to `ListPluginInstances` must match the call that + * provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent resource where this plugin will be created. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}`. To list plugin + * instances for multiple plugins, use the - character instead of the plugin + * ID. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1ListPluginInstancesResponse. + * + * List all the plugins in a given project and location. `-` can be used as + * wildcard value for {plugin_id} + * + * @param parent Required. The parent resource where this plugin will be + * created. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}`. To list plugin + * instances for multiple plugins, use the - character instead of the plugin + * ID. + * + * @return GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesList + * + * @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 + +/** + * List all the plugins in a given project and location. + * + * Method: apihub.projects.locations.plugins.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsPluginsList : GTLRAPIhubQuery + +/** + * Optional. An expression that filters the list of plugins. A filter + * expression consists of a field name, a comparison operator, and a value for + * filtering. The value must be a string. The comparison operator must be one + * of: `<`, `>` or `=`. Filters are not case sensitive. The following fields in + * the `Plugins` are eligible for filtering: * `plugin_category` - The category + * of the Plugin. Allowed comparison operators: `=`. Expressions are combined + * with either `AND` logic operator or `OR` logical operator but not both of + * them together i.e. only one of the `AND` or `OR` operator can be used + * throughout the filter string and both the operators cannot be used together. + * No other logical operators are supported. At most three filter fields are + * allowed in the filter string and if provided more than that then + * `INVALID_ARGUMENT` error is returned by the API. Here are a few examples: * + * `plugin_category = ON_RAMP` - The plugin is of category on ramp. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The maximum number of hub plugins to return. The service may + * return fewer than this value. If unspecified, at most 50 hub plugins will be + * returned. The maximum value is 1000; values above 1000 will be coerced to + * 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListPlugins` call. Provide + * this to retrieve the subsequent page. When paginating, all other parameters + * (except page_size) provided to `ListPlugins` must match the call that + * provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent resource where this plugin will be created. Format: + * `projects/{project}/locations/{location}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1ListPluginsResponse. + * + * List all the plugins in a given project and location. + * + * @param parent Required. The parent resource where this plugin will be + * created. Format: `projects/{project}/locations/{location}`. + * + * @return GTLRAPIhubQuery_ProjectsLocationsPluginsList + * + * @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 + +/** + * Get the contents of the style guide. + * + * Method: apihub.projects.locations.plugins.styleGuide.getContents + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsPluginsStyleGuideGetContents : GTLRAPIhubQuery + +/** + * Required. The name of the StyleGuide whose contents need to be retrieved. + * There is exactly one style guide resource per project per location. The + * expected format is + * `projects/{project}/locations/{location}/plugins/{plugin}/styleGuide`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1StyleGuideContents. + * + * Get the contents of the style guide. + * + * @param name Required. The name of the StyleGuide whose contents need to be + * retrieved. There is exactly one style guide resource per project per + * location. The expected format is + * `projects/{project}/locations/{location}/plugins/{plugin}/styleGuide`. + * + * @return GTLRAPIhubQuery_ProjectsLocationsPluginsStyleGuideGetContents + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Update the styleGuide to be used for liniting in by API hub. + * + * Method: apihub.projects.locations.plugins.updateStyleGuide + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsPluginsUpdateStyleGuide : GTLRAPIhubQuery + +/** + * Identifier. The name of the style guide. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}/styleGuide` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The list of fields to update. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1StyleGuide. + * + * Update the styleGuide to be used for liniting in by API hub. + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1StyleGuide to include in + * the query. + * @param name Identifier. The name of the style guide. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}/styleGuide` + * + * @return GTLRAPIhubQuery_ProjectsLocationsPluginsUpdateStyleGuide + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1StyleGuide *)object + name:(NSString *)name; + +@end + +/** + * Attaches a runtime project to the host project. + * + * Method: apihub.projects.locations.runtimeProjectAttachments.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsRuntimeProjectAttachmentsCreate : GTLRAPIhubQuery + +/** + * Required. The parent resource for the Runtime Project Attachment. Format: + * `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Required. The ID to use for the Runtime Project Attachment, which will + * become the final component of the Runtime Project Attachment's name. The ID + * must be the same as the project ID of the Google cloud project specified in + * the runtime_project_attachment.runtime_project field. + */ +@property(nonatomic, copy, nullable) NSString *runtimeProjectAttachmentId; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1RuntimeProjectAttachment. + * + * Attaches a runtime project to the host project. + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1RuntimeProjectAttachment + * to include in the query. + * @param parent Required. The parent resource for the Runtime Project + * Attachment. Format: `projects/{project}/locations/{location}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsRuntimeProjectAttachmentsCreate + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1RuntimeProjectAttachment *)object + parent:(NSString *)parent; + +@end + +/** + * Delete a runtime project attachment in the API Hub. This call will detach + * the runtime project from the host project. + * + * Method: apihub.projects.locations.runtimeProjectAttachments.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsRuntimeProjectAttachmentsDelete : GTLRAPIhubQuery + +/** + * Required. The name of the Runtime Project Attachment to delete. Format: + * `projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_Empty. + * + * Delete a runtime project attachment in the API Hub. This call will detach + * the runtime project from the host project. + * + * @param name Required. The name of the Runtime Project Attachment to delete. + * Format: + * `projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsRuntimeProjectAttachmentsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets a runtime project attachment. + * + * Method: apihub.projects.locations.runtimeProjectAttachments.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsRuntimeProjectAttachmentsGet : GTLRAPIhubQuery + +/** + * Required. The name of the API resource to retrieve. Format: + * `projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1RuntimeProjectAttachment. + * + * Gets a runtime project attachment. + * + * @param name Required. The name of the API resource to retrieve. Format: + * `projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsRuntimeProjectAttachmentsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * List runtime projects attached to the host project. + * + * Method: apihub.projects.locations.runtimeProjectAttachments.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsRuntimeProjectAttachmentsList : GTLRAPIhubQuery + +/** + * Optional. An expression that filters the list of RuntimeProjectAttachments. + * A filter expression consists of a field name, a comparison operator, and a + * value for filtering. The value must be a string. All standard operators as + * documented at https://google.aip.dev/160 are supported. The following fields + * in the `RuntimeProjectAttachment` are eligible for filtering: * `name` - The + * name of the RuntimeProjectAttachment. * `create_time` - The time at which + * the RuntimeProjectAttachment was created. The value should be in the + * (RFC3339)[https://tools.ietf.org/html/rfc3339] format. * `runtime_project` - + * The Google cloud project associated with the RuntimeProjectAttachment. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Optional. Hint for how to order the results. */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. The maximum number of runtime project attachments to return. The + * service may return fewer than this value. If unspecified, at most 50 runtime + * project attachments will be returned. The maximum value is 1000; values + * above 1000 will be coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous + * `ListRuntimeProjectAttachments` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters (except page_size) + * provided to `ListRuntimeProjectAttachments` must match the call that + * provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent, which owns this collection of runtime project + * attachments. Format: `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRAPIhub_GoogleCloudApihubV1ListRuntimeProjectAttachmentsResponse. + * + * List runtime projects attached to the host project. + * + * @param parent Required. The parent, which owns this collection of runtime + * project attachments. Format: `projects/{project}/locations/{location}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsRuntimeProjectAttachmentsList + * + * @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 + +/** + * Search across API-Hub resources. + * + * Method: apihub.projects.locations.searchResources + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsSearchResources : GTLRAPIhubQuery + +/** + * Required. The resource name of the location which will be of the type + * `projects/{project_id}/locations/{location_id}`. This field is used to + * identify the instance of API-Hub in which resources should be searched. + */ +@property(nonatomic, copy, nullable) NSString *location; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1SearchResourcesResponse. + * + * Search across API-Hub resources. + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1SearchResourcesRequest to + * include in the query. + * @param location Required. The resource name of the location which will be of + * the type `projects/{project_id}/locations/{location_id}`. This field is + * used to identify the instance of API-Hub in which resources should be + * searched. + * + * @return GTLRAPIhubQuery_ProjectsLocationsSearchResources + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1SearchResourcesRequest *)object + location:(NSString *)location; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubService.h b/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubService.h new file mode 100644 index 000000000..48d749674 --- /dev/null +++ b/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubService.h @@ -0,0 +1,69 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// API hub API (apihub/v1) +// Documentation: +// https://cloud.google.com/apigee/docs/api-hub/what-is-api-hub + +#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 kGTLRAuthScopeAPIhubCloudPlatform; + +// ---------------------------------------------------------------------------- +// GTLRAPIhubService +// + +/** + * Service for executing API hub API queries. + */ +@interface GTLRAPIhubService : GTLRService + +// No new methods + +// Clients should create a standard query with any of the class methods in +// GTLRAPIhubQuery.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/Adsense/Public/GoogleAPIClientForREST/GTLRAdsenseObjects.h b/Sources/GeneratedServices/Adsense/Public/GoogleAPIClientForREST/GTLRAdsenseObjects.h index 2b0096d82..3a217371b 100644 --- a/Sources/GeneratedServices/Adsense/Public/GoogleAPIClientForREST/GTLRAdsenseObjects.h +++ b/Sources/GeneratedServices/Adsense/Public/GoogleAPIClientForREST/GTLRAdsenseObjects.h @@ -1351,8 +1351,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAdsense_Site_State_StateUnspecified; @interface GTLRAdsense_PolicyTopic : GTLRObject /** - * Required. Deprecated. Policy topics no longer have a "must-fix" - * classification. + * Required. Deprecated. Always set to false. * * Uses NSNumber of boolValue. */ diff --git a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m index aa2708005..9fc2b70b5 100644 --- a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m +++ b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m @@ -46,6 +46,23 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Artifact_State_Pending = @"PENDING"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Artifact_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRAiplatform_GoogleCloudAiplatformV1AuthConfig.authType +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfig_AuthType_ApiKeyAuth = @"API_KEY_AUTH"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfig_AuthType_AuthTypeUnspecified = @"AUTH_TYPE_UNSPECIFIED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfig_AuthType_GoogleServiceAccountAuth = @"GOOGLE_SERVICE_ACCOUNT_AUTH"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfig_AuthType_HttpBasicAuth = @"HTTP_BASIC_AUTH"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfig_AuthType_NoAuth = @"NO_AUTH"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfig_AuthType_Oauth = @"OAUTH"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfig_AuthType_OidcAuth = @"OIDC_AUTH"; + +// GTLRAiplatform_GoogleCloudAiplatformV1AuthConfigApiKeyConfig.httpElementLocation +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfigApiKeyConfig_HttpElementLocation_HttpInBody = @"HTTP_IN_BODY"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfigApiKeyConfig_HttpElementLocation_HttpInCookie = @"HTTP_IN_COOKIE"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfigApiKeyConfig_HttpElementLocation_HttpInHeader = @"HTTP_IN_HEADER"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfigApiKeyConfig_HttpElementLocation_HttpInPath = @"HTTP_IN_PATH"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfigApiKeyConfig_HttpElementLocation_HttpInQuery = @"HTTP_IN_QUERY"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfigApiKeyConfig_HttpElementLocation_HttpInUnspecified = @"HTTP_IN_UNSPECIFIED"; + // GTLRAiplatform_GoogleCloudAiplatformV1BatchPredictionJob.state NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1BatchPredictionJob_State_JobStateCancelled = @"JOB_STATE_CANCELLED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1BatchPredictionJob_State_JobStateCancelling = @"JOB_STATE_CANCELLING"; @@ -199,6 +216,11 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ExportDataConfig_ExportUse_CustomCodeTraining = @"CUSTOM_CODE_TRAINING"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ExportDataConfig_ExportUse_ExportUseUnspecified = @"EXPORT_USE_UNSPECIFIED"; +// GTLRAiplatform_GoogleCloudAiplatformV1ExternalApi.apiSpec +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ExternalApi_ApiSpec_ApiSpecUnspecified = @"API_SPEC_UNSPECIFIED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ExternalApi_ApiSpec_ElasticSearch = @"ELASTIC_SEARCH"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ExternalApi_ApiSpec_SimpleSearch = @"SIMPLE_SEARCH"; + // GTLRAiplatform_GoogleCloudAiplatformV1Feature.valueType NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Feature_ValueType_Bool = @"BOOL"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Feature_ValueType_BoolArray = @"BOOL_ARRAY"; @@ -337,6 +359,7 @@ // GTLRAiplatform_GoogleCloudAiplatformV1MachineSpec.acceleratorType NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_AcceleratorTypeUnspecified = @"ACCELERATOR_TYPE_UNSPECIFIED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaA10080gb = @"NVIDIA_A100_80GB"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaB200 = @"NVIDIA_B200"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaH10080gb = @"NVIDIA_H100_80GB"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaH100Mega80gb = @"NVIDIA_H100_MEGA_80GB"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaH200141gb = @"NVIDIA_H200_141GB"; @@ -1341,7 +1364,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ApiAuth // @implementation GTLRAiplatform_GoogleCloudAiplatformV1ApiAuthApiKeyConfig -@dynamic apiKeySecretVersion; +@dynamic apiKeySecretVersion, apiKeyString; @end @@ -1479,6 +1502,67 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1AugmentPromptResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1AuthConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1AuthConfig +@dynamic apiKeyConfig, authType, googleServiceAccountConfig, + httpBasicAuthConfig, oauthConfig, oidcConfig; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1AuthConfigApiKeyConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1AuthConfigApiKeyConfig +@dynamic apiKeySecret, apiKeyString, httpElementLocation, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig +@dynamic serviceAccount; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig +@dynamic credentialSecret; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1AuthConfigOauthConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1AuthConfigOauthConfig +@dynamic accessToken, serviceAccount; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1AuthConfigOidcConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1AuthConfigOidcConfig +@dynamic idToken, serviceAccount; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1AutomaticResources @@ -2123,8 +2207,9 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1CacheConfig // @implementation GTLRAiplatform_GoogleCloudAiplatformV1CachedContent -@dynamic contents, createTime, displayName, expireTime, model, name, - systemInstruction, toolConfig, tools, ttl, updateTime, usageMetadata; +@dynamic contents, createTime, displayName, encryptionSpec, expireTime, model, + name, systemInstruction, toolConfig, tools, ttl, updateTime, + usageMetadata; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -3475,7 +3560,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRAiplatform_GoogleCloudAiplatformV1DeployedModelRef -@dynamic deployedModelId, endpoint; +@dynamic checkpointId, deployedModelId, endpoint; @end @@ -4594,6 +4679,36 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ExternalApi +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ExternalApi +@dynamic apiAuth, apiSpec, authConfig, elasticSearchParams, endpoint, + simpleSearchParams; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ExternalApiElasticSearchParams +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ExternalApiElasticSearchParams +@dynamic index, numHits, searchTemplate; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ExternalApiSimpleSearchParams +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ExternalApiSimpleSearchParams +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1Fact @@ -5787,7 +5902,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerationConfigRoutingCon // @implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerationConfigThinkingConfig -@dynamic thinkingBudget; +@dynamic includeThoughts, thinkingBudget; @end @@ -6181,8 +6296,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ImportRagFilesConfig @dynamic gcsSource, googleDriveSource, importResultBigquerySink, importResultGcsSink, jiraSource, maxEmbeddingRequestsPerMin, partialFailureBigquerySink, partialFailureGcsSink, - ragFileParsingConfig, ragFileTransformationConfig, sharePointSources, - slackSource; + ragFileParsingConfig, ragFileTransformationConfig, rebuildAnnIndex, + sharePointSources, slackSource; @end @@ -9363,7 +9478,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1PairwiseSummarizationQuali @implementation GTLRAiplatform_GoogleCloudAiplatformV1Part @dynamic codeExecutionResult, executableCode, fileData, functionCall, - functionResponse, inlineData, text, videoMetadata; + functionResponse, inlineData, text, thought, videoMetadata; @end @@ -10665,7 +10780,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1RagFileChunkingConfigFixed // @implementation GTLRAiplatform_GoogleCloudAiplatformV1RagFileParsingConfig -@dynamic layoutParser; +@dynamic layoutParser, llmParser; @end @@ -10679,6 +10794,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1RagFileParsingConfigLayout @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1RagFileParsingConfigLlmParser +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1RagFileParsingConfigLlmParser +@dynamic customParsingPrompt, maxParsingRequestsPerMin, modelName; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1RagFileTransformationConfig @@ -10776,6 +10901,26 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfigPinecone // @implementation GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDb +@dynamic ann, knn; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbANN +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbANN +@dynamic leafCount, treeDepth; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbKNN +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbKNN @end @@ -11357,7 +11502,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ResumeScheduleRequest // @implementation GTLRAiplatform_GoogleCloudAiplatformV1Retrieval -@dynamic disableAttribution, vertexAiSearch, vertexRagStore; +@dynamic disableAttribution, externalApi, vertexAiSearch, vertexRagStore; @end @@ -16673,7 +16818,15 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1Value // @implementation GTLRAiplatform_GoogleCloudAiplatformV1VertexAISearch -@dynamic datastore, engine; +@dynamic datastore, dataStoreSpecs, engine, filter, maxResults; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dataStoreSpecs" : [GTLRAiplatform_GoogleCloudAiplatformV1VertexAISearchDataStoreSpec class] + }; + return map; +} + @end @@ -16687,6 +16840,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1VertexAiSearchConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1VertexAISearchDataStoreSpec +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1VertexAISearchDataStoreSpec +@dynamic dataStore, filter; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1VertexRagStore diff --git a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h index ea103d0b1..3038f4668 100644 --- a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h +++ b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h @@ -39,6 +39,12 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1Artifact_Metadata; @class GTLRAiplatform_GoogleCloudAiplatformV1Attribution; @class GTLRAiplatform_GoogleCloudAiplatformV1AugmentPromptRequestModel; +@class GTLRAiplatform_GoogleCloudAiplatformV1AuthConfig; +@class GTLRAiplatform_GoogleCloudAiplatformV1AuthConfigApiKeyConfig; +@class GTLRAiplatform_GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig; +@class GTLRAiplatform_GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig; +@class GTLRAiplatform_GoogleCloudAiplatformV1AuthConfigOauthConfig; +@class GTLRAiplatform_GoogleCloudAiplatformV1AuthConfigOidcConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1AutomaticResources; @class GTLRAiplatform_GoogleCloudAiplatformV1AutoraterConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1AutoscalingMetricSpec; @@ -184,6 +190,9 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1ExportFractionSplit; @class GTLRAiplatform_GoogleCloudAiplatformV1ExportModelOperationMetadataOutputInfo; @class GTLRAiplatform_GoogleCloudAiplatformV1ExportModelRequestOutputConfig; +@class GTLRAiplatform_GoogleCloudAiplatformV1ExternalApi; +@class GTLRAiplatform_GoogleCloudAiplatformV1ExternalApiElasticSearchParams; +@class GTLRAiplatform_GoogleCloudAiplatformV1ExternalApiSimpleSearchParams; @class GTLRAiplatform_GoogleCloudAiplatformV1Fact; @class GTLRAiplatform_GoogleCloudAiplatformV1FasterDeploymentConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1Feature; @@ -517,6 +526,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1RagFileChunkingConfigFixedLengthChunking; @class GTLRAiplatform_GoogleCloudAiplatformV1RagFileParsingConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser; +@class GTLRAiplatform_GoogleCloudAiplatformV1RagFileParsingConfigLlmParser; @class GTLRAiplatform_GoogleCloudAiplatformV1RagFileTransformationConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1RagQuery; @class GTLRAiplatform_GoogleCloudAiplatformV1RagRetrievalConfig; @@ -527,6 +537,8 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfigPinecone; @class GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDb; +@class GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbANN; +@class GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbKNN; @class GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfigVertexVectorSearch; @class GTLRAiplatform_GoogleCloudAiplatformV1RawOutput; @class GTLRAiplatform_GoogleCloudAiplatformV1RayLogsSpec; @@ -844,6 +856,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1Value; @class GTLRAiplatform_GoogleCloudAiplatformV1VertexAISearch; @class GTLRAiplatform_GoogleCloudAiplatformV1VertexAiSearchConfig; +@class GTLRAiplatform_GoogleCloudAiplatformV1VertexAISearchDataStoreSpec; @class GTLRAiplatform_GoogleCloudAiplatformV1VertexRagStore; @class GTLRAiplatform_GoogleCloudAiplatformV1VertexRagStoreRagResource; @class GTLRAiplatform_GoogleCloudAiplatformV1VideoMetadata; @@ -1059,6 +1072,84 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Artifa */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Artifact_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1AuthConfig.authType + +/** + * API Key Auth. + * + * Value: "API_KEY_AUTH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfig_AuthType_ApiKeyAuth; +/** Value: "AUTH_TYPE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfig_AuthType_AuthTypeUnspecified; +/** + * Google Service Account Auth. + * + * Value: "GOOGLE_SERVICE_ACCOUNT_AUTH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfig_AuthType_GoogleServiceAccountAuth; +/** + * HTTP Basic Auth. + * + * Value: "HTTP_BASIC_AUTH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfig_AuthType_HttpBasicAuth; +/** + * No Auth. + * + * Value: "NO_AUTH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfig_AuthType_NoAuth; +/** + * OAuth auth. + * + * Value: "OAUTH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfig_AuthType_Oauth; +/** + * OpenID Connect (OIDC) Auth. + * + * Value: "OIDC_AUTH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfig_AuthType_OidcAuth; + +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1AuthConfigApiKeyConfig.httpElementLocation + +/** + * Element is in the HTTP request body. + * + * Value: "HTTP_IN_BODY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfigApiKeyConfig_HttpElementLocation_HttpInBody; +/** + * Element is in the HTTP request cookie. + * + * Value: "HTTP_IN_COOKIE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfigApiKeyConfig_HttpElementLocation_HttpInCookie; +/** + * Element is in the HTTP request header. + * + * Value: "HTTP_IN_HEADER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfigApiKeyConfig_HttpElementLocation_HttpInHeader; +/** + * Element is in the HTTP request path. + * + * Value: "HTTP_IN_PATH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfigApiKeyConfig_HttpElementLocation_HttpInPath; +/** + * Element is in the HTTP request query. + * + * Value: "HTTP_IN_QUERY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfigApiKeyConfig_HttpElementLocation_HttpInQuery; +/** Value: "HTTP_IN_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfigApiKeyConfig_HttpElementLocation_HttpInUnspecified; + // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1BatchPredictionJob.state @@ -1851,6 +1942,28 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Export */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ExportDataConfig_ExportUse_ExportUseUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1ExternalApi.apiSpec + +/** + * Unspecified API spec. This value should not be used. + * + * Value: "API_SPEC_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ExternalApi_ApiSpec_ApiSpecUnspecified; +/** + * Elastic search API spec. + * + * Value: "ELASTIC_SEARCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ExternalApi_ApiSpec_ElasticSearch; +/** + * Simple search API spec. + * + * Value: "SIMPLE_SEARCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ExternalApi_ApiSpec_SimpleSearch; + // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1Feature.valueType @@ -2557,6 +2670,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Machin * Value: "NVIDIA_A100_80GB" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaA10080gb; +/** + * Nvidia B200 GPU. + * + * Value: "NVIDIA_B200" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaB200; /** * Nvidia H100 80Gb GPU. * @@ -6494,6 +6613,11 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @property(nonatomic, copy, nullable) NSString *apiKeySecretVersion; +/** + * The API key string. Either this or `api_key_secret_version` must be set. + */ +@property(nonatomic, copy, nullable) NSString *apiKeyString; + @end @@ -6801,6 +6925,188 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning @end +/** + * Auth configuration to run the extension. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1AuthConfig : GTLRObject + +/** Config for API key auth. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1AuthConfigApiKeyConfig *apiKeyConfig; + +/** + * Type of auth scheme. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfig_AuthType_ApiKeyAuth + * API Key Auth. (Value: "API_KEY_AUTH") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfig_AuthType_AuthTypeUnspecified + * Value "AUTH_TYPE_UNSPECIFIED" + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfig_AuthType_GoogleServiceAccountAuth + * Google Service Account Auth. (Value: "GOOGLE_SERVICE_ACCOUNT_AUTH") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfig_AuthType_HttpBasicAuth + * HTTP Basic Auth. (Value: "HTTP_BASIC_AUTH") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfig_AuthType_NoAuth + * No Auth. (Value: "NO_AUTH") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfig_AuthType_Oauth + * OAuth auth. (Value: "OAUTH") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfig_AuthType_OidcAuth + * OpenID Connect (OIDC) Auth. (Value: "OIDC_AUTH") + */ +@property(nonatomic, copy, nullable) NSString *authType; + +/** Config for Google Service Account auth. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig *googleServiceAccountConfig; + +/** Config for HTTP Basic auth. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig *httpBasicAuthConfig; + +/** Config for user oauth. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1AuthConfigOauthConfig *oauthConfig; + +/** Config for user OIDC auth. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1AuthConfigOidcConfig *oidcConfig; + +@end + + +/** + * Config for authentication with API key. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1AuthConfigApiKeyConfig : GTLRObject + +/** + * Optional. The name of the SecretManager secret version resource storing the + * API key. Format: `projects/{project}/secrets/{secrete}/versions/{version}` - + * If both `api_key_secret` and `api_key_string` are specified, this field + * takes precedence over `api_key_string`. - If specified, the + * `secretmanager.versions.access` permission should be granted to Vertex AI + * Extension Service Agent + * (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) + * on the specified resource. + */ +@property(nonatomic, copy, nullable) NSString *apiKeySecret; + +/** Optional. The API key to be used in the request directly. */ +@property(nonatomic, copy, nullable) NSString *apiKeyString; + +/** + * Optional. The location of the API key. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfigApiKeyConfig_HttpElementLocation_HttpInBody + * Element is in the HTTP request body. (Value: "HTTP_IN_BODY") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfigApiKeyConfig_HttpElementLocation_HttpInCookie + * Element is in the HTTP request cookie. (Value: "HTTP_IN_COOKIE") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfigApiKeyConfig_HttpElementLocation_HttpInHeader + * Element is in the HTTP request header. (Value: "HTTP_IN_HEADER") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfigApiKeyConfig_HttpElementLocation_HttpInPath + * Element is in the HTTP request path. (Value: "HTTP_IN_PATH") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfigApiKeyConfig_HttpElementLocation_HttpInQuery + * Element is in the HTTP request query. (Value: "HTTP_IN_QUERY") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1AuthConfigApiKeyConfig_HttpElementLocation_HttpInUnspecified + * Value "HTTP_IN_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *httpElementLocation; + +/** + * Optional. The parameter name of the API key. E.g. If the API request is + * "https://example.com/act?api_key=", "api_key" would be the parameter name. + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + +/** + * Config for Google Service Account Authentication. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig : GTLRObject + +/** + * Optional. The service account that the extension execution service runs as. + * - If the service account is specified, the + * `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex + * AI Extension Service Agent + * (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) + * on the specified service account. - If not specified, the Vertex AI + * Extension Service Agent will be used to execute the Extension. + */ +@property(nonatomic, copy, nullable) NSString *serviceAccount; + +@end + + +/** + * Config for HTTP Basic Authentication. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig : GTLRObject + +/** + * Required. The name of the SecretManager secret version resource storing the + * base64 encoded credentials. Format: + * `projects/{project}/secrets/{secrete}/versions/{version}` - If specified, + * the `secretmanager.versions.access` permission should be granted to Vertex + * AI Extension Service Agent + * (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) + * on the specified resource. + */ +@property(nonatomic, copy, nullable) NSString *credentialSecret; + +@end + + +/** + * Config for user oauth. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1AuthConfigOauthConfig : GTLRObject + +/** + * Access token for extension endpoint. Only used to propagate token from + * [[ExecuteExtensionRequest.runtime_auth_config]] at request time. + */ +@property(nonatomic, copy, nullable) NSString *accessToken; + +/** + * The service account used to generate access tokens for executing the + * Extension. - If the service account is specified, the + * `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex + * AI Extension Service Agent + * (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) + * on the provided service account. + */ +@property(nonatomic, copy, nullable) NSString *serviceAccount; + +@end + + +/** + * Config for user OIDC auth. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1AuthConfigOidcConfig : GTLRObject + +/** + * OpenID Connect formatted ID token for extension endpoint. Only used to + * propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at + * request time. + */ +@property(nonatomic, copy, nullable) NSString *idToken; + +/** + * The service account used to generate an OpenID Connect (OIDC)-compatible JWT + * token signed by the Google OIDC Provider (accounts.google.com) for extension + * endpoint + * (https://cloud.google.com/iam/docs/create-short-lived-credentials-direct#sa-credentials-oidc). + * - The audience for the token will be set to the URL in the server url + * defined in the OpenApi spec. - If the service account is provided, the + * service account should grant `iam.serviceAccounts.getOpenIdToken` permission + * to Vertex AI Extension Service Agent + * (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents). + */ +@property(nonatomic, copy, nullable) NSString *serviceAccount; + +@end + + /** * A description of resources that to large degree are decided by Vertex AI, * and require only a modest additional configuration. Each Model supporting @@ -7932,6 +8238,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @property(nonatomic, copy, nullable) NSString *displayName; +/** + * Input only. Immutable. Customer-managed encryption key spec for a + * `CachedContent`. If set, this `CachedContent` and all its sub-resources will + * be secured by this key. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EncryptionSpec *encryptionSpec; + /** * Timestamp of when this resource is considered expired. This is *always* * provided on output, regardless of what was sent on input. @@ -10858,6 +11171,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @interface GTLRAiplatform_GoogleCloudAiplatformV1DeployedModelRef : GTLRObject +/** Immutable. The ID of the Checkpoint deployed in the DeployedModel. */ +@property(nonatomic, copy, nullable) NSString *checkpointId; + /** Immutable. An ID of a DeployedModel in the above Endpoint. */ @property(nonatomic, copy, nullable) NSString *deployedModelId; @@ -13520,6 +13836,81 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning @end +/** + * Retrieve from data source powered by external API for grounding. The + * external API is not owned by Google, but need to follow the pre-defined API + * spec. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ExternalApi : GTLRObject + +/** + * The authentication config to access the API. Deprecated. Please use + * auth_config instead. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ApiAuth *apiAuth GTLR_DEPRECATED; + +/** + * The API spec that the external API implements. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1ExternalApi_ApiSpec_ApiSpecUnspecified + * Unspecified API spec. This value should not be used. (Value: + * "API_SPEC_UNSPECIFIED") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1ExternalApi_ApiSpec_ElasticSearch + * Elastic search API spec. (Value: "ELASTIC_SEARCH") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1ExternalApi_ApiSpec_SimpleSearch + * Simple search API spec. (Value: "SIMPLE_SEARCH") + */ +@property(nonatomic, copy, nullable) NSString *apiSpec; + +/** The authentication config to access the API. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1AuthConfig *authConfig; + +/** Parameters for the elastic search API. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ExternalApiElasticSearchParams *elasticSearchParams; + +/** + * The endpoint of the external API. The system will call the API at this + * endpoint to retrieve the data for grounding. Example: + * https://acme.com:443/search + */ +@property(nonatomic, copy, nullable) NSString *endpoint; + +/** Parameters for the simple search API. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ExternalApiSimpleSearchParams *simpleSearchParams; + +@end + + +/** + * The search parameters to use for the ELASTIC_SEARCH spec. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ExternalApiElasticSearchParams : GTLRObject + +/** The ElasticSearch index to use. */ +@property(nonatomic, copy, nullable) NSString *index; + +/** + * Optional. Number of hits (chunks) to request. When specified, it is passed + * to Elasticsearch as the `num_hits` param. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *numHits; + +/** The ElasticSearch search template to use. */ +@property(nonatomic, copy, nullable) NSString *searchTemplate; + +@end + + +/** + * The search parameters to use for SIMPLE_SEARCH spec. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ExternalApiSimpleSearchParams : GTLRObject +@end + + /** * The fact used in grounding. */ @@ -16355,6 +16746,14 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @interface GTLRAiplatform_GoogleCloudAiplatformV1GenerationConfigThinkingConfig : GTLRObject +/** + * Optional. Indicates whether to include thoughts in the response. If true, + * thoughts are returned only when available. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *includeThoughts; + /** * Optional. Indicates the thinking budget in tokens. This is only applied when * enable_thinking is true. @@ -17186,6 +17585,17 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning /** Specifies the transformation config for RagFiles. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1RagFileTransformationConfig *ragFileTransformationConfig; +/** + * Rebuilds the ANN index to optimize for recall on the imported data. Only + * applicable for RagCorpora running on RagManagedDb with `retrieval_strategy` + * set to `ANN`. The rebuild will be performed using the existing ANN config + * set on the RagCorpus. To change the ANN config, please use the + * UpdateRagCorpus API. Default is false, i.e., index is not rebuilt. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *rebuildAnnIndex; + /** SharePoint sources. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1SharePointSources *sharePointSources; @@ -19453,6 +19863,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning * "ACCELERATOR_TYPE_UNSPECIFIED") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaA10080gb * Nvidia A100 80GB GPU. (Value: "NVIDIA_A100_80GB") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaB200 + * Nvidia B200 GPU. (Value: "NVIDIA_B200") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaH10080gb * Nvidia H100 80Gb GPU. (Value: "NVIDIA_H100_80GB") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaH100Mega80gb @@ -23797,6 +24209,13 @@ GTLR_DEPRECATED /** Optional. Text part (can be code). */ @property(nonatomic, copy, nullable) NSString *text; +/** + * Output only. Indicates if the part is thought from the model. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *thought; + /** * Optional. Video metadata. The metadata should only be specified while the * video data is presented in inline_data or file_data. @@ -26544,6 +26963,9 @@ GTLR_DEPRECATED /** The Layout Parser to use for RagFiles. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser *layoutParser; +/** The LLM Parser to use for RagFiles. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1RagFileParsingConfigLlmParser *llmParser; + @end @@ -26574,6 +26996,37 @@ GTLR_DEPRECATED @end +/** + * Specifies the LLM parsing for RagFiles. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1RagFileParsingConfigLlmParser : GTLRObject + +/** + * The prompt to use for parsing. If not specified, a default prompt will be + * used. + */ +@property(nonatomic, copy, nullable) NSString *customParsingPrompt; + +/** + * The maximum number of requests the job is allowed to make to the LLM model + * per minute. Consult + * https://cloud.google.com/vertex-ai/generative-ai/docs/quotas and your + * document size to set an appropriate value here. If unspecified, a default + * value of 5000 QPM would be used. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxParsingRequestsPerMin; + +/** + * The name of a LLM model used for parsing. Format: * + * `projects/{project_id}/locations/{location}/publishers/{publisher}/models/{model}` + */ +@property(nonatomic, copy, nullable) NSString *modelName; + +@end + + /** * Specifies the transformation config for RagFiles. */ @@ -26727,6 +27180,53 @@ GTLR_DEPRECATED * The config for the default RAG-managed Vector DB. */ @interface GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDb : GTLRObject + +/** + * Performs an ANN search on RagCorpus. Use this if you have a lot of files (> + * 10K) in your RagCorpus and want to reduce the search latency. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbANN *ann; + +/** Performs a KNN search on RagCorpus. Default choice if not specified. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbKNN *knn; + +@end + + +/** + * Config for ANN search. RagManagedDb uses a tree-based structure to partition + * data and facilitate faster searches. As a tradeoff, it requires longer + * indexing time and manual triggering of index rebuild via the ImportRagFiles + * and UpdateRagCorpus API. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbANN : GTLRObject + +/** + * Number of leaf nodes in the tree-based structure. Each leaf node contains + * groups of closely related vectors along with their corresponding centroid. + * Recommended value is 10 * sqrt(num of RagFiles in your RagCorpus). Default + * value is 500. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *leafCount; + +/** + * The depth of the tree-based structure. Only depth values of 2 and 3 are + * supported. Recommended value is 2 if you have if you have O(10K) files in + * the RagCorpus and set this to 3 if more than that. Default value is 2. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *treeDepth; + +@end + + +/** + * Config for KNN search. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1RagVectorDbConfigRagManagedDbKNN : GTLRObject @end @@ -27121,7 +27621,10 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *ETag; -/** Identifier. The resource name of the ReasoningEngine. */ +/** + * Identifier. The resource name of the ReasoningEngine. Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + */ @property(nonatomic, copy, nullable) NSString *name; /** Optional. Configurations of the ReasoningEngine */ @@ -27545,6 +28048,9 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSNumber *disableAttribution GTLR_DEPRECATED; +/** Use data source powered by external API for grounding. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ExternalApi *externalApi; + /** Set to use data source powered by Vertex AI Search. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1VertexAISearch *vertexAiSearch; @@ -38849,12 +39355,30 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *datastore; +/** + * Specifications that define the specific DataStores to be searched, along + * with configurations for those data stores. This is only considered for + * Engines with multiple data stores. It should only be set if engine is used. + */ +@property(nonatomic, strong, nullable) NSArray *dataStoreSpecs; + /** * Optional. Fully-qualified Vertex AI Search engine resource ID. Format: * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` */ @property(nonatomic, copy, nullable) NSString *engine; +/** Optional. Filter strings to be passed to the search API. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. Number of search results to return per query. The default value is + * 10. The maximumm allowed value is 10. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxResults; + @end @@ -38874,6 +39398,29 @@ GTLR_DEPRECATED @end +/** + * Define data stores within engine to filter on in a search call and + * configurations for those data stores. For more information, see + * https://cloud.google.com/generative-ai-app-builder/docs/reference/rpc/google.cloud.discoveryengine.v1#datastorespec + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1VertexAISearchDataStoreSpec : GTLRObject + +/** + * Full resource name of DataStore, such as Format: + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` + */ +@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 + + /** * Retrieve from Vertex RAG Store for grounding. */ diff --git a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h index 95adb59dd..1ae4855bb 100644 --- a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h +++ b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h @@ -20109,7 +20109,10 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif */ @interface GTLRAiplatformQuery_ProjectsLocationsReasoningEnginesPatch : GTLRAiplatformQuery -/** Identifier. The resource name of the ReasoningEngine. */ +/** + * Identifier. The resource name of the ReasoningEngine. Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -20126,7 +20129,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * * @param object The @c GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngine * to include in the query. - * @param name Identifier. The resource name of the ReasoningEngine. + * @param name Identifier. The resource name of the ReasoningEngine. Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` * * @return GTLRAiplatformQuery_ProjectsLocationsReasoningEnginesPatch */ diff --git a/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubObjects.m b/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubObjects.m index c2d6b7453..b8358a610 100644 --- a/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubObjects.m +++ b/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubObjects.m @@ -244,20 +244,12 @@ @implementation GTLRAnalyticsHub_DefaultExchangeConfig // @implementation GTLRAnalyticsHub_DestinationDataset -@dynamic datasetReference, descriptionProperty, friendlyName, labels, location, - replicaLocations; +@dynamic datasetReference, descriptionProperty, friendlyName, labels, location; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; } -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"replicaLocations" : [NSString class] - }; - return map; -} - @end @@ -920,8 +912,8 @@ @implementation GTLRAnalyticsHub_SubscribeListingResponse // @implementation GTLRAnalyticsHub_Subscription -@dynamic commercialInfo, creationTime, dataExchange, lastModifyTime, - linkedDatasetMap, linkedResources, listing, +@dynamic commercialInfo, creationTime, dataExchange, destinationDataset, + lastModifyTime, linkedDatasetMap, linkedResources, listing, logLinkedDatasetQueryUserEmail, name, organizationDisplayName, organizationId, resourceType, state, subscriberContact; diff --git a/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h b/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h index 3f2541f55..864f0c034 100644 --- a/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h +++ b/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h @@ -738,7 +738,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateUns /** * Output only. The resource name of the data exchange. e.g. - * `projects/myproject/locations/US/dataExchanges/123`. + * `projects/myproject/locations/us/dataExchanges/123`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -877,13 +877,6 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateUns */ @property(nonatomic, copy, nullable) NSString *location; -/** - * Optional. The geographic locations where the dataset should be replicated. - * See https://cloud.google.com/bigquery/docs/locations for supported - * locations. - */ -@property(nonatomic, strong, nullable) NSArray *replicaLocations; - @end @@ -1460,7 +1453,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateUns /** * Output only. The resource name of the listing. e.g. - * `projects/myproject/locations/US/dataExchanges/123/listings/456` + * `projects/myproject/locations/us/dataExchanges/123/listings/456` */ @property(nonatomic, copy, nullable) NSString *name; @@ -2264,7 +2257,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateUns /** * Required. The parent resource path of the Subscription. e.g. - * `projects/subscriberproject/locations/US` + * `projects/subscriberproject/locations/us` */ @property(nonatomic, copy, nullable) NSString *destination; @@ -2336,16 +2329,19 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateUns /** * Output only. Resource name of the source Data Exchange. e.g. - * projects/123/locations/US/dataExchanges/456 + * projects/123/locations/us/dataExchanges/456 */ @property(nonatomic, copy, nullable) NSString *dataExchange; +/** Optional. BigQuery destination dataset to create for the subscriber. */ +@property(nonatomic, strong, nullable) GTLRAnalyticsHub_DestinationDataset *destinationDataset; + /** Output only. Timestamp when the subscription was last modified. */ @property(nonatomic, strong, nullable) GTLRDateTime *lastModifyTime; /** * Output only. Map of listing resource names to associated linked resource, - * e.g. projects/123/locations/US/dataExchanges/456/listings/789 -> + * e.g. projects/123/locations/us/dataExchanges/456/listings/789 -> * projects/123/datasets/my_dataset For listing-level subscriptions, this is a * map of size 1. Only contains values if state == STATE_ACTIVE. */ @@ -2359,7 +2355,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateUns /** * Output only. Resource name of the source Listing. e.g. - * projects/123/locations/US/dataExchanges/456/listings/789 + * projects/123/locations/us/dataExchanges/456/listings/789 */ @property(nonatomic, copy, nullable) NSString *listing; @@ -2373,7 +2369,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateUns /** * Output only. The resource name of the subscription. e.g. - * `projects/myproject/locations/US/subscriptions/123`. + * `projects/myproject/locations/us/subscriptions/123`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -2422,7 +2418,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateUns /** * Output only. Map of listing resource names to associated linked resource, - * e.g. projects/123/locations/US/dataExchanges/456/listings/789 -> + * e.g. projects/123/locations/us/dataExchanges/456/listings/789 -> * projects/123/datasets/my_dataset For listing-level subscriptions, this is a * map of size 1. Only contains values if state == STATE_ACTIVE. * diff --git a/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubQuery.h b/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubQuery.h index 0873f3bdb..9b39ab736 100644 --- a/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubQuery.h +++ b/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubQuery.h @@ -46,7 +46,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The organization resource path of the projects containing - * DataExchanges. e.g. `organizations/myorg/locations/US`. + * DataExchanges. e.g. `organizations/myorg/locations/us`. */ @property(nonatomic, copy, nullable) NSString *organization; @@ -68,7 +68,7 @@ NS_ASSUME_NONNULL_BEGIN * Lists all data exchanges from projects in a given organization and location. * * @param organization Required. The organization resource path of the projects - * containing DataExchanges. e.g. `organizations/myorg/locations/US`. + * containing DataExchanges. e.g. `organizations/myorg/locations/us`. * * @return GTLRAnalyticsHubQuery_OrganizationsLocationsDataExchangesList * @@ -99,7 +99,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The parent resource path of the data exchange. e.g. - * `projects/myproject/locations/US`. + * `projects/myproject/locations/us`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -110,7 +110,7 @@ NS_ASSUME_NONNULL_BEGIN * * @param object The @c GTLRAnalyticsHub_DataExchange to include in the query. * @param parent Required. The parent resource path of the data exchange. e.g. - * `projects/myproject/locations/US`. + * `projects/myproject/locations/us`. * * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesCreate */ @@ -132,7 +132,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The full name of the data exchange resource that you want to - * delete. For example, `projects/myproject/locations/US/dataExchanges/123`. + * delete. For example, `projects/myproject/locations/us/dataExchanges/123`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -143,7 +143,7 @@ NS_ASSUME_NONNULL_BEGIN * * @param name Required. The full name of the data exchange resource that you * want to delete. For example, - * `projects/myproject/locations/US/dataExchanges/123`. + * `projects/myproject/locations/us/dataExchanges/123`. * * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesDelete */ @@ -164,7 +164,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the data exchange. e.g. - * `projects/myproject/locations/US/dataExchanges/123`. + * `projects/myproject/locations/us/dataExchanges/123`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -174,7 +174,7 @@ NS_ASSUME_NONNULL_BEGIN * Gets the details of a data exchange. * * @param name Required. The resource name of the data exchange. e.g. - * `projects/myproject/locations/US/dataExchanges/123`. + * `projects/myproject/locations/us/dataExchanges/123`. * * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesGet */ @@ -244,7 +244,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The parent resource path of the data exchanges. e.g. - * `projects/myproject/locations/US`. + * `projects/myproject/locations/us`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -254,7 +254,7 @@ NS_ASSUME_NONNULL_BEGIN * Lists all data exchanges in a given project and location. * * @param parent Required. The parent resource path of the data exchanges. e.g. - * `projects/myproject/locations/US`. + * `projects/myproject/locations/us`. * * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesList * @@ -285,7 +285,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The parent resource path of the listing. e.g. - * `projects/myproject/locations/US/dataExchanges/123`. + * `projects/myproject/locations/us/dataExchanges/123`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -296,7 +296,7 @@ NS_ASSUME_NONNULL_BEGIN * * @param object The @c GTLRAnalyticsHub_Listing to include in the query. * @param parent Required. The parent resource path of the listing. e.g. - * `projects/myproject/locations/US/dataExchanges/123`. + * `projects/myproject/locations/us/dataExchanges/123`. * * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesListingsCreate */ @@ -325,7 +325,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Resource name of the listing to delete. e.g. - * `projects/myproject/locations/US/dataExchanges/123/listings/456`. + * `projects/myproject/locations/us/dataExchanges/123/listings/456`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -335,7 +335,7 @@ NS_ASSUME_NONNULL_BEGIN * Deletes a listing. * * @param name Required. Resource name of the listing to delete. e.g. - * `projects/myproject/locations/US/dataExchanges/123/listings/456`. + * `projects/myproject/locations/us/dataExchanges/123/listings/456`. * * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesListingsDelete */ @@ -356,7 +356,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The resource name of the listing. e.g. - * `projects/myproject/locations/US/dataExchanges/123/listings/456`. + * `projects/myproject/locations/us/dataExchanges/123/listings/456`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -366,7 +366,7 @@ NS_ASSUME_NONNULL_BEGIN * Gets the details of a listing. * * @param name Required. The resource name of the listing. e.g. - * `projects/myproject/locations/US/dataExchanges/123/listings/456`. + * `projects/myproject/locations/us/dataExchanges/123/listings/456`. * * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesListingsGet */ @@ -436,7 +436,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The parent resource path of the listing. e.g. - * `projects/myproject/locations/US/dataExchanges/123`. + * `projects/myproject/locations/us/dataExchanges/123`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -446,7 +446,7 @@ NS_ASSUME_NONNULL_BEGIN * Lists all listings in a given project and location. * * @param parent Required. The parent resource path of the listing. e.g. - * `projects/myproject/locations/US/dataExchanges/123`. + * `projects/myproject/locations/us/dataExchanges/123`. * * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesListingsList * @@ -484,8 +484,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Resource name of the requested target. This resource may be either * a Listing or a DataExchange. e.g. - * projects/123/locations/US/dataExchanges/456 OR e.g. - * projects/123/locations/US/dataExchanges/456/listings/789 + * projects/123/locations/us/dataExchanges/456 OR e.g. + * projects/123/locations/us/dataExchanges/456/listings/789 */ @property(nonatomic, copy, nullable) NSString *resource; @@ -496,8 +496,8 @@ NS_ASSUME_NONNULL_BEGIN * * @param resource Required. Resource name of the requested target. This * resource may be either a Listing or a DataExchange. e.g. - * projects/123/locations/US/dataExchanges/456 OR e.g. - * projects/123/locations/US/dataExchanges/456/listings/789 + * projects/123/locations/us/dataExchanges/456 OR e.g. + * projects/123/locations/us/dataExchanges/456/listings/789 * * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesListingsListSubscriptions * @@ -522,7 +522,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Output only. The resource name of the listing. e.g. - * `projects/myproject/locations/US/dataExchanges/123/listings/456` + * `projects/myproject/locations/us/dataExchanges/123/listings/456` */ @property(nonatomic, copy, nullable) NSString *name; @@ -542,7 +542,7 @@ NS_ASSUME_NONNULL_BEGIN * * @param object The @c GTLRAnalyticsHub_Listing to include in the query. * @param name Output only. The resource name of the listing. e.g. - * `projects/myproject/locations/US/dataExchanges/123/listings/456` + * `projects/myproject/locations/us/dataExchanges/123/listings/456` * * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesListingsPatch */ @@ -604,7 +604,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Resource name of the listing that you want to subscribe to. e.g. - * `projects/myproject/locations/US/dataExchanges/123/listings/456`. + * `projects/myproject/locations/us/dataExchanges/123/listings/456`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -620,7 +620,7 @@ NS_ASSUME_NONNULL_BEGIN * the query. * @param name Required. Resource name of the listing that you want to * subscribe to. e.g. - * `projects/myproject/locations/US/dataExchanges/123/listings/456`. + * `projects/myproject/locations/us/dataExchanges/123/listings/456`. * * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesListingsSubscribe */ @@ -692,8 +692,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Resource name of the requested target. This resource may be either * a Listing or a DataExchange. e.g. - * projects/123/locations/US/dataExchanges/456 OR e.g. - * projects/123/locations/US/dataExchanges/456/listings/789 + * projects/123/locations/us/dataExchanges/456 OR e.g. + * projects/123/locations/us/dataExchanges/456/listings/789 */ @property(nonatomic, copy, nullable) NSString *resource; @@ -704,8 +704,8 @@ NS_ASSUME_NONNULL_BEGIN * * @param resource Required. Resource name of the requested target. This * resource may be either a Listing or a DataExchange. e.g. - * projects/123/locations/US/dataExchanges/456 OR e.g. - * projects/123/locations/US/dataExchanges/456/listings/789 + * projects/123/locations/us/dataExchanges/456 OR e.g. + * projects/123/locations/us/dataExchanges/456/listings/789 * * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesListSubscriptions * @@ -730,7 +730,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Output only. The resource name of the data exchange. e.g. - * `projects/myproject/locations/US/dataExchanges/123`. + * `projects/myproject/locations/us/dataExchanges/123`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -750,7 +750,7 @@ NS_ASSUME_NONNULL_BEGIN * * @param object The @c GTLRAnalyticsHub_DataExchange to include in the query. * @param name Output only. The resource name of the data exchange. e.g. - * `projects/myproject/locations/US/dataExchanges/123`. + * `projects/myproject/locations/us/dataExchanges/123`. * * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesPatch */ @@ -798,7 +798,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Creates a Subscription to a Data Clean Room. This is a long-running - * operation as it will create one or more linked datasets. + * operation as it will create one or more linked datasets. Throws a Bad + * Request error if the Data Exchange does not contain any listings. * * Method: analyticshub.projects.locations.dataExchanges.subscribe * @@ -810,7 +811,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Resource name of the Data Exchange. e.g. - * `projects/publisherproject/locations/US/dataExchanges/123` + * `projects/publisherproject/locations/us/dataExchanges/123` */ @property(nonatomic, copy, nullable) NSString *name; @@ -818,12 +819,13 @@ NS_ASSUME_NONNULL_BEGIN * Fetches a @c GTLRAnalyticsHub_Operation. * * Creates a Subscription to a Data Clean Room. This is a long-running - * operation as it will create one or more linked datasets. + * operation as it will create one or more linked datasets. Throws a Bad + * Request error if the Data Exchange does not contain any listings. * * @param object The @c GTLRAnalyticsHub_SubscribeDataExchangeRequest to * include in the query. * @param name Required. Resource name of the Data Exchange. e.g. - * `projects/publisherproject/locations/US/dataExchanges/123` + * `projects/publisherproject/locations/us/dataExchanges/123` * * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesSubscribe */ @@ -882,7 +884,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Resource name of the subscription to delete. e.g. - * projects/123/locations/US/subscriptions/456 + * projects/123/locations/us/subscriptions/456 */ @property(nonatomic, copy, nullable) NSString *name; @@ -892,7 +894,7 @@ NS_ASSUME_NONNULL_BEGIN * Deletes a subscription. * * @param name Required. Resource name of the subscription to delete. e.g. - * projects/123/locations/US/subscriptions/456 + * projects/123/locations/us/subscriptions/456 * * @return GTLRAnalyticsHubQuery_ProjectsLocationsSubscriptionsDelete */ @@ -913,7 +915,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Resource name of the subscription. e.g. - * projects/123/locations/US/subscriptions/456 + * projects/123/locations/us/subscriptions/456 */ @property(nonatomic, copy, nullable) NSString *name; @@ -923,7 +925,7 @@ NS_ASSUME_NONNULL_BEGIN * Gets the details of a Subscription. * * @param name Required. Resource name of the subscription. e.g. - * projects/123/locations/US/subscriptions/456 + * projects/123/locations/us/subscriptions/456 * * @return GTLRAnalyticsHubQuery_ProjectsLocationsSubscriptionsGet */ @@ -999,7 +1001,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The parent resource path of the subscription. e.g. - * projects/myproject/locations/US + * projects/myproject/locations/us */ @property(nonatomic, copy, nullable) NSString *parent; @@ -1009,7 +1011,7 @@ NS_ASSUME_NONNULL_BEGIN * Lists all subscriptions in a given project and location. * * @param parent Required. The parent resource path of the subscription. e.g. - * projects/myproject/locations/US + * projects/myproject/locations/us * * @return GTLRAnalyticsHubQuery_ProjectsLocationsSubscriptionsList * @@ -1036,7 +1038,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Resource name of the Subscription to refresh. e.g. - * `projects/subscriberproject/locations/US/subscriptions/123` + * `projects/subscriberproject/locations/us/subscriptions/123` */ @property(nonatomic, copy, nullable) NSString *name; @@ -1050,7 +1052,7 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c GTLRAnalyticsHub_RefreshSubscriptionRequest to include * in the query. * @param name Required. Resource name of the Subscription to refresh. e.g. - * `projects/subscriberproject/locations/US/subscriptions/123` + * `projects/subscriberproject/locations/us/subscriptions/123` * * @return GTLRAnalyticsHubQuery_ProjectsLocationsSubscriptionsRefresh */ @@ -1072,7 +1074,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Resource name of the subscription to revoke. e.g. - * projects/123/locations/US/subscriptions/456 + * projects/123/locations/us/subscriptions/456 */ @property(nonatomic, copy, nullable) NSString *name; @@ -1084,7 +1086,7 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c GTLRAnalyticsHub_RevokeSubscriptionRequest to include * in the query. * @param name Required. Resource name of the subscription to revoke. e.g. - * projects/123/locations/US/subscriptions/456 + * projects/123/locations/us/subscriptions/456 * * @return GTLRAnalyticsHubQuery_ProjectsLocationsSubscriptionsRevoke */ diff --git a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m index 46e3b21e8..43405591a 100644 --- a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m +++ b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m @@ -47,6 +47,82 @@ NSString * const kGTLRAndroidManagement_AdvancedSecurityOverrides_UntrustedAppsPolicy_DisallowInstall = @"DISALLOW_INSTALL"; NSString * const kGTLRAndroidManagement_AdvancedSecurityOverrides_UntrustedAppsPolicy_UntrustedAppsPolicyUnspecified = @"UNTRUSTED_APPS_POLICY_UNSPECIFIED"; +// GTLRAndroidManagement_ApnPolicy.overrideApns +NSString * const kGTLRAndroidManagement_ApnPolicy_OverrideApns_OverrideApnsDisabled = @"OVERRIDE_APNS_DISABLED"; +NSString * const kGTLRAndroidManagement_ApnPolicy_OverrideApns_OverrideApnsEnabled = @"OVERRIDE_APNS_ENABLED"; +NSString * const kGTLRAndroidManagement_ApnPolicy_OverrideApns_OverrideApnsUnspecified = @"OVERRIDE_APNS_UNSPECIFIED"; + +// GTLRAndroidManagement_ApnSetting.alwaysOnSetting +NSString * const kGTLRAndroidManagement_ApnSetting_AlwaysOnSetting_AlwaysOn = @"ALWAYS_ON"; +NSString * const kGTLRAndroidManagement_ApnSetting_AlwaysOnSetting_AlwaysOnSettingUnspecified = @"ALWAYS_ON_SETTING_UNSPECIFIED"; +NSString * const kGTLRAndroidManagement_ApnSetting_AlwaysOnSetting_NotAlwaysOn = @"NOT_ALWAYS_ON"; + +// GTLRAndroidManagement_ApnSetting.apnTypes +NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_ApnTypeUnspecified = @"APN_TYPE_UNSPECIFIED"; +NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Bip = @"BIP"; +NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Cbs = @"CBS"; +NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Default = @"DEFAULT"; +NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Dun = @"DUN"; +NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Emergency = @"EMERGENCY"; +NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Enterprise = @"ENTERPRISE"; +NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Fota = @"FOTA"; +NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Hipri = @"HIPRI"; +NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Ia = @"IA"; +NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Ims = @"IMS"; +NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Mcx = @"MCX"; +NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Mms = @"MMS"; +NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Rcs = @"RCS"; +NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Supl = @"SUPL"; +NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Vsim = @"VSIM"; +NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Xcap = @"XCAP"; + +// GTLRAndroidManagement_ApnSetting.authType +NSString * const kGTLRAndroidManagement_ApnSetting_AuthType_AuthTypeUnspecified = @"AUTH_TYPE_UNSPECIFIED"; +NSString * const kGTLRAndroidManagement_ApnSetting_AuthType_Chap = @"CHAP"; +NSString * const kGTLRAndroidManagement_ApnSetting_AuthType_None = @"NONE"; +NSString * const kGTLRAndroidManagement_ApnSetting_AuthType_Pap = @"PAP"; +NSString * const kGTLRAndroidManagement_ApnSetting_AuthType_PapOrChap = @"PAP_OR_CHAP"; + +// GTLRAndroidManagement_ApnSetting.mvnoType +NSString * const kGTLRAndroidManagement_ApnSetting_MvnoType_Gid = @"GID"; +NSString * const kGTLRAndroidManagement_ApnSetting_MvnoType_Iccid = @"ICCID"; +NSString * const kGTLRAndroidManagement_ApnSetting_MvnoType_Imsi = @"IMSI"; +NSString * const kGTLRAndroidManagement_ApnSetting_MvnoType_MvnoTypeUnspecified = @"MVNO_TYPE_UNSPECIFIED"; +NSString * const kGTLRAndroidManagement_ApnSetting_MvnoType_Spn = @"SPN"; + +// GTLRAndroidManagement_ApnSetting.networkTypes +NSString * const kGTLRAndroidManagement_ApnSetting_NetworkTypes_Edge = @"EDGE"; +NSString * const kGTLRAndroidManagement_ApnSetting_NetworkTypes_Gprs = @"GPRS"; +NSString * const kGTLRAndroidManagement_ApnSetting_NetworkTypes_Gsm = @"GSM"; +NSString * const kGTLRAndroidManagement_ApnSetting_NetworkTypes_Hsdpa = @"HSDPA"; +NSString * const kGTLRAndroidManagement_ApnSetting_NetworkTypes_Hspa = @"HSPA"; +NSString * const kGTLRAndroidManagement_ApnSetting_NetworkTypes_Hspap = @"HSPAP"; +NSString * const kGTLRAndroidManagement_ApnSetting_NetworkTypes_Hsupa = @"HSUPA"; +NSString * const kGTLRAndroidManagement_ApnSetting_NetworkTypes_Iwlan = @"IWLAN"; +NSString * const kGTLRAndroidManagement_ApnSetting_NetworkTypes_Lte = @"LTE"; +NSString * const kGTLRAndroidManagement_ApnSetting_NetworkTypes_NetworkTypeUnspecified = @"NETWORK_TYPE_UNSPECIFIED"; +NSString * const kGTLRAndroidManagement_ApnSetting_NetworkTypes_Nr = @"NR"; +NSString * const kGTLRAndroidManagement_ApnSetting_NetworkTypes_TdScdma = @"TD_SCDMA"; +NSString * const kGTLRAndroidManagement_ApnSetting_NetworkTypes_Umts = @"UMTS"; + +// GTLRAndroidManagement_ApnSetting.protocol +NSString * const kGTLRAndroidManagement_ApnSetting_Protocol_Ip = @"IP"; +NSString * const kGTLRAndroidManagement_ApnSetting_Protocol_Ipv4v6 = @"IPV4V6"; +NSString * const kGTLRAndroidManagement_ApnSetting_Protocol_Ipv6 = @"IPV6"; +NSString * const kGTLRAndroidManagement_ApnSetting_Protocol_NonIp = @"NON_IP"; +NSString * const kGTLRAndroidManagement_ApnSetting_Protocol_Ppp = @"PPP"; +NSString * const kGTLRAndroidManagement_ApnSetting_Protocol_ProtocolUnspecified = @"PROTOCOL_UNSPECIFIED"; +NSString * const kGTLRAndroidManagement_ApnSetting_Protocol_Unstructured = @"UNSTRUCTURED"; + +// GTLRAndroidManagement_ApnSetting.roamingProtocol +NSString * const kGTLRAndroidManagement_ApnSetting_RoamingProtocol_Ip = @"IP"; +NSString * const kGTLRAndroidManagement_ApnSetting_RoamingProtocol_Ipv4v6 = @"IPV4V6"; +NSString * const kGTLRAndroidManagement_ApnSetting_RoamingProtocol_Ipv6 = @"IPV6"; +NSString * const kGTLRAndroidManagement_ApnSetting_RoamingProtocol_NonIp = @"NON_IP"; +NSString * const kGTLRAndroidManagement_ApnSetting_RoamingProtocol_Ppp = @"PPP"; +NSString * const kGTLRAndroidManagement_ApnSetting_RoamingProtocol_ProtocolUnspecified = @"PROTOCOL_UNSPECIFIED"; +NSString * const kGTLRAndroidManagement_ApnSetting_RoamingProtocol_Unstructured = @"UNSTRUCTURED"; + // GTLRAndroidManagement_Application.appPricing NSString * const kGTLRAndroidManagement_Application_AppPricing_AppPricingUnspecified = @"APP_PRICING_UNSPECIFIED"; NSString * const kGTLRAndroidManagement_Application_AppPricing_Free = @"FREE"; @@ -129,6 +205,15 @@ NSString * const kGTLRAndroidManagement_ApplicationPolicy_InstallType_Preinstalled = @"PREINSTALLED"; NSString * const kGTLRAndroidManagement_ApplicationPolicy_InstallType_RequiredForSetup = @"REQUIRED_FOR_SETUP"; +// GTLRAndroidManagement_ApplicationPolicy.preferentialNetworkId +NSString * const kGTLRAndroidManagement_ApplicationPolicy_PreferentialNetworkId_NoPreferentialNetwork = @"NO_PREFERENTIAL_NETWORK"; +NSString * const kGTLRAndroidManagement_ApplicationPolicy_PreferentialNetworkId_PreferentialNetworkIdFive = @"PREFERENTIAL_NETWORK_ID_FIVE"; +NSString * const kGTLRAndroidManagement_ApplicationPolicy_PreferentialNetworkId_PreferentialNetworkIdFour = @"PREFERENTIAL_NETWORK_ID_FOUR"; +NSString * const kGTLRAndroidManagement_ApplicationPolicy_PreferentialNetworkId_PreferentialNetworkIdOne = @"PREFERENTIAL_NETWORK_ID_ONE"; +NSString * const kGTLRAndroidManagement_ApplicationPolicy_PreferentialNetworkId_PreferentialNetworkIdThree = @"PREFERENTIAL_NETWORK_ID_THREE"; +NSString * const kGTLRAndroidManagement_ApplicationPolicy_PreferentialNetworkId_PreferentialNetworkIdTwo = @"PREFERENTIAL_NETWORK_ID_TWO"; +NSString * const kGTLRAndroidManagement_ApplicationPolicy_PreferentialNetworkId_PreferentialNetworkIdUnspecified = @"PREFERENTIAL_NETWORK_ID_UNSPECIFIED"; + // GTLRAndroidManagement_ApplicationPolicy.userControlSettings NSString * const kGTLRAndroidManagement_ApplicationPolicy_UserControlSettings_UserControlAllowed = @"USER_CONTROL_ALLOWED"; NSString * const kGTLRAndroidManagement_ApplicationPolicy_UserControlSettings_UserControlDisallowed = @"USER_CONTROL_DISALLOWED"; @@ -185,6 +270,7 @@ NSString * const kGTLRAndroidManagement_Command_Type_Lock = @"LOCK"; NSString * const kGTLRAndroidManagement_Command_Type_Reboot = @"REBOOT"; NSString * const kGTLRAndroidManagement_Command_Type_RelinquishOwnership = @"RELINQUISH_OWNERSHIP"; +NSString * const kGTLRAndroidManagement_Command_Type_RequestDeviceInfo = @"REQUEST_DEVICE_INFO"; NSString * const kGTLRAndroidManagement_Command_Type_ResetPassword = @"RESET_PASSWORD"; NSString * const kGTLRAndroidManagement_Command_Type_StartLostMode = @"START_LOST_MODE"; NSString * const kGTLRAndroidManagement_Command_Type_StopLostMode = @"STOP_LOST_MODE"; @@ -462,6 +548,7 @@ NSString * const kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_ManagementMode = @"MANAGEMENT_MODE"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_NonComplianceReasonUnspecified = @"NON_COMPLIANCE_REASON_UNSPECIFIED"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_Pending = @"PENDING"; +NSString * const kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_ProjectNotPermitted = @"PROJECT_NOT_PERMITTED"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_Unsupported = @"UNSUPPORTED"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_UserAction = @"USER_ACTION"; @@ -474,6 +561,7 @@ NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_PasswordPoliciesPasswordExpired = @"PASSWORD_POLICIES_PASSWORD_EXPIRED"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_PasswordPoliciesPasswordNotSufficient = @"PASSWORD_POLICIES_PASSWORD_NOT_SUFFICIENT"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_PasswordPoliciesUserCredentialsConfirmationRequired = @"PASSWORD_POLICIES_USER_CREDENTIALS_CONFIRMATION_REQUIRED"; +NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_PermissibleUsageRestriction = @"PERMISSIBLE_USAGE_RESTRICTION"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_SpecificNonComplianceReasonUnspecified = @"SPECIFIC_NON_COMPLIANCE_REASON_UNSPECIFIED"; // GTLRAndroidManagement_NonComplianceDetailCondition.nonComplianceReason @@ -487,6 +575,7 @@ NSString * const kGTLRAndroidManagement_NonComplianceDetailCondition_NonComplianceReason_ManagementMode = @"MANAGEMENT_MODE"; NSString * const kGTLRAndroidManagement_NonComplianceDetailCondition_NonComplianceReason_NonComplianceReasonUnspecified = @"NON_COMPLIANCE_REASON_UNSPECIFIED"; NSString * const kGTLRAndroidManagement_NonComplianceDetailCondition_NonComplianceReason_Pending = @"PENDING"; +NSString * const kGTLRAndroidManagement_NonComplianceDetailCondition_NonComplianceReason_ProjectNotPermitted = @"PROJECT_NOT_PERMITTED"; NSString * const kGTLRAndroidManagement_NonComplianceDetailCondition_NonComplianceReason_Unsupported = @"UNSUPPORTED"; NSString * const kGTLRAndroidManagement_NonComplianceDetailCondition_NonComplianceReason_UserAction = @"USER_ACTION"; @@ -613,6 +702,11 @@ NSString * const kGTLRAndroidManagement_Policy_EncryptionPolicy_EnabledWithPassword = @"ENABLED_WITH_PASSWORD"; NSString * const kGTLRAndroidManagement_Policy_EncryptionPolicy_EncryptionPolicyUnspecified = @"ENCRYPTION_POLICY_UNSPECIFIED"; +// GTLRAndroidManagement_Policy.enterpriseDisplayNameVisibility +NSString * const kGTLRAndroidManagement_Policy_EnterpriseDisplayNameVisibility_EnterpriseDisplayNameHidden = @"ENTERPRISE_DISPLAY_NAME_HIDDEN"; +NSString * const kGTLRAndroidManagement_Policy_EnterpriseDisplayNameVisibility_EnterpriseDisplayNameVisibilityUnspecified = @"ENTERPRISE_DISPLAY_NAME_VISIBILITY_UNSPECIFIED"; +NSString * const kGTLRAndroidManagement_Policy_EnterpriseDisplayNameVisibility_EnterpriseDisplayNameVisible = @"ENTERPRISE_DISPLAY_NAME_VISIBLE"; + // GTLRAndroidManagement_Policy.keyguardDisabledFeatures NSString * const kGTLRAndroidManagement_Policy_KeyguardDisabledFeatures_AllFeatures = @"ALL_FEATURES"; NSString * const kGTLRAndroidManagement_Policy_KeyguardDisabledFeatures_Biometrics = @"BIOMETRICS"; @@ -680,6 +774,34 @@ NSString * const kGTLRAndroidManagement_PowerManagementEvent_EventType_PowerManagementEventTypeUnspecified = @"POWER_MANAGEMENT_EVENT_TYPE_UNSPECIFIED"; NSString * const kGTLRAndroidManagement_PowerManagementEvent_EventType_Shutdown = @"SHUTDOWN"; +// GTLRAndroidManagement_PreferentialNetworkServiceConfig.fallbackToDefaultConnection +NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceConfig_FallbackToDefaultConnection_FallbackToDefaultConnectionAllowed = @"FALLBACK_TO_DEFAULT_CONNECTION_ALLOWED"; +NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceConfig_FallbackToDefaultConnection_FallbackToDefaultConnectionDisallowed = @"FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED"; +NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceConfig_FallbackToDefaultConnection_FallbackToDefaultConnectionUnspecified = @"FALLBACK_TO_DEFAULT_CONNECTION_UNSPECIFIED"; + +// GTLRAndroidManagement_PreferentialNetworkServiceConfig.nonMatchingNetworks +NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceConfig_NonMatchingNetworks_NonMatchingNetworksAllowed = @"NON_MATCHING_NETWORKS_ALLOWED"; +NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceConfig_NonMatchingNetworks_NonMatchingNetworksDisallowed = @"NON_MATCHING_NETWORKS_DISALLOWED"; +NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceConfig_NonMatchingNetworks_NonMatchingNetworksUnspecified = @"NON_MATCHING_NETWORKS_UNSPECIFIED"; + +// GTLRAndroidManagement_PreferentialNetworkServiceConfig.preferentialNetworkId +NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceConfig_PreferentialNetworkId_NoPreferentialNetwork = @"NO_PREFERENTIAL_NETWORK"; +NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceConfig_PreferentialNetworkId_PreferentialNetworkIdFive = @"PREFERENTIAL_NETWORK_ID_FIVE"; +NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceConfig_PreferentialNetworkId_PreferentialNetworkIdFour = @"PREFERENTIAL_NETWORK_ID_FOUR"; +NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceConfig_PreferentialNetworkId_PreferentialNetworkIdOne = @"PREFERENTIAL_NETWORK_ID_ONE"; +NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceConfig_PreferentialNetworkId_PreferentialNetworkIdThree = @"PREFERENTIAL_NETWORK_ID_THREE"; +NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceConfig_PreferentialNetworkId_PreferentialNetworkIdTwo = @"PREFERENTIAL_NETWORK_ID_TWO"; +NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceConfig_PreferentialNetworkId_PreferentialNetworkIdUnspecified = @"PREFERENTIAL_NETWORK_ID_UNSPECIFIED"; + +// GTLRAndroidManagement_PreferentialNetworkServiceSettings.defaultPreferentialNetworkId +NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceSettings_DefaultPreferentialNetworkId_NoPreferentialNetwork = @"NO_PREFERENTIAL_NETWORK"; +NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceSettings_DefaultPreferentialNetworkId_PreferentialNetworkIdFive = @"PREFERENTIAL_NETWORK_ID_FIVE"; +NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceSettings_DefaultPreferentialNetworkId_PreferentialNetworkIdFour = @"PREFERENTIAL_NETWORK_ID_FOUR"; +NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceSettings_DefaultPreferentialNetworkId_PreferentialNetworkIdOne = @"PREFERENTIAL_NETWORK_ID_ONE"; +NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceSettings_DefaultPreferentialNetworkId_PreferentialNetworkIdThree = @"PREFERENTIAL_NETWORK_ID_THREE"; +NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceSettings_DefaultPreferentialNetworkId_PreferentialNetworkIdTwo = @"PREFERENTIAL_NETWORK_ID_TWO"; +NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceSettings_DefaultPreferentialNetworkId_PreferentialNetworkIdUnspecified = @"PREFERENTIAL_NETWORK_ID_UNSPECIFIED"; + // GTLRAndroidManagement_ProvisioningInfo.managementMode NSString * const kGTLRAndroidManagement_ProvisioningInfo_ManagementMode_DeviceOwner = @"DEVICE_OWNER"; NSString * const kGTLRAndroidManagement_ProvisioningInfo_ManagementMode_ManagementModeUnspecified = @"MANAGEMENT_MODE_UNSPECIFIED"; @@ -897,6 +1019,46 @@ @implementation GTLRAndroidManagement_ApiLevelCondition @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidManagement_ApnPolicy +// + +@implementation GTLRAndroidManagement_ApnPolicy +@dynamic apnSettings, overrideApns; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"apnSettings" : [GTLRAndroidManagement_ApnSetting class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidManagement_ApnSetting +// + +@implementation GTLRAndroidManagement_ApnSetting +@dynamic alwaysOnSetting, apn, apnTypes, authType, carrierId, displayName, mmsc, + mmsProxyAddress, mmsProxyPort, mtuV4, mtuV6, mvnoType, networkTypes, + numericOperatorId, password, protocol, proxyAddress, proxyPort, + roamingProtocol, username; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"apnTypes" : [NSString class], + @"networkTypes" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidManagement_Application @@ -965,7 +1127,8 @@ @implementation GTLRAndroidManagement_ApplicationPolicy defaultPermissionPolicy, delegatedScopes, disabled, extensionConfig, installConstraint, installPriority, installType, lockTaskAllowed, managedConfiguration, managedConfigurationTemplate, minimumVersionCode, - packageName, permissionGrants, userControlSettings, workProfileWidgets; + packageName, permissionGrants, preferentialNetworkId, + userControlSettings, workProfileWidgets; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1388,7 +1551,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRAndroidManagement_DeviceConnectivityManagement -@dynamic bluetoothSharing, configureWifi, tetheringSettings, usbDataAccess, +@dynamic apnPolicy, bluetoothSharing, configureWifi, + preferentialNetworkServiceSettings, tetheringSettings, usbDataAccess, wifiDirectSettings, wifiRoamingPolicy, wifiSsidPolicy; @end @@ -2407,10 +2571,10 @@ @implementation GTLRAndroidManagement_Policy crossProfilePolicies, dataRoamingDisabled, debuggingFeaturesAllowed, defaultPermissionPolicy, deviceConnectivityManagement, deviceOwnerLockScreenInfo, deviceRadioState, displaySettings, - encryptionPolicy, ensureVerifyAppsEnabled, factoryResetDisabled, - frpAdminEmails, funDisabled, installAppsDisabled, - installUnknownSourcesAllowed, keyguardDisabled, - keyguardDisabledFeatures, kioskCustomization, + encryptionPolicy, ensureVerifyAppsEnabled, + enterpriseDisplayNameVisibility, factoryResetDisabled, frpAdminEmails, + funDisabled, installAppsDisabled, installUnknownSourcesAllowed, + keyguardDisabled, keyguardDisabledFeatures, kioskCustomization, kioskCustomLauncherEnabled, locationMode, longSupportMessage, maximumTimeToLock, microphoneAccess, minimumApiLevel, mobileNetworksConfigDisabled, modifyAccountsDisabled, @@ -2506,6 +2670,35 @@ @implementation GTLRAndroidManagement_PowerManagementEvent @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidManagement_PreferentialNetworkServiceConfig +// + +@implementation GTLRAndroidManagement_PreferentialNetworkServiceConfig +@dynamic fallbackToDefaultConnection, nonMatchingNetworks, + preferentialNetworkId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidManagement_PreferentialNetworkServiceSettings +// + +@implementation GTLRAndroidManagement_PreferentialNetworkServiceSettings +@dynamic defaultPreferentialNetworkId, preferentialNetworkServiceConfigs; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"preferentialNetworkServiceConfigs" : [GTLRAndroidManagement_PreferentialNetworkServiceConfig class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidManagement_ProvisioningInfo diff --git a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h index 39ebb0637..480e61c82 100644 --- a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h +++ b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h @@ -20,6 +20,8 @@ @class GTLRAndroidManagement_AdvancedSecurityOverrides; @class GTLRAndroidManagement_AlwaysOnVpnPackage; @class GTLRAndroidManagement_ApiLevelCondition; +@class GTLRAndroidManagement_ApnPolicy; +@class GTLRAndroidManagement_ApnSetting; @class GTLRAndroidManagement_ApplicationEvent; @class GTLRAndroidManagement_ApplicationPermission; @class GTLRAndroidManagement_ApplicationPolicy; @@ -119,6 +121,8 @@ @class GTLRAndroidManagement_PolicyEnforcementRule; @class GTLRAndroidManagement_PostureDetail; @class GTLRAndroidManagement_PowerManagementEvent; +@class GTLRAndroidManagement_PreferentialNetworkServiceConfig; +@class GTLRAndroidManagement_PreferentialNetworkServiceSettings; @class GTLRAndroidManagement_ProxyInfo; @class GTLRAndroidManagement_RemoteLockEvent; @class GTLRAndroidManagement_RequestDeviceInfoParams; @@ -337,6 +341,448 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_AdvancedSecurityOverri */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_AdvancedSecurityOverrides_UntrustedAppsPolicy_UntrustedAppsPolicyUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_ApnPolicy.overrideApns + +/** + * Override APNs disabled. Any configured apnSettings are saved on the device, + * but are disabled and have no effect. Any other APNs on the device remain in + * use. + * + * Value: "OVERRIDE_APNS_DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnPolicy_OverrideApns_OverrideApnsDisabled; +/** + * Override APNs enabled. Only override APNs are in use, any other APNs are + * ignored. This can only be set on fully managed devices on Android 10 and + * above. For work profiles override APNs are enabled via + * preferentialNetworkServiceSettings and this value cannot be set. A + * nonComplianceDetail with API_LEVEL is reported if the Android version is + * less than 10. A nonComplianceDetail with MANAGEMENT_MODE is reported for + * work profiles. + * + * Value: "OVERRIDE_APNS_ENABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnPolicy_OverrideApns_OverrideApnsEnabled; +/** + * Unspecified. Defaults to OVERRIDE_APNS_DISABLED. + * + * Value: "OVERRIDE_APNS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnPolicy_OverrideApns_OverrideApnsUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_ApnSetting.alwaysOnSetting + +/** + * The PDU session brought up by this APN should always be on. Supported on + * Android 15 and above. A nonComplianceDetail with API_LEVEL is reported if + * the Android version is less than 15. + * + * Value: "ALWAYS_ON" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_AlwaysOnSetting_AlwaysOn; +/** + * Unspecified. Defaults to NOT_ALWAYS_ON. + * + * Value: "ALWAYS_ON_SETTING_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_AlwaysOnSetting_AlwaysOnSettingUnspecified; +/** + * The PDU session brought up by this APN should not be always on. + * + * Value: "NOT_ALWAYS_ON" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_AlwaysOnSetting_NotAlwaysOn; + +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_ApnSetting.apnTypes + +/** + * Unspecified. This value is not used. + * + * Value: "APN_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_ApnTypeUnspecified; +/** + * APN type for BIP (Bearer Independent Protocol). This can only be set on + * fully managed devices on Android 12 and above. A nonComplianceDetail with + * API_LEVEL is reported if the Android version is less than 12. A + * nonComplianceDetail with MANAGEMENT_MODE is reported for work profiles. + * + * Value: "BIP" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Bip; +/** + * APN type for CBS (Carrier Branded Services). This can only be set on fully + * managed devices. A nonComplianceDetail with MANAGEMENT_MODE is reported for + * work profiles. + * + * Value: "CBS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Cbs; +/** + * APN type for default data traffic. This can only be set on fully managed + * devices. A nonComplianceDetail with MANAGEMENT_MODE is reported for work + * profiles. + * + * Value: "DEFAULT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Default; +/** + * APN type for DUN (Dial-up networking) traffic. This can only be set on fully + * managed devices. A nonComplianceDetail with MANAGEMENT_MODE is reported for + * work profiles. + * + * Value: "DUN" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Dun; +/** + * APN type for Emergency PDN. This is not an IA apn, but is used for access to + * carrier services in an emergency call situation. This can only be set on + * fully managed devices. A nonComplianceDetail with MANAGEMENT_MODE is + * reported for work profiles. + * + * Value: "EMERGENCY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Emergency; +/** + * APN type for enterprise traffic. Supported on Android 13 and above. A + * nonComplianceDetail with API_LEVEL is reported if the Android version is + * less than 13. + * + * Value: "ENTERPRISE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Enterprise; +/** + * APN type for accessing the carrier's FOTA (Firmware Over-the-Air) portal, + * used for over the air updates. This can only be set on fully managed + * devices. A nonComplianceDetail with MANAGEMENT_MODE is reported for work + * profiles. + * + * Value: "FOTA" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Fota; +/** + * APN type for HiPri (high-priority) traffic. This can only be set on fully + * managed devices. A nonComplianceDetail with MANAGEMENT_MODE is reported for + * work profiles. + * + * Value: "HIPRI" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Hipri; +/** + * APN type for IA (Initial Attach) APN. This can only be set on fully managed + * devices. A nonComplianceDetail with MANAGEMENT_MODE is reported for work + * profiles. + * + * Value: "IA" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Ia; +/** + * APN type for IMS (IP Multimedia Subsystem) traffic. This can only be set on + * fully managed devices. A nonComplianceDetail with MANAGEMENT_MODE is + * reported for work profiles. + * + * Value: "IMS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Ims; +/** + * APN type for MCX (Mission Critical Service) where X can be PTT/Video/Data. + * This can only be set on fully managed devices. A nonComplianceDetail with + * MANAGEMENT_MODE is reported for work profiles. + * + * Value: "MCX" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Mcx; +/** + * APN type for MMS (Multimedia Messaging Service) traffic. This can only be + * set on fully managed devices. A nonComplianceDetail with MANAGEMENT_MODE is + * reported for work profiles. + * + * Value: "MMS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Mms; +/** + * APN type for RCS (Rich Communication Services). This can only be set on + * fully managed devices on Android 15 and above. A nonComplianceDetail with + * API_LEVEL is reported if the Android version is less than 15. A + * nonComplianceDetail with MANAGEMENT_MODE is reported for work profiles. + * + * Value: "RCS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Rcs; +/** + * APN type for SUPL (Secure User Plane Location) assisted GPS. This can only + * be set on fully managed devices. A nonComplianceDetail with MANAGEMENT_MODE + * is reported for work profiles. + * + * Value: "SUPL" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Supl; +/** + * APN type for VSIM (Virtual SIM) service. This can only be set on fully + * managed devices on Android 12 and above. A nonComplianceDetail with + * API_LEVEL is reported if the Android version is less than 12. A + * nonComplianceDetail with MANAGEMENT_MODE is reported for work profiles. + * + * Value: "VSIM" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Vsim; +/** + * APN type for XCAP (XML Configuration Access Protocol) traffic. This can only + * be set on fully managed devices on Android 11 and above. A + * nonComplianceDetail with API_LEVEL is reported if the Android version is + * less than 11. A nonComplianceDetail with MANAGEMENT_MODE is reported for + * work profiles. + * + * Value: "XCAP" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Xcap; + +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_ApnSetting.authType + +/** + * Unspecified. If username is empty, defaults to NONE. Otherwise, defaults to + * PAP_OR_CHAP. + * + * Value: "AUTH_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_AuthType_AuthTypeUnspecified; +/** + * Authentication type for CHAP. + * + * Value: "CHAP" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_AuthType_Chap; +/** + * Authentication is not required. + * + * Value: "NONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_AuthType_None; +/** + * Authentication type for PAP. + * + * Value: "PAP" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_AuthType_Pap; +/** + * Authentication type for PAP or CHAP. + * + * Value: "PAP_OR_CHAP" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_AuthType_PapOrChap; + +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_ApnSetting.mvnoType + +/** + * MVNO type for group identifier level 1. + * + * Value: "GID" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_MvnoType_Gid; +/** + * MVNO type for ICCID. + * + * Value: "ICCID" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_MvnoType_Iccid; +/** + * MVNO type for IMSI. + * + * Value: "IMSI" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_MvnoType_Imsi; +/** + * The MVNO type is not specified. + * + * Value: "MVNO_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_MvnoType_MvnoTypeUnspecified; +/** + * MVNO type for SPN (service provider name). + * + * Value: "SPN" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_MvnoType_Spn; + +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_ApnSetting.networkTypes + +/** + * Radio technology EDGE. + * + * Value: "EDGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_NetworkTypes_Edge; +/** + * Radio technology GPRS. + * + * Value: "GPRS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_NetworkTypes_Gprs; +/** + * Radio technology GSM. + * + * Value: "GSM" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_NetworkTypes_Gsm; +/** + * Radio technology HSDPA. + * + * Value: "HSDPA" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_NetworkTypes_Hsdpa; +/** + * Radio technology HSPA. + * + * Value: "HSPA" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_NetworkTypes_Hspa; +/** + * Radio technology HSPAP. + * + * Value: "HSPAP" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_NetworkTypes_Hspap; +/** + * Radio technology HSUPA. + * + * Value: "HSUPA" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_NetworkTypes_Hsupa; +/** + * Radio technology IWLAN. + * + * Value: "IWLAN" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_NetworkTypes_Iwlan; +/** + * Radio technology LTE. + * + * Value: "LTE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_NetworkTypes_Lte; +/** + * Unspecified. This value must not be used. + * + * Value: "NETWORK_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_NetworkTypes_NetworkTypeUnspecified; +/** + * Radio technology NR (New Radio) 5G. + * + * Value: "NR" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_NetworkTypes_Nr; +/** + * Radio technology TD_SCDMA. + * + * Value: "TD_SCDMA" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_NetworkTypes_TdScdma; +/** + * Radio technology UMTS. + * + * Value: "UMTS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_NetworkTypes_Umts; + +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_ApnSetting.protocol + +/** + * Internet protocol. + * + * Value: "IP" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_Protocol_Ip; +/** + * Virtual PDP type introduced to handle dual IP stack UE capability. + * + * Value: "IPV4V6" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_Protocol_Ipv4v6; +/** + * Internet protocol, version 6. + * + * Value: "IPV6" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_Protocol_Ipv6; +/** + * Transfer of Non-IP data to external packet data network. + * + * Value: "NON_IP" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_Protocol_NonIp; +/** + * Point to point protocol. + * + * Value: "PPP" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_Protocol_Ppp; +/** + * The protocol is not specified. + * + * Value: "PROTOCOL_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_Protocol_ProtocolUnspecified; +/** + * Transfer of Unstructured data to the Data Network via N6. + * + * Value: "UNSTRUCTURED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_Protocol_Unstructured; + +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_ApnSetting.roamingProtocol + +/** + * Internet protocol. + * + * Value: "IP" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_RoamingProtocol_Ip; +/** + * Virtual PDP type introduced to handle dual IP stack UE capability. + * + * Value: "IPV4V6" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_RoamingProtocol_Ipv4v6; +/** + * Internet protocol, version 6. + * + * Value: "IPV6" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_RoamingProtocol_Ipv6; +/** + * Transfer of Non-IP data to external packet data network. + * + * Value: "NON_IP" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_RoamingProtocol_NonIp; +/** + * Point to point protocol. + * + * Value: "PPP" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_RoamingProtocol_Ppp; +/** + * The protocol is not specified. + * + * Value: "PROTOCOL_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_RoamingProtocol_ProtocolUnspecified; +/** + * Transfer of Unstructured data to the Data Network via N6. + * + * Value: "UNSTRUCTURED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_RoamingProtocol_Unstructured; + // ---------------------------------------------------------------------------- // GTLRAndroidManagement_Application.appPricing @@ -813,6 +1259,53 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_Inst */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_InstallType_RequiredForSetup; +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_ApplicationPolicy.preferentialNetworkId + +/** + * Application does not use any preferential network. + * + * Value: "NO_PREFERENTIAL_NETWORK" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_PreferentialNetworkId_NoPreferentialNetwork; +/** + * Preferential network identifier 5. + * + * Value: "PREFERENTIAL_NETWORK_ID_FIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_PreferentialNetworkId_PreferentialNetworkIdFive; +/** + * Preferential network identifier 4. + * + * Value: "PREFERENTIAL_NETWORK_ID_FOUR" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_PreferentialNetworkId_PreferentialNetworkIdFour; +/** + * Preferential network identifier 1. + * + * Value: "PREFERENTIAL_NETWORK_ID_ONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_PreferentialNetworkId_PreferentialNetworkIdOne; +/** + * Preferential network identifier 3. + * + * Value: "PREFERENTIAL_NETWORK_ID_THREE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_PreferentialNetworkId_PreferentialNetworkIdThree; +/** + * Preferential network identifier 2. + * + * Value: "PREFERENTIAL_NETWORK_ID_TWO" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_PreferentialNetworkId_PreferentialNetworkIdTwo; +/** + * Whether this value is valid and what it means depends on where it is used, + * and this is documented on the relevant fields. + * + * Value: "PREFERENTIAL_NETWORK_ID_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_PreferentialNetworkId_PreferentialNetworkIdUnspecified; + // ---------------------------------------------------------------------------- // GTLRAndroidManagement_ApplicationPolicy.userControlSettings @@ -1094,6 +1587,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Command_Type_Reboot; * Value: "RELINQUISH_OWNERSHIP" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Command_Type_RelinquishOwnership; +/** + * Request information related to the device. + * + * Value: "REQUEST_DEVICE_INFO" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Command_Type_RequestDeviceInfo; /** * Reset the user's password. * @@ -2577,6 +3076,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetail_No * Value: "PENDING" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_Pending; +/** + * The Google Cloud Platform project used to manage the device is not permitted + * to use this policy. + * + * Value: "PROJECT_NOT_PERMITTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_ProjectNotPermitted; /** * The policy is not supported by the version of Android Device Policy on the * device. @@ -2656,6 +3162,16 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetail_Sp * Value: "PASSWORD_POLICIES_USER_CREDENTIALS_CONFIRMATION_REQUIRED" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_PasswordPoliciesUserCredentialsConfirmationRequired; +/** + * This policy setting is restricted and cannot be set for this Google Cloud + * Platform project. More details (including how to enable usage of this policy + * setting) are available in the Permissible Usage policy + * (https://developers.google.com/android/management/permissible-usage). + * nonComplianceReason is set to PROJECT_NOT_PERMITTED. + * + * Value: "PERMISSIBLE_USAGE_RESTRICTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_PermissibleUsageRestriction; /** * Specific non-compliance reason is not specified. Fields in * specific_non_compliance_context are not set. @@ -2732,6 +3248,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetailCon * Value: "PENDING" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetailCondition_NonComplianceReason_Pending; +/** + * The Google Cloud Platform project used to manage the device is not permitted + * to use this policy. + * + * Value: "PROJECT_NOT_PERMITTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetailCondition_NonComplianceReason_ProjectNotPermitted; /** * The policy is not supported by the version of Android Device Policy on the * device. @@ -3434,6 +3957,34 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_EncryptionPolic */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_EncryptionPolicy_EncryptionPolicyUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_Policy.enterpriseDisplayNameVisibility + +/** + * The enterprise display name is hidden on the device. + * + * Value: "ENTERPRISE_DISPLAY_NAME_HIDDEN" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_EnterpriseDisplayNameVisibility_EnterpriseDisplayNameHidden; +/** + * Unspecified. Defaults to displaying the enterprise name that's set at the + * time of device setup. In future, this will default to + * ENTERPRISE_DISPLAY_NAME_VISIBLE. + * + * Value: "ENTERPRISE_DISPLAY_NAME_VISIBILITY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_EnterpriseDisplayNameVisibility_EnterpriseDisplayNameVisibilityUnspecified; +/** + * The enterprise display name is visible on the device. Supported on work + * profiles on Android 7 and above. Supported on fully managed devices on + * Android 8 and above. A nonComplianceDetail with API_LEVEL is reported if the + * Android version is less than 7. A nonComplianceDetail with MANAGEMENT_MODE + * is reported on fully managed devices on Android 7. + * + * Value: "ENTERPRISE_DISPLAY_NAME_VISIBLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_EnterpriseDisplayNameVisibility_EnterpriseDisplayNameVisible; + // ---------------------------------------------------------------------------- // GTLRAndroidManagement_Policy.keyguardDisabledFeatures @@ -3641,7 +4192,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_PlayStoreMode_W */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_PreferentialNetworkService_PreferentialNetworkServiceDisabled; /** - * Preferential network service is enabled on the work profile. + * Preferential network service is enabled on the work profile. This setting is + * only supported on work profiles on devices running Android 12 or above. + * Starting with Android 13, fully managed devices are also supported. * * Value: "PREFERENTIAL_NETWORK_SERVICE_ENABLED" */ @@ -3789,6 +4342,152 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PowerManagementEvent_E */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PowerManagementEvent_EventType_Shutdown; +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_PreferentialNetworkServiceConfig.fallbackToDefaultConnection + +/** + * Fallback to default connection is allowed. If this is set, + * nonMatchingNetworks must not be set to NON_MATCHING_NETWORKS_DISALLOWED, the + * policy will be rejected otherwise. + * + * Value: "FALLBACK_TO_DEFAULT_CONNECTION_ALLOWED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceConfig_FallbackToDefaultConnection_FallbackToDefaultConnectionAllowed; +/** + * Fallback to default connection is not allowed. + * + * Value: "FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceConfig_FallbackToDefaultConnection_FallbackToDefaultConnectionDisallowed; +/** + * Unspecified. Defaults to FALLBACK_TO_DEFAULT_CONNECTION_ALLOWED. + * + * Value: "FALLBACK_TO_DEFAULT_CONNECTION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceConfig_FallbackToDefaultConnection_FallbackToDefaultConnectionUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_PreferentialNetworkServiceConfig.nonMatchingNetworks + +/** + * Apps this configuration applies to are allowed to use networks other than + * the preferential service. + * + * Value: "NON_MATCHING_NETWORKS_ALLOWED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceConfig_NonMatchingNetworks_NonMatchingNetworksAllowed; +/** + * Apps this configuration applies to are disallowed from using other networks + * than the preferential service. This can be set on Android 14 and above. A + * nonComplianceDetail with API_LEVEL is reported if the Android version is + * less than 14. If this is set, fallbackToDefaultConnection must be set to + * FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED, the policy will be rejected + * otherwise. + * + * Value: "NON_MATCHING_NETWORKS_DISALLOWED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceConfig_NonMatchingNetworks_NonMatchingNetworksDisallowed; +/** + * Unspecified. Defaults to NON_MATCHING_NETWORKS_ALLOWED. + * + * Value: "NON_MATCHING_NETWORKS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceConfig_NonMatchingNetworks_NonMatchingNetworksUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_PreferentialNetworkServiceConfig.preferentialNetworkId + +/** + * Application does not use any preferential network. + * + * Value: "NO_PREFERENTIAL_NETWORK" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceConfig_PreferentialNetworkId_NoPreferentialNetwork; +/** + * Preferential network identifier 5. + * + * Value: "PREFERENTIAL_NETWORK_ID_FIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceConfig_PreferentialNetworkId_PreferentialNetworkIdFive; +/** + * Preferential network identifier 4. + * + * Value: "PREFERENTIAL_NETWORK_ID_FOUR" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceConfig_PreferentialNetworkId_PreferentialNetworkIdFour; +/** + * Preferential network identifier 1. + * + * Value: "PREFERENTIAL_NETWORK_ID_ONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceConfig_PreferentialNetworkId_PreferentialNetworkIdOne; +/** + * Preferential network identifier 3. + * + * Value: "PREFERENTIAL_NETWORK_ID_THREE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceConfig_PreferentialNetworkId_PreferentialNetworkIdThree; +/** + * Preferential network identifier 2. + * + * Value: "PREFERENTIAL_NETWORK_ID_TWO" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceConfig_PreferentialNetworkId_PreferentialNetworkIdTwo; +/** + * Whether this value is valid and what it means depends on where it is used, + * and this is documented on the relevant fields. + * + * Value: "PREFERENTIAL_NETWORK_ID_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceConfig_PreferentialNetworkId_PreferentialNetworkIdUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_PreferentialNetworkServiceSettings.defaultPreferentialNetworkId + +/** + * Application does not use any preferential network. + * + * Value: "NO_PREFERENTIAL_NETWORK" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceSettings_DefaultPreferentialNetworkId_NoPreferentialNetwork; +/** + * Preferential network identifier 5. + * + * Value: "PREFERENTIAL_NETWORK_ID_FIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceSettings_DefaultPreferentialNetworkId_PreferentialNetworkIdFive; +/** + * Preferential network identifier 4. + * + * Value: "PREFERENTIAL_NETWORK_ID_FOUR" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceSettings_DefaultPreferentialNetworkId_PreferentialNetworkIdFour; +/** + * Preferential network identifier 1. + * + * Value: "PREFERENTIAL_NETWORK_ID_ONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceSettings_DefaultPreferentialNetworkId_PreferentialNetworkIdOne; +/** + * Preferential network identifier 3. + * + * Value: "PREFERENTIAL_NETWORK_ID_THREE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceSettings_DefaultPreferentialNetworkId_PreferentialNetworkIdThree; +/** + * Preferential network identifier 2. + * + * Value: "PREFERENTIAL_NETWORK_ID_TWO" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceSettings_DefaultPreferentialNetworkId_PreferentialNetworkIdTwo; +/** + * Whether this value is valid and what it means depends on where it is used, + * and this is documented on the relevant fields. + * + * Value: "PREFERENTIAL_NETWORK_ID_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PreferentialNetworkServiceSettings_DefaultPreferentialNetworkId_PreferentialNetworkIdUnspecified; + // ---------------------------------------------------------------------------- // GTLRAndroidManagement_ProvisioningInfo.managementMode @@ -4841,6 +5540,269 @@ GTLR_DEPRECATED @end +/** + * Access Point Name (APN) policy. Configuration for Access Point Names (APNs) + * which may override any other APNs on the device. See OVERRIDE_APNS_ENABLED + * and overrideApns for details. + */ +@interface GTLRAndroidManagement_ApnPolicy : GTLRObject + +/** + * Optional. APN settings for override APNs. There must not be any conflict + * between any of APN settings provided, otherwise the policy will be rejected. + * Two ApnSettings are considered to conflict when all of the following fields + * match on both: numericOperatorId, apn, proxyAddress, proxyPort, + * mmsProxyAddress, mmsProxyPort, mmsc, mvnoType, protocol, roamingProtocol. If + * some of the APN settings result in non-compliance of INVALID_VALUE , they + * will be ignored. This can be set on fully managed devices on Android 10 and + * above. This can also be set on work profiles on Android 13 and above and + * only with ApnSetting's with ENTERPRISE APN type. A nonComplianceDetail with + * API_LEVEL is reported if the Android version is less than 10. A + * nonComplianceDetail with MANAGEMENT_MODE is reported for work profiles on + * Android versions less than 13. + */ +@property(nonatomic, strong, nullable) NSArray *apnSettings; + +/** + * Optional. Whether override APNs are disabled or enabled. See + * DevicePolicyManager.setOverrideApnsEnabled + * (https://developer.android.com/reference/android/app/admin/DevicePolicyManager#setOverrideApnsEnabled) + * for more details. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_ApnPolicy_OverrideApns_OverrideApnsDisabled + * Override APNs disabled. Any configured apnSettings are saved on the + * device, but are disabled and have no effect. Any other APNs on the + * device remain in use. (Value: "OVERRIDE_APNS_DISABLED") + * @arg @c kGTLRAndroidManagement_ApnPolicy_OverrideApns_OverrideApnsEnabled + * Override APNs enabled. Only override APNs are in use, any other APNs + * are ignored. This can only be set on fully managed devices on Android + * 10 and above. For work profiles override APNs are enabled via + * preferentialNetworkServiceSettings and this value cannot be set. A + * nonComplianceDetail with API_LEVEL is reported if the Android version + * is less than 10. A nonComplianceDetail with MANAGEMENT_MODE is + * reported for work profiles. (Value: "OVERRIDE_APNS_ENABLED") + * @arg @c kGTLRAndroidManagement_ApnPolicy_OverrideApns_OverrideApnsUnspecified + * Unspecified. Defaults to OVERRIDE_APNS_DISABLED. (Value: + * "OVERRIDE_APNS_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *overrideApns; + +@end + + +/** + * An Access Point Name (APN) configuration for a carrier data connection. The + * APN provides configuration to connect a cellular network device to an IP + * data network. A carrier uses this setting to decide which IP address to + * assign, any security methods to apply, and how the device might be connected + * to private networks. + */ +@interface GTLRAndroidManagement_ApnSetting : GTLRObject + +/** + * Optional. Whether User Plane resources have to be activated during every + * transition from CM-IDLE mode to CM-CONNECTED state for this APN. See 3GPP TS + * 23.501 section 5.6.13. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_ApnSetting_AlwaysOnSetting_AlwaysOn The PDU + * session brought up by this APN should always be on. Supported on + * Android 15 and above. A nonComplianceDetail with API_LEVEL is reported + * if the Android version is less than 15. (Value: "ALWAYS_ON") + * @arg @c kGTLRAndroidManagement_ApnSetting_AlwaysOnSetting_AlwaysOnSettingUnspecified + * Unspecified. Defaults to NOT_ALWAYS_ON. (Value: + * "ALWAYS_ON_SETTING_UNSPECIFIED") + * @arg @c kGTLRAndroidManagement_ApnSetting_AlwaysOnSetting_NotAlwaysOn The + * PDU session brought up by this APN should not be always on. (Value: + * "NOT_ALWAYS_ON") + */ +@property(nonatomic, copy, nullable) NSString *alwaysOnSetting; + +/** + * Required. Name of the APN. Policy will be rejected if this field is empty. + */ +@property(nonatomic, copy, nullable) NSString *apn; + +/** + * Required. Usage categories for the APN. Policy will be rejected if this + * field is empty or contains APN_TYPE_UNSPECIFIED or duplicates. Multiple APN + * types can be set on fully managed devices. ENTERPRISE is the only allowed + * APN type on work profiles. A nonComplianceDetail with MANAGEMENT_MODE is + * reported for any other value on work profiles. APN types that are not + * supported on the device or management mode will be ignored. If this results + * in the empty list, the APN setting will be ignored, because apnTypes is a + * required field. A nonComplianceDetail with INVALID_VALUE is reported if none + * of the APN types are supported on the device or management mode. + */ +@property(nonatomic, strong, nullable) NSArray *apnTypes; + +/** + * Optional. Authentication type of the APN. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_ApnSetting_AuthType_AuthTypeUnspecified + * Unspecified. If username is empty, defaults to NONE. Otherwise, + * defaults to PAP_OR_CHAP. (Value: "AUTH_TYPE_UNSPECIFIED") + * @arg @c kGTLRAndroidManagement_ApnSetting_AuthType_Chap Authentication + * type for CHAP. (Value: "CHAP") + * @arg @c kGTLRAndroidManagement_ApnSetting_AuthType_None Authentication is + * not required. (Value: "NONE") + * @arg @c kGTLRAndroidManagement_ApnSetting_AuthType_Pap Authentication type + * for PAP. (Value: "PAP") + * @arg @c kGTLRAndroidManagement_ApnSetting_AuthType_PapOrChap + * Authentication type for PAP or CHAP. (Value: "PAP_OR_CHAP") + */ +@property(nonatomic, copy, nullable) NSString *authType; + +/** + * Optional. Carrier ID for the APN. A value of 0 (default) means not set and + * negative values are rejected. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *carrierId; + +/** + * Required. Human-readable name that describes the APN. Policy will be + * rejected if this field is empty. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** Optional. MMSC (Multimedia Messaging Service Center) URI of the APN. */ +@property(nonatomic, copy, nullable) NSString *mmsc; + +/** + * Optional. MMS (Multimedia Messaging Service) proxy address of the APN which + * can be an IP address or hostname (not a URL). + */ +@property(nonatomic, copy, nullable) NSString *mmsProxyAddress; + +/** + * Optional. MMS (Multimedia Messaging Service) proxy port of the APN. A value + * of 0 (default) means not set and negative values are rejected. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *mmsProxyPort; + +/** + * Optional. The default MTU (Maximum Transmission Unit) size in bytes of the + * IPv4 routes brought up by this APN setting. A value of 0 (default) means not + * set and negative values are rejected. Supported on Android 13 and above. A + * nonComplianceDetail with API_LEVEL is reported if the Android version is + * less than 13. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *mtuV4; + +/** + * Optional. The MTU (Maximum Transmission Unit) size of the IPv6 mobile + * interface to which the APN connected. A value of 0 (default) means not set + * and negative values are rejected. Supported on Android 13 and above. A + * nonComplianceDetail with API_LEVEL is reported if the Android version is + * less than 13. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *mtuV6; + +/** + * Optional. MVNO match type for the APN. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_ApnSetting_MvnoType_Gid MVNO type for group + * identifier level 1. (Value: "GID") + * @arg @c kGTLRAndroidManagement_ApnSetting_MvnoType_Iccid MVNO type for + * ICCID. (Value: "ICCID") + * @arg @c kGTLRAndroidManagement_ApnSetting_MvnoType_Imsi MVNO type for + * IMSI. (Value: "IMSI") + * @arg @c kGTLRAndroidManagement_ApnSetting_MvnoType_MvnoTypeUnspecified The + * MVNO type is not specified. (Value: "MVNO_TYPE_UNSPECIFIED") + * @arg @c kGTLRAndroidManagement_ApnSetting_MvnoType_Spn MVNO type for SPN + * (service provider name). (Value: "SPN") + */ +@property(nonatomic, copy, nullable) NSString *mvnoType; + +/** + * Optional. Radio technologies (network types) the APN may use. Policy will be + * rejected if this field contains NETWORK_TYPE_UNSPECIFIED or duplicates. + */ +@property(nonatomic, strong, nullable) NSArray *networkTypes; + +/** + * Optional. The numeric operator ID of the APN. Numeric operator ID is defined + * as MCC (Mobile Country Code) + MNC (Mobile Network Code). + */ +@property(nonatomic, copy, nullable) NSString *numericOperatorId; + +/** Optional. APN password of the APN. */ +@property(nonatomic, copy, nullable) NSString *password; + +/** + * Optional. The protocol to use to connect to this APN. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_ApnSetting_Protocol_Ip Internet protocol. + * (Value: "IP") + * @arg @c kGTLRAndroidManagement_ApnSetting_Protocol_Ipv4v6 Virtual PDP type + * introduced to handle dual IP stack UE capability. (Value: "IPV4V6") + * @arg @c kGTLRAndroidManagement_ApnSetting_Protocol_Ipv6 Internet protocol, + * version 6. (Value: "IPV6") + * @arg @c kGTLRAndroidManagement_ApnSetting_Protocol_NonIp Transfer of + * Non-IP data to external packet data network. (Value: "NON_IP") + * @arg @c kGTLRAndroidManagement_ApnSetting_Protocol_Ppp Point to point + * protocol. (Value: "PPP") + * @arg @c kGTLRAndroidManagement_ApnSetting_Protocol_ProtocolUnspecified The + * protocol is not specified. (Value: "PROTOCOL_UNSPECIFIED") + * @arg @c kGTLRAndroidManagement_ApnSetting_Protocol_Unstructured Transfer + * of Unstructured data to the Data Network via N6. (Value: + * "UNSTRUCTURED") + */ +@property(nonatomic, copy, nullable) NSString *protocol; + +/** Optional. The proxy address of the APN. */ +@property(nonatomic, copy, nullable) NSString *proxyAddress; + +/** + * Optional. The proxy port of the APN. A value of 0 (default) means not set + * and negative values are rejected. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *proxyPort; + +/** + * Optional. The protocol to use to connect to this APN while the device is + * roaming. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_ApnSetting_RoamingProtocol_Ip Internet + * protocol. (Value: "IP") + * @arg @c kGTLRAndroidManagement_ApnSetting_RoamingProtocol_Ipv4v6 Virtual + * PDP type introduced to handle dual IP stack UE capability. (Value: + * "IPV4V6") + * @arg @c kGTLRAndroidManagement_ApnSetting_RoamingProtocol_Ipv6 Internet + * protocol, version 6. (Value: "IPV6") + * @arg @c kGTLRAndroidManagement_ApnSetting_RoamingProtocol_NonIp Transfer + * of Non-IP data to external packet data network. (Value: "NON_IP") + * @arg @c kGTLRAndroidManagement_ApnSetting_RoamingProtocol_Ppp Point to + * point protocol. (Value: "PPP") + * @arg @c kGTLRAndroidManagement_ApnSetting_RoamingProtocol_ProtocolUnspecified + * The protocol is not specified. (Value: "PROTOCOL_UNSPECIFIED") + * @arg @c kGTLRAndroidManagement_ApnSetting_RoamingProtocol_Unstructured + * Transfer of Unstructured data to the Data Network via N6. (Value: + * "UNSTRUCTURED") + */ +@property(nonatomic, copy, nullable) NSString *roamingProtocol; + +/** Optional. APN username of the APN. */ +@property(nonatomic, copy, nullable) NSString *username; + +@end + + /** * Information about an app. */ @@ -5311,6 +6273,42 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSArray *permissionGrants; +/** + * Optional. ID of the preferential network the application uses. There must be + * a configuration for the specified network ID in + * preferentialNetworkServiceConfigs. If set to + * PREFERENTIAL_NETWORK_ID_UNSPECIFIED, the application will use the default + * network ID specified in defaultPreferentialNetworkId. See the documentation + * of defaultPreferentialNetworkId for the list of apps excluded from this + * defaulting. This applies on both work profiles and fully managed devices on + * Android 13 and above. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_ApplicationPolicy_PreferentialNetworkId_NoPreferentialNetwork + * Application does not use any preferential network. (Value: + * "NO_PREFERENTIAL_NETWORK") + * @arg @c kGTLRAndroidManagement_ApplicationPolicy_PreferentialNetworkId_PreferentialNetworkIdFive + * Preferential network identifier 5. (Value: + * "PREFERENTIAL_NETWORK_ID_FIVE") + * @arg @c kGTLRAndroidManagement_ApplicationPolicy_PreferentialNetworkId_PreferentialNetworkIdFour + * Preferential network identifier 4. (Value: + * "PREFERENTIAL_NETWORK_ID_FOUR") + * @arg @c kGTLRAndroidManagement_ApplicationPolicy_PreferentialNetworkId_PreferentialNetworkIdOne + * Preferential network identifier 1. (Value: + * "PREFERENTIAL_NETWORK_ID_ONE") + * @arg @c kGTLRAndroidManagement_ApplicationPolicy_PreferentialNetworkId_PreferentialNetworkIdThree + * Preferential network identifier 3. (Value: + * "PREFERENTIAL_NETWORK_ID_THREE") + * @arg @c kGTLRAndroidManagement_ApplicationPolicy_PreferentialNetworkId_PreferentialNetworkIdTwo + * Preferential network identifier 2. (Value: + * "PREFERENTIAL_NETWORK_ID_TWO") + * @arg @c kGTLRAndroidManagement_ApplicationPolicy_PreferentialNetworkId_PreferentialNetworkIdUnspecified + * Whether this value is valid and what it means depends on where it is + * used, and this is documented on the relevant fields. (Value: + * "PREFERENTIAL_NETWORK_ID_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *preferentialNetworkId; + /** * Optional. Specifies whether user control is permitted for the app. User * control includes user actions like force-stopping and clearing app data. @@ -5982,6 +6980,8 @@ GTLR_DEPRECATED * associated with the personal profile(s) are preserved. The device will * be deleted from the server after it acknowledges the command. (Value: * "RELINQUISH_OWNERSHIP") + * @arg @c kGTLRAndroidManagement_Command_Type_RequestDeviceInfo Request + * information related to the device. (Value: "REQUEST_DEVICE_INFO") * @arg @c kGTLRAndroidManagement_Command_Type_ResetPassword Reset the user's * password. (Value: "RESET_PASSWORD") * @arg @c kGTLRAndroidManagement_Command_Type_StartLostMode Puts the device @@ -6696,6 +7696,13 @@ GTLR_DEPRECATED */ @interface GTLRAndroidManagement_DeviceConnectivityManagement : GTLRObject +/** + * Optional. Access Point Name (APN) policy. Configuration for Access Point + * Names (APNs) which may override any other APNs on the device. See + * OVERRIDE_APNS_ENABLED and overrideApns for details. + */ +@property(nonatomic, strong, nullable) GTLRAndroidManagement_ApnPolicy *apnPolicy; + /** * Optional. Controls whether Bluetooth sharing is allowed. * @@ -6753,6 +7760,13 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *configureWifi; +/** + * Optional. Preferential network service configuration. Setting this field + * will override preferentialNetworkService. This can be set on both work + * profiles and fully managed devices on Android 13 and above. + */ +@property(nonatomic, strong, nullable) GTLRAndroidManagement_PreferentialNetworkServiceSettings *preferentialNetworkServiceSettings; + /** * Controls tethering settings. Based on the value set, the user is partially * or fully disallowed from using different forms of tethering. @@ -8876,6 +9890,9 @@ GTLR_DEPRECATED * @arg @c kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_Pending * The setting hasn't been applied at the time of the report, but is * expected to be applied shortly. (Value: "PENDING") + * @arg @c kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_ProjectNotPermitted + * The Google Cloud Platform project used to manage the device is not + * permitted to use this policy. (Value: "PROJECT_NOT_PERMITTED") * @arg @c kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_Unsupported * The policy is not supported by the version of Android Device Policy on * the device. (Value: "UNSUPPORTED") @@ -8942,6 +9959,13 @@ GTLR_DEPRECATED * in specific_non_compliance_context are not set. nonComplianceReason is * set to USER_ACTION. (Value: * "PASSWORD_POLICIES_USER_CREDENTIALS_CONFIRMATION_REQUIRED") + * @arg @c kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_PermissibleUsageRestriction + * This policy setting is restricted and cannot be set for this Google + * Cloud Platform project. More details (including how to enable usage of + * this policy setting) are available in the Permissible Usage policy + * (https://developers.google.com/android/management/permissible-usage). + * nonComplianceReason is set to PROJECT_NOT_PERMITTED. (Value: + * "PERMISSIBLE_USAGE_RESTRICTION") * @arg @c kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_SpecificNonComplianceReasonUnspecified * Specific non-compliance reason is not specified. Fields in * specific_non_compliance_context are not set. (Value: @@ -8995,6 +10019,9 @@ GTLR_DEPRECATED * @arg @c kGTLRAndroidManagement_NonComplianceDetailCondition_NonComplianceReason_Pending * The setting hasn't been applied at the time of the report, but is * expected to be applied shortly. (Value: "PENDING") + * @arg @c kGTLRAndroidManagement_NonComplianceDetailCondition_NonComplianceReason_ProjectNotPermitted + * The Google Cloud Platform project used to manage the device is not + * permitted to use this policy. (Value: "PROJECT_NOT_PERMITTED") * @arg @c kGTLRAndroidManagement_NonComplianceDetailCondition_NonComplianceReason_Unsupported * The policy is not supported by the version of Android Device Policy on * the device. (Value: "UNSUPPORTED") @@ -10006,6 +11033,29 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSNumber *ensureVerifyAppsEnabled GTLR_DEPRECATED; +/** + * Optional. Controls whether the enterpriseDisplayName is visible on the + * device (e.g. lock screen message on company-owned devices). + * + * Likely values: + * @arg @c kGTLRAndroidManagement_Policy_EnterpriseDisplayNameVisibility_EnterpriseDisplayNameHidden + * The enterprise display name is hidden on the device. (Value: + * "ENTERPRISE_DISPLAY_NAME_HIDDEN") + * @arg @c kGTLRAndroidManagement_Policy_EnterpriseDisplayNameVisibility_EnterpriseDisplayNameVisibilityUnspecified + * Unspecified. Defaults to displaying the enterprise name that's set at + * the time of device setup. In future, this will default to + * ENTERPRISE_DISPLAY_NAME_VISIBLE. (Value: + * "ENTERPRISE_DISPLAY_NAME_VISIBILITY_UNSPECIFIED") + * @arg @c kGTLRAndroidManagement_Policy_EnterpriseDisplayNameVisibility_EnterpriseDisplayNameVisible + * The enterprise display name is visible on the device. Supported on + * work profiles on Android 7 and above. Supported on fully managed + * devices on Android 8 and above. A nonComplianceDetail with API_LEVEL + * is reported if the Android version is less than 7. A + * nonComplianceDetail with MANAGEMENT_MODE is reported on fully managed + * devices on Android 7. (Value: "ENTERPRISE_DISPLAY_NAME_VISIBLE") + */ +@property(nonatomic, copy, nullable) NSString *enterpriseDisplayNameVisibility; + /** * Whether factory resetting from settings is disabled. * @@ -10300,20 +11350,25 @@ GTLR_DEPRECATED @property(nonatomic, strong, nullable) NSArray *policyEnforcementRules; /** - * Controls whether preferential network service is enabled on the work - * profile. For example, an organization may have an agreement with a carrier - * that all of the work data from its employees' devices will be sent via a - * network service dedicated for enterprise use. An example of a supported - * preferential network service is the enterprise slice on 5G networks. This - * has no effect on fully managed devices. + * Controls whether preferential network service is enabled on the work profile + * or on fully managed devices. For example, an organization may have an + * agreement with a carrier that all of the work data from its employees' + * devices will be sent via a network service dedicated for enterprise use. An + * example of a supported preferential network service is the enterprise slice + * on 5G networks. This policy has no effect if + * preferentialNetworkServiceSettings or + * ApplicationPolicy.preferentialNetworkId is set on devices running Android 13 + * or above. * * Likely values: * @arg @c kGTLRAndroidManagement_Policy_PreferentialNetworkService_PreferentialNetworkServiceDisabled * Preferential network service is disabled on the work profile. (Value: * "PREFERENTIAL_NETWORK_SERVICE_DISABLED") * @arg @c kGTLRAndroidManagement_Policy_PreferentialNetworkService_PreferentialNetworkServiceEnabled - * Preferential network service is enabled on the work profile. (Value: - * "PREFERENTIAL_NETWORK_SERVICE_ENABLED") + * Preferential network service is enabled on the work profile. This + * setting is only supported on work profiles on devices running Android + * 12 or above. Starting with Android 13, fully managed devices are also + * supported. (Value: "PREFERENTIAL_NETWORK_SERVICE_ENABLED") * @arg @c kGTLRAndroidManagement_Policy_PreferentialNetworkService_PreferentialNetworkServiceUnspecified * Unspecified. Defaults to PREFERENTIAL_NETWORK_SERVICES_DISABLED. * (Value: "PREFERENTIAL_NETWORK_SERVICE_UNSPECIFIED") @@ -10675,6 +11730,153 @@ GTLR_DEPRECATED @end +/** + * Individual preferential network service configuration. + */ +@interface GTLRAndroidManagement_PreferentialNetworkServiceConfig : GTLRObject + +/** + * Optional. Whether fallback to the device-wide default network is allowed. If + * this is set to FALLBACK_TO_DEFAULT_CONNECTION_ALLOWED, then + * nonMatchingNetworks must not be set to NON_MATCHING_NETWORKS_DISALLOWED, the + * policy will be rejected otherwise. Note: If this is set to + * FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED, applications are not able to + * access the internet if the 5G slice is not available. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_PreferentialNetworkServiceConfig_FallbackToDefaultConnection_FallbackToDefaultConnectionAllowed + * Fallback to default connection is allowed. If this is set, + * nonMatchingNetworks must not be set to + * NON_MATCHING_NETWORKS_DISALLOWED, the policy will be rejected + * otherwise. (Value: "FALLBACK_TO_DEFAULT_CONNECTION_ALLOWED") + * @arg @c kGTLRAndroidManagement_PreferentialNetworkServiceConfig_FallbackToDefaultConnection_FallbackToDefaultConnectionDisallowed + * Fallback to default connection is not allowed. (Value: + * "FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED") + * @arg @c kGTLRAndroidManagement_PreferentialNetworkServiceConfig_FallbackToDefaultConnection_FallbackToDefaultConnectionUnspecified + * Unspecified. Defaults to FALLBACK_TO_DEFAULT_CONNECTION_ALLOWED. + * (Value: "FALLBACK_TO_DEFAULT_CONNECTION_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *fallbackToDefaultConnection; + +/** + * Optional. Whether apps this configuration applies to are blocked from using + * networks other than the preferential service. If this is set to + * NON_MATCHING_NETWORKS_DISALLOWED, then fallbackToDefaultConnection must be + * set to FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_PreferentialNetworkServiceConfig_NonMatchingNetworks_NonMatchingNetworksAllowed + * Apps this configuration applies to are allowed to use networks other + * than the preferential service. (Value: + * "NON_MATCHING_NETWORKS_ALLOWED") + * @arg @c kGTLRAndroidManagement_PreferentialNetworkServiceConfig_NonMatchingNetworks_NonMatchingNetworksDisallowed + * Apps this configuration applies to are disallowed from using other + * networks than the preferential service. This can be set on Android 14 + * and above. A nonComplianceDetail with API_LEVEL is reported if the + * Android version is less than 14. If this is set, + * fallbackToDefaultConnection must be set to + * FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED, the policy will be rejected + * otherwise. (Value: "NON_MATCHING_NETWORKS_DISALLOWED") + * @arg @c kGTLRAndroidManagement_PreferentialNetworkServiceConfig_NonMatchingNetworks_NonMatchingNetworksUnspecified + * Unspecified. Defaults to NON_MATCHING_NETWORKS_ALLOWED. (Value: + * "NON_MATCHING_NETWORKS_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *nonMatchingNetworks; + +/** + * Required. Preferential network identifier. This must not be set to + * NO_PREFERENTIAL_NETWORK or PREFERENTIAL_NETWORK_ID_UNSPECIFIED, the policy + * will be rejected otherwise. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_PreferentialNetworkServiceConfig_PreferentialNetworkId_NoPreferentialNetwork + * Application does not use any preferential network. (Value: + * "NO_PREFERENTIAL_NETWORK") + * @arg @c kGTLRAndroidManagement_PreferentialNetworkServiceConfig_PreferentialNetworkId_PreferentialNetworkIdFive + * Preferential network identifier 5. (Value: + * "PREFERENTIAL_NETWORK_ID_FIVE") + * @arg @c kGTLRAndroidManagement_PreferentialNetworkServiceConfig_PreferentialNetworkId_PreferentialNetworkIdFour + * Preferential network identifier 4. (Value: + * "PREFERENTIAL_NETWORK_ID_FOUR") + * @arg @c kGTLRAndroidManagement_PreferentialNetworkServiceConfig_PreferentialNetworkId_PreferentialNetworkIdOne + * Preferential network identifier 1. (Value: + * "PREFERENTIAL_NETWORK_ID_ONE") + * @arg @c kGTLRAndroidManagement_PreferentialNetworkServiceConfig_PreferentialNetworkId_PreferentialNetworkIdThree + * Preferential network identifier 3. (Value: + * "PREFERENTIAL_NETWORK_ID_THREE") + * @arg @c kGTLRAndroidManagement_PreferentialNetworkServiceConfig_PreferentialNetworkId_PreferentialNetworkIdTwo + * Preferential network identifier 2. (Value: + * "PREFERENTIAL_NETWORK_ID_TWO") + * @arg @c kGTLRAndroidManagement_PreferentialNetworkServiceConfig_PreferentialNetworkId_PreferentialNetworkIdUnspecified + * Whether this value is valid and what it means depends on where it is + * used, and this is documented on the relevant fields. (Value: + * "PREFERENTIAL_NETWORK_ID_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *preferentialNetworkId; + +@end + + +/** + * Preferential network service settings. + */ +@interface GTLRAndroidManagement_PreferentialNetworkServiceSettings : GTLRObject + +/** + * Required. Default preferential network ID for the applications that are not + * in applications or if ApplicationPolicy.preferentialNetworkId is set to + * PREFERENTIAL_NETWORK_ID_UNSPECIFIED. There must be a configuration for the + * specified network ID in preferentialNetworkServiceConfigs, unless this is + * set to NO_PREFERENTIAL_NETWORK. If set to + * PREFERENTIAL_NETWORK_ID_UNSPECIFIED or unset, this defaults to + * NO_PREFERENTIAL_NETWORK. Note: If the default preferential network is + * misconfigured, applications with no ApplicationPolicy.preferentialNetworkId + * set are not able to access the internet. This setting does not apply to the + * following critical apps: com.google.android.apps.work.clouddpc + * com.google.android.gmsApplicationPolicy.preferentialNetworkId can still be + * used to configure the preferential network for them. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_PreferentialNetworkServiceSettings_DefaultPreferentialNetworkId_NoPreferentialNetwork + * Application does not use any preferential network. (Value: + * "NO_PREFERENTIAL_NETWORK") + * @arg @c kGTLRAndroidManagement_PreferentialNetworkServiceSettings_DefaultPreferentialNetworkId_PreferentialNetworkIdFive + * Preferential network identifier 5. (Value: + * "PREFERENTIAL_NETWORK_ID_FIVE") + * @arg @c kGTLRAndroidManagement_PreferentialNetworkServiceSettings_DefaultPreferentialNetworkId_PreferentialNetworkIdFour + * Preferential network identifier 4. (Value: + * "PREFERENTIAL_NETWORK_ID_FOUR") + * @arg @c kGTLRAndroidManagement_PreferentialNetworkServiceSettings_DefaultPreferentialNetworkId_PreferentialNetworkIdOne + * Preferential network identifier 1. (Value: + * "PREFERENTIAL_NETWORK_ID_ONE") + * @arg @c kGTLRAndroidManagement_PreferentialNetworkServiceSettings_DefaultPreferentialNetworkId_PreferentialNetworkIdThree + * Preferential network identifier 3. (Value: + * "PREFERENTIAL_NETWORK_ID_THREE") + * @arg @c kGTLRAndroidManagement_PreferentialNetworkServiceSettings_DefaultPreferentialNetworkId_PreferentialNetworkIdTwo + * Preferential network identifier 2. (Value: + * "PREFERENTIAL_NETWORK_ID_TWO") + * @arg @c kGTLRAndroidManagement_PreferentialNetworkServiceSettings_DefaultPreferentialNetworkId_PreferentialNetworkIdUnspecified + * Whether this value is valid and what it means depends on where it is + * used, and this is documented on the relevant fields. (Value: + * "PREFERENTIAL_NETWORK_ID_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *defaultPreferentialNetworkId; + +/** + * Required. Preferential network service configurations which enables having + * multiple enterprise slices. There must not be multiple configurations with + * the same preferentialNetworkId. If a configuration is not referenced by any + * application by setting ApplicationPolicy.preferentialNetworkId or by setting + * defaultPreferentialNetworkId, it will be ignored. For devices on 4G + * networks, enterprise APN needs to be configured additionally to set up data + * call for preferential network service. These APNs can be added using + * apnPolicy. + */ +@property(nonatomic, strong, nullable) NSArray *preferentialNetworkServiceConfigs; + +@end + + /** * Information about a device that is available during setup. */ diff --git a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h index 4e9e9da7d..af145c293 100644 --- a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h +++ b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h @@ -209,9 +209,10 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagementWipeDataFlagsWipeExtern @end /** - * Deletes a device. This operation wipes the device. Deleted devices do not - * show up in enterprises.devices.list calls and a 404 is returned from - * enterprises.devices.get. + * Deletes a device. This operation attempts to wipe the device but this is not + * guaranteed to succeed if the device is offline for an extended period. + * Deleted devices do not show up in enterprises.devices.list calls and a 404 + * is returned from enterprises.devices.get. * * Method: androidmanagement.enterprises.devices.delete * @@ -251,9 +252,10 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagementWipeDataFlagsWipeExtern /** * Fetches a @c GTLRAndroidManagement_Empty. * - * Deletes a device. This operation wipes the device. Deleted devices do not - * show up in enterprises.devices.list calls and a 404 is returned from - * enterprises.devices.get. + * Deletes a device. This operation attempts to wipe the device but this is not + * guaranteed to succeed if the device is offline for an extended period. + * Deleted devices do not show up in enterprises.devices.list calls and a 404 + * is returned from enterprises.devices.get. * * @param name The name of the device in the form * enterprises/{enterpriseId}/devices/{deviceId}. diff --git a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m index 00b20f411..8e367573e 100644 --- a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m +++ b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m @@ -177,6 +177,20 @@ NSString * const kGTLRAndroidPublisher_ModuleMetadata_ModuleType_FeatureModule = @"FEATURE_MODULE"; NSString * const kGTLRAndroidPublisher_ModuleMetadata_ModuleType_UnknownModuleType = @"UNKNOWN_MODULE_TYPE"; +// GTLRAndroidPublisher_Order.state +NSString * const kGTLRAndroidPublisher_Order_State_Canceled = @"CANCELED"; +NSString * const kGTLRAndroidPublisher_Order_State_PartiallyRefunded = @"PARTIALLY_REFUNDED"; +NSString * const kGTLRAndroidPublisher_Order_State_Pending = @"PENDING"; +NSString * const kGTLRAndroidPublisher_Order_State_PendingRefund = @"PENDING_REFUND"; +NSString * const kGTLRAndroidPublisher_Order_State_Processed = @"PROCESSED"; +NSString * const kGTLRAndroidPublisher_Order_State_Refunded = @"REFUNDED"; +NSString * const kGTLRAndroidPublisher_Order_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRAndroidPublisher_PartialRefundEvent.state +NSString * const kGTLRAndroidPublisher_PartialRefundEvent_State_Pending = @"PENDING"; +NSString * const kGTLRAndroidPublisher_PartialRefundEvent_State_ProcessedSuccessfully = @"PROCESSED_SUCCESSFULLY"; +NSString * const kGTLRAndroidPublisher_PartialRefundEvent_State_StateUnspecified = @"STATE_UNSPECIFIED"; + // GTLRAndroidPublisher_PrepaidBasePlanType.timeExtension NSString * const kGTLRAndroidPublisher_PrepaidBasePlanType_TimeExtension_TimeExtensionActive = @"TIME_EXTENSION_ACTIVE"; NSString * const kGTLRAndroidPublisher_PrepaidBasePlanType_TimeExtension_TimeExtensionInactive = @"TIME_EXTENSION_INACTIVE"; @@ -187,6 +201,11 @@ NSString * const kGTLRAndroidPublisher_RecurringExternalTransaction_MigratedTransactionProgram_ExternalTransactionProgramUnspecified = @"EXTERNAL_TRANSACTION_PROGRAM_UNSPECIFIED"; NSString * const kGTLRAndroidPublisher_RecurringExternalTransaction_MigratedTransactionProgram_UserChoiceBilling = @"USER_CHOICE_BILLING"; +// GTLRAndroidPublisher_RefundEvent.refundReason +NSString * const kGTLRAndroidPublisher_RefundEvent_RefundReason_Chargeback = @"CHARGEBACK"; +NSString * const kGTLRAndroidPublisher_RefundEvent_RefundReason_Other = @"OTHER"; +NSString * const kGTLRAndroidPublisher_RefundEvent_RefundReason_RefundReasonUnspecified = @"REFUND_REASON_UNSPECIFIED"; + // GTLRAndroidPublisher_RegionalPriceMigrationConfig.priceIncreaseType NSString * const kGTLRAndroidPublisher_RegionalPriceMigrationConfig_PriceIncreaseType_PriceIncreaseTypeOptIn = @"PRICE_INCREASE_TYPE_OPT_IN"; NSString * const kGTLRAndroidPublisher_RegionalPriceMigrationConfig_PriceIncreaseType_PriceIncreaseTypeOptOut = @"PRICE_INCREASE_TYPE_OPT_OUT"; @@ -220,6 +239,12 @@ NSString * const kGTLRAndroidPublisher_ScreenDensity_DensityAlias_Xxhdpi = @"XXHDPI"; NSString * const kGTLRAndroidPublisher_ScreenDensity_DensityAlias_Xxxhdpi = @"XXXHDPI"; +// GTLRAndroidPublisher_SubscriptionDetails.offerPhase +NSString * const kGTLRAndroidPublisher_SubscriptionDetails_OfferPhase_Base = @"BASE"; +NSString * const kGTLRAndroidPublisher_SubscriptionDetails_OfferPhase_FreeTrial = @"FREE_TRIAL"; +NSString * const kGTLRAndroidPublisher_SubscriptionDetails_OfferPhase_Introductory = @"INTRODUCTORY"; +NSString * const kGTLRAndroidPublisher_SubscriptionDetails_OfferPhase_OfferPhaseUnspecified = @"OFFER_PHASE_UNSPECIFIED"; + // GTLRAndroidPublisher_SubscriptionItemPriceChangeDetails.priceChangeMode NSString * const kGTLRAndroidPublisher_SubscriptionItemPriceChangeDetails_PriceChangeMode_OptOutPriceIncrease = @"OPT_OUT_PRICE_INCREASE"; NSString * const kGTLRAndroidPublisher_SubscriptionItemPriceChangeDetails_PriceChangeMode_PriceChangeModeUnspecified = @"PRICE_CHANGE_MODE_UNSPECIFIED"; @@ -687,6 +712,24 @@ @implementation GTLRAndroidPublisher_BasePlan @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchGetOrdersResponse +// + +@implementation GTLRAndroidPublisher_BatchGetOrdersResponse +@dynamic orders; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"orders" : [GTLRAndroidPublisher_Order class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_BatchGetSubscriptionOffersRequest @@ -955,6 +998,16 @@ + (BOOL)isKindValidForClassRegistry { @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BuyerAddress +// + +@implementation GTLRAndroidPublisher_BuyerAddress +@dynamic buyerCountry, buyerPostcode, buyerState; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_CancelAppRecoveryRequest @@ -984,6 +1037,16 @@ @implementation GTLRAndroidPublisher_CanceledStateContext @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_CancellationEvent +// + +@implementation GTLRAndroidPublisher_CancellationEvent +@dynamic eventTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_CancelSurveyResult @@ -1869,6 +1932,17 @@ @implementation GTLRAndroidPublisher_LanguageTargeting @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_LineItem +// + +@implementation GTLRAndroidPublisher_LineItem +@dynamic listingPrice, oneTimePurchaseDetails, paidAppDetails, productId, + productTitle, subscriptionDetails, tax, total; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_ListAppRecoveriesResponse @@ -2202,6 +2276,64 @@ @implementation GTLRAndroidPublisher_OneTimeExternalTransaction @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_OneTimePurchaseDetails +// + +@implementation GTLRAndroidPublisher_OneTimePurchaseDetails +@dynamic offerId, quantity; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_Order +// + +@implementation GTLRAndroidPublisher_Order +@dynamic buyerAddress, createTime, developerRevenueInBuyerCurrency, + lastEventTime, lineItems, orderDetails, orderHistory, orderId, + pointsDetails, purchaseToken, state, tax, total; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"lineItems" : [GTLRAndroidPublisher_LineItem class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_OrderDetails +// + +@implementation GTLRAndroidPublisher_OrderDetails +@dynamic taxInclusive; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_OrderHistory +// + +@implementation GTLRAndroidPublisher_OrderHistory +@dynamic cancellationEvent, partialRefundEvents, processedEvent, refundEvent; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"partialRefundEvents" : [GTLRAndroidPublisher_PartialRefundEvent class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_OtherRecurringProduct @@ -2270,6 +2402,15 @@ @implementation GTLRAndroidPublisher_PageInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_PaidAppDetails +// + +@implementation GTLRAndroidPublisher_PaidAppDetails +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_PartialRefund @@ -2280,6 +2421,16 @@ @implementation GTLRAndroidPublisher_PartialRefund @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_PartialRefundEvent +// + +@implementation GTLRAndroidPublisher_PartialRefundEvent +@dynamic createTime, processTime, refundDetails, state; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_PausedStateContext @@ -2299,6 +2450,17 @@ @implementation GTLRAndroidPublisher_PendingCancellation @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_PointsDetails +// + +@implementation GTLRAndroidPublisher_PointsDetails +@dynamic pointsCouponValue, pointsDiscountRateMicros, pointsOfferId, + pointsSpent; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_PrepaidBasePlanType @@ -2329,6 +2491,16 @@ @implementation GTLRAndroidPublisher_Price @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_ProcessedEvent +// + +@implementation GTLRAndroidPublisher_ProcessedEvent +@dynamic eventTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_ProductPurchase @@ -2371,6 +2543,26 @@ @implementation GTLRAndroidPublisher_RecurringExternalTransaction @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_RefundDetails +// + +@implementation GTLRAndroidPublisher_RefundDetails +@dynamic tax, total; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_RefundEvent +// + +@implementation GTLRAndroidPublisher_RefundEvent +@dynamic eventTime, refundDetails, refundReason; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_RefundExternalTransactionRequest @@ -2605,7 +2797,7 @@ @implementation GTLRAndroidPublisher_ReviewsReplyResponse // @implementation GTLRAndroidPublisher_RevocationContext -@dynamic fullRefund, proratedRefund; +@dynamic fullRefund, itemBasedRefund, proratedRefund; @end @@ -2618,6 +2810,16 @@ @implementation GTLRAndroidPublisher_RevocationContextFullRefund @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_RevocationContextItemBasedRefund +// + +@implementation GTLRAndroidPublisher_RevocationContextItemBasedRefund +@dynamic productId; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_RevocationContextProratedRefund @@ -2829,6 +3031,17 @@ @implementation GTLRAndroidPublisher_SubscriptionDeferralInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_SubscriptionDetails +// + +@implementation GTLRAndroidPublisher_SubscriptionDetails +@dynamic basePlanId, offerId, offerPhase, servicePeriodEndTime, + servicePeriodStartTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_SubscriptionItemPriceChangeDetails diff --git a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m index 1ae100647..46d659f2c 100644 --- a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m +++ b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m @@ -2537,6 +2537,55 @@ + (instancetype)queryWithObject:(GTLRAndroidPublisher_Subscription *)object @end +@implementation GTLRAndroidPublisherQuery_OrdersBatchget + +@dynamic orderIds, packageName; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"orderIds" : [NSString class] + }; + return map; +} + ++ (instancetype)queryWithPackageName:(NSString *)packageName { + NSArray *pathParams = @[ @"packageName" ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/orders:batchGet"; + GTLRAndroidPublisherQuery_OrdersBatchget *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.packageName = packageName; + query.expectedObjectClass = [GTLRAndroidPublisher_BatchGetOrdersResponse class]; + query.loggingName = @"androidpublisher.orders.batchget"; + return query; +} + +@end + +@implementation GTLRAndroidPublisherQuery_OrdersGet + +@dynamic orderId, packageName; + ++ (instancetype)queryWithPackageName:(NSString *)packageName + orderId:(NSString *)orderId { + NSArray *pathParams = @[ + @"orderId", @"packageName" + ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/orders/{orderId}"; + GTLRAndroidPublisherQuery_OrdersGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.packageName = packageName; + query.orderId = orderId; + query.expectedObjectClass = [GTLRAndroidPublisher_Order class]; + query.loggingName = @"androidpublisher.orders.get"; + return query; +} + +@end + @implementation GTLRAndroidPublisherQuery_OrdersRefund @dynamic orderId, packageName, revoke; diff --git a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h index a7d496f97..60eb5b32e 100644 --- a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h +++ b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h @@ -37,7 +37,9 @@ @class GTLRAndroidPublisher_AutoRenewingPlan; @class GTLRAndroidPublisher_BasePlan; @class GTLRAndroidPublisher_Bundle; +@class GTLRAndroidPublisher_BuyerAddress; @class GTLRAndroidPublisher_CanceledStateContext; +@class GTLRAndroidPublisher_CancellationEvent; @class GTLRAndroidPublisher_CancelSurveyResult; @class GTLRAndroidPublisher_Comment; @class GTLRAndroidPublisher_ConvertedOtherRegionsPrice; @@ -87,6 +89,7 @@ @class GTLRAndroidPublisher_InstallmentsBasePlanType; @class GTLRAndroidPublisher_IntroductoryPriceInfo; @class GTLRAndroidPublisher_LanguageTargeting; +@class GTLRAndroidPublisher_LineItem; @class GTLRAndroidPublisher_Listing; @class GTLRAndroidPublisher_LocalizedText; @class GTLRAndroidPublisher_ManagedProductTaxAndComplianceSettings; @@ -102,6 +105,10 @@ @class GTLRAndroidPublisher_OfferTag; @class GTLRAndroidPublisher_OneTimeCode; @class GTLRAndroidPublisher_OneTimeExternalTransaction; +@class GTLRAndroidPublisher_OneTimePurchaseDetails; +@class GTLRAndroidPublisher_Order; +@class GTLRAndroidPublisher_OrderDetails; +@class GTLRAndroidPublisher_OrderHistory; @class GTLRAndroidPublisher_OtherRecurringProduct; @class GTLRAndroidPublisher_OtherRegionsBasePlanConfig; @class GTLRAndroidPublisher_OtherRegionsSubscriptionOfferConfig; @@ -109,13 +116,19 @@ @class GTLRAndroidPublisher_OtherRegionsSubscriptionOfferPhaseFreePriceOverride; @class GTLRAndroidPublisher_OtherRegionsSubscriptionOfferPhasePrices; @class GTLRAndroidPublisher_PageInfo; +@class GTLRAndroidPublisher_PaidAppDetails; @class GTLRAndroidPublisher_PartialRefund; +@class GTLRAndroidPublisher_PartialRefundEvent; @class GTLRAndroidPublisher_PausedStateContext; @class GTLRAndroidPublisher_PendingCancellation; +@class GTLRAndroidPublisher_PointsDetails; @class GTLRAndroidPublisher_PrepaidBasePlanType; @class GTLRAndroidPublisher_PrepaidPlan; @class GTLRAndroidPublisher_Price; +@class GTLRAndroidPublisher_ProcessedEvent; @class GTLRAndroidPublisher_RecurringExternalTransaction; +@class GTLRAndroidPublisher_RefundDetails; +@class GTLRAndroidPublisher_RefundEvent; @class GTLRAndroidPublisher_RegionalBasePlanConfig; @class GTLRAndroidPublisher_RegionalPriceMigrationConfig; @class GTLRAndroidPublisher_RegionalSubscriptionOfferConfig; @@ -133,6 +146,7 @@ @class GTLRAndroidPublisher_ReviewReplyResult; @class GTLRAndroidPublisher_RevocationContext; @class GTLRAndroidPublisher_RevocationContextFullRefund; +@class GTLRAndroidPublisher_RevocationContextItemBasedRefund; @class GTLRAndroidPublisher_RevocationContextProratedRefund; @class GTLRAndroidPublisher_ScreenDensity; @class GTLRAndroidPublisher_ScreenDensityTargeting; @@ -146,6 +160,7 @@ @class GTLRAndroidPublisher_Subscription; @class GTLRAndroidPublisher_SubscriptionCancelSurveyResult; @class GTLRAndroidPublisher_SubscriptionDeferralInfo; +@class GTLRAndroidPublisher_SubscriptionDetails; @class GTLRAndroidPublisher_SubscriptionItemPriceChangeDetails; @class GTLRAndroidPublisher_SubscriptionListing; @class GTLRAndroidPublisher_SubscriptionOffer; @@ -989,6 +1004,74 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ModuleMetadata_ModuleTy */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ModuleMetadata_ModuleType_UnknownModuleType; +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_Order.state + +/** + * Order was canceled before being processed. + * + * Value: "CANCELED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_Order_State_Canceled; +/** + * Part of the order amount was refunded. + * + * Value: "PARTIALLY_REFUNDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_Order_State_PartiallyRefunded; +/** + * Order has been created and is waiting to be processed. + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_Order_State_Pending; +/** + * Requested refund is waiting to be processed. + * + * Value: "PENDING_REFUND" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_Order_State_PendingRefund; +/** + * Order has been successfully processed. + * + * Value: "PROCESSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_Order_State_Processed; +/** + * The full order amount was refunded. + * + * Value: "REFUNDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_Order_State_Refunded; +/** + * State unspecified. This value is not used. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_Order_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_PartialRefundEvent.state + +/** + * The partial refund has been created, but not yet processed. + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PartialRefundEvent_State_Pending; +/** + * The partial refund was processed successfully. + * + * Value: "PROCESSED_SUCCESSFULLY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PartialRefundEvent_State_ProcessedSuccessfully; +/** + * State unspecified. This value is not used. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PartialRefundEvent_State_StateUnspecified; + // ---------------------------------------------------------------------------- // GTLRAndroidPublisher_PrepaidBasePlanType.timeExtension @@ -1037,6 +1120,28 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_RecurringExternalTransa */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_RecurringExternalTransaction_MigratedTransactionProgram_UserChoiceBilling; +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_RefundEvent.refundReason + +/** + * The order was charged back. + * + * Value: "CHARGEBACK" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_RefundEvent_RefundReason_Chargeback; +/** + * The order was refunded for a reason other than the listed reasons here. + * + * Value: "OTHER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_RefundEvent_RefundReason_Other; +/** + * Refund reason unspecified. This value is not used. + * + * Value: "REFUND_REASON_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_RefundEvent_RefundReason_RefundReasonUnspecified; + // ---------------------------------------------------------------------------- // GTLRAndroidPublisher_RegionalPriceMigrationConfig.priceIncreaseType @@ -1189,6 +1294,34 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ScreenDensity_DensityAl */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ScreenDensity_DensityAlias_Xxxhdpi; +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_SubscriptionDetails.offerPhase + +/** + * The order funds a base price period. + * + * Value: "BASE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_SubscriptionDetails_OfferPhase_Base; +/** + * The order funds a free trial period. + * + * Value: "FREE_TRIAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_SubscriptionDetails_OfferPhase_FreeTrial; +/** + * The order funds an introductory pricing period. + * + * Value: "INTRODUCTORY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_SubscriptionDetails_OfferPhase_Introductory; +/** + * Offer phase unspecified. This value is not used. + * + * Value: "OFFER_PHASE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_SubscriptionDetails_OfferPhase_OfferPhaseUnspecified; + // ---------------------------------------------------------------------------- // GTLRAndroidPublisher_SubscriptionItemPriceChangeDetails.priceChangeMode @@ -2456,6 +2589,17 @@ GTLR_DEPRECATED @end +/** + * Response for the orders.batchGet API. + */ +@interface GTLRAndroidPublisher_BatchGetOrdersResponse : GTLRObject + +/** Details for the requested order IDs. */ +@property(nonatomic, strong, nullable) NSArray *orders; + +@end + + /** * Request message for BatchGetSubscriptionOffers endpoint. */ @@ -2664,6 +2808,30 @@ GTLR_DEPRECATED @end +/** + * Address information for the customer, for use in tax computation. + */ +@interface GTLRAndroidPublisher_BuyerAddress : GTLRObject + +/** Two letter country code based on ISO-3166-1 Alpha-2 (UN country codes). */ +@property(nonatomic, copy, nullable) NSString *buyerCountry; + +/** + * Postal code of an address. When Google is the Merchant of Record for the + * order, this information is not included. + */ +@property(nonatomic, copy, nullable) NSString *buyerPostcode; + +/** + * Top-level administrative subdivision of the buyer address country. When + * Google is the Merchant of Record for the order, this information is not + * included. + */ +@property(nonatomic, copy, nullable) NSString *buyerState; + +@end + + /** * Request message for CancelAppRecovery. */ @@ -2702,6 +2870,17 @@ GTLR_DEPRECATED @end +/** + * Details of when the order was canceled. + */ +@interface GTLRAndroidPublisher_CancellationEvent : GTLRObject + +/** The time when the order was canceled. */ +@property(nonatomic, strong, nullable) GTLRDateTime *eventTime; + +@end + + /** * Result of the cancel survey when the subscription was canceled by the user. */ @@ -4445,6 +4624,50 @@ GTLR_DEPRECATED @end +/** + * Details of a line item. + */ +@interface GTLRAndroidPublisher_LineItem : GTLRObject + +/** + * Item's listed price on Play Store, this may or may not include tax. Excludes + * any discounts or promotions. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_Money *listingPrice; + +/** Details of a one-time purchase. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_OneTimePurchaseDetails *oneTimePurchaseDetails; + +/** Details of a paid app purchase. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_PaidAppDetails *paidAppDetails; + +/** + * The purchased product ID or in-app SKU (for example, 'monthly001' or + * 'com.some.thing.inapp1'). + */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** + * Developer-specified name of the product. Displayed in buyer's locale. + * Example: coins, monthly subscription, etc. + */ +@property(nonatomic, copy, nullable) NSString *productTitle; + +/** Details of a subscription purchase. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_SubscriptionDetails *subscriptionDetails; + +/** The tax paid for this line item. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_Money *tax; + +/** + * The total amount paid by the user for this line item, taking into account + * discounts and tax. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_Money *total; + +@end + + /** * Response message for ListAppRecoveries. -- api-linter: * core::0158::response-next-page-token-field=disabled @@ -4919,6 +5142,158 @@ GTLR_DEPRECATED @end +/** + * Details of a one-time purchase. + */ +@interface GTLRAndroidPublisher_OneTimePurchaseDetails : GTLRObject + +/** The offer ID of the one-time purchase offer. */ +@property(nonatomic, copy, nullable) NSString *offerId; + +/** + * The number of items purchased (for multi-quantity item purchases). + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *quantity; + +@end + + +/** + * The Order resource encapsulates comprehensive information about a + * transaction made on Google Play. It includes a variety of attributes that + * provide details about the order itself, the products purchased, and the + * history of events related to the order. The Orders APIs provide real-time + * access to your order data within the Google Play ecosystem. You can retrieve + * detailed information and metadata for both one-time and recurring orders, + * including transaction details like charges, taxes, and refunds, as well as + * metadata such as pricing phases for subscriptions. The Orders APIs let you + * automate tasks related to order management, reducing the need for manual + * checks via the Play Developer Console. The following are some of the use + * cases for this API: + Real-time order data retrieval - Get order details and + * metadata immediately after a purchase using an order ID. + Order update + * synchronization - Periodically sync order updates to maintain an up-to-date + * record of order information. Note: + The Orders API calls count towards your + * Play Developer API quota, which defaults to 200K daily, and may be + * insufficient to sync extensive order histories. + A maximum of 1000 orders + * can be retrieved per call. Using larger page sizes is recommended to + * minimize quota usage. Check your quota in the Cloud Console and request more + * if required. + */ +@interface GTLRAndroidPublisher_Order : GTLRObject + +/** + * Address information for the customer, for use in tax computation. When + * Google is the Merchant of Record for the order, only country is shown. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_BuyerAddress *buyerAddress; + +/** The time when the order was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Your revenue for this order in the buyer's currency, including deductions of + * partial refunds, taxes and fees. Google deducts standard transaction and + * third party fees from each sale, including VAT in some regions. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_Money *developerRevenueInBuyerCurrency; + +/** The time of the last event that occurred on the order. */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastEventTime; + +/** The individual line items making up this order. */ +@property(nonatomic, strong, nullable) NSArray *lineItems; + +/** Detailed information about the order at creation time. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_OrderDetails *orderDetails; + +/** Details about events which modified the order. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_OrderHistory *orderHistory; + +/** The order ID. */ +@property(nonatomic, copy, nullable) NSString *orderId; + +/** + * Play points applied to the order, including offer information, discount rate + * and point values. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_PointsDetails *pointsDetails; + +/** + * The token provided to the user's device when the subscription or item was + * purchased. + */ +@property(nonatomic, copy, nullable) NSString *purchaseToken; + +/** + * The state of the order. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_Order_State_Canceled Order was canceled + * before being processed. (Value: "CANCELED") + * @arg @c kGTLRAndroidPublisher_Order_State_PartiallyRefunded Part of the + * order amount was refunded. (Value: "PARTIALLY_REFUNDED") + * @arg @c kGTLRAndroidPublisher_Order_State_Pending Order has been created + * and is waiting to be processed. (Value: "PENDING") + * @arg @c kGTLRAndroidPublisher_Order_State_PendingRefund Requested refund + * is waiting to be processed. (Value: "PENDING_REFUND") + * @arg @c kGTLRAndroidPublisher_Order_State_Processed Order has been + * successfully processed. (Value: "PROCESSED") + * @arg @c kGTLRAndroidPublisher_Order_State_Refunded The full order amount + * was refunded. (Value: "REFUNDED") + * @arg @c kGTLRAndroidPublisher_Order_State_StateUnspecified State + * unspecified. This value is not used. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** The total tax paid as a part of this order. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_Money *tax; + +/** + * The final amount paid by the customer, taking into account discounts and + * taxes. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_Money *total; + +@end + + +/** + * Detailed information about the order at creation time. + */ +@interface GTLRAndroidPublisher_OrderDetails : GTLRObject + +/** + * Indicates whether the listed price was tax inclusive or not. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *taxInclusive; + +@end + + +/** + * Details about events which modified the order. + */ +@interface GTLRAndroidPublisher_OrderHistory : GTLRObject + +/** Details of when the order was canceled. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_CancellationEvent *cancellationEvent; + +/** Details of the partial refund events for this order. */ +@property(nonatomic, strong, nullable) NSArray *partialRefundEvents; + +/** Details of when the order was processed. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_ProcessedEvent *processedEvent; + +/** Details of when the order was fully refunded. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_RefundEvent *refundEvent; + +@end + + /** * Details of a recurring external transaction product which doesn't belong to * any other more specific category. @@ -5065,6 +5440,13 @@ GTLR_DEPRECATED @end +/** + * Details of a paid app purchase. + */ +@interface GTLRAndroidPublisher_PaidAppDetails : GTLRObject +@end + + /** * A partial refund of a transaction. */ @@ -5086,6 +5468,38 @@ GTLR_DEPRECATED @end +/** + * Details of the partial refund events for this order. + */ +@interface GTLRAndroidPublisher_PartialRefundEvent : GTLRObject + +/** The time when the partial refund was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** The time when the partial refund was processed. */ +@property(nonatomic, strong, nullable) GTLRDateTime *processTime; + +/** Details for the partial refund. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_RefundDetails *refundDetails; + +/** + * The state of the partial refund. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_PartialRefundEvent_State_Pending The partial + * refund has been created, but not yet processed. (Value: "PENDING") + * @arg @c kGTLRAndroidPublisher_PartialRefundEvent_State_ProcessedSuccessfully + * The partial refund was processed successfully. (Value: + * "PROCESSED_SUCCESSFULLY") + * @arg @c kGTLRAndroidPublisher_PartialRefundEvent_State_StateUnspecified + * State unspecified. This value is not used. (Value: + * "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + /** * Information specific to a subscription in paused state. */ @@ -5106,6 +5520,43 @@ GTLR_DEPRECATED @end +/** + * Details relating to any Play Points applied to an order. + */ +@interface GTLRAndroidPublisher_PointsDetails : GTLRObject + +/** + * The monetary value of a Play Points coupon. This is the discount the coupon + * provides, which may not be the total amount. Only set when Play Points + * coupons have been used. E.g. for a 100 points for $2 coupon, this is $2. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_Money *pointsCouponValue; + +/** + * The percentage rate which the Play Points promotion reduces the cost by. + * E.g. for a 100 points for $2 coupon, this is 500,000. Since $2 has an + * estimate of 200 points, but the actual Points required, 100, is 50% of this, + * and 50% in micros is 500,000. Between 0 and 1,000,000. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *pointsDiscountRateMicros; + +/** ID unique to the play points offer in use for this order. */ +@property(nonatomic, copy, nullable) NSString *pointsOfferId; + +/** + * The number of Play Points applied in this order. E.g. for a 100 points for + * $2 coupon, this is 100. For coupon stacked with base offer, this is the + * total points spent across both. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *pointsSpent; + +@end + + /** * Represents a base plan that does not automatically renew at the end of the * base plan, and must be manually renewed by the user. @@ -5169,6 +5620,17 @@ GTLR_DEPRECATED @end +/** + * Details of when the order was processed. + */ +@interface GTLRAndroidPublisher_ProcessedEvent : GTLRObject + +/** The time when the order was processed. */ +@property(nonatomic, strong, nullable) GTLRDateTime *eventTime; + +@end + + /** * A ProductPurchase resource indicates the status of a user's inapp product * purchase. @@ -5345,6 +5807,49 @@ GTLR_DEPRECATED @end +/** + * Details for a partial or full refund. + */ +@interface GTLRAndroidPublisher_RefundDetails : GTLRObject + +/** The amount of tax refunded. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_Money *tax; + +/** The total amount refunded, including tax. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_Money *total; + +@end + + +/** + * Details of when the order was fully refunded. + */ +@interface GTLRAndroidPublisher_RefundEvent : GTLRObject + +/** The time when the order was fully refunded. */ +@property(nonatomic, strong, nullable) GTLRDateTime *eventTime; + +/** Details for the full refund. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_RefundDetails *refundDetails; + +/** + * The reason the order was refunded. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_RefundEvent_RefundReason_Chargeback The + * order was charged back. (Value: "CHARGEBACK") + * @arg @c kGTLRAndroidPublisher_RefundEvent_RefundReason_Other The order was + * refunded for a reason other than the listed reasons here. (Value: + * "OTHER") + * @arg @c kGTLRAndroidPublisher_RefundEvent_RefundReason_RefundReasonUnspecified + * Refund reason unspecified. This value is not used. (Value: + * "REFUND_REASON_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *refundReason; + +@end + + /** * A request to refund an existing external transaction. */ @@ -5610,10 +6115,10 @@ GTLR_DEPRECATED * specified according to the information published in [this * article](https://support.google.com/googleplay/android-developer/answer/10532353). * Each time the supported locations substantially change, the version will be - * incremented. Using this field will ensure that creating and updating the - * resource with an older region's version and set of regional prices and - * currencies will succeed even though a new version is available. The latest - * version is 2022/02. + * incremented. The latest supported version is available in this article. + * Using this field will ensure that creating and updating the resource with an + * older region's version and set of regional prices and currencies will + * succeed even though a new version is available. */ @property(nonatomic, copy, nullable) NSString *version; @@ -5784,6 +6289,12 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRAndroidPublisher_RevocationContextFullRefund *fullRefund; +/** + * Optional. Used when a specific item should be refunded in a subscription + * with multiple items. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_RevocationContextItemBasedRefund *itemBasedRefund; + /** * Optional. Used when users should be refunded a prorated amount they paid for * their subscription based on the amount of time remaining in a subscription. @@ -5801,6 +6312,21 @@ GTLR_DEPRECATED @end +/** + * Used to determine what specific item to revoke in a subscription with + * multiple items. + */ +@interface GTLRAndroidPublisher_RevocationContextItemBasedRefund : GTLRObject + +/** + * Required. If the subscription is a subscription bundle, the product id of + * the subscription to revoke. + */ +@property(nonatomic, copy, nullable) NSString *productId; + +@end + + /** * Used to determine if the refund type in the RevocationContext is a prorated * refund. @@ -6129,6 +6655,52 @@ GTLR_DEPRECATED @end +/** + * Details of a subscription purchase. + */ +@interface GTLRAndroidPublisher_SubscriptionDetails : GTLRObject + +/** The base plan ID of the subscription. */ +@property(nonatomic, copy, nullable) NSString *basePlanId; + +/** The offer ID for the current subscription offer. */ +@property(nonatomic, copy, nullable) NSString *offerId; + +/** + * The pricing phase for the billing period funded by this order. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_SubscriptionDetails_OfferPhase_Base The + * order funds a base price period. (Value: "BASE") + * @arg @c kGTLRAndroidPublisher_SubscriptionDetails_OfferPhase_FreeTrial The + * order funds a free trial period. (Value: "FREE_TRIAL") + * @arg @c kGTLRAndroidPublisher_SubscriptionDetails_OfferPhase_Introductory + * The order funds an introductory pricing period. (Value: + * "INTRODUCTORY") + * @arg @c kGTLRAndroidPublisher_SubscriptionDetails_OfferPhase_OfferPhaseUnspecified + * Offer phase unspecified. This value is not used. (Value: + * "OFFER_PHASE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *offerPhase; + +/** + * The end of the billing period funded by this order. This is a snapshot of + * the billing/service period end time at the moment the order was processed, + * and should be used only for accounting. To get the current end time of the + * subscription service period, use purchases.subscriptionsv2.get. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *servicePeriodEndTime; + +/** + * The start of the billing period funded by this order. This is a snapshot of + * the billing/service period start time at the moment the order was processed, + * and should be used only for accounting. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *servicePeriodStartTime; + +@end + + /** * Price change related information of a subscription item. */ @@ -6720,13 +7292,14 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *kind; /** - * The order id of the latest order associated with the purchase of the - * subscription. For autoRenewing subscription, this is the order id of signup - * order if it is not renewed yet, or the last recurring order id (success, - * pending, or declined order). For prepaid subscription, this is the order id - * associated with the queried purchase token. + * Deprecated: Use line_items.latest_successful_order_id instead. The order id + * of the latest order associated with the purchase of the subscription. For + * autoRenewing subscription, this is the order id of signup order if it is not + * renewed yet, or the last recurring order id (success, pending, or declined + * order). For prepaid subscription, this is the order id associated with the + * queried purchase token. */ -@property(nonatomic, copy, nullable) NSString *latestOrderId; +@property(nonatomic, copy, nullable) NSString *latestOrderId GTLR_DEPRECATED; /** * Item-level info for a subscription purchase. The items in the same purchase diff --git a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h index d730d03e4..b7b4d52a5 100644 --- a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h +++ b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h @@ -3671,10 +3671,10 @@ GTLR_DEPRECATED * specified according to the information published in [this * article](https://support.google.com/googleplay/android-developer/answer/10532353). * Each time the supported locations substantially change, the version will be - * incremented. Using this field will ensure that creating and updating the - * resource with an older region's version and set of regional prices and - * currencies will succeed even though a new version is available. The latest - * version is 2022/02. + * incremented. The latest supported version is available in this article. + * Using this field will ensure that creating and updating the resource with an + * older region's version and set of regional prices and currencies will + * succeed even though a new version is available. */ @property(nonatomic, copy, nullable) NSString *regionsVersionVersion; @@ -3983,10 +3983,10 @@ GTLR_DEPRECATED * specified according to the information published in [this * article](https://support.google.com/googleplay/android-developer/answer/10532353). * Each time the supported locations substantially change, the version will be - * incremented. Using this field will ensure that creating and updating the - * resource with an older region's version and set of regional prices and - * currencies will succeed even though a new version is available. The latest - * version is 2022/02. + * incremented. The latest supported version is available in this article. + * Using this field will ensure that creating and updating the resource with an + * older region's version and set of regional prices and currencies will + * succeed even though a new version is available. */ @property(nonatomic, copy, nullable) NSString *regionsVersionVersion; @@ -4130,10 +4130,10 @@ GTLR_DEPRECATED * specified according to the information published in [this * article](https://support.google.com/googleplay/android-developer/answer/10532353). * Each time the supported locations substantially change, the version will be - * incremented. Using this field will ensure that creating and updating the - * resource with an older region's version and set of regional prices and - * currencies will succeed even though a new version is available. The latest - * version is 2022/02. + * incremented. The latest supported version is available in this article. + * Using this field will ensure that creating and updating the resource with an + * older region's version and set of regional prices and currencies will + * succeed even though a new version is available. */ @property(nonatomic, copy, nullable) NSString *regionsVersionVersion; @@ -4334,10 +4334,10 @@ GTLR_DEPRECATED * specified according to the information published in [this * article](https://support.google.com/googleplay/android-developer/answer/10532353). * Each time the supported locations substantially change, the version will be - * incremented. Using this field will ensure that creating and updating the - * resource with an older region's version and set of regional prices and - * currencies will succeed even though a new version is available. The latest - * version is 2022/02. + * incremented. The latest supported version is available in this article. + * Using this field will ensure that creating and updating the resource with an + * older region's version and set of regional prices and currencies will + * succeed even though a new version is available. */ @property(nonatomic, copy, nullable) NSString *regionsVersionVersion; @@ -4370,6 +4370,85 @@ GTLR_DEPRECATED @end +/** + * Get order details for a list of orders. + * + * Method: androidpublisher.orders.batchget + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_OrdersBatchget : GTLRAndroidPublisherQuery + +/** + * Required. The list of order IDs to retrieve order details for. There must be + * between 1 and 1000 (inclusive) order IDs per request. If any order ID is not + * found or does not match the provided package, the entire request will fail + * with an error. The order IDs must be distinct. + */ +@property(nonatomic, strong, nullable) NSArray *orderIds; + +/** + * Required. The package name of the application for which this subscription or + * in-app item was purchased (for example, 'com.some.thing'). + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Fetches a @c GTLRAndroidPublisher_BatchGetOrdersResponse. + * + * Get order details for a list of orders. + * + * @param packageName Required. The package name of the application for which + * this subscription or in-app item was purchased (for example, + * 'com.some.thing'). + * + * @return GTLRAndroidPublisherQuery_OrdersBatchget + */ ++ (instancetype)queryWithPackageName:(NSString *)packageName; + +@end + +/** + * Get order details for a single order. + * + * Method: androidpublisher.orders.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_OrdersGet : GTLRAndroidPublisherQuery + +/** + * Required. The order ID provided to the user when the subscription or in-app + * order was purchased. + */ +@property(nonatomic, copy, nullable) NSString *orderId; + +/** + * Required. The package name of the application for which this subscription or + * in-app item was purchased (for example, 'com.some.thing'). + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Fetches a @c GTLRAndroidPublisher_Order. + * + * Get order details for a single order. + * + * @param packageName Required. The package name of the application for which + * this subscription or in-app item was purchased (for example, + * 'com.some.thing'). + * @param orderId Required. The order ID provided to the user when the + * subscription or in-app order was purchased. + * + * @return GTLRAndroidPublisherQuery_OrdersGet + */ ++ (instancetype)queryWithPackageName:(NSString *)packageName + orderId:(NSString *)orderId; + +@end + /** * Refunds a user's subscription or in-app purchase order. Orders older than 3 * years cannot be refunded. @@ -4706,14 +4785,15 @@ GTLR_DEPRECATED @end /** - * Checks whether a user's subscription purchase is valid and returns its - * expiry time. + * Deprecated: Use purchases.subscriptionsv2.get instead. Checks whether a + * user's subscription purchase is valid and returns its expiry time. * * Method: androidpublisher.purchases.subscriptions.get * * Authorization scope(s): * @c kGTLRAuthScopeAndroidPublisher */ +GTLR_DEPRECATED @interface GTLRAndroidPublisherQuery_PurchasesSubscriptionsGet : GTLRAndroidPublisherQuery /** @@ -4733,8 +4813,8 @@ GTLR_DEPRECATED /** * Fetches a @c GTLRAndroidPublisher_SubscriptionPurchase. * - * Checks whether a user's subscription purchase is valid and returns its - * expiry time. + * Deprecated: Use purchases.subscriptionsv2.get instead. Checks whether a + * user's subscription purchase is valid and returns its expiry time. * * @param packageName The package name of the application for which this * subscription was purchased (for example, 'com.some.thing'). @@ -4752,14 +4832,16 @@ GTLR_DEPRECATED @end /** - * Refunds a user's subscription purchase, but the subscription remains valid - * until its expiration time and it will continue to recur. + * Deprecated: Use orders.refund instead. Refunds a user's subscription + * purchase, but the subscription remains valid until its expiration time and + * it will continue to recur. * * Method: androidpublisher.purchases.subscriptions.refund * * Authorization scope(s): * @c kGTLRAuthScopeAndroidPublisher */ +GTLR_DEPRECATED @interface GTLRAndroidPublisherQuery_PurchasesSubscriptionsRefund : GTLRAndroidPublisherQuery /** @@ -4780,8 +4862,9 @@ GTLR_DEPRECATED * Upon successful completion, the callback's object and error parameters will * be nil. This query does not fetch an object. * - * Refunds a user's subscription purchase, but the subscription remains valid - * until its expiration time and it will continue to recur. + * Deprecated: Use orders.refund instead. Refunds a user's subscription + * purchase, but the subscription remains valid until its expiration time and + * it will continue to recur. * * @param packageName The package name of the application for which this * subscription was purchased (for example, 'com.some.thing'). @@ -4799,14 +4882,16 @@ GTLR_DEPRECATED @end /** - * Refunds and immediately revokes a user's subscription purchase. Access to - * the subscription will be terminated immediately and it will stop recurring. + * Deprecated: Use purchases.subscriptionsv2.revoke instead. Refunds and + * immediately revokes a user's subscription purchase. Access to the + * subscription will be terminated immediately and it will stop recurring. * * Method: androidpublisher.purchases.subscriptions.revoke * * Authorization scope(s): * @c kGTLRAuthScopeAndroidPublisher */ +GTLR_DEPRECATED @interface GTLRAndroidPublisherQuery_PurchasesSubscriptionsRevoke : GTLRAndroidPublisherQuery /** @@ -4827,8 +4912,9 @@ GTLR_DEPRECATED * Upon successful completion, the callback's object and error parameters will * be nil. This query does not fetch an object. * - * Refunds and immediately revokes a user's subscription purchase. Access to - * the subscription will be terminated immediately and it will stop recurring. + * Deprecated: Use purchases.subscriptionsv2.revoke instead. Refunds and + * immediately revokes a user's subscription purchase. Access to the + * subscription will be terminated immediately and it will stop recurring. * * @param packageName The package name of the application for which this * subscription was purchased (for example, 'com.some.thing'). diff --git a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h index e3c13b403..c514f4c74 100644 --- a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h +++ b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h @@ -1383,8 +1383,7 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleCloudApigeeV1RatePlan_Billi * 1-100 calls cost $2 per call * 101-200 calls cost $1.50 per call * 201-300 * calls cost $1 per call * Total price for 50 calls: 50 x $2 = $100 * Total * price for 150 calls: 100 x $2 + 50 x $1.5 = $275 * Total price for 250 - * calls: 100 x $2 + 100 x $1.5 + 50 x $1 = $400. **Note**: Not supported by - * Apigee at this time. + * calls: 100 x $2 + 100 x $1.5 + 50 x $1 = $400. * * Value: "BANDED" */ @@ -9207,11 +9206,13 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType * API call volume ranges and the fees charged when the total number of API * calls is within a given range. The method used to calculate the final fee * depends on the selected pricing model. For example, if the pricing model is - * `STAIRSTEP` and the ranges are defined as follows: ``` { "start": 1, "end": - * 100, "fee": 75 }, { "start": 101, "end": 200, "fee": 100 }, } ``` Then the - * following fees would be charged based on the total number of API calls - * (assuming the currency selected is `USD`): * 1 call costs $75 * 50 calls - * cost $75 * 150 calls cost $100 The number of API calls cannot exceed 200. + * `BANDED` and the ranges are defined as follows: ``` { "start": 1, "end": + * 100, "fee": 2 }, { "start": 101, "end": 200, "fee": 1.50 }, { "start": 201, + * "end": 0, "fee": 1 }, } ``` Then the following fees would be charged based + * on the total number of API calls (assuming the currency selected is `USD`): + * * 50 calls cost 50 x $2 = $100 * 150 calls cost 100 x $2 + 50 x $1.5 = $275 + * * 250 calls cost 100 x $2 + 100 x $1.5 + 50 x $1 = $400 * 500 calls cost 100 + * x $2 + 100 x $1.5 + 300 x $1 = $650 */ @property(nonatomic, strong, nullable) NSArray *consumptionPricingRates; @@ -9224,8 +9225,8 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType * * 1-100 calls cost $2 per call * 101-200 calls cost $1.50 per call * * 201-300 calls cost $1 per call * Total price for 50 calls: 50 x $2 = * $100 * Total price for 150 calls: 100 x $2 + 50 x $1.5 = $275 * Total - * price for 250 calls: 100 x $2 + 100 x $1.5 + 50 x $1 = $400. **Note**: - * Not supported by Apigee at this time. (Value: "BANDED") + * price for 250 calls: 100 x $2 + 100 x $1.5 + 50 x $1 = $400. (Value: + * "BANDED") * @arg @c kGTLRApigee_GoogleCloudApigeeV1RatePlan_ConsumptionPricingType_ConsumptionPricingTypeUnspecified * Pricing model not specified. This is the default. (Value: * "CONSUMPTION_PRICING_TYPE_UNSPECIFIED") @@ -11962,8 +11963,7 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType @property(nonatomic, strong, nullable) NSArray *apiProducts; /** - * The new AppGroupKey to be amended. Note that the status can be updated only - * via action. + * Note that only Scopes and Attributes of the AppGroupAppKey can be amended. */ @property(nonatomic, strong, nullable) GTLRApigee_GoogleCloudApigeeV1AppGroupAppKey *appGroupAppKey; diff --git a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h index 2f888d552..7949774fe 100644 --- a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h +++ b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h @@ -2282,9 +2282,9 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; * exceed 2 KBs each. **Note**: When creating the consumer key and secret, an * association to API products will not be made. Therefore, you should not * specify the associated API products in your request. Instead, use the - * ProductizeAppGroupAppKey API to make the association after the consumer key - * and secret are created. If a consumer key and secret already exist, you can - * keep them or delete them using the DeleteAppGroupAppKey API. + * UpdateAppGroupAppKey API to make the association after the consumer key and + * secret are created. If a consumer key and secret already exist, you can keep + * them or delete them using the DeleteAppGroupAppKey API. * * Method: apigee.organizations.appgroups.apps.keys.create * @@ -2311,9 +2311,9 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; * exceed 2 KBs each. **Note**: When creating the consumer key and secret, an * association to API products will not be made. Therefore, you should not * specify the associated API products in your request. Instead, use the - * ProductizeAppGroupAppKey API to make the association after the consumer key - * and secret are created. If a consumer key and secret already exist, you can - * keep them or delete them using the DeleteAppGroupAppKey API. + * UpdateAppGroupAppKey API to make the association after the consumer key and + * secret are created. If a consumer key and secret already exist, you can keep + * them or delete them using the DeleteAppGroupAppKey API. * * @param object The @c GTLRApigee_GoogleCloudApigeeV1AppGroupAppKey to include * in the query. @@ -2401,10 +2401,10 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; /** * Adds an API product to an AppGroupAppKey, enabling the app that holds the * key to access the API resources bundled in the API product. In addition, you - * can add attributes to the AppGroupAppKey. This API replaces the existing - * attributes with those specified in the request. Include or exclude any - * existing attributes that you want to retain or delete, respectively. You can - * use the same key to access all API products associated with the app. + * can add attributes and scopes to the AppGroupAppKey. This API replaces the + * existing attributes with those specified in the request. Include or exclude + * any existing attributes that you want to retain or delete, respectively. You + * can use the same key to access all API products associated with the app. * * Method: apigee.organizations.appgroups.apps.keys.updateAppGroupAppKey * @@ -2425,10 +2425,10 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; * * Adds an API product to an AppGroupAppKey, enabling the app that holds the * key to access the API resources bundled in the API product. In addition, you - * can add attributes to the AppGroupAppKey. This API replaces the existing - * attributes with those specified in the request. Include or exclude any - * existing attributes that you want to retain or delete, respectively. You can - * use the same key to access all API products associated with the app. + * can add attributes and scopes to the AppGroupAppKey. This API replaces the + * existing attributes with those specified in the request. Include or exclude + * any existing attributes that you want to retain or delete, respectively. You + * can use the same key to access all API products associated with the app. * * @param object The @c * GTLRApigee_GoogleCloudApigeeV1UpdateAppGroupAppKeyRequest to include in @@ -3922,10 +3922,13 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; /** * Adds an API product to a developer app key, enabling the app that holds the * key to access the API resources bundled in the API product. In addition, you - * can add attributes to a developer app key. This API replaces the existing - * attributes with those specified in the request. Include or exclude any - * existing attributes that you want to retain or delete, respectively. You can - * use the same key to access all API products associated with the app. + * can add attributes and scopes associated with the API product to the + * developer app key. The status of the key can be updated via "action" Query + * Parameter. None of the other fields can be updated via this API. This API + * replaces the existing attributes with those specified in the request. + * Include or exclude any existing attributes that you want to retain or + * delete, respectively. None of the other fields can be updated. You can use + * the same key to access all API products associated with the app. * * Method: apigee.organizations.developers.apps.keys.updateDeveloperAppKey * @@ -3952,10 +3955,13 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; * * Adds an API product to a developer app key, enabling the app that holds the * key to access the API resources bundled in the API product. In addition, you - * can add attributes to a developer app key. This API replaces the existing - * attributes with those specified in the request. Include or exclude any - * existing attributes that you want to retain or delete, respectively. You can - * use the same key to access all API products associated with the app. + * can add attributes and scopes associated with the API product to the + * developer app key. The status of the key can be updated via "action" Query + * Parameter. None of the other fields can be updated via this API. This API + * replaces the existing attributes with those specified in the request. + * Include or exclude any existing attributes that you want to retain or + * delete, respectively. None of the other fields can be updated. You can use + * the same key to access all API products associated with the app. * * @param object The @c GTLRApigee_GoogleCloudApigeeV1DeveloperAppKey to * include in the query. diff --git a/Sources/GeneratedServices/Appengine/GTLRAppengineQuery.m b/Sources/GeneratedServices/Appengine/GTLRAppengineQuery.m index 8d70e3b24..1b9fe88c7 100644 --- a/Sources/GeneratedServices/Appengine/GTLRAppengineQuery.m +++ b/Sources/GeneratedServices/Appengine/GTLRAppengineQuery.m @@ -1036,6 +1036,33 @@ + (instancetype)queryWithProjectsId:(NSString *)projectsId @end +@implementation GTLRAppengineQuery_ProjectsLocationsApplicationsDomainMappingsGet + +@dynamic applicationsId, domainMappingsId, locationsId, projectsId; + ++ (instancetype)queryWithProjectsId:(NSString *)projectsId + locationsId:(NSString *)locationsId + applicationsId:(NSString *)applicationsId + domainMappingsId:(NSString *)domainMappingsId { + NSArray *pathParams = @[ + @"applicationsId", @"domainMappingsId", @"locationsId", @"projectsId" + ]; + NSString *pathURITemplate = @"v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/domainMappings/{domainMappingsId}"; + GTLRAppengineQuery_ProjectsLocationsApplicationsDomainMappingsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.projectsId = projectsId; + query.locationsId = locationsId; + query.applicationsId = applicationsId; + query.domainMappingsId = domainMappingsId; + query.expectedObjectClass = [GTLRAppengine_DomainMapping class]; + query.loggingName = @"appengine.projects.locations.applications.domainMappings.get"; + return query; +} + +@end + @implementation GTLRAppengineQuery_ProjectsLocationsApplicationsPatch @dynamic applicationsId, locationsId, projectsId, updateMask; @@ -1096,6 +1123,42 @@ + (instancetype)queryWithProjectsId:(NSString *)projectsId @end +@implementation GTLRAppengineQuery_ProjectsLocationsApplicationsServicesPatch + +@dynamic applicationsId, locationsId, migrateTraffic, projectsId, servicesId, + updateMask; + ++ (instancetype)queryWithObject:(GTLRAppengine_Service *)object + projectsId:(NSString *)projectsId + locationsId:(NSString *)locationsId + applicationsId:(NSString *)applicationsId + servicesId:(NSString *)servicesId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"applicationsId", @"locationsId", @"projectsId", @"servicesId" + ]; + NSString *pathURITemplate = @"v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}"; + GTLRAppengineQuery_ProjectsLocationsApplicationsServicesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.projectsId = projectsId; + query.locationsId = locationsId; + query.applicationsId = applicationsId; + query.servicesId = servicesId; + query.expectedObjectClass = [GTLRAppengine_Operation class]; + query.loggingName = @"appengine.projects.locations.applications.services.patch"; + return query; +} + +@end + @implementation GTLRAppengineQuery_ProjectsLocationsApplicationsServicesVersionsDelete @dynamic applicationsId, locationsId, projectsId, servicesId, versionsId; diff --git a/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h b/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h index 79b94c122..dd122fe4e 100644 --- a/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h +++ b/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h @@ -2027,6 +2027,53 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @end +/** + * Gets the specified domain mapping. + * + * Method: appengine.projects.locations.applications.domainMappings.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAppengineAdmin + * @c kGTLRAuthScopeAppengineCloudPlatform + * @c kGTLRAuthScopeAppengineCloudPlatformReadOnly + */ +@interface GTLRAppengineQuery_ProjectsLocationsApplicationsDomainMappingsGet : GTLRAppengineQuery + +/** Part of `name`. See documentation of `projectsId`. */ +@property(nonatomic, copy, nullable) NSString *applicationsId; + +/** Part of `name`. See documentation of `projectsId`. */ +@property(nonatomic, copy, nullable) NSString *domainMappingsId; + +/** Part of `name`. See documentation of `projectsId`. */ +@property(nonatomic, copy, nullable) NSString *locationsId; + +/** + * Part of `name`. Name of the resource requested. Example: + * apps/myapp/domainMappings/example.com. + */ +@property(nonatomic, copy, nullable) NSString *projectsId; + +/** + * Fetches a @c GTLRAppengine_DomainMapping. + * + * Gets the specified domain mapping. + * + * @param projectsId Part of `name`. Name of the resource requested. Example: + * apps/myapp/domainMappings/example.com. + * @param locationsId Part of `name`. See documentation of `projectsId`. + * @param applicationsId Part of `name`. See documentation of `projectsId`. + * @param domainMappingsId Part of `name`. See documentation of `projectsId`. + * + * @return GTLRAppengineQuery_ProjectsLocationsApplicationsDomainMappingsGet + */ ++ (instancetype)queryWithProjectsId:(NSString *)projectsId + locationsId:(NSString *)locationsId + applicationsId:(NSString *)applicationsId + domainMappingsId:(NSString *)domainMappingsId; + +@end + /** * Updates the specified Application resource. You can update the following * fields: auth_domain - Google authentication domain for controlling user @@ -2129,6 +2176,77 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @end +/** + * Updates the configuration of the specified service. + * + * Method: appengine.projects.locations.applications.services.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeAppengineCloudPlatform + */ +@interface GTLRAppengineQuery_ProjectsLocationsApplicationsServicesPatch : GTLRAppengineQuery + +/** Part of `name`. See documentation of `projectsId`. */ +@property(nonatomic, copy, nullable) NSString *applicationsId; + +/** Part of `name`. See documentation of `projectsId`. */ +@property(nonatomic, copy, nullable) NSString *locationsId; + +/** + * Set to true to gradually shift traffic to one or more versions that you + * specify. By default, traffic is shifted immediately. For gradual traffic + * migration, the target versions must be located within instances that are + * configured for both warmup requests + * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#InboundServiceType) + * and automatic scaling + * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#AutomaticScaling). + * You must specify the shardBy + * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services#ShardBy) + * field in the Service resource. Gradual traffic migration is not supported in + * the App Engine flexible environment. For examples, see Migrating and + * Splitting Traffic + * (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic). + */ +@property(nonatomic, assign) BOOL migrateTraffic; + +/** + * Part of `name`. Name of the resource to update. Example: + * apps/myapp/services/default. + */ +@property(nonatomic, copy, nullable) NSString *projectsId; + +/** Part of `name`. See documentation of `projectsId`. */ +@property(nonatomic, copy, nullable) NSString *servicesId; + +/** + * Required. Standard field mask for the set of fields to be updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRAppengine_Operation. + * + * Updates the configuration of the specified service. + * + * @param object The @c GTLRAppengine_Service to include in the query. + * @param projectsId Part of `name`. Name of the resource to update. Example: + * apps/myapp/services/default. + * @param locationsId Part of `name`. See documentation of `projectsId`. + * @param applicationsId Part of `name`. See documentation of `projectsId`. + * @param servicesId Part of `name`. See documentation of `projectsId`. + * + * @return GTLRAppengineQuery_ProjectsLocationsApplicationsServicesPatch + */ ++ (instancetype)queryWithObject:(GTLRAppengine_Service *)object + projectsId:(NSString *)projectsId + locationsId:(NSString *)locationsId + applicationsId:(NSString *)applicationsId + servicesId:(NSString *)servicesId; + +@end + /** * Deletes an existing Version resource. * diff --git a/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m b/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m index 8d9cf109d..775a1b5b3 100644 --- a/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m +++ b/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m @@ -127,6 +127,7 @@ NSString * const kGTLRBackupdr_BackupVault_State_Deleting = @"DELETING"; NSString * const kGTLRBackupdr_BackupVault_State_Error = @"ERROR"; NSString * const kGTLRBackupdr_BackupVault_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRBackupdr_BackupVault_State_Updating = @"UPDATING"; // GTLRBackupdr_ComputeInstanceBackupProperties.keyRevocationActionType NSString * const kGTLRBackupdr_ComputeInstanceBackupProperties_KeyRevocationActionType_KeyRevocationActionTypeUnspecified = @"KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED"; @@ -156,6 +157,21 @@ NSString * const kGTLRBackupdr_DataSource_State_Error = @"ERROR"; NSString * const kGTLRBackupdr_DataSource_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRBackupdr_DiskBackupProperties.architecture +NSString * const kGTLRBackupdr_DiskBackupProperties_Architecture_ArchitectureUnspecified = @"ARCHITECTURE_UNSPECIFIED"; +NSString * const kGTLRBackupdr_DiskBackupProperties_Architecture_Arm64 = @"ARM64"; +NSString * const kGTLRBackupdr_DiskBackupProperties_Architecture_X8664 = @"X86_64"; + +// GTLRBackupdr_DiskRestoreProperties.accessMode +NSString * const kGTLRBackupdr_DiskRestoreProperties_AccessMode_ReadOnlyMany = @"READ_ONLY_MANY"; +NSString * const kGTLRBackupdr_DiskRestoreProperties_AccessMode_ReadWriteMany = @"READ_WRITE_MANY"; +NSString * const kGTLRBackupdr_DiskRestoreProperties_AccessMode_ReadWriteSingle = @"READ_WRITE_SINGLE"; + +// GTLRBackupdr_DiskRestoreProperties.architecture +NSString * const kGTLRBackupdr_DiskRestoreProperties_Architecture_ArchitectureUnspecified = @"ARCHITECTURE_UNSPECIFIED"; +NSString * const kGTLRBackupdr_DiskRestoreProperties_Architecture_Arm64 = @"ARM64"; +NSString * const kGTLRBackupdr_DiskRestoreProperties_Architecture_X8664 = @"X86_64"; + // GTLRBackupdr_GuestOsFeature.type NSString * const kGTLRBackupdr_GuestOsFeature_Type_BareMetalLinuxCompatible = @"BARE_METAL_LINUX_COMPATIBLE"; NSString * const kGTLRBackupdr_GuestOsFeature_Type_FeatureTypeUnspecified = @"FEATURE_TYPE_UNSPECIFIED"; @@ -440,9 +456,9 @@ @implementation GTLRBackupdr_AuditLogConfig @implementation GTLRBackupdr_Backup @dynamic backupApplianceBackupProperties, backupApplianceLocks, backupType, computeInstanceBackupProperties, consistencyTime, createTime, - descriptionProperty, enforcedRetentionEndTime, ETag, expireTime, - gcpBackupPlanInfo, labels, name, resourceSizeBytes, satisfiesPzi, - satisfiesPzs, serviceLocks, state, updateTime; + descriptionProperty, diskBackupProperties, enforcedRetentionEndTime, + ETag, expireTime, gcpBackupPlanInfo, labels, name, resourceSizeBytes, + satisfiesPzi, satisfiesPzs, serviceLocks, state, updateTime; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -570,7 +586,7 @@ @implementation GTLRBackupdr_BackupLock @implementation GTLRBackupdr_BackupPlan @dynamic backupRules, backupVault, backupVaultServiceAccount, createTime, descriptionProperty, ETag, labels, name, resourceType, state, - updateTime; + supportedResourceTypes, updateTime; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -582,7 +598,8 @@ @implementation GTLRBackupdr_BackupPlan + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"backupRules" : [GTLRBackupdr_BackupRule class] + @"backupRules" : [GTLRBackupdr_BackupRule class], + @"supportedResourceTypes" : [NSString class] }; return map; } @@ -864,9 +881,10 @@ @implementation GTLRBackupdr_CustomerEncryptionKey // @implementation GTLRBackupdr_DataSource -@dynamic backupConfigInfo, backupCount, configState, createTime, - dataSourceBackupApplianceApplication, dataSourceGcpResource, ETag, - labels, name, state, totalStoredBytes, updateTime; +@dynamic backupBlockedByVaultAccessRestriction, backupConfigInfo, backupCount, + configState, createTime, dataSourceBackupApplianceApplication, + dataSourceGcpResource, ETag, labels, name, state, totalStoredBytes, + updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; @@ -906,7 +924,122 @@ @implementation GTLRBackupdr_DataSourceBackupApplianceApplication // @implementation GTLRBackupdr_DataSourceGcpResource -@dynamic computeInstanceDatasourceProperties, gcpResourcename, location, type; +@dynamic computeInstanceDatasourceProperties, diskDatasourceProperties, + gcpResourcename, location, type; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_DiskBackupProperties +// + +@implementation GTLRBackupdr_DiskBackupProperties +@dynamic architecture, descriptionProperty, guestOsFeature, licenses, region, + replicaZones, sizeGb, sourceDisk, type, zoneProperty; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"descriptionProperty" : @"description", + @"zoneProperty" : @"zone" + }; + return map; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"guestOsFeature" : [GTLRBackupdr_GuestOsFeature class], + @"licenses" : [NSString class], + @"replicaZones" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_DiskDataSourceProperties +// + +@implementation GTLRBackupdr_DiskDataSourceProperties +@dynamic descriptionProperty, name, sizeGb, type; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_DiskRestoreProperties +// + +@implementation GTLRBackupdr_DiskRestoreProperties +@dynamic accessMode, architecture, descriptionProperty, diskEncryptionKey, + enableConfidentialCompute, guestOsFeature, labels, licenses, name, + physicalBlockSizeBytes, provisionedIops, provisionedThroughput, + resourceManagerTags, resourcePolicy, sizeGb, storagePool, type; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"guestOsFeature" : [GTLRBackupdr_GuestOsFeature class], + @"licenses" : [NSString class], + @"resourcePolicy" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_DiskRestoreProperties_Labels +// + +@implementation GTLRBackupdr_DiskRestoreProperties_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_DiskRestoreProperties_ResourceManagerTags +// + +@implementation GTLRBackupdr_DiskRestoreProperties_ResourceManagerTags + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_DiskTargetEnvironment +// + +@implementation GTLRBackupdr_DiskTargetEnvironment +@dynamic project, zoneProperty; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"zoneProperty" : @"zone" }; +} + @end @@ -1638,6 +1771,24 @@ @implementation GTLRBackupdr_Policy @end +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_RegionDiskTargetEnvironment +// + +@implementation GTLRBackupdr_RegionDiskTargetEnvironment +@dynamic project, region, replicaZones; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"replicaZones" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBackupdr_RemoveDataSourceRequest @@ -1689,7 +1840,8 @@ + (Class)classForAdditionalProperties { @implementation GTLRBackupdr_RestoreBackupRequest @dynamic computeInstanceRestoreProperties, computeInstanceTargetEnvironment, - requestId; + diskRestoreProperties, diskTargetEnvironment, + regionDiskTargetEnvironment, requestId; @end diff --git a/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m b/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m index 8b856a065..83bcf49a6 100644 --- a/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m +++ b/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m @@ -113,6 +113,33 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRBackupdrQuery_ProjectsLocationsBackupPlanAssociationsPatch + +@dynamic name, requestId, updateMask; + ++ (instancetype)queryWithObject:(GTLRBackupdr_BackupPlanAssociation *)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}"; + GTLRBackupdrQuery_ProjectsLocationsBackupPlanAssociationsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRBackupdr_Operation class]; + query.loggingName = @"backupdr.projects.locations.backupPlanAssociations.patch"; + return query; +} + +@end + @implementation GTLRBackupdrQuery_ProjectsLocationsBackupPlanAssociationsTriggerBackup @dynamic name; @@ -672,7 +699,8 @@ + (instancetype)queryWithParent:(NSString *)parent { @implementation GTLRBackupdrQuery_ProjectsLocationsBackupVaultsPatch -@dynamic force, name, requestId, updateMask, validateOnly; +@dynamic force, forceUpdateAccessRestriction, name, requestId, updateMask, + validateOnly; + (instancetype)queryWithObject:(GTLRBackupdr_BackupVault *)object name:(NSString *)name { diff --git a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h index 6effd34c4..4e9680506 100644 --- a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h +++ b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h @@ -50,6 +50,12 @@ @class GTLRBackupdr_DataSource_Labels; @class GTLRBackupdr_DataSourceBackupApplianceApplication; @class GTLRBackupdr_DataSourceGcpResource; +@class GTLRBackupdr_DiskBackupProperties; +@class GTLRBackupdr_DiskDataSourceProperties; +@class GTLRBackupdr_DiskRestoreProperties; +@class GTLRBackupdr_DiskRestoreProperties_Labels; +@class GTLRBackupdr_DiskRestoreProperties_ResourceManagerTags; +@class GTLRBackupdr_DiskTargetEnvironment; @class GTLRBackupdr_DisplayDevice; @class GTLRBackupdr_Entry; @class GTLRBackupdr_Expr; @@ -79,6 +85,7 @@ @class GTLRBackupdr_PlanConfig; @class GTLRBackupdr_PlanRule; @class GTLRBackupdr_Policy; +@class GTLRBackupdr_RegionDiskTargetEnvironment; @class GTLRBackupdr_ResourceBackupConfig; @class GTLRBackupdr_ResourceBackupConfig_TargetResourceLabels; @class GTLRBackupdr_RuleConfigInfo; @@ -669,6 +676,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_BackupVault_State_Error; * Value: "STATE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_BackupVault_State_StateUnspecified; +/** + * The backup vault is being updated. + * + * Value: "UPDATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_BackupVault_State_Updating; // ---------------------------------------------------------------------------- // GTLRBackupdr_ComputeInstanceBackupProperties.keyRevocationActionType @@ -804,6 +817,75 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_DataSource_State_Error; */ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_DataSource_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRBackupdr_DiskBackupProperties.architecture + +/** + * Default value. This value is unused. + * + * Value: "ARCHITECTURE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_DiskBackupProperties_Architecture_ArchitectureUnspecified; +/** + * Disks with architecture ARM64 + * + * Value: "ARM64" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_DiskBackupProperties_Architecture_Arm64; +/** + * Disks with architecture X86_64 + * + * Value: "X86_64" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_DiskBackupProperties_Architecture_X8664; + +// ---------------------------------------------------------------------------- +// GTLRBackupdr_DiskRestoreProperties.accessMode + +/** + * The AccessMode means the disk can be attached to multiple instances in RO + * mode. + * + * Value: "READ_ONLY_MANY" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_DiskRestoreProperties_AccessMode_ReadOnlyMany; +/** + * The AccessMode means the disk can be attached to multiple instances in RW + * mode. + * + * Value: "READ_WRITE_MANY" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_DiskRestoreProperties_AccessMode_ReadWriteMany; +/** + * The default AccessMode, means the disk can be attached to single instance in + * RW mode. + * + * Value: "READ_WRITE_SINGLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_DiskRestoreProperties_AccessMode_ReadWriteSingle; + +// ---------------------------------------------------------------------------- +// GTLRBackupdr_DiskRestoreProperties.architecture + +/** + * Default value. This value is unused. + * + * Value: "ARCHITECTURE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_DiskRestoreProperties_Architecture_ArchitectureUnspecified; +/** + * Disks with architecture ARM64 + * + * Value: "ARM64" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_DiskRestoreProperties_Architecture_Arm64; +/** + * Disks with architecture X86_64 + * + * Value: "X86_64" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_DiskRestoreProperties_Architecture_X8664; + // ---------------------------------------------------------------------------- // GTLRBackupdr_GuestOsFeature.type @@ -1981,6 +2063,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; +/** Output only. Disk specific backup properties. */ +@property(nonatomic, strong, nullable) GTLRBackupdr_DiskBackupProperties *diskBackupProperties; + /** Optional. The backup can not be deleted before this time. */ @property(nonatomic, strong, nullable) GTLRDateTime *enforcedRetentionEndTime; @@ -2464,6 +2549,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week */ @property(nonatomic, copy, nullable) NSString *state; +/** Output only. All resource types to which backupPlan can be applied. */ +@property(nonatomic, strong, nullable) NSArray *supportedResourceTypes; + /** Output only. When the `BackupPlan` was last updated. */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @@ -2698,6 +2786,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week * experiencing an issue and might be unusable. (Value: "ERROR") * @arg @c kGTLRBackupdr_BackupVault_State_StateUnspecified State not set. * (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRBackupdr_BackupVault_State_Updating The backup vault is being + * updated. (Value: "UPDATING") */ @property(nonatomic, copy, nullable) NSString *state; @@ -3279,6 +3369,14 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week */ @interface GTLRBackupdr_DataSource : GTLRObject +/** + * Output only. This field is set to true if the backup is blocked by vault + * access restriction. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *backupBlockedByVaultAccessRestriction; + /** Output only. Details of how the resource is configured for backup. */ @property(nonatomic, strong, nullable) GTLRBackupdr_BackupConfigInfo *backupConfigInfo; @@ -3435,6 +3533,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week */ @property(nonatomic, strong, nullable) GTLRBackupdr_ComputeInstanceDataSourceProperties *computeInstanceDatasourceProperties; +/** + * DiskDataSourceProperties has a subset of Disk properties that are useful at + * the Datasource level. + */ +@property(nonatomic, strong, nullable) GTLRBackupdr_DiskDataSourceProperties *diskDatasourceProperties; + /** * Output only. Full resource pathname URL of the source Google Cloud resource. */ @@ -3452,6 +3556,279 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week @end +/** + * DiskBackupProperties represents the properties of a Disk backup. + */ +@interface GTLRBackupdr_DiskBackupProperties : GTLRObject + +/** + * The architecture of the source disk. Valid values are ARM64 or X86_64. + * + * Likely values: + * @arg @c kGTLRBackupdr_DiskBackupProperties_Architecture_ArchitectureUnspecified + * Default value. This value is unused. (Value: + * "ARCHITECTURE_UNSPECIFIED") + * @arg @c kGTLRBackupdr_DiskBackupProperties_Architecture_Arm64 Disks with + * architecture ARM64 (Value: "ARM64") + * @arg @c kGTLRBackupdr_DiskBackupProperties_Architecture_X8664 Disks with + * architecture X86_64 (Value: "X86_64") + */ +@property(nonatomic, copy, nullable) NSString *architecture; + +/** + * A description of the source disk. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** A list of guest OS features that are applicable to this backup. */ +@property(nonatomic, strong, nullable) NSArray *guestOsFeature; + +/** + * A list of publicly available licenses that are applicable to this backup. + * This is applicable if the original image had licenses attached, e.g. Windows + * image. + */ +@property(nonatomic, strong, nullable) NSArray *licenses; + +/** + * Region and zone are mutually exclusive fields. The URL of the region of the + * source disk. + */ +@property(nonatomic, copy, nullable) NSString *region; + +/** The URL of the Zones where the source disk should be replicated. */ +@property(nonatomic, strong, nullable) NSArray *replicaZones; + +/** + * Size(in GB) of the source disk. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *sizeGb; + +/** The source disk used to create this backup. */ +@property(nonatomic, copy, nullable) NSString *sourceDisk; + +/** The URL of the type of the disk. */ +@property(nonatomic, copy, nullable) NSString *type; + +/** + * The URL of the Zone where the source disk. + * + * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. + */ +@property(nonatomic, copy, nullable) NSString *zoneProperty; + +@end + + +/** + * DiskDataSourceProperties represents the properties of a Disk resource that + * are stored in the DataSource. . + */ +@interface GTLRBackupdr_DiskDataSourceProperties : GTLRObject + +/** + * The description of the disk. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** Name of the disk backed up by the datasource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The size of the disk in GB. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *sizeGb; + +/** The type of the disk. */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * DiskRestoreProperties represents the properties of a Disk restore. + */ +@interface GTLRBackupdr_DiskRestoreProperties : GTLRObject + +/** + * Optional. The access mode of the disk. + * + * Likely values: + * @arg @c kGTLRBackupdr_DiskRestoreProperties_AccessMode_ReadOnlyMany The + * AccessMode means the disk can be attached to multiple instances in RO + * mode. (Value: "READ_ONLY_MANY") + * @arg @c kGTLRBackupdr_DiskRestoreProperties_AccessMode_ReadWriteMany The + * AccessMode means the disk can be attached to multiple instances in RW + * mode. (Value: "READ_WRITE_MANY") + * @arg @c kGTLRBackupdr_DiskRestoreProperties_AccessMode_ReadWriteSingle The + * default AccessMode, means the disk can be attached to single instance + * in RW mode. (Value: "READ_WRITE_SINGLE") + */ +@property(nonatomic, copy, nullable) NSString *accessMode; + +/** + * Optional. The architecture of the source disk. Valid values are ARM64 or + * X86_64. + * + * Likely values: + * @arg @c kGTLRBackupdr_DiskRestoreProperties_Architecture_ArchitectureUnspecified + * Default value. This value is unused. (Value: + * "ARCHITECTURE_UNSPECIFIED") + * @arg @c kGTLRBackupdr_DiskRestoreProperties_Architecture_Arm64 Disks with + * architecture ARM64 (Value: "ARM64") + * @arg @c kGTLRBackupdr_DiskRestoreProperties_Architecture_X8664 Disks with + * architecture X86_64 (Value: "X86_64") + */ +@property(nonatomic, copy, nullable) NSString *architecture; + +/** + * Optional. An optional description of this resource. Provide this property + * when you create the resource. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Optional. Encrypts the disk using a customer-supplied encryption key or a + * customer-managed encryption key. + */ +@property(nonatomic, strong, nullable) GTLRBackupdr_CustomerEncryptionKey *diskEncryptionKey; + +/** + * Optional. Indicates whether this disk is using confidential compute mode. + * Encryption with a Cloud KMS key is required to enable this option. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableConfidentialCompute; + +/** + * Optional. A list of features to enable in the guest operating system. This + * is applicable only for bootable images. + */ +@property(nonatomic, strong, nullable) NSArray *guestOsFeature; + +/** + * Optional. Labels to apply to this disk. These can be modified later using + * setLabels method. Label values can be empty. + */ +@property(nonatomic, strong, nullable) GTLRBackupdr_DiskRestoreProperties_Labels *labels; + +/** + * Optional. A list of publicly available licenses that are applicable to this + * backup. This is applicable if the original image had licenses attached, e.g. + * Windows image + */ +@property(nonatomic, strong, nullable) NSArray *licenses; + +/** Required. Name of the disk.. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Physical block size of the persistent disk, in bytes. If not + * present in a request, a default value is used. Currently, the supported size + * is 4096. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *physicalBlockSizeBytes; + +/** + * Optional. Indicates how many IOPS to provision for the disk. This sets the + * number of I/O operations per second that the disk can handle. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *provisionedIops; + +/** + * Optional. Indicates how much throughput to provision for the disk. This sets + * the number of throughput MB per second that the disk can handle. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *provisionedThroughput; + +/** Optional. Resource manager tags to be bound to the disk. */ +@property(nonatomic, strong, nullable) GTLRBackupdr_DiskRestoreProperties_ResourceManagerTags *resourceManagerTags; + +/** Optional. Resource policies applied to this disk. */ +@property(nonatomic, strong, nullable) NSArray *resourcePolicy; + +/** + * Required. The size of the disk in GB. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *sizeGb; + +/** + * Optional. The storage pool in which the new disk is created. You can provide + * this as a partial or full URL to the resource. + */ +@property(nonatomic, copy, nullable) NSString *storagePool; + +/** + * Required. URL of the disk type resource describing which disk type to use to + * create the disk. + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * Optional. Labels to apply to this disk. These can be modified later using + * setLabels method. Label values can be empty. + * + * @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_DiskRestoreProperties_Labels : GTLRObject +@end + + +/** + * Optional. Resource manager tags to be bound to the disk. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRBackupdr_DiskRestoreProperties_ResourceManagerTags : GTLRObject +@end + + +/** + * DiskTargetEnvironment represents the target environment for the disk. + */ +@interface GTLRBackupdr_DiskTargetEnvironment : GTLRObject + +/** Required. Target project for the disk. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** + * Required. Target zone for the disk. + * + * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. + */ +@property(nonatomic, copy, nullable) NSString *zoneProperty; + +@end + + /** * A set of Display Device options */ @@ -4885,6 +5262,23 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week @end +/** + * RegionDiskTargetEnvironment represents the target environment for the disk. + */ +@interface GTLRBackupdr_RegionDiskTargetEnvironment : GTLRObject + +/** Required. Target project for the disk. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** Required. Target region for the disk. */ +@property(nonatomic, copy, nullable) NSString *region; + +/** Required. Target URLs of the replica zones for the disk. */ +@property(nonatomic, strong, nullable) NSArray *replicaZones; + +@end + + /** * Message for deleting a DataSource. */ @@ -5002,6 +5396,15 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week /** Compute Engine target environment to be used during restore. */ @property(nonatomic, strong, nullable) GTLRBackupdr_ComputeInstanceTargetEnvironment *computeInstanceTargetEnvironment; +/** Disk properties to be overridden during restore. */ +@property(nonatomic, strong, nullable) GTLRBackupdr_DiskRestoreProperties *diskRestoreProperties; + +/** Disk target environment to be used during restore. */ +@property(nonatomic, strong, nullable) GTLRBackupdr_DiskTargetEnvironment *diskTargetEnvironment; + +/** Region disk target environment to be used during restore. */ +@property(nonatomic, strong, nullable) GTLRBackupdr_RegionDiskTargetEnvironment *regionDiskTargetEnvironment; + /** * 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 diff --git a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h index da7286321..acc3d049f 100644 --- a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h +++ b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h @@ -267,6 +267,68 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdrViewBackupViewUnspecified; @end +/** + * Update a BackupPlanAssociation + * + * Method: backupdr.projects.locations.backupPlanAssociations.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeBackupdrCloudPlatform + */ +@interface GTLRBackupdrQuery_ProjectsLocationsBackupPlanAssociationsPatch : GTLRBackupdrQuery + +/** + * Output only. Identifier. The resource name of BackupPlanAssociation in below + * format Format : + * projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and t he 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; + +/** + * Required. The list of fields to update. Field mask is used to specify the + * fields to be overwritten in the BackupPlanAssociation 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 the request will fail. + * Currently backup_plan_association.backup_plan is the only supported field. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRBackupdr_Operation. + * + * Update a BackupPlanAssociation + * + * @param object The @c GTLRBackupdr_BackupPlanAssociation to include in the + * query. + * @param name Output only. Identifier. The resource name of + * BackupPlanAssociation in below format Format : + * projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId} + * + * @return GTLRBackupdrQuery_ProjectsLocationsBackupPlanAssociationsPatch + */ ++ (instancetype)queryWithObject:(GTLRBackupdr_BackupPlanAssociation *)object + name:(NSString *)name; + +@end + /** * Triggers a new Backup. * @@ -1437,6 +1499,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdrViewBackupViewUnspecified; */ @property(nonatomic, assign) BOOL force; +/** + * Optional. If set to true, we will force update access restriction even if + * some non compliant data sources are present. The default is 'false'. + */ +@property(nonatomic, assign) BOOL forceUpdateAccessRestriction; + /** * Output only. Identifier. Name of the backup vault to create. It must have * the diff --git a/Sources/GeneratedServices/BackupforGKE/GTLRBackupforGKEObjects.m b/Sources/GeneratedServices/BackupforGKE/GTLRBackupforGKEObjects.m index ee528e324..786c39138 100644 --- a/Sources/GeneratedServices/BackupforGKE/GTLRBackupforGKEObjects.m +++ b/Sources/GeneratedServices/BackupforGKE/GTLRBackupforGKEObjects.m @@ -262,16 +262,27 @@ @implementation GTLRBackupforGKE_BackupConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRBackupforGKE_BackupConfigDetails +// + +@implementation GTLRBackupforGKE_BackupConfigDetails +@dynamic allNamespaces, encryptionKey, includeSecrets, includeVolumeData, + selectedApplications, selectedNamespaces; +@end + + // ---------------------------------------------------------------------------- // // GTLRBackupforGKE_BackupPlan // @implementation GTLRBackupforGKE_BackupPlan -@dynamic backupConfig, backupSchedule, cluster, createTime, deactivated, - descriptionProperty, ETag, labels, lastSuccessfulBackupTime, name, - protectedPodCount, retentionPolicy, rpoRiskLevel, rpoRiskReason, state, - stateReason, uid, updateTime; +@dynamic backupChannel, backupConfig, backupSchedule, cluster, createTime, + deactivated, descriptionProperty, ETag, labels, + lastSuccessfulBackupTime, name, protectedPodCount, retentionPolicy, + rpoRiskLevel, rpoRiskReason, state, stateReason, uid, updateTime; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -320,8 +331,9 @@ @implementation GTLRBackupforGKE_BackupPlanBinding // @implementation GTLRBackupforGKE_BackupPlanDetails -@dynamic lastSuccessfulBackup, lastSuccessfulBackupTime, - nextScheduledBackupTime, protectedPodCount, rpoRiskLevel, state; +@dynamic backupConfigDetails, lastSuccessfulBackup, lastSuccessfulBackupTime, + nextScheduledBackupTime, protectedPodCount, retentionPolicyDetails, + rpoRiskLevel, state; @end @@ -1156,7 +1168,8 @@ @implementation GTLRBackupforGKE_RestoreOrder @implementation GTLRBackupforGKE_RestorePlan @dynamic backupPlan, cluster, createTime, descriptionProperty, ETag, labels, - name, restoreConfig, state, stateReason, uid, updateTime; + name, restoreChannel, restoreConfig, state, stateReason, uid, + updateTime; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -1208,6 +1221,16 @@ @implementation GTLRBackupforGKE_RetentionPolicy @end +// ---------------------------------------------------------------------------- +// +// GTLRBackupforGKE_RetentionPolicyDetails +// + +@implementation GTLRBackupforGKE_RetentionPolicyDetails +@dynamic backupDeleteLockDays, backupRetainDays; +@end + + // ---------------------------------------------------------------------------- // // GTLRBackupforGKE_RpoConfig diff --git a/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEObjects.h b/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEObjects.h index 250d7f957..15b45faf0 100644 --- a/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEObjects.h +++ b/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEObjects.h @@ -22,6 +22,7 @@ @class GTLRBackupforGKE_BackupChannel; @class GTLRBackupforGKE_BackupChannel_Labels; @class GTLRBackupforGKE_BackupConfig; +@class GTLRBackupforGKE_BackupConfigDetails; @class GTLRBackupforGKE_BackupPlan; @class GTLRBackupforGKE_BackupPlan_Labels; @class GTLRBackupforGKE_BackupPlanBinding; @@ -63,6 +64,7 @@ @class GTLRBackupforGKE_RestorePlan_Labels; @class GTLRBackupforGKE_RestorePlanBinding; @class GTLRBackupforGKE_RetentionPolicy; +@class GTLRBackupforGKE_RetentionPolicyDetails; @class GTLRBackupforGKE_RpoConfig; @class GTLRBackupforGKE_Schedule; @class GTLRBackupforGKE_SubstitutionRule; @@ -1117,8 +1119,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo /** * Required. Immutable. The project where Backups are allowed to be stored. The - * format is `projects/{project}`. Currently, {project} can only be the project - * number. Support for project IDs will be added in the future. + * format is `projects/{projectId}` or `projects/{projectNumber}`. */ @property(nonatomic, copy, nullable) NSString *destinationProject; @@ -1235,11 +1236,69 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo @end +/** + * BackupConfigDetails defines the configuration of Backups created via this + * BackupPlan. + */ +@interface GTLRBackupforGKE_BackupConfigDetails : GTLRObject + +/** + * Output only. If True, include all namespaced resources + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allNamespaces; + +/** + * Output only. This defines a customer managed encryption key that will be + * used to encrypt the "config" portion (the Kubernetes resources) of Backups + * created via this plan. Default (empty): Config backup artifacts will not be + * encrypted. + */ +@property(nonatomic, strong, nullable) GTLRBackupforGKE_EncryptionKey *encryptionKey; + +/** + * Output only. This flag specifies whether Kubernetes Secret resources should + * be included when they fall into the scope of Backups. Default: False + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *includeSecrets; + +/** + * Output only. This flag specifies whether volume data should be backed up + * when PVCs are included in the scope of a Backup. Default: False + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *includeVolumeData; + +/** + * Output only. If set, include just the resources referenced by the listed + * ProtectedApplications. + */ +@property(nonatomic, strong, nullable) GTLRBackupforGKE_NamespacedNames *selectedApplications; + +/** + * Output only. If set, include just the resources in the listed namespaces. + */ +@property(nonatomic, strong, nullable) GTLRBackupforGKE_Namespaces *selectedNamespaces; + +@end + + /** * Defines the configuration and scheduling for a "line" of Backups. */ @interface GTLRBackupforGKE_BackupPlan : GTLRObject +/** + * Output only. The fully qualified name of the BackupChannel to be used to + * create a backup. This field is set only if the cluster being backed up is in + * a different project. `projects/ * /locations/ * /backupChannels/ *` + */ +@property(nonatomic, copy, nullable) NSString *backupChannel; + /** * Optional. Defines the configuration of Backups created via this BackupPlan. */ @@ -1456,6 +1515,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo */ @interface GTLRBackupforGKE_BackupPlanDetails : GTLRObject +/** + * Output only. Contains details about the BackupConfig of Backups created via + * this BackupPlan. + */ +@property(nonatomic, strong, nullable) GTLRBackupforGKE_BackupConfigDetails *backupConfigDetails; + /** * Output only. The fully qualified name of the last successful Backup created * under this BackupPlan. `projects/ * /locations/ * /backupPlans/ * /backups/ @@ -1483,6 +1548,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo */ @property(nonatomic, strong, nullable) NSNumber *protectedPodCount; +/** + * Output only. Contains details about the RetentionPolicy of Backups created + * via this BackupPlan. + */ +@property(nonatomic, strong, nullable) GTLRBackupforGKE_RetentionPolicyDetails *retentionPolicyDetails; + /** * Output only. A number that represents the current risk level of this * BackupPlan from RPO perspective with 1 being no risk and 5 being highest @@ -2937,8 +3008,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo /** * Required. Immutable. The project into which the backups will be restored. - * The format is `projects/{project}`. Currently, {project} can only be the - * project number. Support for project IDs will be added in the future. + * The format is `projects/{projectId}` or `projects/{projectNumber}`. */ @property(nonatomic, copy, nullable) NSString *destinationProject; @@ -3247,6 +3317,14 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Output only. The fully qualified name of the RestoreChannel to be used to + * create a RestorePlan. This field is set only if the `backup_plan` is in a + * different project than the RestorePlan. Format: `projects/ * /locations/ * + * /restoreChannels/ *` + */ +@property(nonatomic, copy, nullable) NSString *restoreChannel; + /** Required. Configuration of Restores created via this RestorePlan. */ @property(nonatomic, strong, nullable) GTLRBackupforGKE_RestoreConfig *restoreConfig; @@ -3403,6 +3481,39 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo @end +/** + * RetentionPolicyDetails defines a Backup retention policy for a BackupPlan. + */ +@interface GTLRBackupforGKE_RetentionPolicyDetails : GTLRObject + +/** + * Optional. Minimum age for Backups created via this BackupPlan (in days). + * This field MUST be an integer value between 0-90 (inclusive). A Backup + * created under this BackupPlan will NOT be deletable until it reaches + * Backup's (create_time + backup_delete_lock_days). Updating this field of a + * BackupPlan does NOT affect existing Backups under it. Backups created AFTER + * a successful update will inherit the new value. Default: 0 (no delete + * blocking) + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *backupDeleteLockDays; + +/** + * Optional. The default maximum age of a Backup created via this BackupPlan. + * This field MUST be an integer value >= 0 and <= 365. If specified, a Backup + * created under this BackupPlan will be automatically deleted after its age + * reaches (create_time + backup_retain_days). If not specified, Backups + * created under this BackupPlan will NOT be subject to automatic deletion. + * Default: 0 (no automatic deletion) + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *backupRetainDays; + +@end + + /** * Defines RPO scheduling configuration for automatically creating Backups via * this BackupPlan. diff --git a/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationObjects.m b/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationObjects.m index 509bcd077..7a99cbcbc 100644 --- a/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationObjects.m +++ b/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationObjects.m @@ -26,6 +26,12 @@ NSString * const kGTLRBigQueryReservation_Assignment_State_Pending = @"PENDING"; NSString * const kGTLRBigQueryReservation_Assignment_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRBigQueryReservation_AuditLogConfig.logType +NSString * const kGTLRBigQueryReservation_AuditLogConfig_LogType_AdminRead = @"ADMIN_READ"; +NSString * const kGTLRBigQueryReservation_AuditLogConfig_LogType_DataRead = @"DATA_READ"; +NSString * const kGTLRBigQueryReservation_AuditLogConfig_LogType_DataWrite = @"DATA_WRITE"; +NSString * const kGTLRBigQueryReservation_AuditLogConfig_LogType_LogTypeUnspecified = @"LOG_TYPE_UNSPECIFIED"; + // GTLRBigQueryReservation_CapacityCommitment.edition NSString * const kGTLRBigQueryReservation_CapacityCommitment_Edition_EditionUnspecified = @"EDITION_UNSPECIFIED"; NSString * const kGTLRBigQueryReservation_CapacityCommitment_Edition_Enterprise = @"ENTERPRISE"; @@ -84,6 +90,42 @@ @implementation GTLRBigQueryReservation_Assignment @end +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryReservation_AuditConfig +// + +@implementation GTLRBigQueryReservation_AuditConfig +@dynamic auditLogConfigs, service; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"auditLogConfigs" : [GTLRBigQueryReservation_AuditLogConfig class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryReservation_AuditLogConfig +// + +@implementation GTLRBigQueryReservation_AuditLogConfig +@dynamic exemptedMembers, logType; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"exemptedMembers" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBigQueryReservation_Autoscale @@ -94,6 +136,24 @@ @implementation GTLRBigQueryReservation_Autoscale @end +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryReservation_Binding +// + +@implementation GTLRBigQueryReservation_Binding +@dynamic condition, members, role; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"members" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBigQueryReservation_BiReservation @@ -133,6 +193,21 @@ @implementation GTLRBigQueryReservation_Empty @end +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryReservation_Expr +// + +@implementation GTLRBigQueryReservation_Expr +@dynamic descriptionProperty, expression, location, title; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBigQueryReservation_FailoverReservationRequest @@ -236,6 +311,29 @@ @implementation GTLRBigQueryReservation_MoveAssignmentRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryReservation_Policy +// + +@implementation GTLRBigQueryReservation_Policy +@dynamic auditConfigs, bindings, ETag, version; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"auditConfigs" : [GTLRBigQueryReservation_AuditConfig class], + @"bindings" : [GTLRBigQueryReservation_Binding class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBigQueryReservation_ReplicationStatus @@ -317,6 +415,16 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryReservation_SetIamPolicyRequest +// + +@implementation GTLRBigQueryReservation_SetIamPolicyRequest +@dynamic policy, updateMask; +@end + + // ---------------------------------------------------------------------------- // // GTLRBigQueryReservation_SplitCapacityCommitmentRequest @@ -377,3 +485,39 @@ + (Class)classForAdditionalProperties { @implementation GTLRBigQueryReservation_TableReference @dynamic datasetId, projectId, tableId; @end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryReservation_TestIamPermissionsRequest +// + +@implementation GTLRBigQueryReservation_TestIamPermissionsRequest +@dynamic permissions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"permissions" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryReservation_TestIamPermissionsResponse +// + +@implementation GTLRBigQueryReservation_TestIamPermissionsResponse +@dynamic permissions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"permissions" : [NSString class] + }; + return map; +} + +@end diff --git a/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationQuery.m b/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationQuery.m index 8d127570d..dd8027c37 100644 --- a/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationQuery.m +++ b/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationQuery.m @@ -414,6 +414,29 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRBigQueryReservationQuery_ProjectsLocationsReservationsGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; + GTLRBigQueryReservationQuery_ProjectsLocationsReservationsGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLRBigQueryReservation_Policy class]; + query.loggingName = @"bigqueryreservation.projects.locations.reservations.getIamPolicy"; + return query; +} + +@end + @implementation GTLRBigQueryReservationQuery_ProjectsLocationsReservationsList @dynamic pageSize, pageToken, parent; @@ -460,6 +483,60 @@ + (instancetype)queryWithObject:(GTLRBigQueryReservation_Reservation *)object @end +@implementation GTLRBigQueryReservationQuery_ProjectsLocationsReservationsSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRBigQueryReservation_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"; + GTLRBigQueryReservationQuery_ProjectsLocationsReservationsSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRBigQueryReservation_Policy class]; + query.loggingName = @"bigqueryreservation.projects.locations.reservations.setIamPolicy"; + return query; +} + +@end + +@implementation GTLRBigQueryReservationQuery_ProjectsLocationsReservationsTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRBigQueryReservation_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"; + GTLRBigQueryReservationQuery_ProjectsLocationsReservationsTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRBigQueryReservation_TestIamPermissionsResponse class]; + query.loggingName = @"bigqueryreservation.projects.locations.reservations.testIamPermissions"; + return query; +} + +@end + @implementation GTLRBigQueryReservationQuery_ProjectsLocationsSearchAllAssignments @dynamic pageSize, pageToken, parent, query; diff --git a/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationObjects.h b/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationObjects.h index 7ca14ddf6..9957f0cb4 100644 --- a/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationObjects.h +++ b/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationObjects.h @@ -15,8 +15,13 @@ #endif @class GTLRBigQueryReservation_Assignment; +@class GTLRBigQueryReservation_AuditConfig; +@class GTLRBigQueryReservation_AuditLogConfig; @class GTLRBigQueryReservation_Autoscale; +@class GTLRBigQueryReservation_Binding; @class GTLRBigQueryReservation_CapacityCommitment; +@class GTLRBigQueryReservation_Expr; +@class GTLRBigQueryReservation_Policy; @class GTLRBigQueryReservation_ReplicationStatus; @class GTLRBigQueryReservation_Reservation; @class GTLRBigQueryReservation_Reservation_Labels; @@ -100,6 +105,34 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Assignment_State_Pen */ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Assignment_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRBigQueryReservation_AuditLogConfig.logType + +/** + * Admin reads. Example: CloudIAM getIamPolicy + * + * Value: "ADMIN_READ" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_AuditLogConfig_LogType_AdminRead; +/** + * Data reads. Example: CloudSQL Users list + * + * Value: "DATA_READ" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_AuditLogConfig_LogType_DataRead; +/** + * Data writes. Example: CloudSQL Users create + * + * Value: "DATA_WRITE" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_AuditLogConfig_LogType_DataWrite; +/** + * Default case. Should never be this. + * + * Value: "LOG_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_AuditLogConfig_LogType_LogTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRBigQueryReservation_CapacityCommitment.edition @@ -421,8 +454,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Reservation_ScalingM @interface GTLRBigQueryReservation_Assignment : GTLRObject /** - * The resource which will use the reservation. E.g. `projects/myproject`, - * `folders/123`, or `organizations/456`. + * Optional. The resource which will use the reservation. E.g. + * `projects/myproject`, `folders/123`, or `organizations/456`. */ @property(nonatomic, copy, nullable) NSString *assignee; @@ -440,7 +473,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Reservation_ScalingM @property(nonatomic, strong, nullable) NSNumber *enableGeminiInBigquery; /** - * Which type of jobs will use the reservation. + * Optional. Which type of jobs will use the reservation. * * Likely values: * @arg @c kGTLRBigQueryReservation_Assignment_JobType_Background Background @@ -491,6 +524,72 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Reservation_ScalingM @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 GTLRBigQueryReservation_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 GTLRBigQueryReservation_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 kGTLRBigQueryReservation_AuditLogConfig_LogType_AdminRead Admin + * reads. Example: CloudIAM getIamPolicy (Value: "ADMIN_READ") + * @arg @c kGTLRBigQueryReservation_AuditLogConfig_LogType_DataRead Data + * reads. Example: CloudSQL Users list (Value: "DATA_READ") + * @arg @c kGTLRBigQueryReservation_AuditLogConfig_LogType_DataWrite Data + * writes. Example: CloudSQL Users create (Value: "DATA_WRITE") + * @arg @c kGTLRBigQueryReservation_AuditLogConfig_LogType_LogTypeUnspecified + * Default case. Should never be this. (Value: "LOG_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *logType; + +@end + + /** * Auto scaling settings. */ @@ -517,22 +616,109 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Reservation_ScalingM @end +/** + * Associates `members`, or principals, with a `role`. + */ +@interface GTLRBigQueryReservation_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) GTLRBigQueryReservation_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 + + /** * Represents a BI Reservation. */ @interface GTLRBigQueryReservation_BiReservation : GTLRObject /** - * The resource name of the singleton BI reservation. Reservation names have - * the form `projects/{project_id}/locations/{location_id}/biReservation`. + * Identifier. The resource name of the singleton BI reservation. Reservation + * names have the form + * `projects/{project_id}/locations/{location_id}/biReservation`. */ @property(nonatomic, copy, nullable) NSString *name; -/** Preferred tables to use BI capacity for. */ +/** Optional. Preferred tables to use BI capacity for. */ @property(nonatomic, strong, nullable) NSArray *preferredTables; /** - * Size of a reservation, in bytes. + * Optional. Size of a reservation, in bytes. * * Uses NSNumber of longLongValue. */ @@ -572,7 +758,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Reservation_ScalingM @property(nonatomic, strong, nullable) GTLRDateTime *commitmentStartTime; /** - * Edition of the capacity commitment. + * Optional. Edition of the capacity commitment. * * Likely values: * @arg @c kGTLRBigQueryReservation_CapacityCommitment_Edition_EditionUnspecified @@ -610,7 +796,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Reservation_ScalingM * * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *multiRegionAuxiliary; +@property(nonatomic, strong, nullable) NSNumber *multiRegionAuxiliary GTLR_DEPRECATED; /** * Output only. The resource name of the capacity commitment, e.g., @@ -622,7 +808,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Reservation_ScalingM @property(nonatomic, copy, nullable) NSString *name; /** - * Capacity commitment commitment plan. + * Optional. Capacity commitment commitment plan. * * Likely values: * @arg @c kGTLRBigQueryReservation_CapacityCommitment_Plan_Annual Annual @@ -671,9 +857,10 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Reservation_ScalingM @property(nonatomic, copy, nullable) NSString *plan; /** - * The plan this capacity commitment is converted to after commitment_end_time - * passes. Once the plan is changed, committed period is extended according to - * commitment plan. Only applicable for ANNUAL and TRIAL commitments. + * Optional. The plan this capacity commitment is converted to after + * commitment_end_time passes. Once the plan is changed, committed period is + * extended according to commitment plan. Only applicable for ANNUAL and TRIAL + * commitments. * * Likely values: * @arg @c kGTLRBigQueryReservation_CapacityCommitment_RenewalPlan_Annual @@ -723,7 +910,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Reservation_ScalingM @property(nonatomic, copy, nullable) NSString *renewalPlan; /** - * Number of slots in this commitment. + * Optional. Number of slots in this commitment. * * Uses NSNumber of longLongValue. */ @@ -759,6 +946,55 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Reservation_ScalingM @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 GTLRBigQueryReservation_Expr : GTLRObject + +/** + * Optional. Description of the expression. This is a longer text which + * describes the expression, e.g. when hovered over it in a UI. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Textual representation of an expression in Common Expression Language + * syntax. + */ +@property(nonatomic, copy, nullable) NSString *expression; + +/** + * Optional. String indicating the location of the expression for error + * reporting, e.g. a file name and a position in the file. + */ +@property(nonatomic, copy, nullable) NSString *location; + +/** + * Optional. Title for the expression, i.e. a short string describing its + * purpose. This can be used e.g. in UIs which allow to enter the expression. + */ +@property(nonatomic, copy, nullable) NSString *title; + +@end + + /** * The request for ReservationService.FailoverReservation. */ @@ -896,6 +1132,97 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Reservation_ScalingM @end +/** + * An Identity and Access Management (IAM) policy, which specifies access + * controls for Google Cloud resources. A `Policy` is a collection of + * `bindings`. A `binding` binds one or more `members`, or principals, to a + * single `role`. Principals can be user accounts, service accounts, Google + * groups, and domains (such as G Suite). A `role` is a named list of + * permissions; each `role` can be an IAM predefined role or a user-created + * custom role. For some types of Google Cloud resources, a `binding` can also + * specify a `condition`, which is a logical expression that allows access to a + * resource only if the expression evaluates to `true`. A condition can add + * constraints based on attributes of the request, the resource, or both. To + * learn which resources support conditions in their IAM policies, see the [IAM + * documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + * **JSON example:** ``` { "bindings": [ { "role": + * "roles/resourcemanager.organizationAdmin", "members": [ + * "user:mike\@example.com", "group:admins\@example.com", "domain:google.com", + * "serviceAccount:my-project-id\@appspot.gserviceaccount.com" ] }, { "role": + * "roles/resourcemanager.organizationViewer", "members": [ + * "user:eve\@example.com" ], "condition": { "title": "expirable access", + * "description": "Does not grant access after Sep 2020", "expression": + * "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": + * "BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` bindings: - + * members: - user:mike\@example.com - group:admins\@example.com - + * domain:google.com - + * serviceAccount:my-project-id\@appspot.gserviceaccount.com role: + * roles/resourcemanager.organizationAdmin - members: - user:eve\@example.com + * role: roles/resourcemanager.organizationViewer condition: title: expirable + * access description: Does not grant access after Sep 2020 expression: + * request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= + * version: 3 ``` For a description of IAM and its features, see the [IAM + * documentation](https://cloud.google.com/iam/docs/). + */ +@interface GTLRBigQueryReservation_Policy : GTLRObject + +/** Specifies cloud audit logging configuration for this policy. */ +@property(nonatomic, strong, nullable) NSArray *auditConfigs; + +/** + * Associates a list of `members`, or principals, with a `role`. Optionally, + * may specify a `condition` that determines how and when the `bindings` are + * applied. Each of the `bindings` must contain at least one principal. The + * `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of + * these principals can be Google groups. Each occurrence of a principal counts + * towards these limits. For example, if the `bindings` grant 50 different + * roles to `user:alice\@example.com`, and not to any other principal, then you + * can add another 1,450 principals to the `bindings` in the `Policy`. + */ +@property(nonatomic, strong, nullable) NSArray *bindings; + +/** + * `etag` is used for optimistic concurrency control as a way to help prevent + * simultaneous updates of a policy from overwriting each other. It is strongly + * suggested that systems make use of the `etag` in the read-modify-write cycle + * to perform policy updates in order to avoid race conditions: An `etag` is + * returned in the response to `getIamPolicy`, and systems are expected to put + * that etag in the request to `setIamPolicy` to ensure that their change will + * be applied to the same version of the policy. **Important:** If you use IAM + * Conditions, you must include the `etag` field whenever you call + * `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a + * version `3` policy with a version `1` policy, and all of the conditions in + * the version `3` policy are lost. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Specifies the format of the policy. Valid values are `0`, `1`, and `3`. + * Requests that specify an invalid value are rejected. Any operation that + * affects conditional role bindings must specify version `3`. This requirement + * applies to the following operations: * Getting a policy that includes a + * conditional role binding * Adding a conditional role binding to a policy * + * Changing a conditional role binding in a policy * Removing any role binding, + * with or without a condition, from a policy that includes conditions + * **Important:** If you use IAM Conditions, you must include the `etag` field + * whenever you call `setIamPolicy`. If you omit this field, then IAM allows + * you to overwrite a version `3` policy with a version `1` policy, and all of + * the conditions in the version `3` policy are lost. If a policy does not + * include any conditions, operations on that policy may specify any valid + * version or leave the field unset. To learn which resources support + * conditions in their IAM policies, see the [IAM + * documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *version; + +@end + + /** * Disaster Recovery(DR) replication status of the reservation. */ @@ -1219,6 +1546,30 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Reservation_ScalingM @end +/** + * Request message for `SetIamPolicy` method. + */ +@interface GTLRBigQueryReservation_SetIamPolicyRequest : GTLRObject + +/** + * REQUIRED: The complete policy to be applied to the `resource`. The size of + * the policy is limited to a few 10s of KB. An empty policy is a valid policy + * but certain Google Cloud services (such as Projects) might reject them. + */ +@property(nonatomic, strong, nullable) GTLRBigQueryReservation_Policy *policy; + +/** + * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only + * the fields in the mask will be modified. If no mask is provided, the + * following default mask is used: `paths: "bindings, etag"` + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +@end + + /** * The request for ReservationService.SplitCapacityCommitment. */ @@ -1299,17 +1650,45 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Reservation_ScalingM */ @interface GTLRBigQueryReservation_TableReference : GTLRObject -/** The ID of the dataset in the above project. */ +/** Optional. The ID of the dataset in the above project. */ @property(nonatomic, copy, nullable) NSString *datasetId; -/** The assigned project ID of the project. */ +/** Optional. The assigned project ID of the project. */ @property(nonatomic, copy, nullable) NSString *projectId; -/** The ID of the table in the above dataset. */ +/** Optional. The ID of the table in the above dataset. */ @property(nonatomic, copy, nullable) NSString *tableId; @end + +/** + * Request message for `TestIamPermissions` method. + */ +@interface GTLRBigQueryReservation_TestIamPermissionsRequest : GTLRObject + +/** + * The set of permissions to check for the `resource`. Permissions with + * wildcards (such as `*` or `storage.*`) are not allowed. For more information + * see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + */ +@property(nonatomic, strong, nullable) NSArray *permissions; + +@end + + +/** + * Response message for `TestIamPermissions` method. + */ +@interface GTLRBigQueryReservation_TestIamPermissionsResponse : GTLRObject + +/** + * A subset of `TestPermissionsRequest.permissions` that the caller is allowed. + */ +@property(nonatomic, strong, nullable) NSArray *permissions; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationQuery.h b/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationQuery.h index 1f1e2f3d6..8887bf38c 100644 --- a/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationQuery.h +++ b/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationQuery.h @@ -782,6 +782,66 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Gets the access control policy for a resource. May return: * A`NOT_FOUND` + * error if the resource doesn't exist or you don't have the permission to view + * it. * An empty policy if the resource exists but doesn't have a set policy. + * Supported resources are: - Reservations To call this method, you must have + * the following Google IAM permissions: - + * `bigqueryreservation.reservations.getIamPolicy` to get policies on + * reservations. + * + * Method: bigqueryreservation.projects.locations.reservations.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigQueryReservationBigquery + * @c kGTLRAuthScopeBigQueryReservationCloudPlatform + */ +@interface GTLRBigQueryReservationQuery_ProjectsLocationsReservationsGetIamPolicy : GTLRBigQueryReservationQuery + +/** + * 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 GTLRBigQueryReservation_Policy. + * + * Gets the access control policy for a resource. May return: * A`NOT_FOUND` + * error if the resource doesn't exist or you don't have the permission to view + * it. * An empty policy if the resource exists but doesn't have a set policy. + * Supported resources are: - Reservations To call this method, you must have + * the following Google IAM permissions: - + * `bigqueryreservation.reservations.getIamPolicy` to get policies on + * reservations. + * + * @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 GTLRBigQueryReservationQuery_ProjectsLocationsReservationsGetIamPolicy + */ ++ (instancetype)queryWithResource:(NSString *)resource; + +@end + /** * Lists all the reservations for the project in the specified location. * @@ -871,6 +931,92 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Sets an access control policy for a resource. Replaces any existing policy. + * Supported resources are: - Reservations To call this method, you must have + * the following Google IAM permissions: - + * `bigqueryreservation.reservations.setIamPolicy` to set policies on + * reservations. + * + * Method: bigqueryreservation.projects.locations.reservations.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigQueryReservationBigquery + * @c kGTLRAuthScopeBigQueryReservationCloudPlatform + */ +@interface GTLRBigQueryReservationQuery_ProjectsLocationsReservationsSetIamPolicy : GTLRBigQueryReservationQuery + +/** + * 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 GTLRBigQueryReservation_Policy. + * + * Sets an access control policy for a resource. Replaces any existing policy. + * Supported resources are: - Reservations To call this method, you must have + * the following Google IAM permissions: - + * `bigqueryreservation.reservations.setIamPolicy` to set policies on + * reservations. + * + * @param object The @c GTLRBigQueryReservation_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 GTLRBigQueryReservationQuery_ProjectsLocationsReservationsSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRBigQueryReservation_SetIamPolicyRequest *)object + resource:(NSString *)resource; + +@end + +/** + * Gets your permissions on a resource. Returns an empty set of permissions if + * the resource doesn't exist. Supported resources are: - Reservations No + * Google IAM permissions are required to call this method. + * + * Method: bigqueryreservation.projects.locations.reservations.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigQueryReservationBigquery + * @c kGTLRAuthScopeBigQueryReservationCloudPlatform + */ +@interface GTLRBigQueryReservationQuery_ProjectsLocationsReservationsTestIamPermissions : GTLRBigQueryReservationQuery + +/** + * 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 GTLRBigQueryReservation_TestIamPermissionsResponse. + * + * Gets your permissions on a resource. Returns an empty set of permissions if + * the resource doesn't exist. Supported resources are: - Reservations No + * Google IAM permissions are required to call this method. + * + * @param object The @c GTLRBigQueryReservation_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 GTLRBigQueryReservationQuery_ProjectsLocationsReservationsTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRBigQueryReservation_TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + /** * Looks up assignments for a specified resource for a particular region. If * the request is about a project: 1. Assignments created on the project will @@ -1031,8 +1177,9 @@ GTLR_DEPRECATED @interface GTLRBigQueryReservationQuery_ProjectsLocationsUpdateBiReservation : GTLRBigQueryReservationQuery /** - * The resource name of the singleton BI reservation. Reservation names have - * the form `projects/{project_id}/locations/{location_id}/biReservation`. + * Identifier. The resource name of the singleton BI reservation. Reservation + * names have the form + * `projects/{project_id}/locations/{location_id}/biReservation`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1053,8 +1200,8 @@ GTLR_DEPRECATED * * @param object The @c GTLRBigQueryReservation_BiReservation to include in the * query. - * @param name The resource name of the singleton BI reservation. Reservation - * names have the form + * @param name Identifier. The resource name of the singleton BI reservation. + * Reservation names have the form * `projects/{project_id}/locations/{location_id}/biReservation`. * * @return GTLRBigQueryReservationQuery_ProjectsLocationsUpdateBiReservation diff --git a/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m b/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m index 61983b394..32b2d029f 100644 --- a/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m +++ b/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m @@ -1404,7 +1404,8 @@ + (NSString *)collectionItemsKey { // @implementation GTLRBigquery_DatasetList_Datasets_Item -@dynamic datasetReference, friendlyName, identifier, kind, labels, location; +@dynamic datasetReference, externalDatasetReference, friendlyName, identifier, + kind, labels, location; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; diff --git a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h index ea1a974dc..0405c6f9b 100644 --- a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h +++ b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h @@ -5803,6 +5803,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @property(nonatomic, strong, nullable) GTLRBigquery_DatasetReference *datasetReference; +/** + * Output only. Reference to a read-only external dataset defined in data + * catalogs outside of BigQuery. Filled out when the dataset type is EXTERNAL. + */ +@property(nonatomic, strong, nullable) GTLRBigquery_ExternalDatasetReference *externalDatasetReference; + /** * An alternate name for the dataset. The friendly name is purely decorative in * nature. @@ -8389,13 +8395,14 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa * Optional. Specifies the action that occurs if the destination table already * exists. The following values are supported: * WRITE_TRUNCATE: If the table * already exists, BigQuery overwrites the data, removes the constraints and - * uses the schema from the load job. * WRITE_APPEND: If the table already - * exists, BigQuery appends the data to the table. * WRITE_EMPTY: If the table - * already exists and contains data, a 'duplicate' error is returned in the job - * result. The default value is WRITE_APPEND. Each action is atomic and only - * occurs if BigQuery is able to complete the job successfully. Creation, - * truncation and append actions occur as one atomic update upon job - * completion. + * uses the schema from the load job. * WRITE_TRUNCATE_DATA: If the table + * already exists, BigQuery overwrites the data, but keeps the constraints and + * schema of the existing table. * WRITE_APPEND: If the table already exists, + * BigQuery appends the data to the table. * WRITE_EMPTY: If the table already + * exists and contains data, a 'duplicate' error is returned in the job result. + * The default value is WRITE_APPEND. Each action is atomic and only occurs if + * BigQuery is able to complete the job successfully. Creation, truncation and + * append actions occur as one atomic update upon job completion. */ @property(nonatomic, copy, nullable) NSString *writeDisposition; @@ -8609,13 +8616,14 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa * Optional. Specifies the action that occurs if the destination table already * exists. The following values are supported: * WRITE_TRUNCATE: If the table * already exists, BigQuery overwrites the data, removes the constraints, and - * uses the schema from the query result. * WRITE_APPEND: If the table already - * exists, BigQuery appends the data to the table. * WRITE_EMPTY: If the table - * already exists and contains data, a 'duplicate' error is returned in the job - * result. The default value is WRITE_EMPTY. Each action is atomic and only - * occurs if BigQuery is able to complete the job successfully. Creation, - * truncation and append actions occur as one atomic update upon job - * completion. + * uses the schema from the query result. * WRITE_TRUNCATE_DATA: If the table + * already exists, BigQuery overwrites the data, but keeps the constraints and + * schema of the existing table. * WRITE_APPEND: If the table already exists, + * BigQuery appends the data to the table. * WRITE_EMPTY: If the table already + * exists and contains data, a 'duplicate' error is returned in the job result. + * The default value is WRITE_EMPTY. Each action is atomic and only occurs if + * BigQuery is able to complete the job successfully. Creation, truncation and + * append actions occur as one atomic update upon job completion. */ @property(nonatomic, copy, nullable) NSString *writeDisposition; diff --git a/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m b/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m index 1129e1334..90134c5a1 100644 --- a/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m +++ b/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m @@ -118,6 +118,11 @@ NSString * const kGTLRCloudAlloyDBAdmin_InjectFaultRequest_FaultType_FaultTypeUnspecified = @"FAULT_TYPE_UNSPECIFIED"; NSString * const kGTLRCloudAlloyDBAdmin_InjectFaultRequest_FaultType_StopVm = @"STOP_VM"; +// GTLRCloudAlloyDBAdmin_Instance.activationPolicy +NSString * const kGTLRCloudAlloyDBAdmin_Instance_ActivationPolicy_ActivationPolicyUnspecified = @"ACTIVATION_POLICY_UNSPECIFIED"; +NSString * const kGTLRCloudAlloyDBAdmin_Instance_ActivationPolicy_Always = @"ALWAYS"; +NSString * const kGTLRCloudAlloyDBAdmin_Instance_ActivationPolicy_Never = @"NEVER"; + // GTLRCloudAlloyDBAdmin_Instance.availabilityType NSString * const kGTLRCloudAlloyDBAdmin_Instance_AvailabilityType_AvailabilityTypeUnspecified = @"AVAILABILITY_TYPE_UNSPECIFIED"; NSString * const kGTLRCloudAlloyDBAdmin_Instance_AvailabilityType_Regional = @"REGIONAL"; @@ -275,6 +280,7 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeDataExportToPublicCloudStorageBucket = @"SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeDisconnectionsNotLogged = @"SIGNAL_TYPE_DISCONNECTIONS_NOT_LOGGED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeEncryptionKeyNotCustomerManaged = @"SIGNAL_TYPE_ENCRYPTION_KEY_NOT_CUSTOMER_MANAGED"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeEncryptionOrgPolicyNotSatisfied = @"SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeExcessiveLoggingOfClientHostname = @"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_CLIENT_HOSTNAME"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeExcessiveLoggingOfParserStatistics = @"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PARSER_STATISTICS"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeExcessiveLoggingOfPlannerStatistics = @"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PLANNER_STATISTICS"; @@ -288,17 +294,22 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeHighJoinsWithoutIndexes = @"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeHighNumberOfOpenTables = @"SIGNAL_TYPE_HIGH_NUMBER_OF_OPEN_TABLES"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeHighNumberOfTables = @"SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeHighReadPressure = @"SIGNAL_TYPE_HIGH_READ_PRESSURE"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeHighTransactionIdUtilization = @"SIGNAL_TYPE_HIGH_TRANSACTION_ID_UTILIZATION"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeHighWritePressure = @"SIGNAL_TYPE_HIGH_WRITE_PRESSURE"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeHotNode = @"SIGNAL_TYPE_HOT_NODE"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeIdle = @"SIGNAL_TYPE_IDLE"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeInefficientQuery = @"SIGNAL_TYPE_INEFFICIENT_QUERY"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeLargeRows = @"SIGNAL_TYPE_LARGE_ROWS"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeLastBackupFailed = @"SIGNAL_TYPE_LAST_BACKUP_FAILED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeLastBackupOld = @"SIGNAL_TYPE_LAST_BACKUP_OLD"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeLocationOrgPolicyNotSatisfied = @"SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeLoggingExcessiveStatementInfo = @"SIGNAL_TYPE_LOGGING_EXCESSIVE_STATEMENT_INFO"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeLoggingMostErrors = @"SIGNAL_TYPE_LOGGING_MOST_ERRORS"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeLoggingOnlyCriticalErrors = @"SIGNAL_TYPE_LOGGING_ONLY_CRITICAL_ERRORS"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeLoggingQueryStatistics = @"SIGNAL_TYPE_LOGGING_QUERY_STATISTICS"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeLogsNotOptimizedForTroubleshooting = @"SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeMaxServerMemory = @"SIGNAL_TYPE_MAX_SERVER_MEMORY"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeMemoryLimit = @"SIGNAL_TYPE_MEMORY_LIMIT"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeMinimalErrorLogging = @"SIGNAL_TYPE_MINIMAL_ERROR_LOGGING"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeNoAutomatedBackupPolicy = @"SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY"; @@ -433,6 +444,7 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeDataExportToPublicCloudStorageBucket = @"SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeDisconnectionsNotLogged = @"SIGNAL_TYPE_DISCONNECTIONS_NOT_LOGGED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeEncryptionKeyNotCustomerManaged = @"SIGNAL_TYPE_ENCRYPTION_KEY_NOT_CUSTOMER_MANAGED"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeEncryptionOrgPolicyNotSatisfied = @"SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeExcessiveLoggingOfClientHostname = @"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_CLIENT_HOSTNAME"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeExcessiveLoggingOfParserStatistics = @"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PARSER_STATISTICS"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeExcessiveLoggingOfPlannerStatistics = @"SIGNAL_TYPE_EXCESSIVE_LOGGING_OF_PLANNER_STATISTICS"; @@ -446,17 +458,22 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeHighJoinsWithoutIndexes = @"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeHighNumberOfOpenTables = @"SIGNAL_TYPE_HIGH_NUMBER_OF_OPEN_TABLES"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeHighNumberOfTables = @"SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeHighReadPressure = @"SIGNAL_TYPE_HIGH_READ_PRESSURE"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeHighTransactionIdUtilization = @"SIGNAL_TYPE_HIGH_TRANSACTION_ID_UTILIZATION"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeHighWritePressure = @"SIGNAL_TYPE_HIGH_WRITE_PRESSURE"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeHotNode = @"SIGNAL_TYPE_HOT_NODE"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeIdle = @"SIGNAL_TYPE_IDLE"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeInefficientQuery = @"SIGNAL_TYPE_INEFFICIENT_QUERY"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeLargeRows = @"SIGNAL_TYPE_LARGE_ROWS"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeLastBackupFailed = @"SIGNAL_TYPE_LAST_BACKUP_FAILED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeLastBackupOld = @"SIGNAL_TYPE_LAST_BACKUP_OLD"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeLocationOrgPolicyNotSatisfied = @"SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeLoggingExcessiveStatementInfo = @"SIGNAL_TYPE_LOGGING_EXCESSIVE_STATEMENT_INFO"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeLoggingMostErrors = @"SIGNAL_TYPE_LOGGING_MOST_ERRORS"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeLoggingOnlyCriticalErrors = @"SIGNAL_TYPE_LOGGING_ONLY_CRITICAL_ERRORS"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeLoggingQueryStatistics = @"SIGNAL_TYPE_LOGGING_QUERY_STATISTICS"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeLogsNotOptimizedForTroubleshooting = @"SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeMaxServerMemory = @"SIGNAL_TYPE_MAX_SERVER_MEMORY"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeMemoryLimit = @"SIGNAL_TYPE_MEMORY_LIMIT"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeMinimalErrorLogging = @"SIGNAL_TYPE_MINIMAL_ERROR_LOGGING"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeNoAutomatedBackupPolicy = @"SIGNAL_TYPE_NO_AUTOMATED_BACKUP_POLICY"; @@ -585,6 +602,7 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeAlloydb = @"PRODUCT_TYPE_ALLOYDB"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeBigtable = @"PRODUCT_TYPE_BIGTABLE"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeCloudSql = @"PRODUCT_TYPE_CLOUD_SQL"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeComputeEngine = @"PRODUCT_TYPE_COMPUTE_ENGINE"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeFirestore = @"PRODUCT_TYPE_FIRESTORE"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeMemorystore = @"PRODUCT_TYPE_MEMORYSTORE"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeOnPrem = @"PRODUCT_TYPE_ON_PREM"; @@ -1179,12 +1197,13 @@ @implementation GTLRCloudAlloyDBAdmin_InjectFaultRequest // @implementation GTLRCloudAlloyDBAdmin_Instance -@dynamic annotations, availabilityType, clientConnectionConfig, createTime, - databaseFlags, deleteTime, displayName, ETag, gceZone, instanceType, - ipAddress, labels, machineConfig, name, networkConfig, nodes, - observabilityConfig, outboundPublicIpAddresses, pscInstanceConfig, - publicIpAddress, queryInsightsConfig, readPoolConfig, reconciling, - satisfiesPzs, state, uid, updateTime, writableNode; +@dynamic activationPolicy, annotations, availabilityType, + clientConnectionConfig, createTime, databaseFlags, deleteTime, + displayName, ETag, gceZone, instanceType, ipAddress, labels, + machineConfig, name, networkConfig, nodes, observabilityConfig, + outboundPublicIpAddresses, pscInstanceConfig, publicIpAddress, + queryInsightsConfig, readPoolConfig, reconciling, satisfiesPzs, state, + uid, updateTime, writableNode; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; @@ -1249,8 +1268,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRCloudAlloyDBAdmin_InstanceNetworkConfig -@dynamic authorizedExternalNetworks, enableOutboundPublicIp, enablePublicIp, - network; +@dynamic allocatedIpRangeOverride, authorizedExternalNetworks, + enableOutboundPublicIp, enablePublicIp, network; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h index 57feba566..198ac6b49 100644 --- a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h +++ b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h @@ -610,6 +610,28 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_InjectFaultRequest_Fau */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_InjectFaultRequest_FaultType_StopVm; +// ---------------------------------------------------------------------------- +// GTLRCloudAlloyDBAdmin_Instance.activationPolicy + +/** + * The policy is not specified. + * + * Value: "ACTIVATION_POLICY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_Instance_ActivationPolicy_ActivationPolicyUnspecified; +/** + * The instance is running. + * + * Value: "ALWAYS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_Instance_ActivationPolicy_Always; +/** + * The instance is not running. + * + * Value: "NEVER" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_Instance_ActivationPolicy_Never; + // ---------------------------------------------------------------------------- // GTLRCloudAlloyDBAdmin_Instance.availabilityType @@ -1419,6 +1441,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_ENCRYPTION_KEY_NOT_CUSTOMER_MANAGED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeEncryptionKeyNotCustomerManaged; +/** + * Encryption org policy not satisfied. + * + * Value: "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeEncryptionOrgPolicyNotSatisfied; /** * Represents if the log_hostname database flag for a Cloud SQL for PostgreSQL * instance is not set to off. @@ -1507,12 +1535,24 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeHighNumberOfTables; +/** + * Heavy read pressure on the database rows. + * + * Value: "SIGNAL_TYPE_HIGH_READ_PRESSURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeHighReadPressure; /** * Represents high number of unvacuumed transactions * * Value: "SIGNAL_TYPE_HIGH_TRANSACTION_ID_UTILIZATION" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeHighTransactionIdUtilization; +/** + * Heavy write pressure on the database rows. + * + * Value: "SIGNAL_TYPE_HIGH_WRITE_PRESSURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeHighWritePressure; /** * Detects if a database instance/cluster has a hot node. * @@ -1531,6 +1571,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_INEFFICIENT_QUERY" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeInefficientQuery; +/** + * Indicates that the database has large rows beyond the recommended limit. + * + * Value: "SIGNAL_TYPE_LARGE_ROWS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeLargeRows; /** * Represents if the last backup of a resource failed. * @@ -1544,6 +1590,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_LAST_BACKUP_OLD" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeLastBackupOld; +/** + * Location org policy not satisfied. + * + * Value: "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeLocationOrgPolicyNotSatisfied; /** * Represents if the log_min_duration_statement database flag for a Cloud SQL * for PostgreSQL instance is not set to -1. @@ -1579,6 +1631,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeLogsNotOptimizedForTroubleshooting; +/** + * Indicates that the instance's max server memory is configured higher than + * the recommended value. + * + * Value: "SIGNAL_TYPE_MAX_SERVER_MEMORY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeMaxServerMemory; /** * Indicates that the instance is nearing memory limit. * @@ -2333,6 +2392,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_ENCRYPTION_KEY_NOT_CUSTOMER_MANAGED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeEncryptionKeyNotCustomerManaged; +/** + * Encryption org policy not satisfied. + * + * Value: "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeEncryptionOrgPolicyNotSatisfied; /** * Represents if the log_hostname database flag for a Cloud SQL for PostgreSQL * instance is not set to off. @@ -2421,12 +2486,24 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeHighNumberOfTables; +/** + * Heavy read pressure on the database rows. + * + * Value: "SIGNAL_TYPE_HIGH_READ_PRESSURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeHighReadPressure; /** * Represents high number of unvacuumed transactions * * Value: "SIGNAL_TYPE_HIGH_TRANSACTION_ID_UTILIZATION" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeHighTransactionIdUtilization; +/** + * Heavy write pressure on the database rows. + * + * Value: "SIGNAL_TYPE_HIGH_WRITE_PRESSURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeHighWritePressure; /** * Detects if a database instance/cluster has a hot node. * @@ -2445,6 +2522,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_INEFFICIENT_QUERY" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeInefficientQuery; +/** + * Indicates that the database has large rows beyond the recommended limit. + * + * Value: "SIGNAL_TYPE_LARGE_ROWS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeLargeRows; /** * Represents if the last backup of a resource failed. * @@ -2458,6 +2541,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_LAST_BACKUP_OLD" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeLastBackupOld; +/** + * Location org policy not satisfied. + * + * Value: "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeLocationOrgPolicyNotSatisfied; /** * Represents if the log_min_duration_statement database flag for a Cloud SQL * for PostgreSQL instance is not set to -1. @@ -2493,6 +2582,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeLogsNotOptimizedForTroubleshooting; +/** + * Indicates that the instance's max server memory is configured higher than + * the recommended value. + * + * Value: "SIGNAL_TYPE_MAX_SERVER_MEMORY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeMaxServerMemory; /** * Indicates that the instance is nearing memory limit. * @@ -3223,6 +3319,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "PRODUCT_TYPE_CLOUD_SQL" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeCloudSql; +/** + * Compute Engine self managed databases + * + * Value: "PRODUCT_TYPE_COMPUTE_ENGINE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeComputeEngine; /** * Firestore product area in GCP. * @@ -4472,8 +4574,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW @interface GTLRCloudAlloyDBAdmin_ContinuousBackupInfo : GTLRObject /** - * Output only. The earliest restorable time that can be restored to. Output - * only field. + * Output only. The earliest restorable time that can be restored to. If + * continuous backups and recovery was recently enabled, the earliest + * restorable time is the creation time of the earliest eligible backup within + * this cluster's continuous backup recovery window. After a cluster has had + * continuous backups enabled for the duration of its recovery window, the + * earliest restorable time becomes "now minus the recovery window". For + * example, assuming a point in time recovery is attempted at 04/16/2025 + * 3:23:00PM with a 14d recovery window, the earliest restorable time would be + * 04/02/2025 3:23:00PM. This field is only visible if the + * CLUSTER_VIEW_CONTINUOUS_BACKUP cluster view is provided. */ @property(nonatomic, strong, nullable) GTLRDateTime *earliestRestorableTime; @@ -4489,10 +4599,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW */ @property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_EncryptionInfo *encryptionInfo; -/** - * Output only. Days of the week on which a continuous backup is taken. Output - * only field. Ignored if passed into the request. - */ +/** Output only. Days of the week on which a continuous backup is taken. */ @property(nonatomic, strong, nullable) NSArray *schedule; @end @@ -5028,6 +5135,25 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW */ @interface GTLRCloudAlloyDBAdmin_Instance : GTLRObject +/** + * Optional. Specifies whether an instance needs to spin up. Once the instance + * is active, the activation policy can be updated to the `NEVER` to stop the + * instance. Likewise, the activation policy can be updated to `ALWAYS` to + * start the instance. There are restrictions around when an instance + * can/cannot be activated (for example, a read pool instance should be stopped + * before stopping primary etc.). Please refer to the API documentation for + * more details. + * + * Likely values: + * @arg @c kGTLRCloudAlloyDBAdmin_Instance_ActivationPolicy_ActivationPolicyUnspecified + * The policy is not specified. (Value: "ACTIVATION_POLICY_UNSPECIFIED") + * @arg @c kGTLRCloudAlloyDBAdmin_Instance_ActivationPolicy_Always The + * instance is running. (Value: "ALWAYS") + * @arg @c kGTLRCloudAlloyDBAdmin_Instance_ActivationPolicy_Never The + * instance is not running. (Value: "NEVER") + */ +@property(nonatomic, copy, nullable) NSString *activationPolicy; + /** * Annotations to allow client tools to store small amount of arbitrary data. * This is distinct from labels. https://google.aip.dev/128 @@ -5298,6 +5424,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW */ @interface GTLRCloudAlloyDBAdmin_InstanceNetworkConfig : GTLRObject +/** + * Optional. Name of the allocated IP range for the private IP AlloyDB + * instance, for example: "google-managed-services-default". If set, the + * instance IPs will be created from this allocated range and will override the + * IP range used by the parent cluster. The range name must comply with [RFC + * 1035](http://go/rfc/1035). Specifically, the name must be 1-63 characters + * long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. + */ +@property(nonatomic, copy, nullable) NSString *allocatedIpRangeOverride; + /** * Optional. A list of external network authorized to access this instance. */ @@ -7023,6 +7159,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * Represents if a SQL database instance is not encrypted with * customer-managed encryption keys (CMEK). (Value: * "SIGNAL_TYPE_ENCRYPTION_KEY_NOT_CUSTOMER_MANAGED") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeEncryptionOrgPolicyNotSatisfied + * Encryption org policy not satisfied. (Value: + * "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeExcessiveLoggingOfClientHostname * Represents if the log_hostname database flag for a Cloud SQL for * PostgreSQL instance is not set to off. (Value: @@ -7072,9 +7211,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeHighNumberOfTables * Represents high table count close to SLA limit. (Value: * "SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeHighReadPressure + * Heavy read pressure on the database rows. (Value: + * "SIGNAL_TYPE_HIGH_READ_PRESSURE") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeHighTransactionIdUtilization * Represents high number of unvacuumed transactions (Value: * "SIGNAL_TYPE_HIGH_TRANSACTION_ID_UTILIZATION") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeHighWritePressure + * Heavy write pressure on the database rows. (Value: + * "SIGNAL_TYPE_HIGH_WRITE_PRESSURE") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeHotNode * Detects if a database instance/cluster has a hot node. (Value: * "SIGNAL_TYPE_HOT_NODE") @@ -7084,12 +7229,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeInefficientQuery * Indicates that the instance has inefficient queries detected. (Value: * "SIGNAL_TYPE_INEFFICIENT_QUERY") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeLargeRows + * Indicates that the database has large rows beyond the recommended + * limit. (Value: "SIGNAL_TYPE_LARGE_ROWS") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeLastBackupFailed * Represents if the last backup of a resource failed. (Value: * "SIGNAL_TYPE_LAST_BACKUP_FAILED") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeLastBackupOld * Represents if the last backup of a resource is older than some * threshold value. (Value: "SIGNAL_TYPE_LAST_BACKUP_OLD") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeLocationOrgPolicyNotSatisfied + * Location org policy not satisfied. (Value: + * "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeLoggingExcessiveStatementInfo * Represents if the log_min_duration_statement database flag for a Cloud * SQL for PostgreSQL instance is not set to -1. (Value: @@ -7110,6 +7261,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * Represents if log_checkpoints database flag for a Cloud SQL for * PostgreSQL instance is not set to on. (Value: * "SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeMaxServerMemory + * Indicates that the instance's max server memory is configured higher + * than the recommended value. (Value: "SIGNAL_TYPE_MAX_SERVER_MEMORY") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeMemoryLimit * Indicates that the instance is nearing memory limit. (Value: * "SIGNAL_TYPE_MEMORY_LIMIT") @@ -7697,6 +7851,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * Represents if a SQL database instance is not encrypted with * customer-managed encryption keys (CMEK). (Value: * "SIGNAL_TYPE_ENCRYPTION_KEY_NOT_CUSTOMER_MANAGED") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeEncryptionOrgPolicyNotSatisfied + * Encryption org policy not satisfied. (Value: + * "SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeExcessiveLoggingOfClientHostname * Represents if the log_hostname database flag for a Cloud SQL for * PostgreSQL instance is not set to off. (Value: @@ -7746,9 +7903,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeHighNumberOfTables * Represents high table count close to SLA limit. (Value: * "SIGNAL_TYPE_HIGH_NUMBER_OF_TABLES") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeHighReadPressure + * Heavy read pressure on the database rows. (Value: + * "SIGNAL_TYPE_HIGH_READ_PRESSURE") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeHighTransactionIdUtilization * Represents high number of unvacuumed transactions (Value: * "SIGNAL_TYPE_HIGH_TRANSACTION_ID_UTILIZATION") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeHighWritePressure + * Heavy write pressure on the database rows. (Value: + * "SIGNAL_TYPE_HIGH_WRITE_PRESSURE") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeHotNode * Detects if a database instance/cluster has a hot node. (Value: * "SIGNAL_TYPE_HOT_NODE") @@ -7758,12 +7921,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeInefficientQuery * Indicates that the instance has inefficient queries detected. (Value: * "SIGNAL_TYPE_INEFFICIENT_QUERY") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeLargeRows + * Indicates that the database has large rows beyond the recommended + * limit. (Value: "SIGNAL_TYPE_LARGE_ROWS") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeLastBackupFailed * Represents if the last backup of a resource failed. (Value: * "SIGNAL_TYPE_LAST_BACKUP_FAILED") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeLastBackupOld * Represents if the last backup of a resource is older than some * threshold value. (Value: "SIGNAL_TYPE_LAST_BACKUP_OLD") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeLocationOrgPolicyNotSatisfied + * Location org policy not satisfied. (Value: + * "SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeLoggingExcessiveStatementInfo * Represents if the log_min_duration_statement database flag for a Cloud * SQL for PostgreSQL instance is not set to -1. (Value: @@ -7784,6 +7953,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * Represents if log_checkpoints database flag for a Cloud SQL for * PostgreSQL instance is not set to on. (Value: * "SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeMaxServerMemory + * Indicates that the instance's max server memory is configured higher + * than the recommended value. (Value: "SIGNAL_TYPE_MAX_SERVER_MEMORY") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeMemoryLimit * Indicates that the instance is nearing memory limit. (Value: * "SIGNAL_TYPE_MEMORY_LIMIT") @@ -8395,6 +8567,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * Bigtable product area in GCP (Value: "PRODUCT_TYPE_BIGTABLE") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeCloudSql * Cloud SQL product area in GCP (Value: "PRODUCT_TYPE_CLOUD_SQL") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeComputeEngine + * Compute Engine self managed databases (Value: + * "PRODUCT_TYPE_COMPUTE_ENGINE") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeFirestore * Firestore product area in GCP. (Value: "PRODUCT_TYPE_FIRESTORE") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeMemorystore diff --git a/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerObjects.m b/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerObjects.m index 186a023f0..d640755e3 100644 --- a/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerObjects.m +++ b/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerObjects.m @@ -725,6 +725,15 @@ @implementation GTLRCloudComposer_RecoveryConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudComposer_RestartWebServerRequest +// + +@implementation GTLRCloudComposer_RestartWebServerRequest +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudComposer_SaveSnapshotRequest diff --git a/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerQuery.m b/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerQuery.m index d9dd709c5..465ff6846 100644 --- a/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerQuery.m +++ b/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerQuery.m @@ -281,6 +281,33 @@ + (instancetype)queryWithObject:(GTLRCloudComposer_PollAirflowCommandRequest *)o @end +@implementation GTLRCloudComposerQuery_ProjectsLocationsEnvironmentsRestartWebServer + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRCloudComposer_RestartWebServerRequest *)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}:restartWebServer"; + GTLRCloudComposerQuery_ProjectsLocationsEnvironmentsRestartWebServer *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudComposer_Operation class]; + query.loggingName = @"composer.projects.locations.environments.restartWebServer"; + return query; +} + +@end + @implementation GTLRCloudComposerQuery_ProjectsLocationsEnvironmentsSaveSnapshot @dynamic environment; diff --git a/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerObjects.h b/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerObjects.h index ab0b84307..343194a2d 100644 --- a/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerObjects.h +++ b/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerObjects.h @@ -2107,6 +2107,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_TaskLogsRetentionConfig_St @end +/** + * Restart Airflow web server. + */ +@interface GTLRCloudComposer_RestartWebServerRequest : GTLRObject +@end + + /** * Request to create a snapshot of a Cloud Composer environment. */ diff --git a/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerQuery.h b/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerQuery.h index 3d91d8d57..f2ea2fefa 100644 --- a/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerQuery.h +++ b/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerQuery.h @@ -485,6 +485,41 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Restart Airflow web server. + * + * Method: composer.projects.locations.environments.restartWebServer + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudComposerCloudPlatform + */ +@interface GTLRCloudComposerQuery_ProjectsLocationsEnvironmentsRestartWebServer : GTLRCloudComposerQuery + +/** + * Required. The resource name of the environment to restart the web server + * for, in the form: + * "projects/{projectId}/locations/{locationId}/environments/{environmentId}" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudComposer_Operation. + * + * Restart Airflow web server. + * + * @param object The @c GTLRCloudComposer_RestartWebServerRequest to include in + * the query. + * @param name Required. The resource name of the environment to restart the + * web server for, in the form: + * "projects/{projectId}/locations/{locationId}/environments/{environmentId}" + * + * @return GTLRCloudComposerQuery_ProjectsLocationsEnvironmentsRestartWebServer + */ ++ (instancetype)queryWithObject:(GTLRCloudComposer_RestartWebServerRequest *)object + name:(NSString *)name; + +@end + /** * Creates a snapshots of a Cloud Composer environment. As a result of this * operation, snapshot of environment's state is stored in a location specified diff --git a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h index 3fbbf8279..ccd19a6ec 100644 --- a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h +++ b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h @@ -1365,20 +1365,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1Entry // GTLRCloudDataplex_GoogleCloudDataplexV1EntryLinkEntryReference.type /** - * The entry is referenced as the source of the directional entry link. + * The Entry is referenced as the source of the directional Entry Link. * * Value: "SOURCE" */ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1EntryLinkEntryReference_Type_Source; /** - * The entry is referenced as the target of the directional entry link. + * The Entry is referenced as the target of the directional Entry Link. * * Value: "TARGET" */ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1EntryLinkEntryReference_Type_Target; /** - * Unspecified reference type. Implies that the entry is referenced in a - * non-directional entry link. + * Unspecified reference type. Implies that the Entry is referenced in a + * non-directional Entry Link. * * Value: "UNSPECIFIED" */ @@ -6686,7 +6686,7 @@ GTLR_DEPRECATED /** - * EntryLink represents a link between two entries. + * EntryLink represents a link between two Entries. */ @interface GTLRCloudDataplex_GoogleCloudDataplexV1EntryLink : GTLRObject @@ -6696,12 +6696,12 @@ GTLR_DEPRECATED /** * Required. Immutable. Relative resource name of the Entry Link Type used to * create this Entry Link, of the form: - * projects/{project}/locations/{location}/entryLinkTypes/{entry_link_type}. + * `projects/{project_id_or_number}/locations/{location_id}/entryLinkTypes/{entry_link_type_id}. */ @property(nonatomic, copy, nullable) NSString *entryLinkType; /** - * Required. Specifies the entries referenced in the entry link. There should + * Required. Specifies the Entries referenced in the Entry Link. There should * be exactly two entry references. */ @property(nonatomic, strong, nullable) NSArray *entryReferences; @@ -6709,7 +6709,7 @@ GTLR_DEPRECATED /** * Output only. Immutable. Identifier. The relative resource name of the Entry * Link, of the form: - * projects/{project}/locations/{location}/entryGroups/{entry_group}/entryLinks/{entry_link}. + * projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id} */ @property(nonatomic, copy, nullable) NSString *name; @@ -6720,36 +6720,36 @@ GTLR_DEPRECATED /** - * Reference to the Entry that is linked through the entry link. + * Reference to the Entry that is linked through the Entry Link. */ @interface GTLRCloudDataplex_GoogleCloudDataplexV1EntryLinkEntryReference : GTLRObject /** - * Required. Immutable. The relative resource name of the referenced entry, of + * Required. Immutable. The relative resource name of the referenced Entry, of * the form: - * projects/{project}/locations/{location}/entryGroups/{entryGroup}/entries/{entry}. + * projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id} */ @property(nonatomic, copy, nullable) NSString *name; /** - * Immutable. The path in the entry that is referenced in the entry link. Empty - * path denotes that the entry itself is referenced in the entry link. + * Immutable. The path in the Entry that is referenced in the Entry Link. Empty + * path denotes that the Entry itself is referenced in the Entry Link. */ @property(nonatomic, copy, nullable) NSString *path; /** - * Required. Immutable. The reference type of the entry. + * Required. Immutable. The reference type of the Entry. * * Likely values: * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1EntryLinkEntryReference_Type_Source - * The entry is referenced as the source of the directional entry link. + * The Entry is referenced as the source of the directional Entry Link. * (Value: "SOURCE") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1EntryLinkEntryReference_Type_Target - * The entry is referenced as the target of the directional entry link. + * The Entry is referenced as the target of the directional Entry Link. * (Value: "TARGET") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1EntryLinkEntryReference_Type_Unspecified - * Unspecified reference type. Implies that the entry is referenced in a - * non-directional entry link. (Value: "UNSPECIFIED") + * Unspecified reference type. Implies that the Entry is referenced in a + * non-directional Entry Link. (Value: "UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *type; diff --git a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h index 8f9833fa6..7a1bf1e41 100644 --- a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h +++ b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h @@ -3013,7 +3013,7 @@ GTLR_DEPRECATED /** * Required. The resource name of the parent Entry Group: - * projects/{project}/locations/{location}/entryGroups/{entry_group}. + * projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -3025,7 +3025,7 @@ GTLR_DEPRECATED * @param object The @c GTLRCloudDataplex_GoogleCloudDataplexV1EntryLink to * include in the query. * @param parent Required. The resource name of the parent Entry Group: - * projects/{project}/locations/{location}/entryGroups/{entry_group}. + * projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}. * * @return GTLRCloudDataplexQuery_ProjectsLocationsEntryGroupsEntryLinksCreate */ @@ -3046,7 +3046,7 @@ GTLR_DEPRECATED /** * Required. The resource name of the Entry Link: - * projects/{project}/locations/{location}/entryGroups/{entry_group}/entryLinks/{entry_link}. + * projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}. */ @property(nonatomic, copy, nullable) NSString *name; @@ -3056,7 +3056,7 @@ GTLR_DEPRECATED * Deletes an Entry Link. * * @param name Required. The resource name of the Entry Link: - * projects/{project}/locations/{location}/entryGroups/{entry_group}/entryLinks/{entry_link}. + * projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}. * * @return GTLRCloudDataplexQuery_ProjectsLocationsEntryGroupsEntryLinksDelete */ @@ -3065,7 +3065,7 @@ GTLR_DEPRECATED @end /** - * Gets an entry link. + * Gets an Entry Link. * * Method: dataplex.projects.locations.entryGroups.entryLinks.get * @@ -3076,17 +3076,17 @@ GTLR_DEPRECATED /** * Required. The resource name of the Entry Link: - * projects/{project}/locations/{location}/entryGroups/{entry_group}/entryLinks/{entry_link}. + * projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}. */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRCloudDataplex_GoogleCloudDataplexV1EntryLink. * - * Gets an entry link. + * Gets an Entry Link. * * @param name Required. The resource name of the Entry Link: - * projects/{project}/locations/{location}/entryGroups/{entry_group}/entryLinks/{entry_link}. + * projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}. * * @return GTLRCloudDataplexQuery_ProjectsLocationsEntryGroupsEntryLinksGet */ @@ -8717,7 +8717,7 @@ GTLR_DEPRECATED /** * Required. The project to which the request should be attributed in the - * following form: projects/{project}/locations/{location}. + * following form: projects/{project}/locations/global. */ @property(nonatomic, copy, nullable) NSString *name; @@ -8763,7 +8763,7 @@ GTLR_DEPRECATED * Searches for Entries matching the given query and scope. * * @param name Required. The project to which the request should be attributed - * in the following form: projects/{project}/locations/{location}. + * in the following form: projects/{project}/locations/global. * * @return GTLRCloudDataplexQuery_ProjectsLocationsSearchEntries * diff --git a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h index 3431998c5..9d0cc74f3 100644 --- a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h +++ b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h @@ -6270,9 +6270,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; /** * Optional. The FHIR resource type to search, such as Patient or Observation. * For a complete list, see the FHIR Resource Index - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), - * [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)). + * ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), + * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), + * [R4](https://hl7.org/fhir/R4/resourcelist.html)). */ @property(nonatomic, copy, nullable) NSString *resourceType; diff --git a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h index 9a7c97256..58ebdf7a0 100644 --- a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h +++ b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h @@ -4578,19 +4578,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * Gets the FHIR capability statement - * ([STU3](http://hl7.org/implement/standards/fhir/STU3/capabilitystatement.html), - * [R4](http://hl7.org/implement/standards/fhir/R4/capabilitystatement.html)), - * or the [conformance - * statement](http://hl7.org/implement/standards/fhir/DSTU2/conformance.html) - * in the DSTU2 case for the store, which contains a description of - * functionality supported by the server. Implements the FHIR standard - * capabilities interaction - * ([STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#capabilities), - * [R4](http://hl7.org/implement/standards/fhir/R4/http.html#capabilities)), or - * the [conformance - * interaction](http://hl7.org/implement/standards/fhir/DSTU2/http.html#conformance) - * in the DSTU2 case. On success, the response body contains a JSON-encoded - * representation of a `CapabilityStatement` resource. + * ([STU3](https://hl7.org/fhir/STU3/capabilitystatement.html), + * [R4](https://hl7.org/fhir/R4/capabilitystatement.html)), or the [conformance + * statement](https://hl7.org/fhir/DSTU2/conformance.html) in the DSTU2 case + * for the store, which contains a description of functionality supported by + * the server. Implements the FHIR standard capabilities interaction + * ([STU3](https://hl7.org/fhir/STU3/http.html#capabilities), + * [R4](https://hl7.org/fhir/R4/http.html#capabilities)), or the [conformance + * interaction](https://hl7.org/fhir/DSTU2/http.html#conformance) in the DSTU2 + * case. On success, the response body contains a JSON-encoded representation + * of a `CapabilityStatement` resource. * * Method: healthcare.projects.locations.datasets.fhirStores.fhir.capabilities * @@ -4607,19 +4604,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Fetches a @c GTLRCloudHealthcare_HttpBody. * * Gets the FHIR capability statement - * ([STU3](http://hl7.org/implement/standards/fhir/STU3/capabilitystatement.html), - * [R4](http://hl7.org/implement/standards/fhir/R4/capabilitystatement.html)), - * or the [conformance - * statement](http://hl7.org/implement/standards/fhir/DSTU2/conformance.html) - * in the DSTU2 case for the store, which contains a description of - * functionality supported by the server. Implements the FHIR standard - * capabilities interaction - * ([STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#capabilities), - * [R4](http://hl7.org/implement/standards/fhir/R4/http.html#capabilities)), or - * the [conformance - * interaction](http://hl7.org/implement/standards/fhir/DSTU2/http.html#conformance) - * in the DSTU2 case. On success, the response body contains a JSON-encoded - * representation of a `CapabilityStatement` resource. + * ([STU3](https://hl7.org/fhir/STU3/capabilitystatement.html), + * [R4](https://hl7.org/fhir/R4/capabilitystatement.html)), or the [conformance + * statement](https://hl7.org/fhir/DSTU2/conformance.html) in the DSTU2 case + * for the store, which contains a description of functionality supported by + * the server. Implements the FHIR standard capabilities interaction + * ([STU3](https://hl7.org/fhir/STU3/http.html#capabilities), + * [R4](https://hl7.org/fhir/R4/http.html#capabilities)), or the [conformance + * interaction](https://hl7.org/fhir/DSTU2/http.html#conformance) in the DSTU2 + * case. On success, the response body contains a JSON-encoded representation + * of a `CapabilityStatement` resource. * * @param name Required. Name of the FHIR store to retrieve the capabilities * for. @@ -4658,9 +4652,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * Required. The FHIR resource type to delete, such as Patient or Observation. * For a complete list, see the FHIR Resource Index - * ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), - * [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), - * [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)). + * ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), + * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), + * [R4](https://hl7.org/fhir/R4/resourcelist.html)). */ @property(nonatomic, copy, nullable) NSString *type; @@ -4683,9 +4677,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * @param parent Required. The name of the FHIR store this resource belongs to. * @param type Required. The FHIR resource type to delete, such as Patient or * Observation. For a complete list, see the FHIR Resource Index - * ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), - * [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), - * [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)). + * ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), + * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), + * [R4](https://hl7.org/fhir/R4/resourcelist.html)). * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirConditionalDelete */ @@ -4729,9 +4723,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * Required. The FHIR resource type to update, such as Patient or Observation. * For a complete list, see the FHIR Resource Index - * ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), - * [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), - * [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)). + * ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), + * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), + * [R4](https://hl7.org/fhir/R4/resourcelist.html)). */ @property(nonatomic, copy, nullable) NSString *type; @@ -4762,9 +4756,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * @param parent Required. The name of the FHIR store this resource belongs to. * @param type Required. The FHIR resource type to update, such as Patient or * Observation. For a complete list, see the FHIR Resource Index - * ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), - * [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), - * [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)). + * ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), + * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), + * [R4](https://hl7.org/fhir/R4/resourcelist.html)). * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirConditionalPatch */ @@ -4816,10 +4810,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * Required. The FHIR resource type to update, such as Patient or Observation. * For a complete list, see the FHIR Resource Index - * ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), - * [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), - * [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must - * match the resource type in the provided content. + * ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), + * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), + * [R4](https://hl7.org/fhir/R4/resourcelist.html)). Must match the resource + * type in the provided content. */ @property(nonatomic, copy, nullable) NSString *type; @@ -4857,10 +4851,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * @param parent Required. The name of the FHIR store this resource belongs to. * @param type Required. The FHIR resource type to update, such as Patient or * Observation. For a complete list, see the FHIR Resource Index - * ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), - * [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html), - * [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must - * match the resource type in the provided content. + * ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), + * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), + * [R4](https://hl7.org/fhir/R4/resourcelist.html)). Must match the resource + * type in the provided content. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirConditionalUpdate */ @@ -4911,22 +4905,22 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * Creates a FHIR resource. Implements the FHIR standard create interaction - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#create), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#create), - * [R4](http://hl7.org/implement/standards/fhir/R4/http.html#create)), which - * creates a new resource with a server-assigned resource ID. Also supports the - * FHIR standard conditional create interaction - * ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/http.html#ccreate), - * [STU3](https://hl7.org/implement/standards/fhir/STU3/http.html#ccreate), - * [R4](https://hl7.org/implement/standards/fhir/R4/http.html#ccreate)), - * specified by supplying an `If-None-Exist` header containing a FHIR search - * query, limited to searching by resource identifier. If no resources match - * this search query, the server processes the create operation as normal. When - * using conditional create, the search term for identifier should be in the - * pattern `identifier=system|value` or `identifier=value` - similar to the - * `search` method on resources with a specific identifier. The request body - * must contain a JSON-encoded FHIR resource, and the request headers must - * contain `Content-Type: application/fhir+json`. On success, the response body + * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#create), + * [STU3](https://hl7.org/fhir/STU3/http.html#create), + * [R4](https://hl7.org/fhir/R4/http.html#create)), which creates a new + * resource with a server-assigned resource ID. Also supports the FHIR standard + * conditional create interaction + * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#ccreate), + * [STU3](https://hl7.org/fhir/STU3/http.html#ccreate), + * [R4](https://hl7.org/fhir/R4/http.html#ccreate)), specified by supplying an + * `If-None-Exist` header containing a FHIR search query, limited to searching + * by resource identifier. If no resources match this search query, the server + * processes the create operation as normal. When using conditional create, the + * search term for identifier should be in the pattern + * `identifier=system|value` or `identifier=value` - similar to the `search` + * method on resources with a specific identifier. The request body must + * contain a JSON-encoded FHIR resource, and the request headers must contain + * `Content-Type: application/fhir+json`. On success, the response body * contains a JSON-encoded representation of the resource as it was created on * the server, including the server-assigned resource ID and version ID. Errors * generated by the FHIR store contain a JSON-encoded `OperationOutcome` @@ -4950,10 +4944,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * Required. The FHIR resource type to create, such as Patient or Observation. * For a complete list, see the FHIR Resource Index - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), - * [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must - * match the resource type in the provided content. + * ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), + * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), + * [R4](https://hl7.org/fhir/R4/resourcelist.html)). Must match the resource + * type in the provided content. */ @property(nonatomic, copy, nullable) NSString *type; @@ -4961,22 +4955,22 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Fetches a @c GTLRCloudHealthcare_HttpBody. * * Creates a FHIR resource. Implements the FHIR standard create interaction - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#create), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#create), - * [R4](http://hl7.org/implement/standards/fhir/R4/http.html#create)), which - * creates a new resource with a server-assigned resource ID. Also supports the - * FHIR standard conditional create interaction - * ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/http.html#ccreate), - * [STU3](https://hl7.org/implement/standards/fhir/STU3/http.html#ccreate), - * [R4](https://hl7.org/implement/standards/fhir/R4/http.html#ccreate)), - * specified by supplying an `If-None-Exist` header containing a FHIR search - * query, limited to searching by resource identifier. If no resources match - * this search query, the server processes the create operation as normal. When - * using conditional create, the search term for identifier should be in the - * pattern `identifier=system|value` or `identifier=value` - similar to the - * `search` method on resources with a specific identifier. The request body - * must contain a JSON-encoded FHIR resource, and the request headers must - * contain `Content-Type: application/fhir+json`. On success, the response body + * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#create), + * [STU3](https://hl7.org/fhir/STU3/http.html#create), + * [R4](https://hl7.org/fhir/R4/http.html#create)), which creates a new + * resource with a server-assigned resource ID. Also supports the FHIR standard + * conditional create interaction + * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#ccreate), + * [STU3](https://hl7.org/fhir/STU3/http.html#ccreate), + * [R4](https://hl7.org/fhir/R4/http.html#ccreate)), specified by supplying an + * `If-None-Exist` header containing a FHIR search query, limited to searching + * by resource identifier. If no resources match this search query, the server + * processes the create operation as normal. When using conditional create, the + * search term for identifier should be in the pattern + * `identifier=system|value` or `identifier=value` - similar to the `search` + * method on resources with a specific identifier. The request body must + * contain a JSON-encoded FHIR resource, and the request headers must contain + * `Content-Type: application/fhir+json`. On success, the response body * contains a JSON-encoded representation of the resource as it was created on * the server, including the server-assigned resource ID and version ID. Errors * generated by the FHIR store contain a JSON-encoded `OperationOutcome` @@ -4990,10 +4984,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * @param parent Required. The name of the FHIR store this resource belongs to. * @param type Required. The FHIR resource type to create, such as Patient or * Observation. For a complete list, see the FHIR Resource Index - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), - * [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must - * match the resource type in the provided content. + * ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), + * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), + * [R4](https://hl7.org/fhir/R4/resourcelist.html)). Must match the resource + * type in the provided content. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirCreate */ @@ -5005,14 +4999,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * Deletes a FHIR resource. Implements the FHIR standard delete interaction - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#delete), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#delete), - * [R4](http://hl7.org/implement/standards/fhir/R4/http.html#delete)). Note: - * Unless resource versioning is disabled by setting the - * disable_resource_versioning flag on the FHIR store, the deleted resources - * will be moved to a history repository that can still be retrieved through - * vread and related methods, unless they are removed by the purge method. For - * samples that show how to call `delete`, see [Deleting a FHIR + * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#delete), + * [STU3](https://hl7.org/fhir/STU3/http.html#delete), + * [R4](https://hl7.org/fhir/R4/http.html#delete)). Note: Unless resource + * versioning is disabled by setting the disable_resource_versioning flag on + * the FHIR store, the deleted resources will be moved to a history repository + * that can still be retrieved through vread and related methods, unless they + * are removed by the purge method. For samples that show how to call `delete`, + * see [Deleting a FHIR * resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#deleting_a_fhir_resource). * * Method: healthcare.projects.locations.datasets.fhirStores.fhir.delete @@ -5030,14 +5024,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Fetches a @c GTLRCloudHealthcare_HttpBody. * * Deletes a FHIR resource. Implements the FHIR standard delete interaction - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#delete), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#delete), - * [R4](http://hl7.org/implement/standards/fhir/R4/http.html#delete)). Note: - * Unless resource versioning is disabled by setting the - * disable_resource_versioning flag on the FHIR store, the deleted resources - * will be moved to a history repository that can still be retrieved through - * vread and related methods, unless they are removed by the purge method. For - * samples that show how to call `delete`, see [Deleting a FHIR + * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#delete), + * [STU3](https://hl7.org/fhir/STU3/http.html#delete), + * [R4](https://hl7.org/fhir/R4/http.html#delete)). Note: Unless resource + * versioning is disabled by setting the disable_resource_versioning flag on + * the FHIR store, the deleted resources will be moved to a history repository + * that can still be retrieved through vread and related methods, unless they + * are removed by the purge method. For samples that show how to call `delete`, + * see [Deleting a FHIR * resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#deleting_a_fhir_resource). * * @param name Required. The name of the resource to delete. @@ -5051,26 +5045,24 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * Executes all the requests in the given Bundle. Implements the FHIR standard * batch/transaction interaction - * ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/http.html#transaction), - * [STU3](https://hl7.org/implement/standards/fhir/STU3/http.html#transaction), - * [R4](https://hl7.org/implement/standards/fhir/R4/http.html#transaction)). - * Supports all interactions within a bundle, except search. This method - * accepts Bundles of type `batch` and `transaction`, processing them according - * to the batch processing rules - * ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/http.html#2.1.0.16.1), - * [STU3](https://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.17.1), - * [R4](https://hl7.org/implement/standards/fhir/R4/http.html#brules)) and - * transaction processing rules - * ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/http.html#2.1.0.16.2), - * [STU3](https://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.17.2), - * [R4](https://hl7.org/implement/standards/fhir/R4/http.html#trules)). The - * request body must contain a JSON-encoded FHIR `Bundle` resource, and the - * request headers must contain `Content-Type: application/fhir+json`. For a - * batch bundle or a successful transaction, the response body contains a - * JSON-encoded representation of a `Bundle` resource of type `batch-response` - * or `transaction-response` containing one entry for each entry in the - * request, with the outcome of processing the entry. In the case of an error - * for a transaction bundle, the response body contains a JSON-encoded + * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#transaction), + * [STU3](https://hl7.org/fhir/STU3/http.html#transaction), + * [R4](https://hl7.org/fhir/R4/http.html#transaction)). Supports all + * interactions within a bundle, except search. This method accepts Bundles of + * type `batch` and `transaction`, processing them according to the batch + * processing rules ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#2.1.0.16.1), + * [STU3](https://hl7.org/fhir/STU3/http.html#2.21.0.17.1), + * [R4](https://hl7.org/fhir/R4/http.html#brules)) and transaction processing + * rules ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#2.1.0.16.2), + * [STU3](https://hl7.org/fhir/STU3/http.html#2.21.0.17.2), + * [R4](https://hl7.org/fhir/R4/http.html#trules)). The request body must + * contain a JSON-encoded FHIR `Bundle` resource, and the request headers must + * contain `Content-Type: application/fhir+json`. For a batch bundle or a + * successful transaction, the response body contains a JSON-encoded + * representation of a `Bundle` resource of type `batch-response` or + * `transaction-response` containing one entry for each entry in the request, + * with the outcome of processing the entry. In the case of an error for a + * transaction bundle, the response body contains a JSON-encoded * `OperationOutcome` resource describing the reason for the error. If the * request cannot be mapped to a valid API method on a FHIR store, a generic * GCP error might be returned instead. This method checks permissions for each @@ -5102,26 +5094,24 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * * Executes all the requests in the given Bundle. Implements the FHIR standard * batch/transaction interaction - * ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/http.html#transaction), - * [STU3](https://hl7.org/implement/standards/fhir/STU3/http.html#transaction), - * [R4](https://hl7.org/implement/standards/fhir/R4/http.html#transaction)). - * Supports all interactions within a bundle, except search. This method - * accepts Bundles of type `batch` and `transaction`, processing them according - * to the batch processing rules - * ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/http.html#2.1.0.16.1), - * [STU3](https://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.17.1), - * [R4](https://hl7.org/implement/standards/fhir/R4/http.html#brules)) and - * transaction processing rules - * ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/http.html#2.1.0.16.2), - * [STU3](https://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.17.2), - * [R4](https://hl7.org/implement/standards/fhir/R4/http.html#trules)). The - * request body must contain a JSON-encoded FHIR `Bundle` resource, and the - * request headers must contain `Content-Type: application/fhir+json`. For a - * batch bundle or a successful transaction, the response body contains a - * JSON-encoded representation of a `Bundle` resource of type `batch-response` - * or `transaction-response` containing one entry for each entry in the - * request, with the outcome of processing the entry. In the case of an error - * for a transaction bundle, the response body contains a JSON-encoded + * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#transaction), + * [STU3](https://hl7.org/fhir/STU3/http.html#transaction), + * [R4](https://hl7.org/fhir/R4/http.html#transaction)). Supports all + * interactions within a bundle, except search. This method accepts Bundles of + * type `batch` and `transaction`, processing them according to the batch + * processing rules ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#2.1.0.16.1), + * [STU3](https://hl7.org/fhir/STU3/http.html#2.21.0.17.1), + * [R4](https://hl7.org/fhir/R4/http.html#brules)) and transaction processing + * rules ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#2.1.0.16.2), + * [STU3](https://hl7.org/fhir/STU3/http.html#2.21.0.17.2), + * [R4](https://hl7.org/fhir/R4/http.html#trules)). The request body must + * contain a JSON-encoded FHIR `Bundle` resource, and the request headers must + * contain `Content-Type: application/fhir+json`. For a batch bundle or a + * successful transaction, the response body contains a JSON-encoded + * representation of a `Bundle` resource of type `batch-response` or + * `transaction-response` containing one entry for each entry in the request, + * with the outcome of processing the entry. In the case of an error for a + * transaction bundle, the response body contains a JSON-encoded * `OperationOutcome` resource describing the reason for the error. If the * request cannot be mapped to a valid API method on a FHIR store, a generic * GCP error might be returned instead. This method checks permissions for each @@ -5152,16 +5142,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Lists all the versions of a resource (including the current version and * deleted versions) from the FHIR store. Implements the per-resource form of * the FHIR standard history interaction - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#history), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#history), - * [R4](http://hl7.org/implement/standards/fhir/R4/http.html#history)). On - * success, the response body contains a JSON-encoded representation of a - * `Bundle` resource of type `history`, containing the version history sorted - * from most recent to oldest versions. Errors generated by the FHIR store - * contain a JSON-encoded `OperationOutcome` resource describing the reason for - * the error. If the request cannot be mapped to a valid API method on a FHIR - * store, a generic GCP error might be returned instead. For samples that show - * how to call `history`, see [Listing FHIR resource + * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#history), + * [STU3](https://hl7.org/fhir/STU3/http.html#history), + * [R4](https://hl7.org/fhir/R4/http.html#history)). On success, the response + * body contains a JSON-encoded representation of a `Bundle` resource of type + * `history`, containing the version history sorted from most recent to oldest + * versions. Errors generated by the FHIR store contain a JSON-encoded + * `OperationOutcome` resource describing the reason for the error. If the + * request cannot be mapped to a valid API method on a FHIR store, a generic + * GCP error might be returned instead. For samples that show how to call + * `history`, see [Listing FHIR resource * versions](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#listing_fhir_resource_versions). * * Method: healthcare.projects.locations.datasets.fhirStores.fhir.history @@ -5215,16 +5205,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Lists all the versions of a resource (including the current version and * deleted versions) from the FHIR store. Implements the per-resource form of * the FHIR standard history interaction - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#history), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#history), - * [R4](http://hl7.org/implement/standards/fhir/R4/http.html#history)). On - * success, the response body contains a JSON-encoded representation of a - * `Bundle` resource of type `history`, containing the version history sorted - * from most recent to oldest versions. Errors generated by the FHIR store - * contain a JSON-encoded `OperationOutcome` resource describing the reason for - * the error. If the request cannot be mapped to a valid API method on a FHIR - * store, a generic GCP error might be returned instead. For samples that show - * how to call `history`, see [Listing FHIR resource + * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#history), + * [STU3](https://hl7.org/fhir/STU3/http.html#history), + * [R4](https://hl7.org/fhir/R4/http.html#history)). On success, the response + * body contains a JSON-encoded representation of a `Bundle` resource of type + * `history`, containing the version history sorted from most recent to oldest + * versions. Errors generated by the FHIR store contain a JSON-encoded + * `OperationOutcome` resource describing the reason for the error. If the + * request cannot be mapped to a valid API method on a FHIR store, a generic + * GCP error might be returned instead. For samples that show how to call + * `history`, see [Listing FHIR resource * versions](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#listing_fhir_resource_versions). * * @param name Required. The name of the resource to retrieve. @@ -5238,18 +5228,17 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * Updates part of an existing resource by applying the operations specified in * a [JSON Patch](http://jsonpatch.com/) document. Implements the FHIR standard - * patch interaction - * ([STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#patch), - * [R4](http://hl7.org/implement/standards/fhir/R4/http.html#patch)). DSTU2 - * doesn't define a patch method, but the server supports it in the same way it - * supports STU3. The request body must contain a JSON Patch document, and the - * request headers must contain `Content-Type: application/json-patch+json`. On - * success, the response body contains a JSON-encoded representation of the - * updated resource, including the server-assigned version ID. Errors generated - * by the FHIR store contain a JSON-encoded `OperationOutcome` resource - * describing the reason for the error. If the request cannot be mapped to a - * valid API method on a FHIR store, a generic GCP error might be returned - * instead. For samples that show how to call `patch`, see [Patching a FHIR + * patch interaction ([STU3](https://hl7.org/fhir/STU3/http.html#patch), + * [R4](https://hl7.org/fhir/R4/http.html#patch)). DSTU2 doesn't define a patch + * method, but the server supports it in the same way it supports STU3. The + * request body must contain a JSON Patch document, and the request headers + * must contain `Content-Type: application/json-patch+json`. On success, the + * response body contains a JSON-encoded representation of the updated + * resource, including the server-assigned version ID. Errors generated by the + * FHIR store contain a JSON-encoded `OperationOutcome` resource describing the + * reason for the error. If the request cannot be mapped to a valid API method + * on a FHIR store, a generic GCP error might be returned instead. For samples + * that show how to call `patch`, see [Patching a FHIR * resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#patching_a_fhir_resource). * * Method: healthcare.projects.locations.datasets.fhirStores.fhir.patch @@ -5268,18 +5257,17 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * * Updates part of an existing resource by applying the operations specified in * a [JSON Patch](http://jsonpatch.com/) document. Implements the FHIR standard - * patch interaction - * ([STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#patch), - * [R4](http://hl7.org/implement/standards/fhir/R4/http.html#patch)). DSTU2 - * doesn't define a patch method, but the server supports it in the same way it - * supports STU3. The request body must contain a JSON Patch document, and the - * request headers must contain `Content-Type: application/json-patch+json`. On - * success, the response body contains a JSON-encoded representation of the - * updated resource, including the server-assigned version ID. Errors generated - * by the FHIR store contain a JSON-encoded `OperationOutcome` resource - * describing the reason for the error. If the request cannot be mapped to a - * valid API method on a FHIR store, a generic GCP error might be returned - * instead. For samples that show how to call `patch`, see [Patching a FHIR + * patch interaction ([STU3](https://hl7.org/fhir/STU3/http.html#patch), + * [R4](https://hl7.org/fhir/R4/http.html#patch)). DSTU2 doesn't define a patch + * method, but the server supports it in the same way it supports STU3. The + * request body must contain a JSON Patch document, and the request headers + * must contain `Content-Type: application/json-patch+json`. On success, the + * response body contains a JSON-encoded representation of the updated + * resource, including the server-assigned version ID. Errors generated by the + * FHIR store contain a JSON-encoded `OperationOutcome` resource describing the + * reason for the error. If the request cannot be mapped to a valid API method + * on a FHIR store, a generic GCP error might be returned instead. For samples + * that show how to call `patch`, see [Patching a FHIR * resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#patching_a_fhir_resource). * * @param object The @c GTLRCloudHealthcare_HttpBody to include in the query. @@ -5354,10 +5342,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * Retrieves a Patient resource and resources related to that patient. * Implements the FHIR extended operation Patient-everything - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/patient-operations.html#everything), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/patient-operations.html#everything), - * [R4](http://hl7.org/implement/standards/fhir/R4/patient-operations.html#everything)). - * On success, the response body contains a JSON-encoded representation of a + * ([DSTU2](https://hl7.org/fhir/DSTU2/patient-operations.html#everything), + * [STU3](https://hl7.org/fhir/STU3/patient-operations.html#everything), + * [R4](https://hl7.org/fhir/R4/patient-operation-everything.html)). On + * success, the response body contains a JSON-encoded representation of a * `Bundle` resource of type `searchset`, containing the results of the * operation. Errors generated by the FHIR store contain a JSON-encoded * `OperationOutcome` resource describing the reason for the error. If the @@ -5440,10 +5428,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * * Retrieves a Patient resource and resources related to that patient. * Implements the FHIR extended operation Patient-everything - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/patient-operations.html#everything), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/patient-operations.html#everything), - * [R4](http://hl7.org/implement/standards/fhir/R4/patient-operations.html#everything)). - * On success, the response body contains a JSON-encoded representation of a + * ([DSTU2](https://hl7.org/fhir/DSTU2/patient-operations.html#everything), + * [STU3](https://hl7.org/fhir/STU3/patient-operations.html#everything), + * [R4](https://hl7.org/fhir/R4/patient-operation-everything.html)). On + * success, the response body contains a JSON-encoded representation of a * `Bundle` resource of type `searchset`, containing the results of the * operation. Errors generated by the FHIR store contain a JSON-encoded * `OperationOutcome` resource describing the reason for the error. If the @@ -5472,21 +5460,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * Gets the contents of a FHIR resource. Implements the FHIR standard read - * interaction - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#read), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#read), - * [R4](http://hl7.org/implement/standards/fhir/R4/http.html#read)). Also - * supports the FHIR standard conditional read interaction - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#cread), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#cread), - * [R4](http://hl7.org/implement/standards/fhir/R4/http.html#cread)) specified - * by supplying an `If-Modified-Since` header with a date/time value or an - * `If-None-Match` header with an ETag value. On success, the response body - * contains a JSON-encoded representation of the resource. Errors generated by - * the FHIR store contain a JSON-encoded `OperationOutcome` resource describing - * the reason for the error. If the request cannot be mapped to a valid API - * method on a FHIR store, a generic GCP error might be returned instead. For - * samples that show how to call `read`, see [Getting a FHIR + * interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#read), + * [STU3](https://hl7.org/fhir/STU3/http.html#read), + * [R4](https://hl7.org/fhir/R4/http.html#read)). Also supports the FHIR + * standard conditional read interaction + * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#cread), + * [STU3](https://hl7.org/fhir/STU3/http.html#cread), + * [R4](https://hl7.org/fhir/R4/http.html#cread)) specified by supplying an + * `If-Modified-Since` header with a date/time value or an `If-None-Match` + * header with an ETag value. On success, the response body contains a + * JSON-encoded representation of the resource. Errors generated by the FHIR + * store contain a JSON-encoded `OperationOutcome` resource describing the + * reason for the error. If the request cannot be mapped to a valid API method + * on a FHIR store, a generic GCP error might be returned instead. For samples + * that show how to call `read`, see [Getting a FHIR * resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#getting_a_fhir_resource). * * Method: healthcare.projects.locations.datasets.fhirStores.fhir.read @@ -5504,21 +5491,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Fetches a @c GTLRCloudHealthcare_HttpBody. * * Gets the contents of a FHIR resource. Implements the FHIR standard read - * interaction - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#read), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#read), - * [R4](http://hl7.org/implement/standards/fhir/R4/http.html#read)). Also - * supports the FHIR standard conditional read interaction - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#cread), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#cread), - * [R4](http://hl7.org/implement/standards/fhir/R4/http.html#cread)) specified - * by supplying an `If-Modified-Since` header with a date/time value or an - * `If-None-Match` header with an ETag value. On success, the response body - * contains a JSON-encoded representation of the resource. Errors generated by - * the FHIR store contain a JSON-encoded `OperationOutcome` resource describing - * the reason for the error. If the request cannot be mapped to a valid API - * method on a FHIR store, a generic GCP error might be returned instead. For - * samples that show how to call `read`, see [Getting a FHIR + * interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#read), + * [STU3](https://hl7.org/fhir/STU3/http.html#read), + * [R4](https://hl7.org/fhir/R4/http.html#read)). Also supports the FHIR + * standard conditional read interaction + * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#cread), + * [STU3](https://hl7.org/fhir/STU3/http.html#cread), + * [R4](https://hl7.org/fhir/R4/http.html#cread)) specified by supplying an + * `If-Modified-Since` header with a date/time value or an `If-None-Match` + * header with an ETag value. On success, the response body contains a + * JSON-encoded representation of the resource. Errors generated by the FHIR + * store contain a JSON-encoded `OperationOutcome` resource describing the + * reason for the error. If the request cannot be mapped to a valid API method + * on a FHIR store, a generic GCP error might be returned instead. For samples + * that show how to call `read`, see [Getting a FHIR * resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#getting_a_fhir_resource). * * @param name Required. The name of the resource to retrieve. @@ -5570,19 +5556,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Validates an input FHIR resource's conformance to its profiles and the * profiles configured on the FHIR store. Implements the FHIR extended * operation $validate - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resource-operations.html#validate), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/resource-operations.html#validate), - * or - * [R4](http://hl7.org/implement/standards/fhir/R4/resource-operation-validate.html)). - * The request body must contain a JSON-encoded FHIR resource, and the request - * headers must contain `Content-Type: application/fhir+json`. The `Parameters` - * input syntax is not supported. The `profile` query parameter can be used to - * request that the resource only be validated against a specific profile. If a - * profile with the given URL cannot be found in the FHIR store then an error - * is returned. Errors generated by validation contain a JSON-encoded - * `OperationOutcome` resource describing the reason for the error. If the - * request cannot be mapped to a valid API method on a FHIR store, a generic - * GCP error might be returned instead. + * ([DSTU2](https://hl7.org/fhir/DSTU2/resource-operations.html#validate), + * [STU3](https://hl7.org/fhir/STU3/resource-operations.html#validate), or + * [R4](https://hl7.org/fhir/R4/resource-operation-validate.html)). The request + * body must contain a JSON-encoded FHIR resource, and the request headers must + * contain `Content-Type: application/fhir+json`. The `Parameters` input syntax + * is not supported. The `profile` query parameter can be used to request that + * the resource only be validated against a specific profile. If a profile with + * the given URL cannot be found in the FHIR store then an error is returned. + * Errors generated by validation contain a JSON-encoded `OperationOutcome` + * resource describing the reason for the error. If the request cannot be + * mapped to a valid API method on a FHIR store, a generic GCP error might be + * returned instead. * * Method: healthcare.projects.locations.datasets.fhirStores.fhir.Resource-validate * @@ -5610,10 +5595,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * Required. The FHIR resource type of the resource being validated. For a * complete list, see the FHIR Resource Index - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), or - * [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must - * match the resource type in the provided content. + * ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), + * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), or + * [R4](https://hl7.org/fhir/R4/resourcelist.html)). Must match the resource + * type in the provided content. */ @property(nonatomic, copy, nullable) NSString *type; @@ -5623,29 +5608,28 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Validates an input FHIR resource's conformance to its profiles and the * profiles configured on the FHIR store. Implements the FHIR extended * operation $validate - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resource-operations.html#validate), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/resource-operations.html#validate), - * or - * [R4](http://hl7.org/implement/standards/fhir/R4/resource-operation-validate.html)). - * The request body must contain a JSON-encoded FHIR resource, and the request - * headers must contain `Content-Type: application/fhir+json`. The `Parameters` - * input syntax is not supported. The `profile` query parameter can be used to - * request that the resource only be validated against a specific profile. If a - * profile with the given URL cannot be found in the FHIR store then an error - * is returned. Errors generated by validation contain a JSON-encoded - * `OperationOutcome` resource describing the reason for the error. If the - * request cannot be mapped to a valid API method on a FHIR store, a generic - * GCP error might be returned instead. + * ([DSTU2](https://hl7.org/fhir/DSTU2/resource-operations.html#validate), + * [STU3](https://hl7.org/fhir/STU3/resource-operations.html#validate), or + * [R4](https://hl7.org/fhir/R4/resource-operation-validate.html)). The request + * body must contain a JSON-encoded FHIR resource, and the request headers must + * contain `Content-Type: application/fhir+json`. The `Parameters` input syntax + * is not supported. The `profile` query parameter can be used to request that + * the resource only be validated against a specific profile. If a profile with + * the given URL cannot be found in the FHIR store then an error is returned. + * Errors generated by validation contain a JSON-encoded `OperationOutcome` + * resource describing the reason for the error. If the request cannot be + * mapped to a valid API method on a FHIR store, a generic GCP error might be + * returned instead. * * @param object The @c GTLRCloudHealthcare_HttpBody to include in the query. * @param parent Required. The name of the FHIR store that holds the profiles * being used for validation. * @param type Required. The FHIR resource type of the resource being * validated. For a complete list, see the FHIR Resource Index - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), or - * [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)). Must - * match the resource type in the provided content. + * ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), + * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), or + * [R4](https://hl7.org/fhir/R4/resourcelist.html)). Must match the resource + * type in the provided content. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirResourceValidate */ @@ -5658,39 +5642,37 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * Searches for resources in the given FHIR store according to criteria * specified as query parameters. Implements the FHIR standard search - * interaction - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#search), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#search), - * [R4](http://hl7.org/implement/standards/fhir/R4/http.html#search)) using the - * search semantics described in the FHIR Search specification - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/search.html), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/search.html), - * [R4](http://hl7.org/implement/standards/fhir/R4/search.html)). Supports four - * methods of search defined by the specification: * `GET [base]?[parameters]` - * to search across all resources. * `GET [base]/[type]?[parameters]` to search - * resources of a specified type. * `POST [base]/_search?[parameters]` as an - * alternate form having the same semantics as the `GET` method across all - * resources. * `POST [base]/[type]/_search?[parameters]` as an alternate form - * having the same semantics as the `GET` method for the specified type. The - * `GET` and `POST` methods do not support compartment searches. The `POST` - * method does not support `application/x-www-form-urlencoded` search - * parameters. On success, the response body contains a JSON-encoded - * representation of a `Bundle` resource of type `searchset`, containing the - * results of the search. Errors generated by the FHIR store contain a - * JSON-encoded `OperationOutcome` resource describing the reason for the - * error. If the request cannot be mapped to a valid API method on a FHIR - * store, a generic GCP error might be returned instead. The server's - * capability statement, retrieved through capabilities, indicates what search - * parameters are supported on each FHIR resource. A list of all search - * parameters defined by the specification can be found in the FHIR Search - * Parameter Registry - * ([STU3](http://hl7.org/implement/standards/fhir/STU3/searchparameter-registry.html), - * [R4](http://hl7.org/implement/standards/fhir/R4/searchparameter-registry.html)). - * FHIR search parameters for DSTU2 can be found on each resource's definition - * page. Supported search modifiers: `:missing`, `:exact`, `:contains`, - * `:text`, `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and - * `recurse` (DSTU2 and STU3) or `:iterate` (R4). Supported search result - * parameters: `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, + * interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#search), + * [STU3](https://hl7.org/fhir/STU3/http.html#search), + * [R4](https://hl7.org/fhir/R4/http.html#search)) using the search semantics + * described in the FHIR Search specification + * ([DSTU2](https://hl7.org/fhir/DSTU2/search.html), + * [STU3](https://hl7.org/fhir/STU3/search.html), + * [R4](https://hl7.org/fhir/R4/search.html)). Supports four methods of search + * defined by the specification: * `GET [base]?[parameters]` to search across + * all resources. * `GET [base]/[type]?[parameters]` to search resources of a + * specified type. * `POST [base]/_search?[parameters]` as an alternate form + * having the same semantics as the `GET` method across all resources. * `POST + * [base]/[type]/_search?[parameters]` as an alternate form having the same + * semantics as the `GET` method for the specified type. The `GET` and `POST` + * methods do not support compartment searches. The `POST` method does not + * support `application/x-www-form-urlencoded` search parameters. On success, + * the response body contains a JSON-encoded representation of a `Bundle` + * resource of type `searchset`, containing the results of the search. Errors + * generated by the FHIR store contain a JSON-encoded `OperationOutcome` + * resource describing the reason for the error. If the request cannot be + * mapped to a valid API method on a FHIR store, a generic GCP error might be + * returned instead. The server's capability statement, retrieved through + * capabilities, indicates what search parameters are supported on each FHIR + * resource. A list of all search parameters defined by the specification can + * be found in the FHIR Search Parameter Registry + * ([STU3](https://hl7.org/fhir/STU3/searchparameter-registry.html), + * [R4](https://hl7.org/fhir/R4/searchparameter-registry.html)). FHIR search + * parameters for DSTU2 can be found on each resource's definition page. + * Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`, + * `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `recurse` + * (DSTU2 and STU3) or `:iterate` (R4). Supported search result parameters: + * `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, * `_summary=data`, and `_elements`. The maximum number of search results * returned defaults to 100, which can be overridden by the `_count` parameter * up to a maximum limit of 1000. The server might return fewer resources than @@ -5740,39 +5722,37 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * * Searches for resources in the given FHIR store according to criteria * specified as query parameters. Implements the FHIR standard search - * interaction - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#search), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#search), - * [R4](http://hl7.org/implement/standards/fhir/R4/http.html#search)) using the - * search semantics described in the FHIR Search specification - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/search.html), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/search.html), - * [R4](http://hl7.org/implement/standards/fhir/R4/search.html)). Supports four - * methods of search defined by the specification: * `GET [base]?[parameters]` - * to search across all resources. * `GET [base]/[type]?[parameters]` to search - * resources of a specified type. * `POST [base]/_search?[parameters]` as an - * alternate form having the same semantics as the `GET` method across all - * resources. * `POST [base]/[type]/_search?[parameters]` as an alternate form - * having the same semantics as the `GET` method for the specified type. The - * `GET` and `POST` methods do not support compartment searches. The `POST` - * method does not support `application/x-www-form-urlencoded` search - * parameters. On success, the response body contains a JSON-encoded - * representation of a `Bundle` resource of type `searchset`, containing the - * results of the search. Errors generated by the FHIR store contain a - * JSON-encoded `OperationOutcome` resource describing the reason for the - * error. If the request cannot be mapped to a valid API method on a FHIR - * store, a generic GCP error might be returned instead. The server's - * capability statement, retrieved through capabilities, indicates what search - * parameters are supported on each FHIR resource. A list of all search - * parameters defined by the specification can be found in the FHIR Search - * Parameter Registry - * ([STU3](http://hl7.org/implement/standards/fhir/STU3/searchparameter-registry.html), - * [R4](http://hl7.org/implement/standards/fhir/R4/searchparameter-registry.html)). - * FHIR search parameters for DSTU2 can be found on each resource's definition - * page. Supported search modifiers: `:missing`, `:exact`, `:contains`, - * `:text`, `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and - * `recurse` (DSTU2 and STU3) or `:iterate` (R4). Supported search result - * parameters: `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, + * interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#search), + * [STU3](https://hl7.org/fhir/STU3/http.html#search), + * [R4](https://hl7.org/fhir/R4/http.html#search)) using the search semantics + * described in the FHIR Search specification + * ([DSTU2](https://hl7.org/fhir/DSTU2/search.html), + * [STU3](https://hl7.org/fhir/STU3/search.html), + * [R4](https://hl7.org/fhir/R4/search.html)). Supports four methods of search + * defined by the specification: * `GET [base]?[parameters]` to search across + * all resources. * `GET [base]/[type]?[parameters]` to search resources of a + * specified type. * `POST [base]/_search?[parameters]` as an alternate form + * having the same semantics as the `GET` method across all resources. * `POST + * [base]/[type]/_search?[parameters]` as an alternate form having the same + * semantics as the `GET` method for the specified type. The `GET` and `POST` + * methods do not support compartment searches. The `POST` method does not + * support `application/x-www-form-urlencoded` search parameters. On success, + * the response body contains a JSON-encoded representation of a `Bundle` + * resource of type `searchset`, containing the results of the search. Errors + * generated by the FHIR store contain a JSON-encoded `OperationOutcome` + * resource describing the reason for the error. If the request cannot be + * mapped to a valid API method on a FHIR store, a generic GCP error might be + * returned instead. The server's capability statement, retrieved through + * capabilities, indicates what search parameters are supported on each FHIR + * resource. A list of all search parameters defined by the specification can + * be found in the FHIR Search Parameter Registry + * ([STU3](https://hl7.org/fhir/STU3/searchparameter-registry.html), + * [R4](https://hl7.org/fhir/R4/searchparameter-registry.html)). FHIR search + * parameters for DSTU2 can be found on each resource's definition page. + * Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`, + * `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `recurse` + * (DSTU2 and STU3) or `:iterate` (R4). Supported search result parameters: + * `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, * `_summary=data`, and `_elements`. The maximum number of search results * returned defaults to 100, which can be overridden by the `_count` parameter * up to a maximum limit of 1000. The server might return fewer resources than @@ -5820,39 +5800,37 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * Searches for resources in the given FHIR store according to criteria * specified as query parameters. Implements the FHIR standard search - * interaction - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#search), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#search), - * [R4](http://hl7.org/implement/standards/fhir/R4/http.html#search)) using the - * search semantics described in the FHIR Search specification - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/search.html), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/search.html), - * [R4](http://hl7.org/implement/standards/fhir/R4/search.html)). Supports four - * methods of search defined by the specification: * `GET [base]?[parameters]` - * to search across all resources. * `GET [base]/[type]?[parameters]` to search - * resources of a specified type. * `POST [base]/_search?[parameters]` as an - * alternate form having the same semantics as the `GET` method across all - * resources. * `POST [base]/[type]/_search?[parameters]` as an alternate form - * having the same semantics as the `GET` method for the specified type. The - * `GET` and `POST` methods do not support compartment searches. The `POST` - * method does not support `application/x-www-form-urlencoded` search - * parameters. On success, the response body contains a JSON-encoded - * representation of a `Bundle` resource of type `searchset`, containing the - * results of the search. Errors generated by the FHIR store contain a - * JSON-encoded `OperationOutcome` resource describing the reason for the - * error. If the request cannot be mapped to a valid API method on a FHIR - * store, a generic GCP error might be returned instead. The server's - * capability statement, retrieved through capabilities, indicates what search - * parameters are supported on each FHIR resource. A list of all search - * parameters defined by the specification can be found in the FHIR Search - * Parameter Registry - * ([STU3](http://hl7.org/implement/standards/fhir/STU3/searchparameter-registry.html), - * [R4](http://hl7.org/implement/standards/fhir/R4/searchparameter-registry.html)). - * FHIR search parameters for DSTU2 can be found on each resource's definition - * page. Supported search modifiers: `:missing`, `:exact`, `:contains`, - * `:text`, `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and - * `recurse` (DSTU2 and STU3) or `:iterate` (R4). Supported search result - * parameters: `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, + * interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#search), + * [STU3](https://hl7.org/fhir/STU3/http.html#search), + * [R4](https://hl7.org/fhir/R4/http.html#search)) using the search semantics + * described in the FHIR Search specification + * ([DSTU2](https://hl7.org/fhir/DSTU2/search.html), + * [STU3](https://hl7.org/fhir/STU3/search.html), + * [R4](https://hl7.org/fhir/R4/search.html)). Supports four methods of search + * defined by the specification: * `GET [base]?[parameters]` to search across + * all resources. * `GET [base]/[type]?[parameters]` to search resources of a + * specified type. * `POST [base]/_search?[parameters]` as an alternate form + * having the same semantics as the `GET` method across all resources. * `POST + * [base]/[type]/_search?[parameters]` as an alternate form having the same + * semantics as the `GET` method for the specified type. The `GET` and `POST` + * methods do not support compartment searches. The `POST` method does not + * support `application/x-www-form-urlencoded` search parameters. On success, + * the response body contains a JSON-encoded representation of a `Bundle` + * resource of type `searchset`, containing the results of the search. Errors + * generated by the FHIR store contain a JSON-encoded `OperationOutcome` + * resource describing the reason for the error. If the request cannot be + * mapped to a valid API method on a FHIR store, a generic GCP error might be + * returned instead. The server's capability statement, retrieved through + * capabilities, indicates what search parameters are supported on each FHIR + * resource. A list of all search parameters defined by the specification can + * be found in the FHIR Search Parameter Registry + * ([STU3](https://hl7.org/fhir/STU3/searchparameter-registry.html), + * [R4](https://hl7.org/fhir/R4/searchparameter-registry.html)). FHIR search + * parameters for DSTU2 can be found on each resource's definition page. + * Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`, + * `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `recurse` + * (DSTU2 and STU3) or `:iterate` (R4). Supported search result parameters: + * `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, * `_summary=data`, and `_elements`. The maximum number of search results * returned defaults to 100, which can be overridden by the `_count` parameter * up to a maximum limit of 1000. The server might return fewer resources than @@ -5900,9 +5878,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * Optional. The FHIR resource type to search, such as Patient or Observation. * For a complete list, see the FHIR Resource Index - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), - * [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)). + * ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), + * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), + * [R4](https://hl7.org/fhir/R4/resourcelist.html)). */ @property(nonatomic, copy, nullable) NSString *resourceType; @@ -5911,39 +5889,37 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * * Searches for resources in the given FHIR store according to criteria * specified as query parameters. Implements the FHIR standard search - * interaction - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#search), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#search), - * [R4](http://hl7.org/implement/standards/fhir/R4/http.html#search)) using the - * search semantics described in the FHIR Search specification - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/search.html), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/search.html), - * [R4](http://hl7.org/implement/standards/fhir/R4/search.html)). Supports four - * methods of search defined by the specification: * `GET [base]?[parameters]` - * to search across all resources. * `GET [base]/[type]?[parameters]` to search - * resources of a specified type. * `POST [base]/_search?[parameters]` as an - * alternate form having the same semantics as the `GET` method across all - * resources. * `POST [base]/[type]/_search?[parameters]` as an alternate form - * having the same semantics as the `GET` method for the specified type. The - * `GET` and `POST` methods do not support compartment searches. The `POST` - * method does not support `application/x-www-form-urlencoded` search - * parameters. On success, the response body contains a JSON-encoded - * representation of a `Bundle` resource of type `searchset`, containing the - * results of the search. Errors generated by the FHIR store contain a - * JSON-encoded `OperationOutcome` resource describing the reason for the - * error. If the request cannot be mapped to a valid API method on a FHIR - * store, a generic GCP error might be returned instead. The server's - * capability statement, retrieved through capabilities, indicates what search - * parameters are supported on each FHIR resource. A list of all search - * parameters defined by the specification can be found in the FHIR Search - * Parameter Registry - * ([STU3](http://hl7.org/implement/standards/fhir/STU3/searchparameter-registry.html), - * [R4](http://hl7.org/implement/standards/fhir/R4/searchparameter-registry.html)). - * FHIR search parameters for DSTU2 can be found on each resource's definition - * page. Supported search modifiers: `:missing`, `:exact`, `:contains`, - * `:text`, `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and - * `recurse` (DSTU2 and STU3) or `:iterate` (R4). Supported search result - * parameters: `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, + * interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#search), + * [STU3](https://hl7.org/fhir/STU3/http.html#search), + * [R4](https://hl7.org/fhir/R4/http.html#search)) using the search semantics + * described in the FHIR Search specification + * ([DSTU2](https://hl7.org/fhir/DSTU2/search.html), + * [STU3](https://hl7.org/fhir/STU3/search.html), + * [R4](https://hl7.org/fhir/R4/search.html)). Supports four methods of search + * defined by the specification: * `GET [base]?[parameters]` to search across + * all resources. * `GET [base]/[type]?[parameters]` to search resources of a + * specified type. * `POST [base]/_search?[parameters]` as an alternate form + * having the same semantics as the `GET` method across all resources. * `POST + * [base]/[type]/_search?[parameters]` as an alternate form having the same + * semantics as the `GET` method for the specified type. The `GET` and `POST` + * methods do not support compartment searches. The `POST` method does not + * support `application/x-www-form-urlencoded` search parameters. On success, + * the response body contains a JSON-encoded representation of a `Bundle` + * resource of type `searchset`, containing the results of the search. Errors + * generated by the FHIR store contain a JSON-encoded `OperationOutcome` + * resource describing the reason for the error. If the request cannot be + * mapped to a valid API method on a FHIR store, a generic GCP error might be + * returned instead. The server's capability statement, retrieved through + * capabilities, indicates what search parameters are supported on each FHIR + * resource. A list of all search parameters defined by the specification can + * be found in the FHIR Search Parameter Registry + * ([STU3](https://hl7.org/fhir/STU3/searchparameter-registry.html), + * [R4](https://hl7.org/fhir/R4/searchparameter-registry.html)). FHIR search + * parameters for DSTU2 can be found on each resource's definition page. + * Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`, + * `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `recurse` + * (DSTU2 and STU3) or `:iterate` (R4). Supported search result parameters: + * `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, * `_summary=data`, and `_elements`. The maximum number of search results * returned defaults to 100, which can be overridden by the `_count` parameter * up to a maximum limit of 1000. The server might return fewer resources than @@ -5982,9 +5958,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * @param parent Required. Name of the FHIR store to retrieve resources from. * @param resourceType Optional. The FHIR resource type to search, such as * Patient or Observation. For a complete list, see the FHIR Resource Index - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html), - * [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)). + * ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), + * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), + * [R4](https://hl7.org/fhir/R4/resourcelist.html)). * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirSearchType */ @@ -5996,26 +5972,24 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * Updates the entire contents of a resource. Implements the FHIR standard - * update interaction - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#update), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#update), - * [R4](http://hl7.org/implement/standards/fhir/R4/http.html#update)). 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. The request body must contain a JSON-encoded FHIR resource, - * and the request headers must contain `Content-Type: application/fhir+json`. - * The resource must contain an `id` element having an identical value to the - * ID in the REST path of the request. On success, the response body contains a - * JSON-encoded representation of the updated resource, including the - * server-assigned version ID. Errors generated by the FHIR store contain a - * JSON-encoded `OperationOutcome` resource describing the reason for the - * error. If the request cannot be mapped to a valid API method on a FHIR - * store, a generic GCP error might be returned instead. For samples that show - * how to call `update`, see [Updating a FHIR + * update interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#update), + * [STU3](https://hl7.org/fhir/STU3/http.html#update), + * [R4](https://hl7.org/fhir/R4/http.html#update)). 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. The request body must contain a + * JSON-encoded FHIR resource, and the request headers must contain + * `Content-Type: application/fhir+json`. The resource must contain an `id` + * element having an identical value to the ID in the REST path of the request. + * On success, the response body contains a JSON-encoded representation of the + * updated resource, including the server-assigned version ID. Errors generated + * by the FHIR store contain a JSON-encoded `OperationOutcome` resource + * describing the reason for the error. If the request cannot be mapped to a + * valid API method on a FHIR store, a generic GCP error might be returned + * instead. For samples that show how to call `update`, see [Updating a FHIR * resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#updating_a_fhir_resource). * * Method: healthcare.projects.locations.datasets.fhirStores.fhir.update @@ -6033,26 +6007,24 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Fetches a @c GTLRCloudHealthcare_HttpBody. * * Updates the entire contents of a resource. Implements the FHIR standard - * update interaction - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#update), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#update), - * [R4](http://hl7.org/implement/standards/fhir/R4/http.html#update)). 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. The request body must contain a JSON-encoded FHIR resource, - * and the request headers must contain `Content-Type: application/fhir+json`. - * The resource must contain an `id` element having an identical value to the - * ID in the REST path of the request. On success, the response body contains a - * JSON-encoded representation of the updated resource, including the - * server-assigned version ID. Errors generated by the FHIR store contain a - * JSON-encoded `OperationOutcome` resource describing the reason for the - * error. If the request cannot be mapped to a valid API method on a FHIR - * store, a generic GCP error might be returned instead. For samples that show - * how to call `update`, see [Updating a FHIR + * update interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#update), + * [STU3](https://hl7.org/fhir/STU3/http.html#update), + * [R4](https://hl7.org/fhir/R4/http.html#update)). 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. The request body must contain a + * JSON-encoded FHIR resource, and the request headers must contain + * `Content-Type: application/fhir+json`. The resource must contain an `id` + * element having an identical value to the ID in the REST path of the request. + * On success, the response body contains a JSON-encoded representation of the + * updated resource, including the server-assigned version ID. Errors generated + * by the FHIR store contain a JSON-encoded `OperationOutcome` resource + * describing the reason for the error. If the request cannot be mapped to a + * valid API method on a FHIR store, a generic GCP error might be returned + * instead. For samples that show how to call `update`, see [Updating a FHIR * resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#updating_a_fhir_resource). * * @param object The @c GTLRCloudHealthcare_HttpBody to include in the query. @@ -6068,15 +6040,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * Gets the contents of a version (current or historical) of a FHIR resource by * version ID. Implements the FHIR standard vread interaction - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#vread), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#vread), - * [R4](http://hl7.org/implement/standards/fhir/R4/http.html#vread)). On - * success, the response body contains a JSON-encoded representation of the - * resource. Errors generated by the FHIR store contain a JSON-encoded - * `OperationOutcome` resource describing the reason for the error. If the - * request cannot be mapped to a valid API method on a FHIR store, a generic - * GCP error might be returned instead. For samples that show how to call - * `vread`, see [Retrieving a FHIR resource + * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#vread), + * [STU3](https://hl7.org/fhir/STU3/http.html#vread), + * [R4](https://hl7.org/fhir/R4/http.html#vread)). On success, the response + * body contains a JSON-encoded representation of the resource. Errors + * generated by the FHIR store contain a JSON-encoded `OperationOutcome` + * resource describing the reason for the error. If the request cannot be + * mapped to a valid API method on a FHIR store, a generic GCP error might be + * returned instead. For samples that show how to call `vread`, see [Retrieving + * a FHIR resource * version](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#retrieving_a_fhir_resource_version). * * Method: healthcare.projects.locations.datasets.fhirStores.fhir.vread @@ -6095,15 +6067,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * * Gets the contents of a version (current or historical) of a FHIR resource by * version ID. Implements the FHIR standard vread interaction - * ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#vread), - * [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#vread), - * [R4](http://hl7.org/implement/standards/fhir/R4/http.html#vread)). On - * success, the response body contains a JSON-encoded representation of the - * resource. Errors generated by the FHIR store contain a JSON-encoded - * `OperationOutcome` resource describing the reason for the error. If the - * request cannot be mapped to a valid API method on a FHIR store, a generic - * GCP error might be returned instead. For samples that show how to call - * `vread`, see [Retrieving a FHIR resource + * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#vread), + * [STU3](https://hl7.org/fhir/STU3/http.html#vread), + * [R4](https://hl7.org/fhir/R4/http.html#vread)). On success, the response + * body contains a JSON-encoded representation of the resource. Errors + * generated by the FHIR store contain a JSON-encoded `OperationOutcome` + * resource describing the reason for the error. If the request cannot be + * mapped to a valid API method on a FHIR store, a generic GCP error might be + * returned instead. For samples that show how to call `vread`, see [Retrieving + * a FHIR resource * version](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#retrieving_a_fhir_resource_version). * * @param name Required. The name of the resource version to retrieve. diff --git a/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h b/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h index de2bb0b67..dfbea4180 100644 --- a/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h +++ b/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h @@ -4056,7 +4056,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe @property(nonatomic, copy, nullable) NSString *nextPageToken; /** - * The total number of CryptoKeys that matched the query. + * The total number of CryptoKeys that matched the query. This field is not + * populated if ListCryptoKeysRequest.filter is applied. * * Uses NSNumber of intValue. */ @@ -4091,7 +4092,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe @property(nonatomic, copy, nullable) NSString *nextPageToken; /** - * The total number of CryptoKeyVersions that matched the query. + * The total number of CryptoKeyVersions that matched the query. This field is + * not populated if ListCryptoKeyVersionsRequest.filter is applied. * * Uses NSNumber of intValue. */ @@ -4125,7 +4127,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe @property(nonatomic, copy, nullable) NSString *nextPageToken; /** - * The total number of EkmConnections that matched the query. + * The total number of EkmConnections that matched the query. This field is not + * populated if ListEkmConnectionsRequest.filter is applied. * * Uses NSNumber of intValue. */ @@ -4159,7 +4162,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe @property(nonatomic, copy, nullable) NSString *nextPageToken; /** - * The total number of ImportJobs that matched the query. + * The total number of ImportJobs that matched the query. This field is not + * populated if ListImportJobsRequest.filter is applied. * * Uses NSNumber of intValue. */ @@ -4220,7 +4224,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe @property(nonatomic, copy, nullable) NSString *nextPageToken; /** - * The total number of KeyRings that matched the query. + * The total number of KeyRings that matched the query. This field is not + * populated if ListKeyRingsRequest.filter is applied. * * Uses NSNumber of intValue. */ diff --git a/Sources/GeneratedServices/CloudMemorystoreforMemcached/GTLRCloudMemorystoreforMemcachedObjects.m b/Sources/GeneratedServices/CloudMemorystoreforMemcached/GTLRCloudMemorystoreforMemcachedObjects.m index b77d52d27..ca378fab6 100644 --- a/Sources/GeneratedServices/CloudMemorystoreforMemcached/GTLRCloudMemorystoreforMemcachedObjects.m +++ b/Sources/GeneratedServices/CloudMemorystoreforMemcached/GTLRCloudMemorystoreforMemcachedObjects.m @@ -245,11 +245,11 @@ @implementation GTLRCloudMemorystoreforMemcached_GoogleCloudMemcacheV1ZoneMetada // @implementation GTLRCloudMemorystoreforMemcached_GoogleCloudSaasacceleratorManagementProvidersV1Instance -@dynamic consumerDefinedName, createTime, instanceType, labels, - maintenancePolicyNames, maintenanceSchedules, maintenanceSettings, - name, notificationParameters, producerMetadata, provisionedResources, - slmInstanceTemplate, sloMetadata, softwareVersions, state, - tenantProjectId, updateTime; +@dynamic consumerDefinedName, consumerProjectNumber, createTime, instanceType, + labels, maintenancePolicyNames, maintenanceSchedules, + maintenanceSettings, name, notificationParameters, producerMetadata, + provisionedResources, slmInstanceTemplate, sloMetadata, + softwareVersions, state, tenantProjectId, updateTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/CloudMemorystoreforMemcached/GTLRCloudMemorystoreforMemcachedQuery.m b/Sources/GeneratedServices/CloudMemorystoreforMemcached/GTLRCloudMemorystoreforMemcachedQuery.m index b39192e85..0be0a5c3f 100644 --- a/Sources/GeneratedServices/CloudMemorystoreforMemcached/GTLRCloudMemorystoreforMemcachedQuery.m +++ b/Sources/GeneratedServices/CloudMemorystoreforMemcached/GTLRCloudMemorystoreforMemcachedQuery.m @@ -257,7 +257,14 @@ + (instancetype)queryWithObject:(GTLRCloudMemorystoreforMemcached_GoogleCloudMem @implementation GTLRCloudMemorystoreforMemcachedQuery_ProjectsLocationsList -@dynamic filter, name, pageSize, pageToken; +@dynamic extraLocationTypes, filter, name, pageSize, pageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"extraLocationTypes" : [NSString class] + }; + return map; +} + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; diff --git a/Sources/GeneratedServices/CloudMemorystoreforMemcached/Public/GoogleAPIClientForREST/GTLRCloudMemorystoreforMemcachedObjects.h b/Sources/GeneratedServices/CloudMemorystoreforMemcached/Public/GoogleAPIClientForREST/GTLRCloudMemorystoreforMemcachedObjects.h index 37d7ef9bd..a98a205bb 100644 --- a/Sources/GeneratedServices/CloudMemorystoreforMemcached/Public/GoogleAPIClientForREST/GTLRCloudMemorystoreforMemcachedObjects.h +++ b/Sources/GeneratedServices/CloudMemorystoreforMemcached/Public/GoogleAPIClientForREST/GTLRCloudMemorystoreforMemcachedObjects.h @@ -767,6 +767,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudMemorystoreforMemcached_WeeklyMaint */ @property(nonatomic, copy, nullable) NSString *consumerDefinedName; +/** + * Optional. The consumer_project_number associated with this Apigee instance. + * This field is added specifically to support Apigee integration with SLM + * Rollout and UMM. It represents the numerical project ID of the GCP project + * that consumes this Apigee instance. It is used for SLM rollout notifications + * and UMM integration, enabling proper mapping to customer projects and log + * delivery for Apigee instances. This field complements consumer_project_id + * and may be used for specific Apigee scenarios where the numerical ID is + * required. + */ +@property(nonatomic, copy, nullable) NSString *consumerProjectNumber; + /** Output only. Timestamp when the resource was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; diff --git a/Sources/GeneratedServices/CloudMemorystoreforMemcached/Public/GoogleAPIClientForREST/GTLRCloudMemorystoreforMemcachedQuery.h b/Sources/GeneratedServices/CloudMemorystoreforMemcached/Public/GoogleAPIClientForREST/GTLRCloudMemorystoreforMemcachedQuery.h index dfdfa10b3..92dd86eb4 100644 --- a/Sources/GeneratedServices/CloudMemorystoreforMemcached/Public/GoogleAPIClientForREST/GTLRCloudMemorystoreforMemcachedQuery.h +++ b/Sources/GeneratedServices/CloudMemorystoreforMemcached/Public/GoogleAPIClientForREST/GTLRCloudMemorystoreforMemcachedQuery.h @@ -437,6 +437,12 @@ NS_ASSUME_NONNULL_BEGIN */ @interface GTLRCloudMemorystoreforMemcachedQuery_ProjectsLocationsList : GTLRCloudMemorystoreforMemcachedQuery +/** + * Optional. A list of extra location types that should be used as conditions + * for controlling the visibility of the locations. + */ +@property(nonatomic, strong, nullable) NSArray *extraLocationTypes; + /** * A filter to narrow down results to a preferred subset. The filtering * language accepts strings like `"displayName=tokyo"`, and is documented in diff --git a/Sources/GeneratedServices/CloudNaturalLanguage/GTLRCloudNaturalLanguageObjects.m b/Sources/GeneratedServices/CloudNaturalLanguage/GTLRCloudNaturalLanguageObjects.m index 2c977eaf8..4a37bdf88 100644 --- a/Sources/GeneratedServices/CloudNaturalLanguage/GTLRCloudNaturalLanguageObjects.m +++ b/Sources/GeneratedServices/CloudNaturalLanguage/GTLRCloudNaturalLanguageObjects.m @@ -37,6 +37,7 @@ NSString * const kGTLRCloudNaturalLanguage_CpuMetric_CpuType_A2 = @"A2"; NSString * const kGTLRCloudNaturalLanguage_CpuMetric_CpuType_A3 = @"A3"; NSString * const kGTLRCloudNaturalLanguage_CpuMetric_CpuType_A4 = @"A4"; +NSString * const kGTLRCloudNaturalLanguage_CpuMetric_CpuType_A4x = @"A4X"; NSString * const kGTLRCloudNaturalLanguage_CpuMetric_CpuType_C2 = @"C2"; NSString * const kGTLRCloudNaturalLanguage_CpuMetric_CpuType_C2d = @"C2D"; NSString * const kGTLRCloudNaturalLanguage_CpuMetric_CpuType_C3 = @"C3"; @@ -69,6 +70,7 @@ NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_A3Megagpu8g = @"A3_MEGAGPU_8G"; NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_A3Ultragpu8g = @"A3_ULTRAGPU_8G"; NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_A4Highgpu8g = @"A4_HIGHGPU_8G"; +NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_A4xHighgpu4g = @"A4X_HIGHGPU_4G"; NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_C2dHighcpu112 = @"C2D_HIGHCPU_112"; NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_C2dHighcpu16 = @"C2D_HIGHCPU_16"; NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_C2dHighcpu2 = @"C2D_HIGHCPU_2"; @@ -254,6 +256,7 @@ // GTLRCloudNaturalLanguage_GpuMetric.gpuType NSString * const kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaA10080gb = @"NVIDIA_A100_80GB"; NSString * const kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaB200 = @"NVIDIA_B200"; +NSString * const kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaGb200 = @"NVIDIA_GB200"; NSString * const kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaH10080gb = @"NVIDIA_H100_80GB"; NSString * const kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaH100Mega80gb = @"NVIDIA_H100_MEGA_80GB"; NSString * const kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaH200141gb = @"NVIDIA_H200_141GB"; @@ -284,6 +287,7 @@ NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_A3Megagpu8g = @"A3_MEGAGPU_8G"; NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_A3Ultragpu8g = @"A3_ULTRAGPU_8G"; NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_A4Highgpu8g = @"A4_HIGHGPU_8G"; +NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_A4xHighgpu4g = @"A4X_HIGHGPU_4G"; NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_C2dHighcpu112 = @"C2D_HIGHCPU_112"; NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_C2dHighcpu16 = @"C2D_HIGHCPU_16"; NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_C2dHighcpu2 = @"C2D_HIGHCPU_2"; @@ -456,6 +460,7 @@ NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_A3Megagpu8g = @"A3_MEGAGPU_8G"; NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_A3Ultragpu8g = @"A3_ULTRAGPU_8G"; NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_A4Highgpu8g = @"A4_HIGHGPU_8G"; +NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_A4xHighgpu4g = @"A4X_HIGHGPU_4G"; NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_C2dHighcpu112 = @"C2D_HIGHCPU_112"; NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_C2dHighcpu16 = @"C2D_HIGHCPU_16"; NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_C2dHighcpu2 = @"C2D_HIGHCPU_2"; @@ -609,6 +614,7 @@ NSString * const kGTLRCloudNaturalLanguage_RamMetric_RamType_A2 = @"A2"; NSString * const kGTLRCloudNaturalLanguage_RamMetric_RamType_A3 = @"A3"; NSString * const kGTLRCloudNaturalLanguage_RamMetric_RamType_A4 = @"A4"; +NSString * const kGTLRCloudNaturalLanguage_RamMetric_RamType_A4x = @"A4X"; NSString * const kGTLRCloudNaturalLanguage_RamMetric_RamType_C2 = @"C2"; NSString * const kGTLRCloudNaturalLanguage_RamMetric_RamType_C2d = @"C2D"; NSString * const kGTLRCloudNaturalLanguage_RamMetric_RamType_C3 = @"C3"; @@ -679,6 +685,7 @@ // GTLRCloudNaturalLanguage_XPSImageModelServingSpecModelThroughputEstimation.computeEngineAcceleratorType NSString * const kGTLRCloudNaturalLanguage_XPSImageModelServingSpecModelThroughputEstimation_ComputeEngineAcceleratorType_NvidiaA10080gb = @"NVIDIA_A100_80GB"; NSString * const kGTLRCloudNaturalLanguage_XPSImageModelServingSpecModelThroughputEstimation_ComputeEngineAcceleratorType_NvidiaB200 = @"NVIDIA_B200"; +NSString * const kGTLRCloudNaturalLanguage_XPSImageModelServingSpecModelThroughputEstimation_ComputeEngineAcceleratorType_NvidiaGb200 = @"NVIDIA_GB200"; NSString * const kGTLRCloudNaturalLanguage_XPSImageModelServingSpecModelThroughputEstimation_ComputeEngineAcceleratorType_NvidiaH10080gb = @"NVIDIA_H100_80GB"; NSString * const kGTLRCloudNaturalLanguage_XPSImageModelServingSpecModelThroughputEstimation_ComputeEngineAcceleratorType_NvidiaH100Mega80gb = @"NVIDIA_H100_MEGA_80GB"; NSString * const kGTLRCloudNaturalLanguage_XPSImageModelServingSpecModelThroughputEstimation_ComputeEngineAcceleratorType_NvidiaH200141gb = @"NVIDIA_H200_141GB"; diff --git a/Sources/GeneratedServices/CloudNaturalLanguage/Public/GoogleAPIClientForREST/GTLRCloudNaturalLanguageObjects.h b/Sources/GeneratedServices/CloudNaturalLanguage/Public/GoogleAPIClientForREST/GTLRCloudNaturalLanguageObjects.h index 2c268c90f..34f04f2a9 100644 --- a/Sources/GeneratedServices/CloudNaturalLanguage/Public/GoogleAPIClientForREST/GTLRCloudNaturalLanguageObjects.h +++ b/Sources/GeneratedServices/CloudNaturalLanguage/Public/GoogleAPIClientForREST/GTLRCloudNaturalLanguageObjects.h @@ -291,6 +291,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_CpuMetric_CpuType_A * Value: "A4" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_CpuMetric_CpuType_A4; +/** + * GPU-based machine, skip quota reporting. + * + * Value: "A4X" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_CpuMetric_CpuType_A4x; /** * COMPUTE_OPTIMIZED * @@ -371,6 +377,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSp FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_A3Ultragpu8g; /** Value: "A4_HIGHGPU_8G" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_A4Highgpu8g; +/** Value: "A4X_HIGHGPU_4G" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_A4xHighgpu4g; /** Value: "C2D_HIGHCPU_112" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_C2dHighcpu112; /** Value: "C2D_HIGHCPU_16" */ @@ -831,6 +839,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_EntityMention_Type_ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaA10080gb; /** Value: "NVIDIA_B200" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaB200; +/** Value: "NVIDIA_GB200" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaGb200; /** Value: "NVIDIA_H100_80GB" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaH10080gb; /** Value: "NVIDIA_H100_MEGA_80GB" */ @@ -891,6 +901,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSp FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_A3Ultragpu8g; /** Value: "A4_HIGHGPU_8G" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_A4Highgpu8g; +/** Value: "A4X_HIGHGPU_4G" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_A4xHighgpu4g; /** Value: "C2D_HIGHCPU_112" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_C2dHighcpu112; /** Value: "C2D_HIGHCPU_16" */ @@ -1250,6 +1262,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSp FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_A3Ultragpu8g; /** Value: "A4_HIGHGPU_8G" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_A4Highgpu8g; +/** Value: "A4X_HIGHGPU_4G" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_A4xHighgpu4g; /** Value: "C2D_HIGHCPU_112" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_C2dHighcpu112; /** Value: "C2D_HIGHCPU_16" */ @@ -1556,6 +1570,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_RamMetric_RamType_A FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_RamMetric_RamType_A3; /** Value: "A4" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_RamMetric_RamType_A4; +/** Value: "A4X" */ +FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_RamMetric_RamType_A4x; /** * COMPUTE_OPTIMIZED * @@ -1813,6 +1829,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_XPSImageModelServin * Value: "NVIDIA_B200" */ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_XPSImageModelServingSpecModelThroughputEstimation_ComputeEngineAcceleratorType_NvidiaB200; +/** + * Nvidia GB200 GPU. + * + * Value: "NVIDIA_GB200" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_XPSImageModelServingSpecModelThroughputEstimation_ComputeEngineAcceleratorType_NvidiaGb200; /** * Nvidia H100 80Gb GPU. * @@ -2854,6 +2876,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_XPSVisualization_Ty * skip quota reporting. (Value: "A3") * @arg @c kGTLRCloudNaturalLanguage_CpuMetric_CpuType_A4 GPU-based machine, * skip quota reporting. (Value: "A4") + * @arg @c kGTLRCloudNaturalLanguage_CpuMetric_CpuType_A4x GPU-based machine, + * skip quota reporting. (Value: "A4X") * @arg @c kGTLRCloudNaturalLanguage_CpuMetric_CpuType_C2 COMPUTE_OPTIMIZED * (Value: "C2") * @arg @c kGTLRCloudNaturalLanguage_CpuMetric_CpuType_C2d Value "C2D" @@ -2914,6 +2938,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_XPSVisualization_Ty * "A3_ULTRAGPU_8G" * @arg @c kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_A4Highgpu8g Value * "A4_HIGHGPU_8G" + * @arg @c kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_A4xHighgpu4g Value + * "A4X_HIGHGPU_4G" * @arg @c kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_C2dHighcpu112 * Value "C2D_HIGHCPU_112" * @arg @c kGTLRCloudNaturalLanguage_CpuMetric_MachineSpec_C2dHighcpu16 Value @@ -3469,6 +3495,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_XPSVisualization_Ty * "NVIDIA_A100_80GB" * @arg @c kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaB200 Value * "NVIDIA_B200" + * @arg @c kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaGb200 Value + * "NVIDIA_GB200" * @arg @c kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaH10080gb Value * "NVIDIA_H100_80GB" * @arg @c kGTLRCloudNaturalLanguage_GpuMetric_GpuType_NvidiaH100Mega80gb @@ -3532,6 +3560,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_XPSVisualization_Ty * "A3_ULTRAGPU_8G" * @arg @c kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_A4Highgpu8g Value * "A4_HIGHGPU_8G" + * @arg @c kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_A4xHighgpu4g Value + * "A4X_HIGHGPU_4G" * @arg @c kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_C2dHighcpu112 * Value "C2D_HIGHCPU_112" * @arg @c kGTLRCloudNaturalLanguage_GpuMetric_MachineSpec_C2dHighcpu16 Value @@ -3986,6 +4016,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_XPSVisualization_Ty * "A3_ULTRAGPU_8G" * @arg @c kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_A4Highgpu8g Value * "A4_HIGHGPU_8G" + * @arg @c kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_A4xHighgpu4g Value + * "A4X_HIGHGPU_4G" * @arg @c kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_C2dHighcpu112 * Value "C2D_HIGHCPU_112" * @arg @c kGTLRCloudNaturalLanguage_RamMetric_MachineSpec_C2dHighcpu16 Value @@ -4299,6 +4331,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_XPSVisualization_Ty * @arg @c kGTLRCloudNaturalLanguage_RamMetric_RamType_A2 Value "A2" * @arg @c kGTLRCloudNaturalLanguage_RamMetric_RamType_A3 Value "A3" * @arg @c kGTLRCloudNaturalLanguage_RamMetric_RamType_A4 Value "A4" + * @arg @c kGTLRCloudNaturalLanguage_RamMetric_RamType_A4x Value "A4X" * @arg @c kGTLRCloudNaturalLanguage_RamMetric_RamType_C2 COMPUTE_OPTIMIZED * (Value: "C2") * @arg @c kGTLRCloudNaturalLanguage_RamMetric_RamType_C2d Value "C2D" @@ -5681,6 +5714,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudNaturalLanguage_XPSVisualization_Ty * Nvidia A100 80GB GPU. (Value: "NVIDIA_A100_80GB") * @arg @c kGTLRCloudNaturalLanguage_XPSImageModelServingSpecModelThroughputEstimation_ComputeEngineAcceleratorType_NvidiaB200 * Nvidia B200 GPU. (Value: "NVIDIA_B200") + * @arg @c kGTLRCloudNaturalLanguage_XPSImageModelServingSpecModelThroughputEstimation_ComputeEngineAcceleratorType_NvidiaGb200 + * Nvidia GB200 GPU. (Value: "NVIDIA_GB200") * @arg @c kGTLRCloudNaturalLanguage_XPSImageModelServingSpecModelThroughputEstimation_ComputeEngineAcceleratorType_NvidiaH10080gb * Nvidia H100 80Gb GPU. (Value: "NVIDIA_H100_80GB") * @arg @c kGTLRCloudNaturalLanguage_XPSImageModelServingSpecModelThroughputEstimation_ComputeEngineAcceleratorType_NvidiaH100Mega80gb diff --git a/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerObjects.h b/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerObjects.h index faf213a48..8bfd3848e 100644 --- a/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerObjects.h +++ b/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerObjects.h @@ -747,7 +747,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudResourceManager_TagKey_Purpose_Purp @property(nonatomic, copy, nullable) NSString *managementProject; /** - * Output only. The resource name of the folder. Its format is + * Identifier. The resource name of the folder. Its format is * `folders/{folder_id}`, for example: "folders/1234". */ @property(nonatomic, copy, nullable) NSString *name; diff --git a/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerQuery.h b/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerQuery.h index 8d6acaec0..425ad945e 100644 --- a/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerQuery.h +++ b/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerQuery.h @@ -480,7 +480,7 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRCloudResourceManagerQuery_FoldersPatch : GTLRCloudResourceManagerQuery /** - * Output only. The resource name of the folder. Its format is + * Identifier. The resource name of the folder. Its format is * `folders/{folder_id}`, for example: "folders/1234". */ @property(nonatomic, copy, nullable) NSString *name; @@ -508,7 +508,7 @@ NS_ASSUME_NONNULL_BEGIN * * @param object The @c GTLRCloudResourceManager_Folder to include in the * query. - * @param name Output only. The resource name of the folder. Its format is + * @param name Identifier. The resource name of the folder. Its format is * `folders/{folder_id}`, for example: "folders/1234". * * @return GTLRCloudResourceManagerQuery_FoldersPatch diff --git a/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m b/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m index 67c7b716c..77290485f 100644 --- a/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m +++ b/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m @@ -148,13 +148,6 @@ NSString * const kGTLRCloudRetail_GoogleCloudRetailV2ImportProductsRequest_ReconciliationMode_Incremental = @"INCREMENTAL"; NSString * const kGTLRCloudRetail_GoogleCloudRetailV2ImportProductsRequest_ReconciliationMode_ReconciliationModeUnspecified = @"RECONCILIATION_MODE_UNSPECIFIED"; -// GTLRCloudRetail_GoogleCloudRetailV2LocalInventory.availability -NSString * const kGTLRCloudRetail_GoogleCloudRetailV2LocalInventory_Availability_AvailabilityUnspecified = @"AVAILABILITY_UNSPECIFIED"; -NSString * const kGTLRCloudRetail_GoogleCloudRetailV2LocalInventory_Availability_Backorder = @"BACKORDER"; -NSString * const kGTLRCloudRetail_GoogleCloudRetailV2LocalInventory_Availability_InStock = @"IN_STOCK"; -NSString * const kGTLRCloudRetail_GoogleCloudRetailV2LocalInventory_Availability_OutOfStock = @"OUT_OF_STOCK"; -NSString * const kGTLRCloudRetail_GoogleCloudRetailV2LocalInventory_Availability_Preorder = @"PREORDER"; - // GTLRCloudRetail_GoogleCloudRetailV2Model.dataState NSString * const kGTLRCloudRetail_GoogleCloudRetailV2Model_DataState_DataError = @"DATA_ERROR"; NSString * const kGTLRCloudRetail_GoogleCloudRetailV2Model_DataState_DataOk = @"DATA_OK"; @@ -730,7 +723,7 @@ @implementation GTLRCloudRetail_GoogleCloudRetailV2alphaMerchantCenterAccountLin // @implementation GTLRCloudRetail_GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter -@dynamic primaryFeedId, primaryFeedName; +@dynamic dataSourceId, primaryFeedId, primaryFeedName; @end @@ -1903,6 +1896,24 @@ @implementation GTLRCloudRetail_GoogleCloudRetailV2CustomAttribute @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2DoubleList +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2DoubleList +@dynamic values; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"values" : [NSNumber class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRetail_GoogleCloudRetailV2ExperimentInfo @@ -2316,7 +2327,7 @@ + (NSString *)collectionItemsKey { // @implementation GTLRCloudRetail_GoogleCloudRetailV2LocalInventory -@dynamic attributes, availability, fulfillmentTypes, placeId, priceInfo; +@dynamic attributes, fulfillmentTypes, placeId, priceInfo; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -3516,7 +3527,7 @@ @implementation GTLRCloudRetail_GoogleCloudRetailV2SearchResponseQueryExpansionI // @implementation GTLRCloudRetail_GoogleCloudRetailV2SearchResponseSearchResult -@dynamic identifier, matchingVariantCount, matchingVariantFields, +@dynamic identifier, matchingVariantCount, matchingVariantFields, modelScores, personalLabels, product, variantRollupValues; + (NSDictionary *)propertyToJSONKeyMap { @@ -3547,6 +3558,20 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2SearchResponseSearchResult_ModelScores +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2SearchResponseSearchResult_ModelScores + ++ (Class)classForAdditionalProperties { + return [GTLRCloudRetail_GoogleCloudRetailV2DoubleList class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRetail_GoogleCloudRetailV2SearchResponseSearchResult_VariantRollupValues diff --git a/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h b/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h index e59e0a520..12f32685d 100644 --- a/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h +++ b/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h @@ -72,6 +72,7 @@ @class GTLRCloudRetail_GoogleCloudRetailV2ConditionTimeRange; @class GTLRCloudRetail_GoogleCloudRetailV2Control; @class GTLRCloudRetail_GoogleCloudRetailV2CustomAttribute; +@class GTLRCloudRetail_GoogleCloudRetailV2DoubleList; @class GTLRCloudRetail_GoogleCloudRetailV2ExperimentInfo; @class GTLRCloudRetail_GoogleCloudRetailV2ExperimentInfoServingConfigExperiment; @class GTLRCloudRetail_GoogleCloudRetailV2ExportErrorsConfig; @@ -148,6 +149,7 @@ @class GTLRCloudRetail_GoogleCloudRetailV2SearchResponseQueryExpansionInfo; @class GTLRCloudRetail_GoogleCloudRetailV2SearchResponseSearchResult; @class GTLRCloudRetail_GoogleCloudRetailV2SearchResponseSearchResult_MatchingVariantFields; +@class GTLRCloudRetail_GoogleCloudRetailV2SearchResponseSearchResult_ModelScores; @class GTLRCloudRetail_GoogleCloudRetailV2SearchResponseSearchResult_VariantRollupValues; @class GTLRCloudRetail_GoogleCloudRetailV2SearchResponseTileNavigationResult; @class GTLRCloudRetail_GoogleCloudRetailV2ServingConfig; @@ -837,40 +839,6 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRetail_GoogleCloudRetailV2ImportPro */ FOUNDATION_EXTERN NSString * const kGTLRCloudRetail_GoogleCloudRetailV2ImportProductsRequest_ReconciliationMode_ReconciliationModeUnspecified; -// ---------------------------------------------------------------------------- -// GTLRCloudRetail_GoogleCloudRetailV2LocalInventory.availability - -/** - * Default product availability. Default to Availability.IN_STOCK if unset. - * - * Value: "AVAILABILITY_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudRetail_GoogleCloudRetailV2LocalInventory_Availability_AvailabilityUnspecified; -/** - * Product that is back-ordered (i.e. temporarily out of stock). - * - * Value: "BACKORDER" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudRetail_GoogleCloudRetailV2LocalInventory_Availability_Backorder; -/** - * Product in stock. - * - * Value: "IN_STOCK" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudRetail_GoogleCloudRetailV2LocalInventory_Availability_InStock; -/** - * Product out of stock. - * - * Value: "OUT_OF_STOCK" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudRetail_GoogleCloudRetailV2LocalInventory_Availability_OutOfStock; -/** - * Product that is in pre-order state. - * - * Value: "PREORDER" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudRetail_GoogleCloudRetailV2LocalInventory_Availability_Preorder; - // ---------------------------------------------------------------------------- // GTLRCloudRetail_GoogleCloudRetailV2Model.dataState @@ -2093,11 +2061,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRetail_GoogleCloudRetailV2ServingCo @interface GTLRCloudRetail_GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter : GTLRObject /** - * Merchant Center primary feed ID. + * AFM data source ID. * * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) NSNumber *primaryFeedId; +@property(nonatomic, strong, nullable) NSNumber *dataSourceId; + +/** + * Merchant Center primary feed ID. Deprecated: use data_source_id instead. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *primaryFeedId GTLR_DEPRECATED; /** * Merchant Center primary feed name. The name is used for the display purposes @@ -4477,6 +4452,21 @@ GTLR_DEPRECATED @end +/** + * A message with a list of double values. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2DoubleList : GTLRObject + +/** + * The list of double values. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSArray *values; + +@end + + /** * Metadata for active A/B testing experiment. */ @@ -5202,38 +5192,6 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2LocalInventory_Attributes *attributes; -/** - * Optional. The availability of the Product at this place_id. Default to - * Availability.IN_STOCK. For primary products with variants set the - * availability of the primary as Availability.OUT_OF_STOCK and set the true - * availability at the variant level. This way the primary product will be - * considered "in stock" as long as it has at least one variant in stock. For - * primary products with no variants set the true availability at the primary - * level. Corresponding properties: Google Merchant Center property - * [availability](https://support.google.com/merchants/answer/6324448). - * Schema.org property [Offer.availability](https://schema.org/availability). - * This field is currently only used by the Recommendations API. For Search, - * please make use of fulfillment_types or custom attributes for similar - * behaviour. See [here]( - * https://cloud.google.com/retail/docs/local-inventory-updates#local-inventory-update-methods) - * for more details. - * - * Likely values: - * @arg @c kGTLRCloudRetail_GoogleCloudRetailV2LocalInventory_Availability_AvailabilityUnspecified - * Default product availability. Default to Availability.IN_STOCK if - * unset. (Value: "AVAILABILITY_UNSPECIFIED") - * @arg @c kGTLRCloudRetail_GoogleCloudRetailV2LocalInventory_Availability_Backorder - * Product that is back-ordered (i.e. temporarily out of stock). (Value: - * "BACKORDER") - * @arg @c kGTLRCloudRetail_GoogleCloudRetailV2LocalInventory_Availability_InStock - * Product in stock. (Value: "IN_STOCK") - * @arg @c kGTLRCloudRetail_GoogleCloudRetailV2LocalInventory_Availability_OutOfStock - * Product out of stock. (Value: "OUT_OF_STOCK") - * @arg @c kGTLRCloudRetail_GoogleCloudRetailV2LocalInventory_Availability_Preorder - * Product that is in pre-order state. (Value: "PREORDER") - */ -@property(nonatomic, copy, nullable) NSString *availability; - /** * Optional. Supported fulfillment types. Valid fulfillment type values include * commonly used types (such as pickup in store and same day delivery), and @@ -8369,6 +8327,9 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2SearchResponseSearchResult_MatchingVariantFields *matchingVariantFields; +/** Google provided available scores. */ +@property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2SearchResponseSearchResult_ModelScores *modelScores; + /** * Specifies previous events related to this product for this user based on * UserEvent with same SearchRequest.visitor_id or UserInfo.user_id. This is @@ -8428,6 +8389,19 @@ GTLR_DEPRECATED @end +/** + * Google provided available scores. + * + * @note This class is documented as having more properties of + * GTLRCloudRetail_GoogleCloudRetailV2DoubleList. 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 GTLRCloudRetail_GoogleCloudRetailV2SearchResponseSearchResult_ModelScores : GTLRObject +@end + + /** * The rollup matching variant Product attributes. The key is one of the * SearchRequest.variant_rollup_keys. The values are the merged and diff --git a/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m b/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m index 039102017..dbc94dff0 100644 --- a/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m +++ b/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m @@ -214,11 +214,6 @@ NSString * const kGTLRCloudRun_GoogleCloudRunV2WorkerPoolRevisionTemplate_EncryptionKeyRevocationAction_PreventNew = @"PREVENT_NEW"; NSString * const kGTLRCloudRun_GoogleCloudRunV2WorkerPoolRevisionTemplate_EncryptionKeyRevocationAction_Shutdown = @"SHUTDOWN"; -// GTLRCloudRun_GoogleCloudRunV2WorkerPoolScaling.scalingMode -NSString * const kGTLRCloudRun_GoogleCloudRunV2WorkerPoolScaling_ScalingMode_Automatic = @"AUTOMATIC"; -NSString * const kGTLRCloudRun_GoogleCloudRunV2WorkerPoolScaling_ScalingMode_Manual = @"MANUAL"; -NSString * const kGTLRCloudRun_GoogleCloudRunV2WorkerPoolScaling_ScalingMode_ScalingModeUnspecified = @"SCALING_MODE_UNSPECIFIED"; - // GTLRCloudRun_GoogleDevtoolsCloudbuildV1ApprovalResult.decision NSString * const kGTLRCloudRun_GoogleDevtoolsCloudbuildV1ApprovalResult_Decision_Approved = @"APPROVED"; NSString * const kGTLRCloudRun_GoogleDevtoolsCloudbuildV1ApprovalResult_Decision_DecisionUnspecified = @"DECISION_UNSPECIFIED"; @@ -1651,7 +1646,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRCloudRun_GoogleCloudRunV2WorkerPoolScaling -@dynamic manualInstanceCount, maxInstanceCount, minInstanceCount, scalingMode; +@dynamic manualInstanceCount; @end diff --git a/Sources/GeneratedServices/CloudRun/GTLRCloudRunQuery.m b/Sources/GeneratedServices/CloudRun/GTLRCloudRunQuery.m index ecbc2e5dd..87d506e3a 100644 --- a/Sources/GeneratedServices/CloudRun/GTLRCloudRunQuery.m +++ b/Sources/GeneratedServices/CloudRun/GTLRCloudRunQuery.m @@ -927,6 +927,29 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRCloudRunQuery_ProjectsLocationsWorkerPoolsGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v2/{+resource}:getIamPolicy"; + GTLRCloudRunQuery_ProjectsLocationsWorkerPoolsGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLRCloudRun_GoogleIamV1Policy class]; + query.loggingName = @"run.projects.locations.workerPools.getIamPolicy"; + return query; +} + +@end + @implementation GTLRCloudRunQuery_ProjectsLocationsWorkerPoolsList @dynamic pageSize, pageToken, parent, showDeleted; @@ -1034,6 +1057,33 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRCloudRunQuery_ProjectsLocationsWorkerPoolsSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRCloudRun_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 = @"v2/{+resource}:setIamPolicy"; + GTLRCloudRunQuery_ProjectsLocationsWorkerPoolsSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRCloudRun_GoogleIamV1Policy class]; + query.loggingName = @"run.projects.locations.workerPools.setIamPolicy"; + return query; +} + +@end + @implementation GTLRCloudRunQuery_ProjectsLocationsWorkerPoolsTestIamPermissions @dynamic resource; diff --git a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h index 8adf6b51f..b324e3df6 100644 --- a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h +++ b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h @@ -1235,28 +1235,6 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleCloudRunV2WorkerPoolRevis */ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleCloudRunV2WorkerPoolRevisionTemplate_EncryptionKeyRevocationAction_Shutdown; -// ---------------------------------------------------------------------------- -// GTLRCloudRun_GoogleCloudRunV2WorkerPoolScaling.scalingMode - -/** - * Automatically scale between min and max instances. - * - * Value: "AUTOMATIC" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleCloudRunV2WorkerPoolScaling_ScalingMode_Automatic; -/** - * Scale to exactly min instances and ignore the max instances. - * - * Value: "MANUAL" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleCloudRunV2WorkerPoolScaling_ScalingMode_Manual; -/** - * Unspecified. - * - * Value: "SCALING_MODE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleCloudRunV2WorkerPoolScaling_ScalingMode_ScalingModeUnspecified; - // ---------------------------------------------------------------------------- // GTLRCloudRun_GoogleDevtoolsCloudbuildV1ApprovalResult.decision @@ -5915,37 +5893,6 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy */ @property(nonatomic, strong, nullable) NSNumber *manualInstanceCount; -/** - * Optional. The maximum count of instances distributed among revisions based - * on the specified instance split percentages. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *maxInstanceCount; - -/** - * Optional. The minimum count of instances distributed among revisions based - * on the specified instance split percentages. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *minInstanceCount; - -/** - * Optional. The scaling mode for the worker pool. - * - * Likely values: - * @arg @c kGTLRCloudRun_GoogleCloudRunV2WorkerPoolScaling_ScalingMode_Automatic - * Automatically scale between min and max instances. (Value: - * "AUTOMATIC") - * @arg @c kGTLRCloudRun_GoogleCloudRunV2WorkerPoolScaling_ScalingMode_Manual - * Scale to exactly min instances and ignore the max instances. (Value: - * "MANUAL") - * @arg @c kGTLRCloudRun_GoogleCloudRunV2WorkerPoolScaling_ScalingMode_ScalingModeUnspecified - * Unspecified. (Value: "SCALING_MODE_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *scalingMode; - @end diff --git a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunQuery.h b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunQuery.h index 1e94408f5..0624b7968 100644 --- a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunQuery.h +++ b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunQuery.h @@ -1707,6 +1707,55 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Gets the IAM Access Control policy currently in effect for the given Cloud + * Run WorkerPool. This result does not include any inherited policies. + * + * Method: run.projects.locations.workerPools.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudRunCloudPlatform + */ +@interface GTLRCloudRunQuery_ProjectsLocationsWorkerPoolsGetIamPolicy : GTLRCloudRunQuery + +/** + * 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 GTLRCloudRun_GoogleIamV1Policy. + * + * Gets the IAM Access Control policy currently in effect for the given Cloud + * Run WorkerPool. This result does not include any inherited policies. + * + * @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 GTLRCloudRunQuery_ProjectsLocationsWorkerPoolsGetIamPolicy + */ ++ (instancetype)queryWithResource:(NSString *)resource; + +@end + /** * Lists WorkerPools. Results are sorted by creation time, descending. * @@ -1950,6 +1999,44 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Sets the IAM Access control policy for the specified WorkerPool. Overwrites + * any existing policy. + * + * Method: run.projects.locations.workerPools.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudRunCloudPlatform + */ +@interface GTLRCloudRunQuery_ProjectsLocationsWorkerPoolsSetIamPolicy : GTLRCloudRunQuery + +/** + * 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 GTLRCloudRun_GoogleIamV1Policy. + * + * Sets the IAM Access control policy for the specified WorkerPool. Overwrites + * any existing policy. + * + * @param object The @c GTLRCloudRun_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 GTLRCloudRunQuery_ProjectsLocationsWorkerPoolsSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRCloudRun_GoogleIamV1SetIamPolicyRequest *)object + resource:(NSString *)resource; + +@end + /** * Returns permissions that a caller has on the specified Project. There are no * permissions required for making this API call. diff --git a/Sources/GeneratedServices/Compute/GTLRComputeObjects.m b/Sources/GeneratedServices/Compute/GTLRComputeObjects.m index 46a8c3a51..ba9c5498b 100644 --- a/Sources/GeneratedServices/Compute/GTLRComputeObjects.m +++ b/Sources/GeneratedServices/Compute/GTLRComputeObjects.m @@ -817,6 +817,7 @@ NSString * const kGTLRCompute_Commitment_Type_MemoryOptimized = @"MEMORY_OPTIMIZED"; NSString * const kGTLRCompute_Commitment_Type_MemoryOptimizedM3 = @"MEMORY_OPTIMIZED_M3"; NSString * const kGTLRCompute_Commitment_Type_MemoryOptimizedM4 = @"MEMORY_OPTIMIZED_M4"; +NSString * const kGTLRCompute_Commitment_Type_MemoryOptimizedM46tb = @"MEMORY_OPTIMIZED_M4_6TB"; NSString * const kGTLRCompute_Commitment_Type_MemoryOptimizedX416tb = @"MEMORY_OPTIMIZED_X4_16TB"; NSString * const kGTLRCompute_Commitment_Type_MemoryOptimizedX424tb = @"MEMORY_OPTIMIZED_X4_24TB"; NSString * const kGTLRCompute_Commitment_Type_MemoryOptimizedX432tb = @"MEMORY_OPTIMIZED_X4_32TB"; @@ -11094,8 +11095,8 @@ @implementation GTLRCompute_FileContentBuffer @implementation GTLRCompute_Firewall @dynamic allowed, creationTimestamp, denied, descriptionProperty, destinationRanges, direction, disabled, identifier, kind, logConfig, - name, network, priority, selfLink, sourceRanges, sourceServiceAccounts, - sourceTags, targetServiceAccounts, targetTags; + name, network, params, priority, selfLink, sourceRanges, + sourceServiceAccounts, sourceTags, targetServiceAccounts, targetTags; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -11218,6 +11219,30 @@ @implementation GTLRCompute_FirewallLogConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_FirewallParams +// + +@implementation GTLRCompute_FirewallParams +@dynamic resourceManagerTags; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_FirewallParams_ResourceManagerTags +// + +@implementation GTLRCompute_FirewallParams_ResourceManagerTags + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_FirewallPoliciesListAssociationsResponse @@ -22076,7 +22101,7 @@ @implementation GTLRCompute_Route kind, name, network, nextHopGateway, nextHopHub, nextHopIlb, nextHopInstance, nextHopInterRegionCost, nextHopIp, nextHopMed, nextHopNetwork, nextHopOrigin, nextHopPeering, nextHopVpnTunnel, - priority, routeStatus, routeType, selfLink, tags, warnings; + params, priority, routeStatus, routeType, selfLink, tags, warnings; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -22194,6 +22219,30 @@ @implementation GTLRCompute_RouteList_Warning_Data_Item @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_RouteParams +// + +@implementation GTLRCompute_RouteParams +@dynamic resourceManagerTags; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_RouteParams_ResourceManagerTags +// + +@implementation GTLRCompute_RouteParams_ResourceManagerTags + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_RoutePolicy diff --git a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h index 53e47dc36..81b0b034d 100644 --- a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h +++ b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h @@ -194,6 +194,8 @@ @class GTLRCompute_FirewallList_Warning; @class GTLRCompute_FirewallList_Warning_Data_Item; @class GTLRCompute_FirewallLogConfig; +@class GTLRCompute_FirewallParams; +@class GTLRCompute_FirewallParams_ResourceManagerTags; @class GTLRCompute_FirewallPoliciesScopedList; @class GTLRCompute_FirewallPoliciesScopedList_Warning; @class GTLRCompute_FirewallPoliciesScopedList_Warning_Data_Item; @@ -712,6 +714,8 @@ @class GTLRCompute_RouteAsPath; @class GTLRCompute_RouteList_Warning; @class GTLRCompute_RouteList_Warning_Data_Item; +@class GTLRCompute_RouteParams; +@class GTLRCompute_RouteParams_ResourceManagerTags; @class GTLRCompute_RoutePolicy; @class GTLRCompute_RoutePolicyPolicyTerm; @class GTLRCompute_Router; @@ -5149,6 +5153,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_Commitment_Type_MemoryOptimized; FOUNDATION_EXTERN NSString * const kGTLRCompute_Commitment_Type_MemoryOptimizedM3; /** Value: "MEMORY_OPTIMIZED_M4" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_Commitment_Type_MemoryOptimizedM4; +/** Value: "MEMORY_OPTIMIZED_M4_6TB" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_Commitment_Type_MemoryOptimizedM46tb; /** Value: "MEMORY_OPTIMIZED_X4_16TB" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_Commitment_Type_MemoryOptimizedX416tb; /** Value: "MEMORY_OPTIMIZED_X4_24TB" */ @@ -49113,7 +49119,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * must be set for Internal Passthrough Network Load Balancers when the * haPolicy is enabled, and for External Passthrough Network Load Balancers * when the haPolicy fastIpMove is enabled. This field can only be specified - * when the load balancing scheme is set to INTERNAL. + * when the load balancing scheme is set to INTERNAL, or when the load + * balancing scheme is set to EXTERNAL and haPolicy fastIpMove is enabled. */ @property(nonatomic, copy, nullable) NSString *network; @@ -51829,6 +51836,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * "MEMORY_OPTIMIZED_M3" * @arg @c kGTLRCompute_Commitment_Type_MemoryOptimizedM4 Value * "MEMORY_OPTIMIZED_M4" + * @arg @c kGTLRCompute_Commitment_Type_MemoryOptimizedM46tb Value + * "MEMORY_OPTIMIZED_M4_6TB" * @arg @c kGTLRCompute_Commitment_Type_MemoryOptimizedX416tb Value * "MEMORY_OPTIMIZED_X4_16TB" * @arg @c kGTLRCompute_Commitment_Type_MemoryOptimizedX424tb Value @@ -55621,6 +55630,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, copy, nullable) NSString *network; +/** + * Input only. [Input Only] Additional params passed with the request, but not + * persisted as part of resource payload. + */ +@property(nonatomic, strong, nullable) GTLRCompute_FirewallParams *params; + /** * Priority for this rule. This is an integer between `0` and `65535`, both * inclusive. The default value is `1000`. Relative priorities determine which @@ -55961,6 +55976,45 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * Additional firewall parameters. + */ +@interface GTLRCompute_FirewallParams : GTLRObject + +/** + * Tag keys/values directly bound to this resource. Tag keys and values have + * the same definition as resource manager tags. The field is allowed for + * INSERT only. The keys/values to set on the resource should be specified in + * either ID { : } or Namespaced format { : }. For example the following are + * valid inputs: * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : + * "tagValues/456"} * {"123/environment" : "production", "345/abc" : "xyz"} + * Note: * Invalid combinations of ID & namespaced format is not supported. For + * instance: {"123/environment" : "tagValues/444"} is invalid. + */ +@property(nonatomic, strong, nullable) GTLRCompute_FirewallParams_ResourceManagerTags *resourceManagerTags; + +@end + + +/** + * Tag keys/values directly bound to this resource. Tag keys and values have + * the same definition as resource manager tags. The field is allowed for + * INSERT only. The keys/values to set on the resource should be specified in + * either ID { : } or Namespaced format { : }. For example the following are + * valid inputs: * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : + * "tagValues/456"} * {"123/environment" : "production", "345/abc" : "xyz"} + * Note: * Invalid combinations of ID & namespaced format is not supported. For + * instance: {"123/environment" : "tagValues/444"} is invalid. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRCompute_FirewallParams_ResourceManagerTags : GTLRObject +@end + + /** * GTLRCompute_FirewallPoliciesListAssociationsResponse */ @@ -68696,8 +68750,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * Maximum Transmission Unit (MTU), in bytes, of packets passing through this - * interconnect attachment. Only 1440 and 1500 are allowed. If not specified, - * the value will default to 1440. + * interconnect attachment. Valid values are 1440, 1460, 1500, and 8896. If not + * specified, the value will default to 1440. * * Uses NSNumber of intValue. */ @@ -89914,6 +89968,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** The URL to a VpnTunnel that should handle matching packets. */ @property(nonatomic, copy, nullable) NSString *nextHopVpnTunnel; +/** + * Input only. [Input Only] Additional params passed with the request, but not + * persisted as part of resource payload. + */ +@property(nonatomic, strong, nullable) GTLRCompute_RouteParams *params; + /** * The priority of this route. Priority is used to break ties in cases where * there is more than one matching route of equal prefix length. In cases where @@ -90328,6 +90388,45 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * Additional route parameters. + */ +@interface GTLRCompute_RouteParams : GTLRObject + +/** + * Tag keys/values directly bound to this resource. Tag keys and values have + * the same definition as resource manager tags. The field is allowed for + * INSERT only. The keys/values to set on the resource should be specified in + * either ID { : } or Namespaced format { : }. For example the following are + * valid inputs: * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : + * "tagValues/456"} * {"123/environment" : "production", "345/abc" : "xyz"} + * Note: * Invalid combinations of ID & namespaced format is not supported. For + * instance: {"123/environment" : "tagValues/444"} is invalid. + */ +@property(nonatomic, strong, nullable) GTLRCompute_RouteParams_ResourceManagerTags *resourceManagerTags; + +@end + + +/** + * Tag keys/values directly bound to this resource. Tag keys and values have + * the same definition as resource manager tags. The field is allowed for + * INSERT only. The keys/values to set on the resource should be specified in + * either ID { : } or Namespaced format { : }. For example the following are + * valid inputs: * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : + * "tagValues/456"} * {"123/environment" : "production", "345/abc" : "xyz"} + * Note: * Invalid combinations of ID & namespaced format is not supported. For + * instance: {"123/environment" : "tagValues/444"} is invalid. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRCompute_RouteParams_ResourceManagerTags : GTLRObject +@end + + /** * GTLRCompute_RoutePolicy */ diff --git a/Sources/GeneratedServices/Connectors/GTLRConnectorsObjects.m b/Sources/GeneratedServices/Connectors/GTLRConnectorsObjects.m index 6e4edc9b2..e8d8c6e93 100644 --- a/Sources/GeneratedServices/Connectors/GTLRConnectorsObjects.m +++ b/Sources/GeneratedServices/Connectors/GTLRConnectorsObjects.m @@ -335,7 +335,15 @@ @implementation GTLRConnectors_Action // @implementation GTLRConnectors_AuthCodeData -@dynamic authCode, pkceVerifier, redirectUri; +@dynamic authCode, pkceVerifier, redirectUri, scopes; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"scopes" : [NSString class] + }; + return map; +} + @end diff --git a/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsObjects.h b/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsObjects.h index 45af0686f..d287b4439 100644 --- a/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsObjects.h +++ b/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsObjects.h @@ -1758,6 +1758,12 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; */ @property(nonatomic, copy, nullable) NSString *redirectUri; +/** + * Scopes the connection will request when the user performs the auth code + * flow. + */ +@property(nonatomic, strong, nullable) NSArray *scopes; + @end diff --git a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m index 4a747c52c..ebd533421 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m +++ b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m @@ -41,6 +41,11 @@ NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo_AgentType_HumanAgent = @"HUMAN_AGENT"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo_AgentType_RoleUnspecified = @"ROLE_UNSPECIFIED"; +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dataset.type +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dataset_Type_Eval = @"EVAL"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dataset_Type_Live = @"LIVE"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dataset_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; + // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dimension.dimensionKey NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dimension_DimensionKey_Agent = @"AGENT"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dimension_DimensionKey_AgentTeam = @"AGENT_TEAM"; @@ -177,6 +182,11 @@ NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo_AgentType_HumanAgent = @"HUMAN_AGENT"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo_AgentType_RoleUnspecified = @"ROLE_UNSPECIFIED"; +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset.type +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset_Type_Eval = @"EVAL"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset_Type_Live = @"LIVE"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; + // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dimension.dimensionKey NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dimension_DimensionKey_Agent = @"AGENT"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dimension_DimensionKey_AgentTeam = @"AGENT_TEAM"; @@ -915,7 +925,8 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alph // @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dataset -@dynamic createTime, descriptionProperty, name; +@dynamic createTime, descriptionProperty, displayName, name, ttl, type, + updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -1854,12 +1865,11 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alph // ---------------------------------------------------------------------------- // -// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetMetadata +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadata // -@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetMetadata -@dynamic createTime, endTime, partialErrors, request, - sampleConversationsToDatasetStats; +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadata +@dynamic createTime, endTime, partialErrors, request, sampleConversationsStats; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1873,30 +1883,30 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alph // ---------------------------------------------------------------------------- // -// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetMetadataSampleConversationsToDatasetStats +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats // -@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetMetadataSampleConversationsToDatasetStats +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats @dynamic failedSampleCount, successfulSampleCount; @end // ---------------------------------------------------------------------------- // -// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetRequest +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest // -@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetRequest +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest @dynamic destinationDataset, parent, sampleRule; @end // ---------------------------------------------------------------------------- // -// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetResponse +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsResponse // -@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetResponse +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsResponse @end @@ -2235,6 +2245,26 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView +@dynamic conversationFilter, createTime, displayName, name, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet +@dynamic createTime, displayName, name, updateTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata @@ -2882,7 +2912,8 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Crea // @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset -@dynamic createTime, descriptionProperty, name; +@dynamic createTime, descriptionProperty, displayName, name, ttl, type, + updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -3601,6 +3632,50 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse +@dynamic authorizedViewSets, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"authorizedViewSets" : [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"authorizedViewSets"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse +@dynamic authorizedViews, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"authorizedViews" : [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"authorizedViews"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListConversationsResponse @@ -4219,12 +4294,11 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Runt // ---------------------------------------------------------------------------- // -// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetMetadata +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsMetadata // -@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetMetadata -@dynamic createTime, endTime, partialErrors, request, - sampleConversationsToDatasetStats; +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsMetadata +@dynamic createTime, endTime, partialErrors, request, sampleConversationsStats; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -4238,30 +4312,30 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Samp // ---------------------------------------------------------------------------- // -// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetMetadataSampleConversationsToDatasetStats +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats // -@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetMetadataSampleConversationsToDatasetStats +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats @dynamic failedSampleCount, successfulSampleCount; @end // ---------------------------------------------------------------------------- // -// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetRequest +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsRequest // -@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetRequest +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsRequest @dynamic destinationDataset, parent, sampleRule; @end // ---------------------------------------------------------------------------- // -// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetResponse +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsResponse // -@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetResponse +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsResponse @end @@ -4275,6 +4349,28 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Samp @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse +@dynamic authorizedViews, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"authorizedViews" : [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"authorizedViews"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SentimentData diff --git a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m index b605c466c..27c38e1e1 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m +++ b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m @@ -435,6 +435,90 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsCreate + +@dynamic authorizedViewId, parent; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView *)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}/authorizedViews"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.create"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleProtobufEmpty class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.delete"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.get"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/authorizedViews"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.list"; + return query; +} + +@end + @implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperationsCancel @dynamic name; @@ -492,6 +576,33 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView *)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}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.patch"; + return query; +} + +@end + @implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetrics @dynamic location; @@ -519,6 +630,136 @@ + (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcen @end +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsSearch + +@dynamic orderBy, pageSize, pageToken, parent, query; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/authorizedViews:search"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsSearch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.search"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsCreate + +@dynamic authorizedViewSetId, parent; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet *)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}/authorizedViewSets"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.create"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsDelete + +@dynamic force, name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleProtobufEmpty class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.delete"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.get"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/authorizedViewSets"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.list"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet *)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}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.patch"; + return query; +} + +@end + @implementation GTLRContactcenterinsightsQuery_ProjectsLocationsBulkDeleteFeedbackLabels @dynamic parent; @@ -1033,6 +1274,225 @@ + (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcen @end +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsBulkDeleteFeedbackLabels + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest *)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}:bulkDeleteFeedbackLabels"; + GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsBulkDeleteFeedbackLabels *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleLongrunningOperation class]; + query.loggingName = @"contactcenterinsights.projects.locations.datasets.bulkDeleteFeedbackLabels"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsBulkDownloadFeedbackLabels + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest *)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}:bulkDownloadFeedbackLabels"; + GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsBulkDownloadFeedbackLabels *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleLongrunningOperation class]; + query.loggingName = @"contactcenterinsights.projects.locations.datasets.bulkDownloadFeedbackLabels"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsBulkUploadFeedbackLabels + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest *)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}:bulkUploadFeedbackLabels"; + GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsBulkUploadFeedbackLabels *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleLongrunningOperation class]; + query.loggingName = @"contactcenterinsights.projects.locations.datasets.bulkUploadFeedbackLabels"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsAnalysesCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Analysis *)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}/analyses"; + GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsAnalysesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleLongrunningOperation class]; + query.loggingName = @"contactcenterinsights.projects.locations.datasets.conversations.analyses.create"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsAnalysesDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsAnalysesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleProtobufEmpty class]; + query.loggingName = @"contactcenterinsights.projects.locations.datasets.conversations.analyses.delete"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsAnalysesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsAnalysesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Analysis class]; + query.loggingName = @"contactcenterinsights.projects.locations.datasets.conversations.analyses.get"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsAnalysesList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/analyses"; + GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsAnalysesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAnalysesResponse class]; + query.loggingName = @"contactcenterinsights.projects.locations.datasets.conversations.analyses.list"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsBulkAnalyze + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest *)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}/conversations:bulkAnalyze"; + GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsBulkAnalyze *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleLongrunningOperation class]; + query.loggingName = @"contactcenterinsights.projects.locations.datasets.conversations.bulkAnalyze"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsBulkDelete + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest *)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}/conversations:bulkDelete"; + GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsBulkDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleLongrunningOperation class]; + query.loggingName = @"contactcenterinsights.projects.locations.datasets.conversations.bulkDelete"; + return query; +} + +@end + @implementation GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsCalculateStats @dynamic location; @@ -1079,6 +1539,117 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsFeedbackLabelsCreate + +@dynamic feedbackLabelId, parent; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel *)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}/feedbackLabels"; + GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsFeedbackLabelsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel class]; + query.loggingName = @"contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.create"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsFeedbackLabelsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsFeedbackLabelsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleProtobufEmpty class]; + query.loggingName = @"contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.delete"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsFeedbackLabelsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsFeedbackLabelsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel class]; + query.loggingName = @"contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.get"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsFeedbackLabelsList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/feedbackLabels"; + GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsFeedbackLabelsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse class]; + query.loggingName = @"contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.list"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsFeedbackLabelsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel *)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}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsFeedbackLabelsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel class]; + query.loggingName = @"contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.patch"; + return query; +} + +@end + @implementation GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsGet @dynamic name, view; @@ -1171,6 +1742,25 @@ + (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcen @end +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsListAllFeedbackLabels + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}:listAllFeedbackLabels"; + GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsListAllFeedbackLabels *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse class]; + query.loggingName = @"contactcenterinsights.projects.locations.datasets.listAllFeedbackLabels"; + return query; +} + +@end + @implementation GTLRContactcenterinsightsQuery_ProjectsLocationsEncryptionSpecInitialize @dynamic name; diff --git a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h index d5e2ee2ac..91bb66a83 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h +++ b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h @@ -108,8 +108,8 @@ @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1RedactionConfig; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotationUserInput; -@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetMetadataSampleConversationsToDatasetStats; -@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetRequest; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleRule; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SentimentData; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SilenceData; @@ -135,6 +135,8 @@ @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AnswerFeedback; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ArticleSuggestionData; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ArticleSuggestionData_Metadata; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest; @@ -240,8 +242,8 @@ @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1RedactionConfig; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1RuntimeAnnotation; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput; -@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetMetadataSampleConversationsToDatasetStats; -@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetRequest; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsRequest; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleRule; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SentimentData; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Settings_PubsubNotificationSettings; @@ -413,6 +415,29 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact */ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo_AgentType_RoleUnspecified; +// ---------------------------------------------------------------------------- +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dataset.type + +/** + * For evals only. + * + * Value: "EVAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dataset_Type_Eval; +/** + * Dataset with new conversations coming in regularly (Insights legacy + * conversations and AI trainer) + * + * Value: "LIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dataset_Type_Live; +/** + * Default value for unspecified. + * + * Value: "TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dataset_Type_TypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dimension.dimensionKey @@ -1086,6 +1111,29 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact */ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo_AgentType_RoleUnspecified; +// ---------------------------------------------------------------------------- +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset.type + +/** + * For evals only. + * + * Value: "EVAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset_Type_Eval; +/** + * Dataset with new conversations coming in regularly (Insights legacy + * conversations and AI trainer) + * + * Value: "LIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset_Type_Live; +/** + * Default value for unspecified. + * + * Value: "TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset_Type_TypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dimension.dimensionKey @@ -3016,12 +3064,35 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; +/** Display name for the dataaset */ +@property(nonatomic, copy, nullable) NSString *displayName; + /** * Immutable. Identifier. Resource name of the dataset. Format: * projects/{project}/locations/{location}/datasets/{dataset} */ @property(nonatomic, copy, nullable) NSString *name; +/** Optional. Option TTL for the dataset. */ +@property(nonatomic, strong, nullable) GTLRDuration *ttl; + +/** + * Dataset usage type. + * + * Likely values: + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dataset_Type_Eval + * For evals only. (Value: "EVAL") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dataset_Type_Live + * Dataset with new conversations coming in regularly (Insights legacy + * conversations and AI trainer) (Value: "LIVE") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dataset_Type_TypeUnspecified + * Default value for unspecified. (Value: "TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; + +/** Output only. Dataset update time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + @end @@ -5013,9 +5084,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact /** - * The metadata for an SampleConversationsToDataset operation. + * The metadata for an SampleConversations operation. */ -@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetMetadata : GTLRObject +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadata : GTLRObject /** Output only. The time the operation was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; @@ -5024,24 +5095,24 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact @property(nonatomic, strong, nullable) GTLRDateTime *endTime; /** - * Output only. Partial errors during sample conversations to dataset operation - * that might cause the operation output to be incomplete. + * Output only. Partial errors during sample conversations operation that might + * cause the operation output to be incomplete. */ @property(nonatomic, strong, nullable) NSArray *partialErrors; /** Output only. The original request for sample conversations to dataset. */ -@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetRequest *request; +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest *request; -/** Output only. Statistics for SampleConversationsToDataset operation. */ -@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetMetadataSampleConversationsToDatasetStats *sampleConversationsToDatasetStats; +/** Output only. Statistics for SampleConversations operation. */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats *sampleConversationsStats; @end /** - * Statistics for SampleConversationsToDataset operation. + * Statistics for SampleConversations operation. */ -@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetMetadataSampleConversationsToDatasetStats : GTLRObject +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats : GTLRObject /** * Output only. The number of objects which were unable to be sampled due to @@ -5065,9 +5136,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact /** * The request to sample conversations to a dataset. */ -@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetRequest : GTLRObject +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest : GTLRObject -/** Required. The dataset resource to copy the conversations to. */ +/** The dataset resource to copy the sampled conversations to. */ @property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dataset *destinationDataset; /** Required. The parent resource of the dataset. */ @@ -5080,9 +5151,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact /** - * The response to an SampleConversationsToDataset operation. + * The response to an SampleConversations operation. */ -@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsToDatasetResponse : GTLRObject +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SampleConversationsResponse : GTLRObject @end @@ -5807,6 +5878,67 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact @end +/** + * An AuthorizedView represents a view of accessible Insights resources (for + * example, Conversation and Scorecard). Who have read access to the + * AuthorizedView resource will have access to these Insight resources as well. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView : GTLRObject + +/** + * A filter to reduce conversation results to a specific subset. The + * AuthorizedView's assigned permission (read/write) could be applied to the + * subset of conversations. If conversation_filter is empty, there is no + * restriction on the conversations that the AuthorizedView can access. Having + * *authorizedViews.get* access to the AuthorizedView means having the same + * read/write access to the Conversations (as well as metadata/annotations + * liked to the conversation) that this AuthorizedView has. + */ +@property(nonatomic, copy, nullable) NSString *conversationFilter; + +/** Output only. The time at which the authorized view was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Display Name. Limit 64 characters. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Identifier. The resource name of the AuthorizedView. Format: + * projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The most recent time at which the authorized view was updated. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * An AuthorizedViewSet contains a set of AuthorizedView resources. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet : GTLRObject + +/** Output only. Create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Display Name. Limit 64 characters. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Identifier. The resource name of the AuthorizedViewSet. Format: + * projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. Update time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * The metadata for a bulk analyze conversations operation. */ @@ -7132,12 +7264,35 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; +/** Display name for the dataaset */ +@property(nonatomic, copy, nullable) NSString *displayName; + /** * Immutable. Identifier. Resource name of the dataset. Format: * projects/{project}/locations/{location}/datasets/{dataset} */ @property(nonatomic, copy, nullable) NSString *name; +/** Optional. Option TTL for the dataset. */ +@property(nonatomic, strong, nullable) GTLRDuration *ttl; + +/** + * Dataset usage type. + * + * Likely values: + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset_Type_Eval + * For evals only. (Value: "EVAL") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset_Type_Live + * Dataset with new conversations coming in regularly (Insights legacy + * conversations and AI trainer) (Value: "LIVE") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset_Type_TypeUnspecified + * Default value for unspecified. (Value: "TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; + +/** Output only. Dataset update time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + @end @@ -8581,6 +8736,60 @@ GTLR_DEPRECATED @end +/** + * The response from a ListAuthorizedViewSet request. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "authorizedViewSets" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse : GTLRCollectionObject + +/** + * The AuthorizedViewSets under the parent. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *authorizedViewSets; + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * The response from a ListAuthorizedViews request. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "authorizedViews" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse : GTLRCollectionObject + +/** + * The AuthorizedViews under the parent. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *authorizedViews; + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + /** * The response of listing conversations. * @@ -9125,8 +9334,14 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *questionBody; /** - * User-defined list of arbitrary tags for the question. Used for - * grouping/organization and for weighting the score of each question. + * Questions are tagged for categorization and scoring. Tags can either be: - + * Default Tags: These are predefined categories. They are identified by their + * string value (e.g., "BUSINESS", "COMPLIANCE", and "CUSTOMER"). - Custom + * Tags: These are user-defined categories. They are identified by their full + * resource name (e.g., + * projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag}). + * Both default and custom tags are used to group questions and to influence + * the scoring of each question. */ @property(nonatomic, strong, nullable) NSArray *tags; @@ -9851,9 +10066,9 @@ GTLR_DEPRECATED /** - * The metadata for an SampleConversationsToDataset operation. + * The metadata for an SampleConversations operation. */ -@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetMetadata : GTLRObject +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsMetadata : GTLRObject /** Output only. The time the operation was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; @@ -9862,24 +10077,24 @@ GTLR_DEPRECATED @property(nonatomic, strong, nullable) GTLRDateTime *endTime; /** - * Output only. Partial errors during sample conversations to dataset operation - * that might cause the operation output to be incomplete. + * Output only. Partial errors during sample conversations operation that might + * cause the operation output to be incomplete. */ @property(nonatomic, strong, nullable) NSArray *partialErrors; /** Output only. The original request for sample conversations to dataset. */ -@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetRequest *request; +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsRequest *request; -/** Output only. Statistics for SampleConversationsToDataset operation. */ -@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetMetadataSampleConversationsToDatasetStats *sampleConversationsToDatasetStats; +/** Output only. Statistics for SampleConversations operation. */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats *sampleConversationsStats; @end /** - * Statistics for SampleConversationsToDataset operation. + * Statistics for SampleConversations operation. */ -@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetMetadataSampleConversationsToDatasetStats : GTLRObject +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats : GTLRObject /** * Output only. The number of objects which were unable to be sampled due to @@ -9903,9 +10118,9 @@ GTLR_DEPRECATED /** * The request to sample conversations to a dataset. */ -@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetRequest : GTLRObject +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsRequest : GTLRObject -/** Required. The dataset resource to copy the conversations to. */ +/** The dataset resource to copy the sampled conversations to. */ @property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset *destinationDataset; /** Required. The parent resource of the dataset. */ @@ -9918,9 +10133,9 @@ GTLR_DEPRECATED /** - * The response to an SampleConversationsToDataset operation. + * The response to an SampleConversations operation. */ -@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsToDatasetResponse : GTLRObject +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsResponse : GTLRObject @end @@ -9960,6 +10175,33 @@ GTLR_DEPRECATED @end +/** + * The response from a ListAuthorizedViews request. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "authorizedViews" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse : GTLRCollectionObject + +/** + * The AuthorizedViews under the parent. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *authorizedViews; + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + /** * The data for a sentiment annotation. */ diff --git a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h index d79489a12..99ec6f2ab 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h +++ b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h @@ -783,6 +783,162 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; @end +/** + * Create AuthorizedView + * + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsCreate : GTLRContactcenterinsightsQuery + +/** + * Optional. A unique ID for the new AuthorizedView. This ID will become the + * final component of the AuthorizedView's resource name. If no ID is + * specified, a server-generated ID will be used. This value should be 4-64 + * characters and must match the regular expression + * `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. See go/aip/122#resource-id-segments + */ +@property(nonatomic, copy, nullable) NSString *authorizedViewId; + +/** Required. The parent resource of the AuthorizedView. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView. + * + * Create AuthorizedView + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView + * to include in the query. + * @param parent Required. The parent resource of the AuthorizedView. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsCreate + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes an AuthorizedView. + * + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsDelete : GTLRContactcenterinsightsQuery + +/** Required. The name of the AuthorizedView to delete. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleProtobufEmpty. + * + * Deletes an AuthorizedView. + * + * @param name Required. The name of the AuthorizedView to delete. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get AuthorizedView + * + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsGet : GTLRContactcenterinsightsQuery + +/** Required. The name of the AuthorizedView to get. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView. + * + * Get AuthorizedView + * + * @param name Required. The name of the AuthorizedView to get. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * List AuthorizedViewSets + * + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsList : GTLRContactcenterinsightsQuery + +/** + * Optional. The filter expression to filter authorized views listed in the + * response. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The order by expression to order authorized views listed in the + * response. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. The maximum number of view to return in the response. If the value + * is zero, the service will select a default size. A call might return fewer + * objects than requested. A non-empty `next_page_token` in the response + * indicates that more data is available. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. The value returned by the last `ListAuthorizedViewsResponse`. This + * value indicates that this is a continuation of a prior `ListAuthorizedViews` + * call and that the system should return the next page of data. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent resource of the AuthorizedViews. If the parent is set + * to `-`, all AuthorizedViews under the location will be returned. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse. + * + * List AuthorizedViewSets + * + * @param parent Required. The parent resource of the AuthorizedViews. If the + * parent is set to `-`, all AuthorizedViews under the location will be + * returned. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + /** * Starts asynchronous cancellation on a long-running operation. The server * makes a best effort to cancel the operation, but success is not guaranteed. @@ -898,215 +1054,522 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; @end /** - * Query metrics. + * Updates an AuthorizedView. * - * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.queryMetrics + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.patch * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetrics : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsPatch : GTLRContactcenterinsightsQuery /** - * Required. The location of the data. - * "projects/{project}/locations/{location}" + * Identifier. The resource name of the AuthorizedView. Format: + * projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view} */ -@property(nonatomic, copy, nullable) NSString *location; +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * Optional. The list of fields to be updated. All possible fields can be + * updated by passing `*`, or a subset of the following updateable fields can + * be provided: * `conversation_filter` * `display_name` * - * Query metrics. + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView. + * + * Updates an AuthorizedView. * * @param object The @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryMetricsRequest + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView * to include in the query. - * @param location Required. The location of the data. - * "projects/{project}/locations/{location}" + * @param name Identifier. The resource name of the AuthorizedView. Format: + * projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view} * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetrics + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsPatch */ -+ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryMetricsRequest *)object - location:(NSString *)location; ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView *)object + name:(NSString *)name; @end /** - * Delete feedback labels in bulk using a filter. + * Query metrics. * - * Method: contactcenterinsights.projects.locations.bulkDeleteFeedbackLabels + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.queryMetrics * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsBulkDeleteFeedbackLabels : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetrics : GTLRContactcenterinsightsQuery -/** Required. The parent resource for new feedback labels. */ -@property(nonatomic, copy, nullable) NSString *parent; +/** + * Required. The location of the data. + * "projects/{project}/locations/{location}" + */ +@property(nonatomic, copy, nullable) NSString *location; /** * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. * - * Delete feedback labels in bulk using a filter. + * Query metrics. * * @param object The @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryMetricsRequest * to include in the query. - * @param parent Required. The parent resource for new feedback labels. + * @param location Required. The location of the data. + * "projects/{project}/locations/{location}" * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsBulkDeleteFeedbackLabels + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetrics */ -+ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest *)object - parent:(NSString *)parent; ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryMetricsRequest *)object + location:(NSString *)location; @end /** - * Download feedback labels in bulk from an external source. Currently supports - * exporting Quality AI example conversations with transcripts and question - * bodies. + * SearchAuthorizedViewSets * - * Method: contactcenterinsights.projects.locations.bulkDownloadFeedbackLabels + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.search * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsBulkDownloadFeedbackLabels : GTLRContactcenterinsightsQuery - -/** Required. The parent resource for new feedback labels. */ -@property(nonatomic, copy, nullable) NSString *parent; +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsSearch : GTLRContactcenterinsightsQuery /** - * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. - * - * Download feedback labels in bulk from an external source. Currently supports - * exporting Quality AI example conversations with transcripts and question - * bodies. - * - * @param object The @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest - * to include in the query. - * @param parent Required. The parent resource for new feedback labels. - * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsBulkDownloadFeedbackLabels + * Optional. The order by expression to order authorized views listed in the + * response. */ -+ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest *)object - parent:(NSString *)parent; +@property(nonatomic, copy, nullable) NSString *orderBy; -@end +/** + * Optional. The maximum number of view to return in the response. If the value + * is zero, the service will select a default size. A call might return fewer + * objects than requested. A non-empty `next_page_token` in the response + * indicates that more data is available. + */ +@property(nonatomic, assign) NSInteger pageSize; /** - * Upload feedback labels from an external source in bulk. Currently supports - * labeling Quality AI example conversations. - * - * Method: contactcenterinsights.projects.locations.bulkUploadFeedbackLabels - * - * Authorization scope(s): - * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + * Optional. The value returned by the last `ListAuthorizedViewsResponse`. This + * value indicates that this is a continuation of a prior `ListAuthorizedViews` + * call and that the system should return the next page of data. */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsBulkUploadFeedbackLabels : GTLRContactcenterinsightsQuery +@property(nonatomic, copy, nullable) NSString *pageToken; -/** Required. The parent resource for new feedback labels. */ +/** + * Required. The parent resource of the AuthorizedViews. If the parent is set + * to `-`, all AuthorizedViews under the location will be returned. + */ @property(nonatomic, copy, nullable) NSString *parent; +/** Optional. The query expression to search authorized views. */ +@property(nonatomic, copy, nullable) NSString *query; + /** - * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse. * - * Upload feedback labels from an external source in bulk. Currently supports - * labeling Quality AI example conversations. + * SearchAuthorizedViewSets * - * @param object The @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest - * to include in the query. - * @param parent Required. The parent resource for new feedback labels. + * @param parent Required. The parent resource of the AuthorizedViews. If the + * parent is set to `-`, all AuthorizedViews under the location will be + * returned. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsBulkUploadFeedbackLabels + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsSearch + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. */ -+ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest *)object - parent:(NSString *)parent; ++ (instancetype)queryWithParent:(NSString *)parent; @end /** - * Creates an analysis. The long running operation is done when the analysis - * has completed. + * Create AuthorizedViewSet * - * Method: contactcenterinsights.projects.locations.conversations.analyses.create + * Method: contactcenterinsights.projects.locations.authorizedViewSets.create * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesCreate : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsCreate : GTLRContactcenterinsightsQuery -/** Required. The parent resource of the analysis. */ +/** + * Optional. A unique ID for the new AuthorizedViewSet. This ID will become the + * final component of the AuthorizedViewSet's resource name. If no ID is + * specified, a server-generated ID will be used. This value should be 4-64 + * characters and must match the regular expression + * `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. See go/aip/122#resource-id-segments + */ +@property(nonatomic, copy, nullable) NSString *authorizedViewSetId; + +/** Required. The parent resource of the AuthorizedViewSet. */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet. * - * Creates an analysis. The long running operation is done when the analysis - * has completed. + * Create AuthorizedViewSet * * @param object The @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Analysis to - * include in the query. - * @param parent Required. The parent resource of the analysis. + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet + * to include in the query. + * @param parent Required. The parent resource of the AuthorizedViewSet. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesCreate + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsCreate */ -+ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Analysis *)object ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet *)object parent:(NSString *)parent; @end /** - * Deletes an analysis. + * Deletes an AuthorizedViewSet. * - * Method: contactcenterinsights.projects.locations.conversations.analyses.delete + * Method: contactcenterinsights.projects.locations.authorizedViewSets.delete * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesDelete : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsDelete : GTLRContactcenterinsightsQuery -/** Required. The name of the analysis to delete. */ +/** + * Optional. If set to true, all of this AuthorizedViewSet's child resources + * will also be deleted. Otherwise, the request will only succeed if it has + * none. + */ +@property(nonatomic, assign) BOOL force; + +/** Required. The name of the AuthorizedViewSet to delete. */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRContactcenterinsights_GoogleProtobufEmpty. * - * Deletes an analysis. + * Deletes an AuthorizedViewSet. * - * @param name Required. The name of the analysis to delete. + * @param name Required. The name of the AuthorizedViewSet to delete. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesDelete + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsDelete */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Gets an analysis. + * Get AuthorizedViewSet * - * Method: contactcenterinsights.projects.locations.conversations.analyses.get + * Method: contactcenterinsights.projects.locations.authorizedViewSets.get * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesGet : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsGet : GTLRContactcenterinsightsQuery -/** Required. The name of the analysis to get. */ +/** Required. The name of the AuthorizedViewSet to get. */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Analysis. + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet. * - * Gets an analysis. + * Get AuthorizedViewSet * - * @param name Required. The name of the analysis to get. + * @param name Required. The name of the AuthorizedViewSet to get. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesGet + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * List AuthorizedViewSets + * + * Method: contactcenterinsights.projects.locations.authorizedViewSets.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsList : GTLRContactcenterinsightsQuery + +/** + * Optional. The filter expression to filter authorized view sets listed in the + * response. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The order by expression to order authorized view sets listed in + * the response. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. The maximum number of view sets to return in the response. If the + * value is zero, the service will select a default size. A call might return + * fewer objects than requested. A non-empty `next_page_token` in the response + * indicates that more data is available. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. The value returned by the last `ListAuthorizedViewSetsResponse`. + * This value indicates that this is a continuation of a prior + * `ListAuthorizedViewSets` call and that the system should return the next + * page of data. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The parent resource of the AuthorizedViewSets. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse. + * + * List AuthorizedViewSets + * + * @param parent Required. The parent resource of the AuthorizedViewSets. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates an AuthorizedViewSet. + * + * Method: contactcenterinsights.projects.locations.authorizedViewSets.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsPatch : GTLRContactcenterinsightsQuery + +/** + * Identifier. The resource name of the AuthorizedViewSet. Format: + * projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The list of fields to be updated. All possible fields can be + * updated by passing `*`, or a subset of the following updateable fields can + * be provided: * `display_name` + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet. + * + * Updates an AuthorizedViewSet. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet + * to include in the query. + * @param name Identifier. The resource name of the AuthorizedViewSet. Format: + * projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set} + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsPatch + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet *)object + name:(NSString *)name; + +@end + +/** + * Delete feedback labels in bulk using a filter. + * + * Method: contactcenterinsights.projects.locations.bulkDeleteFeedbackLabels + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsBulkDeleteFeedbackLabels : GTLRContactcenterinsightsQuery + +/** Required. The parent resource for new feedback labels. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * + * Delete feedback labels in bulk using a filter. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest + * to include in the query. + * @param parent Required. The parent resource for new feedback labels. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsBulkDeleteFeedbackLabels + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Download feedback labels in bulk from an external source. Currently supports + * exporting Quality AI example conversations with transcripts and question + * bodies. + * + * Method: contactcenterinsights.projects.locations.bulkDownloadFeedbackLabels + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsBulkDownloadFeedbackLabels : GTLRContactcenterinsightsQuery + +/** Required. The parent resource for new feedback labels. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * + * Download feedback labels in bulk from an external source. Currently supports + * exporting Quality AI example conversations with transcripts and question + * bodies. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest + * to include in the query. + * @param parent Required. The parent resource for new feedback labels. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsBulkDownloadFeedbackLabels + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Upload feedback labels from an external source in bulk. Currently supports + * labeling Quality AI example conversations. + * + * Method: contactcenterinsights.projects.locations.bulkUploadFeedbackLabels + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsBulkUploadFeedbackLabels : GTLRContactcenterinsightsQuery + +/** Required. The parent resource for new feedback labels. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * + * Upload feedback labels from an external source in bulk. Currently supports + * labeling Quality AI example conversations. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest + * to include in the query. + * @param parent Required. The parent resource for new feedback labels. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsBulkUploadFeedbackLabels + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Creates an analysis. The long running operation is done when the analysis + * has completed. + * + * Method: contactcenterinsights.projects.locations.conversations.analyses.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesCreate : GTLRContactcenterinsightsQuery + +/** Required. The parent resource of the analysis. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * + * Creates an analysis. The long running operation is done when the analysis + * has completed. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Analysis to + * include in the query. + * @param parent Required. The parent resource of the analysis. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesCreate + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Analysis *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes an analysis. + * + * Method: contactcenterinsights.projects.locations.conversations.analyses.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesDelete : GTLRContactcenterinsightsQuery + +/** Required. The name of the analysis to delete. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleProtobufEmpty. + * + * Deletes an analysis. + * + * @param name Required. The name of the analysis to delete. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets an analysis. + * + * Method: contactcenterinsights.projects.locations.conversations.analyses.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesGet : GTLRContactcenterinsightsQuery + +/** Required. The name of the analysis to get. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Analysis. + * + * Gets an analysis. + * + * @param name Required. The name of the analysis to get. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesGet */ + (instancetype)queryWithName:(NSString *)name; @@ -1717,43 +2180,340 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; * @param name Immutable. The resource name of the conversation. Format: * projects/{project}/locations/{location}/conversations/{conversation} * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsPatch + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsPatch + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Conversation *)object + name:(NSString *)name; + +@end + +/** + * Create a long-running conversation upload operation. This method differs + * from `CreateConversation` by allowing audio transcription and optional DLP + * redaction. + * + * Method: contactcenterinsights.projects.locations.conversations.upload + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsUpload : GTLRContactcenterinsightsQuery + +/** Required. The parent resource of the conversation. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * + * Create a long-running conversation upload operation. This method differs + * from `CreateConversation` by allowing audio transcription and optional DLP + * redaction. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1UploadConversationRequest + * to include in the query. + * @param parent Required. The parent resource of the conversation. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsUpload + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1UploadConversationRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Delete feedback labels in bulk using a filter. + * + * Method: contactcenterinsights.projects.locations.datasets.bulkDeleteFeedbackLabels + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsBulkDeleteFeedbackLabels : GTLRContactcenterinsightsQuery + +/** Required. The parent resource for new feedback labels. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * + * Delete feedback labels in bulk using a filter. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest + * to include in the query. + * @param parent Required. The parent resource for new feedback labels. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsBulkDeleteFeedbackLabels + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Download feedback labels in bulk from an external source. Currently supports + * exporting Quality AI example conversations with transcripts and question + * bodies. + * + * Method: contactcenterinsights.projects.locations.datasets.bulkDownloadFeedbackLabels + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsBulkDownloadFeedbackLabels : GTLRContactcenterinsightsQuery + +/** Required. The parent resource for new feedback labels. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * + * Download feedback labels in bulk from an external source. Currently supports + * exporting Quality AI example conversations with transcripts and question + * bodies. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest + * to include in the query. + * @param parent Required. The parent resource for new feedback labels. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsBulkDownloadFeedbackLabels + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Upload feedback labels from an external source in bulk. Currently supports + * labeling Quality AI example conversations. + * + * Method: contactcenterinsights.projects.locations.datasets.bulkUploadFeedbackLabels + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsBulkUploadFeedbackLabels : GTLRContactcenterinsightsQuery + +/** Required. The parent resource for new feedback labels. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * + * Upload feedback labels from an external source in bulk. Currently supports + * labeling Quality AI example conversations. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest + * to include in the query. + * @param parent Required. The parent resource for new feedback labels. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsBulkUploadFeedbackLabels + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Creates an analysis. The long running operation is done when the analysis + * has completed. + * + * Method: contactcenterinsights.projects.locations.datasets.conversations.analyses.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsAnalysesCreate : GTLRContactcenterinsightsQuery + +/** Required. The parent resource of the analysis. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * + * Creates an analysis. The long running operation is done when the analysis + * has completed. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Analysis to + * include in the query. + * @param parent Required. The parent resource of the analysis. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsAnalysesCreate + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Analysis *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes an analysis. + * + * Method: contactcenterinsights.projects.locations.datasets.conversations.analyses.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsAnalysesDelete : GTLRContactcenterinsightsQuery + +/** Required. The name of the analysis to delete. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleProtobufEmpty. + * + * Deletes an analysis. + * + * @param name Required. The name of the analysis to delete. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsAnalysesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets an analysis. + * + * Method: contactcenterinsights.projects.locations.datasets.conversations.analyses.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsAnalysesGet : GTLRContactcenterinsightsQuery + +/** Required. The name of the analysis to get. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Analysis. + * + * Gets an analysis. + * + * @param name Required. The name of the analysis to get. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsAnalysesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists analyses. + * + * Method: contactcenterinsights.projects.locations.datasets.conversations.analyses.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsAnalysesList : GTLRContactcenterinsightsQuery + +/** + * A filter to reduce results to a specific subset. Useful for querying + * conversations with specific properties. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * The maximum number of analyses to return in the response. If this value is + * zero, the service will select a default size. A call might return fewer + * objects than requested. A non-empty `next_page_token` in the response + * indicates that more data is available. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * The value returned by the last `ListAnalysesResponse`; indicates that this + * is a continuation of a prior `ListAnalyses` call and the system should + * return the next page of data. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The parent resource of the analyses. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAnalysesResponse. + * + * Lists analyses. + * + * @param parent Required. The parent resource of the analyses. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsAnalysesList + * + * @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 + +/** + * Analyzes multiple conversations in a single request. + * + * Method: contactcenterinsights.projects.locations.datasets.conversations.bulkAnalyze + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsBulkAnalyze : GTLRContactcenterinsightsQuery + +/** Required. The parent resource to create analyses in. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * + * Analyzes multiple conversations in a single request. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest + * to include in the query. + * @param parent Required. The parent resource to create analyses in. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsBulkAnalyze */ -+ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Conversation *)object - name:(NSString *)name; ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest *)object + parent:(NSString *)parent; @end /** - * Create a long-running conversation upload operation. This method differs - * from `CreateConversation` by allowing audio transcription and optional DLP - * redaction. + * Deletes multiple conversations in a single request. * - * Method: contactcenterinsights.projects.locations.conversations.upload + * Method: contactcenterinsights.projects.locations.datasets.conversations.bulkDelete * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsUpload : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsBulkDelete : GTLRContactcenterinsightsQuery -/** Required. The parent resource of the conversation. */ +/** + * Required. The parent resource to delete conversations from. Format: + * projects/{project}/locations/{location} + */ @property(nonatomic, copy, nullable) NSString *parent; /** * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. * - * Create a long-running conversation upload operation. This method differs - * from `CreateConversation` by allowing audio transcription and optional DLP - * redaction. + * Deletes multiple conversations in a single request. * * @param object The @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1UploadConversationRequest + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest * to include in the query. - * @param parent Required. The parent resource of the conversation. + * @param parent Required. The parent resource to delete conversations from. + * Format: projects/{project}/locations/{location} * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsUpload + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsBulkDelete */ -+ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1UploadConversationRequest *)object ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest *)object parent:(NSString *)parent; @end @@ -1822,6 +2582,195 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; @end +/** + * Create feedback label. + * + * Method: contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsFeedbackLabelsCreate : GTLRContactcenterinsightsQuery + +/** + * Optional. The ID of the feedback label to create. If one is not specified it + * will be generated by the server. + */ +@property(nonatomic, copy, nullable) NSString *feedbackLabelId; + +/** Required. The parent resource of the feedback label. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel. + * + * Create feedback label. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel + * to include in the query. + * @param parent Required. The parent resource of the feedback label. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsFeedbackLabelsCreate + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel *)object + parent:(NSString *)parent; + +@end + +/** + * Delete feedback label. + * + * Method: contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsFeedbackLabelsDelete : GTLRContactcenterinsightsQuery + +/** Required. The name of the feedback label to delete. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleProtobufEmpty. + * + * Delete feedback label. + * + * @param name Required. The name of the feedback label to delete. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsFeedbackLabelsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get feedback label. + * + * Method: contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsFeedbackLabelsGet : GTLRContactcenterinsightsQuery + +/** Required. The name of the feedback label to get. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel. + * + * Get feedback label. + * + * @param name Required. The name of the feedback label to get. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsFeedbackLabelsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * List feedback labels. + * + * Method: contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsFeedbackLabelsList : GTLRContactcenterinsightsQuery + +/** + * Optional. A filter to reduce results to a specific subset. Supports + * disjunctions (OR) and conjunctions (AND). Automatically sorts by + * conversation ID. To sort by all feedback labels in a project see + * ListAllFeedbackLabels. Supported fields: * `issue_model_id` * + * `qa_question_id` * `qa_scorecard_id` * `min_create_time` * `max_create_time` + * * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, + * TOPIC_MODELING + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The maximum number of feedback labels to return in the response. A + * valid page size ranges from 0 to 100,000 inclusive. If the page size is zero + * or unspecified, a default page size of 100 will be chosen. Note that a call + * might return fewer results than the requested page size. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. The value returned by the last `ListFeedbackLabelsResponse`. This + * value indicates that this is a continuation of a prior `ListFeedbackLabels` + * call and that the system should return the next page of data. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The parent resource of the feedback labels. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse. + * + * List feedback labels. + * + * @param parent Required. The parent resource of the feedback labels. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsFeedbackLabelsList + * + * @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 + +/** + * Update feedback label. + * + * Method: contactcenterinsights.projects.locations.datasets.conversations.feedbackLabels.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsFeedbackLabelsPatch : GTLRContactcenterinsightsQuery + +/** + * Immutable. Resource name of the FeedbackLabel. Format: + * projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. The list of fields to be updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel. + * + * Update feedback label. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel + * to include in the query. + * @param name Immutable. Resource name of the FeedbackLabel. Format: + * projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsConversationsFeedbackLabelsPatch + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel *)object + name:(NSString *)name; + +@end + /** * Gets a conversation. * @@ -2004,6 +2953,63 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; @end +/** + * List all feedback labels by project number. + * + * Method: contactcenterinsights.projects.locations.datasets.listAllFeedbackLabels + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsListAllFeedbackLabels : GTLRContactcenterinsightsQuery + +/** + * Optional. A filter to reduce results to a specific subset in the entire + * project. Supports disjunctions (OR) and conjunctions (AND). Supported + * fields: * `issue_model_id` * `qa_question_id` * `min_create_time` * + * `max_create_time` * `min_update_time` * `max_update_time` * + * `feedback_label_type`: QUALITY_AI, TOPIC_MODELING + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The maximum number of feedback labels to return in the response. A + * valid page size ranges from 0 to 100,000 inclusive. If the page size is zero + * or unspecified, a default page size of 100 will be chosen. Note that a call + * might return fewer results than the requested page size. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. The value returned by the last `ListAllFeedbackLabelsResponse`. + * This value indicates that this is a continuation of a prior + * `ListAllFeedbackLabels` call and that the system should return the next page + * of data. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The parent resource of all feedback labels per project. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse. + * + * List all feedback labels by project number. + * + * @param parent Required. The parent resource of all feedback labels per + * project. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsDatasetsListAllFeedbackLabels + * + * @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 + /** * Initializes a location-level encryption key specification. An error will * result if the location has resources already created before the diff --git a/Sources/GeneratedServices/Container/GTLRContainerObjects.m b/Sources/GeneratedServices/Container/GTLRContainerObjects.m index 3d54e4395..05ce9a3dc 100644 --- a/Sources/GeneratedServices/Container/GTLRContainerObjects.m +++ b/Sources/GeneratedServices/Container/GTLRContainerObjects.m @@ -815,27 +815,27 @@ @implementation GTLRContainer_CloudRunConfig // @implementation GTLRContainer_Cluster -@dynamic addonsConfig, authenticatorGroupsConfig, autopilot, autoscaling, - binaryAuthorization, clusterIpv4Cidr, compliancePostureConfig, - conditions, confidentialNodes, controlPlaneEndpointsConfig, - 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, podAutoscaling, - privateClusterConfig, rbacBindingConfig, releaseChannel, - resourceLabels, resourceUsageExportConfig, satisfiesPzi, satisfiesPzs, - secretManagerConfig, securityPostureConfig, selfLink, servicesIpv4Cidr, - shieldedNodes, status, statusMessage, subnetwork, tpuIpv4CidrBlock, - userManagedKeysConfig, verticalPodAutoscaling, workloadIdentityConfig, - zoneProperty; +@dynamic addonsConfig, alphaClusterFeatureGates, authenticatorGroupsConfig, + autopilot, autoscaling, binaryAuthorization, clusterIpv4Cidr, + compliancePostureConfig, conditions, confidentialNodes, + controlPlaneEndpointsConfig, 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, + podAutoscaling, privateClusterConfig, rbacBindingConfig, + releaseChannel, resourceLabels, resourceUsageExportConfig, + satisfiesPzi, satisfiesPzs, secretManagerConfig, securityPostureConfig, + selfLink, servicesIpv4Cidr, shieldedNodes, status, statusMessage, + subnetwork, tpuIpv4CidrBlock, userManagedKeysConfig, + verticalPodAutoscaling, workloadIdentityConfig, zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -849,6 +849,7 @@ @implementation GTLRContainer_Cluster + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"alphaClusterFeatureGates" : [NSString class], @"conditions" : [GTLRContainer_StatusCondition class], @"instanceGroupUrls" : [NSString class], @"locations" : [NSString class], @@ -1803,6 +1804,16 @@ @implementation GTLRContainer_MaxPodsConstraint @end +// ---------------------------------------------------------------------------- +// +// GTLRContainer_MemoryManager +// + +@implementation GTLRContainer_MemoryManager +@dynamic policy; +@end + + // ---------------------------------------------------------------------------- // // GTLRContainer_MeshCertificates @@ -2034,7 +2045,8 @@ @implementation GTLRContainer_NodeKubeletConfig cpuCfsQuota, cpuCfsQuotaPeriod, cpuManagerPolicy, imageGcHighThresholdPercent, imageGcLowThresholdPercent, imageMaximumGcAge, imageMinimumGcAge, - insecureKubeletReadonlyPortEnabled, podPidsLimit; + insecureKubeletReadonlyPortEnabled, memoryManager, podPidsLimit, + topologyManager; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -3031,6 +3043,16 @@ @implementation GTLRContainer_TimeWindow @end +// ---------------------------------------------------------------------------- +// +// GTLRContainer_TopologyManager +// + +@implementation GTLRContainer_TopologyManager +@dynamic policy, scope; +@end + + // ---------------------------------------------------------------------------- // // GTLRContainer_UpdateClusterRequest diff --git a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h index e4aa292bc..0939bc736 100644 --- a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h +++ b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h @@ -99,6 +99,7 @@ @class GTLRContainer_MasterAuth; @class GTLRContainer_MasterAuthorizedNetworksConfig; @class GTLRContainer_MaxPodsConstraint; +@class GTLRContainer_MemoryManager; @class GTLRContainer_MeshCertificates; @class GTLRContainer_Metric; @class GTLRContainer_MonitoringComponentConfig; @@ -172,6 +173,7 @@ @class GTLRContainer_Status_Details_Item; @class GTLRContainer_StatusCondition; @class GTLRContainer_TimeWindow; +@class GTLRContainer_TopologyManager; @class GTLRContainer_UpdateInfo; @class GTLRContainer_UpgradeDetails; @class GTLRContainer_UpgradeSettings; @@ -3361,6 +3363,13 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** Configurations for the various addons available to run in the cluster. */ @property(nonatomic, strong, nullable) GTLRContainer_AddonsConfig *addonsConfig; +/** + * The list of user specified Kubernetes feature gates. Each string represents + * the activation status of a feature gate (e.g. "featureX=true" or + * "featureX=false") + */ +@property(nonatomic, strong, nullable) NSArray *alphaClusterFeatureGates; + /** Configuration controlling RBAC group membership information. */ @property(nonatomic, strong, nullable) GTLRContainer_AuthenticatorGroupsConfig *authenticatorGroupsConfig; @@ -6058,6 +6067,24 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo @end +/** + * The option enables the Kubernetes NUMA-aware Memory Manager feature. + * Detailed description about the feature can be found + * [here](https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/). + */ +@interface GTLRContainer_MemoryManager : GTLRObject + +/** + * Controls the memory management policy on the Node. See + * https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/#policies + * The following values are allowed. * "none" * "static" The default value is + * 'none' if unspecified. + */ +@property(nonatomic, copy, nullable) NSString *policy; + +@end + + /** * Configuration for issuance of mTLS keys and certificates to Kubernetes pods. */ @@ -6909,6 +6936,13 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, strong, nullable) NSNumber *insecureKubeletReadonlyPortEnabled; +/** + * Optional. Controls NUMA-aware Memory Manager configuration on the node. For + * more information, see: + * https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/ + */ +@property(nonatomic, strong, nullable) GTLRContainer_MemoryManager *memoryManager; + /** * Set the Pod PID limits. See * https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits @@ -6919,6 +6953,13 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, strong, nullable) NSNumber *podPidsLimit; +/** + * Optional. Controls Topology Manager configuration on the node. For more + * information, see: + * https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/ + */ +@property(nonatomic, strong, nullable) GTLRContainer_TopologyManager *topologyManager; + @end @@ -9512,6 +9553,42 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo @end +/** + * TopologyManager defines the configuration options for Topology Manager + * feature. See + * https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/ + */ +@interface GTLRContainer_TopologyManager : GTLRObject + +/** + * Configures the strategy for resource alignment. Allowed values are: * none: + * the default policy, and does not perform any topology alignment. * + * restricted: the topology manager stores the preferred NUMA node affinity for + * the container, and will reject the pod if the affinity if not preferred. * + * best-effort: the topology manager stores the preferred NUMA node affinity + * for the container. If the affinity is not preferred, the topology manager + * will admit the pod to the node anyway. * single-numa-node: the topology + * manager determines if the single NUMA node affinity is possible. If it is, + * Topology Manager will store this and the Hint Providers can then use this + * information when making the resource allocation decision. If, however, this + * is not possible then the Topology Manager will reject the pod from the node. + * This will result in a pod in a Terminated state with a pod admission + * failure. The default policy value is 'none' if unspecified. Details about + * each strategy can be found + * [here](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-policies). + */ +@property(nonatomic, copy, nullable) NSString *policy; + +/** + * The Topology Manager aligns resources in following scopes: * container * pod + * The default scope is 'container' if unspecified. See + * https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-scopes + */ +@property(nonatomic, copy, nullable) NSString *scope; + +@end + + /** * UpdateClusterRequest updates the settings of a cluster. */ diff --git a/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m b/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m index 2666709d5..d4b8daf64 100644 --- a/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m +++ b/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m @@ -173,6 +173,7 @@ NSString * const kGTLRContainerAnalysis_DiscoveryNote_AnalysisKind_NoteKindUnspecified = @"NOTE_KIND_UNSPECIFIED"; NSString * const kGTLRContainerAnalysis_DiscoveryNote_AnalysisKind_Package = @"PACKAGE"; NSString * const kGTLRContainerAnalysis_DiscoveryNote_AnalysisKind_SbomReference = @"SBOM_REFERENCE"; +NSString * const kGTLRContainerAnalysis_DiscoveryNote_AnalysisKind_Secret = @"SECRET"; NSString * const kGTLRContainerAnalysis_DiscoveryNote_AnalysisKind_Upgrade = @"UPGRADE"; NSString * const kGTLRContainerAnalysis_DiscoveryNote_AnalysisKind_Vulnerability = @"VULNERABILITY"; NSString * const kGTLRContainerAnalysis_DiscoveryNote_AnalysisKind_VulnerabilityAssessment = @"VULNERABILITY_ASSESSMENT"; @@ -327,6 +328,7 @@ NSString * const kGTLRContainerAnalysis_Note_Kind_NoteKindUnspecified = @"NOTE_KIND_UNSPECIFIED"; NSString * const kGTLRContainerAnalysis_Note_Kind_Package = @"PACKAGE"; NSString * const kGTLRContainerAnalysis_Note_Kind_SbomReference = @"SBOM_REFERENCE"; +NSString * const kGTLRContainerAnalysis_Note_Kind_Secret = @"SECRET"; NSString * const kGTLRContainerAnalysis_Note_Kind_Upgrade = @"UPGRADE"; NSString * const kGTLRContainerAnalysis_Note_Kind_Vulnerability = @"VULNERABILITY"; NSString * const kGTLRContainerAnalysis_Note_Kind_VulnerabilityAssessment = @"VULNERABILITY_ASSESSMENT"; @@ -342,6 +344,7 @@ NSString * const kGTLRContainerAnalysis_Occurrence_Kind_NoteKindUnspecified = @"NOTE_KIND_UNSPECIFIED"; NSString * const kGTLRContainerAnalysis_Occurrence_Kind_Package = @"PACKAGE"; NSString * const kGTLRContainerAnalysis_Occurrence_Kind_SbomReference = @"SBOM_REFERENCE"; +NSString * const kGTLRContainerAnalysis_Occurrence_Kind_Secret = @"SECRET"; NSString * const kGTLRContainerAnalysis_Occurrence_Kind_Upgrade = @"UPGRADE"; NSString * const kGTLRContainerAnalysis_Occurrence_Kind_Vulnerability = @"VULNERABILITY"; NSString * const kGTLRContainerAnalysis_Occurrence_Kind_VulnerabilityAssessment = @"VULNERABILITY_ASSESSMENT"; @@ -377,6 +380,17 @@ NSString * const kGTLRContainerAnalysis_SBOMStatus_SbomState_Pending = @"PENDING"; NSString * const kGTLRContainerAnalysis_SBOMStatus_SbomState_SbomStateUnspecified = @"SBOM_STATE_UNSPECIFIED"; +// GTLRContainerAnalysis_SecretOccurrence.kind +NSString * const kGTLRContainerAnalysis_SecretOccurrence_Kind_SecretKindGcpServiceAccountKey = @"SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY"; +NSString * const kGTLRContainerAnalysis_SecretOccurrence_Kind_SecretKindUnknown = @"SECRET_KIND_UNKNOWN"; +NSString * const kGTLRContainerAnalysis_SecretOccurrence_Kind_SecretKindUnspecified = @"SECRET_KIND_UNSPECIFIED"; + +// GTLRContainerAnalysis_SecretStatus.status +NSString * const kGTLRContainerAnalysis_SecretStatus_Status_Invalid = @"INVALID"; +NSString * const kGTLRContainerAnalysis_SecretStatus_Status_StatusUnspecified = @"STATUS_UNSPECIFIED"; +NSString * const kGTLRContainerAnalysis_SecretStatus_Status_Unknown = @"UNKNOWN"; +NSString * const kGTLRContainerAnalysis_SecretStatus_Status_Valid = @"VALID"; + // GTLRContainerAnalysis_Version.kind NSString * const kGTLRContainerAnalysis_Version_Kind_Maximum = @"MAXIMUM"; NSString * const kGTLRContainerAnalysis_Version_Kind_Minimum = @"MINIMUM"; @@ -2184,7 +2198,7 @@ @implementation GTLRContainerAnalysis_Layer // @implementation GTLRContainerAnalysis_LayerDetails -@dynamic baseImages, command, diffId, index; +@dynamic baseImages, chainId, command, diffId, index; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -2335,8 +2349,9 @@ @implementation GTLRContainerAnalysis_NonCompliantFile @implementation GTLRContainerAnalysis_Note @dynamic attestation, build, compliance, createTime, deployment, discovery, dsseAttestation, expirationTime, image, kind, longDescription, name, - package, relatedNoteNames, relatedUrl, sbomReference, shortDescription, - updateTime, upgrade, vulnerability, vulnerabilityAssessment; + package, relatedNoteNames, relatedUrl, sbomReference, secret, + shortDescription, updateTime, upgrade, vulnerability, + vulnerabilityAssessment; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -2363,7 +2378,7 @@ + (BOOL)isKindValidForClassRegistry { @implementation GTLRContainerAnalysis_Occurrence @dynamic attestation, build, compliance, createTime, deployment, discovery, dsseAttestation, envelope, image, kind, name, noteName, package, - remediation, resourceUri, sbomReference, updateTime, upgrade, + remediation, resourceUri, sbomReference, secret, updateTime, upgrade, vulnerability; + (BOOL)isKindValidForClassRegistry { @@ -2747,6 +2762,60 @@ @implementation GTLRContainerAnalysis_SBOMStatus @end +// ---------------------------------------------------------------------------- +// +// GTLRContainerAnalysis_SecretLocation +// + +@implementation GTLRContainerAnalysis_SecretLocation +@dynamic fileLocation; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContainerAnalysis_SecretNote +// + +@implementation GTLRContainerAnalysis_SecretNote +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContainerAnalysis_SecretOccurrence +// + +@implementation GTLRContainerAnalysis_SecretOccurrence +@dynamic kind, locations, statuses; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"locations" : [GTLRContainerAnalysis_SecretLocation class], + @"statuses" : [GTLRContainerAnalysis_SecretStatus 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 + + +// ---------------------------------------------------------------------------- +// +// GTLRContainerAnalysis_SecretStatus +// + +@implementation GTLRContainerAnalysis_SecretStatus +@dynamic message, status, updateTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRContainerAnalysis_SetIamPolicyRequest diff --git a/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisObjects.h b/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisObjects.h index 4cb6ccc0d..634e2d44b 100644 --- a/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisObjects.h +++ b/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisObjects.h @@ -170,6 +170,10 @@ @class GTLRContainerAnalysis_SBOMReferenceNote; @class GTLRContainerAnalysis_SBOMReferenceOccurrence; @class GTLRContainerAnalysis_SBOMStatus; +@class GTLRContainerAnalysis_SecretLocation; +@class GTLRContainerAnalysis_SecretNote; +@class GTLRContainerAnalysis_SecretOccurrence; +@class GTLRContainerAnalysis_SecretStatus; @class GTLRContainerAnalysis_Signature; @class GTLRContainerAnalysis_SlsaBuilder; @class GTLRContainerAnalysis_SlsaCompleteness; @@ -689,6 +693,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_DiscoveryNote_Analysis * Value: "SBOM_REFERENCE" */ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_DiscoveryNote_AnalysisKind_SbomReference; +/** + * This represents a secret. + * + * Value: "SECRET" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_DiscoveryNote_AnalysisKind_Secret; /** * This represents an available package upgrade. * @@ -1461,6 +1471,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_Note_Kind_Package; * Value: "SBOM_REFERENCE" */ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_Note_Kind_SbomReference; +/** + * This represents a secret. + * + * Value: "SECRET" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_Note_Kind_Secret; /** * This represents an available package upgrade. * @@ -1543,6 +1559,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_Occurrence_Kind_Packag * Value: "SBOM_REFERENCE" */ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_Occurrence_Kind_SbomReference; +/** + * This represents a secret. + * + * Value: "SECRET" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_Occurrence_Kind_Secret; /** * This represents an available package upgrade. * @@ -1708,6 +1730,57 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_SBOMStatus_SbomState_P */ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_SBOMStatus_SbomState_SbomStateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRContainerAnalysis_SecretOccurrence.kind + +/** + * A GCP service account key per: + * https://cloud.google.com/iam/docs/creating-managing-service-account-keys + * + * Value: "SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_SecretOccurrence_Kind_SecretKindGcpServiceAccountKey; +/** + * The secret kind is unknown. + * + * Value: "SECRET_KIND_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_SecretOccurrence_Kind_SecretKindUnknown; +/** + * Unspecified + * + * Value: "SECRET_KIND_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_SecretOccurrence_Kind_SecretKindUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRContainerAnalysis_SecretStatus.status + +/** + * The secret is invalid. + * + * Value: "INVALID" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_SecretStatus_Status_Invalid; +/** + * Unspecified + * + * Value: "STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_SecretStatus_Status_StatusUnspecified; +/** + * The status of the secret is unknown. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_SecretStatus_Status_Unknown; +/** + * The secret is valid. + * + * Value: "VALID" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_SecretStatus_Status_Valid; + // ---------------------------------------------------------------------------- // GTLRContainerAnalysis_Version.kind @@ -3408,6 +3481,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc * "PACKAGE") * @arg @c kGTLRContainerAnalysis_DiscoveryNote_AnalysisKind_SbomReference * This represents an SBOM Reference. (Value: "SBOM_REFERENCE") + * @arg @c kGTLRContainerAnalysis_DiscoveryNote_AnalysisKind_Secret This + * represents a secret. (Value: "SECRET") * @arg @c kGTLRContainerAnalysis_DiscoveryNote_AnalysisKind_Upgrade This * represents an available package upgrade. (Value: "UPGRADE") * @arg @c kGTLRContainerAnalysis_DiscoveryNote_AnalysisKind_Vulnerability @@ -6121,6 +6196,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc /** The base images the layer is found within. */ @property(nonatomic, strong, nullable) NSArray *baseImages; +/** + * The layer chain ID (sha256 hash) of the layer in the container image. + * https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid + */ +@property(nonatomic, copy, nullable) NSString *chainId; + /** * The layer build command that was used to build the layer. This may not be * found in all layers depending on how the container image is built. @@ -6400,6 +6481,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc * installed via a package manager. (Value: "PACKAGE") * @arg @c kGTLRContainerAnalysis_Note_Kind_SbomReference This represents an * SBOM Reference. (Value: "SBOM_REFERENCE") + * @arg @c kGTLRContainerAnalysis_Note_Kind_Secret This represents a secret. + * (Value: "SECRET") * @arg @c kGTLRContainerAnalysis_Note_Kind_Upgrade This represents an * available package upgrade. (Value: "UPGRADE") * @arg @c kGTLRContainerAnalysis_Note_Kind_Vulnerability The note and @@ -6431,6 +6514,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc /** A note describing an SBOM reference. */ @property(nonatomic, strong, nullable) GTLRContainerAnalysis_SBOMReferenceNote *sbomReference; +/** A note describing a secret. */ +@property(nonatomic, strong, nullable) GTLRContainerAnalysis_SecretNote *secret; + /** A one sentence description of this note. */ @property(nonatomic, copy, nullable) NSString *shortDescription; @@ -6512,6 +6598,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc * package installed via a package manager. (Value: "PACKAGE") * @arg @c kGTLRContainerAnalysis_Occurrence_Kind_SbomReference This * represents an SBOM Reference. (Value: "SBOM_REFERENCE") + * @arg @c kGTLRContainerAnalysis_Occurrence_Kind_Secret This represents a + * secret. (Value: "SECRET") * @arg @c kGTLRContainerAnalysis_Occurrence_Kind_Upgrade This represents an * available package upgrade. (Value: "UPGRADE") * @arg @c kGTLRContainerAnalysis_Occurrence_Kind_Vulnerability The note and @@ -6551,6 +6639,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc /** Describes a specific SBOM reference occurrences. */ @property(nonatomic, strong, nullable) GTLRContainerAnalysis_SBOMReferenceOccurrence *sbomReference; +/** Describes a secret. */ +@property(nonatomic, strong, nullable) GTLRContainerAnalysis_SecretOccurrence *secret; + /** Output only. The time this occurrence was last updated. */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @@ -7268,6 +7359,82 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc @end +/** + * The location of the secret. + */ +@interface GTLRContainerAnalysis_SecretLocation : GTLRObject + +/** The secret is found from a file. */ +@property(nonatomic, strong, nullable) GTLRContainerAnalysis_GrafeasV1FileLocation *fileLocation; + +@end + + +/** + * The note representing a secret. + */ +@interface GTLRContainerAnalysis_SecretNote : GTLRObject +@end + + +/** + * The occurrence provides details of a secret. + */ +@interface GTLRContainerAnalysis_SecretOccurrence : GTLRObject + +/** + * Required. Type of secret. + * + * Likely values: + * @arg @c kGTLRContainerAnalysis_SecretOccurrence_Kind_SecretKindGcpServiceAccountKey + * A GCP service account key per: + * https://cloud.google.com/iam/docs/creating-managing-service-account-keys + * (Value: "SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY") + * @arg @c kGTLRContainerAnalysis_SecretOccurrence_Kind_SecretKindUnknown The + * secret kind is unknown. (Value: "SECRET_KIND_UNKNOWN") + * @arg @c kGTLRContainerAnalysis_SecretOccurrence_Kind_SecretKindUnspecified + * Unspecified (Value: "SECRET_KIND_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *kind; + +/** Optional. Locations where the secret is detected. */ +@property(nonatomic, strong, nullable) NSArray *locations; + +/** Optional. Status of the secret. */ +@property(nonatomic, strong, nullable) NSArray *statuses; + +@end + + +/** + * The status of the secret with a timestamp. + */ +@interface GTLRContainerAnalysis_SecretStatus : GTLRObject + +/** Optional. Optional message about the status code. */ +@property(nonatomic, copy, nullable) NSString *message; + +/** + * Optional. The status of the secret. + * + * Likely values: + * @arg @c kGTLRContainerAnalysis_SecretStatus_Status_Invalid The secret is + * invalid. (Value: "INVALID") + * @arg @c kGTLRContainerAnalysis_SecretStatus_Status_StatusUnspecified + * Unspecified (Value: "STATUS_UNSPECIFIED") + * @arg @c kGTLRContainerAnalysis_SecretStatus_Status_Unknown The status of + * the secret is unknown. (Value: "UNKNOWN") + * @arg @c kGTLRContainerAnalysis_SecretStatus_Status_Valid The secret is + * valid. (Value: "VALID") + */ +@property(nonatomic, copy, nullable) NSString *status; + +/** Optional. The time the secret status was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * Request message for `SetIamPolicy` method. */ diff --git a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h index 9b2cce389..a2d4a2a6a 100644 --- a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h +++ b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h @@ -7600,8 +7600,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @property(nonatomic, strong, nullable) NSArray *fileStoreInfoTypeSummaries; /** - * The file store does not have any files. If the profiling failed, this will - * be false. + * The file store does not have any files. If the profiling operation failed, + * this is false. * * Uses NSNumber of boolValue. */ diff --git a/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogObjects.h b/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogObjects.h index f68f00f59..0bdd8967e 100644 --- a/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogObjects.h +++ b/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogObjects.h @@ -2457,15 +2457,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Vert /** * Required. Patterns to identify a set of files in Google Cloud Storage. For * more information, see [Wildcard Names] - * (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames). Note: - * Currently, bucket wildcards are not supported. Examples of valid - * `file_patterns`: * `gs://bucket_name/dir/ *`: matches all files in - * `bucket_name/dir` directory * `gs://bucket_name/dir/ **`: matches all files - * in `bucket_name/dir` and all subdirectories * `gs://bucket_name/file*`: - * matches files prefixed by `file` in `bucket_name` * - * `gs://bucket_name/??.txt`: matches files with two characters followed by - * `.txt` in `bucket_name` * `gs://bucket_name/[aeiou].txt`: matches files that - * contain a single vowel character followed by `.txt` in `bucket_name` * + * (https://cloud.google.com/storage/docs/wildcards). Note: Currently, bucket + * wildcards are not supported. Examples of valid `file_patterns`: * + * `gs://bucket_name/dir/ *`: matches all files in `bucket_name/dir` directory + * * `gs://bucket_name/dir/ **`: matches all files in `bucket_name/dir` and all + * subdirectories * `gs://bucket_name/file*`: matches files prefixed by `file` + * in `bucket_name` * `gs://bucket_name/??.txt`: matches files with two + * characters followed by `.txt` in `bucket_name` * + * `gs://bucket_name/[aeiou].txt`: matches files that contain a single vowel + * character followed by `.txt` in `bucket_name` * * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ... or * `m` followed by `.txt` in `bucket_name` * `gs://bucket_name/a/ * /b`: * matches all files in `bucket_name` that match the `a/ * /b` pattern, such as diff --git a/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m b/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m index 15ba7855c..17050c062 100644 --- a/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m +++ b/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m @@ -108,6 +108,22 @@ NSString * const kGTLRDatabaseMigrationService_ConnectionProfile_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRDatabaseMigrationService_ConnectionProfile_State_Updating = @"UPDATING"; +// GTLRDatabaseMigrationService_ConversionWorkspace.destinationProvider +NSString * const kGTLRDatabaseMigrationService_ConversionWorkspace_DestinationProvider_Alloydb = @"ALLOYDB"; +NSString * const kGTLRDatabaseMigrationService_ConversionWorkspace_DestinationProvider_Aurora = @"AURORA"; +NSString * const kGTLRDatabaseMigrationService_ConversionWorkspace_DestinationProvider_AzureDatabase = @"AZURE_DATABASE"; +NSString * const kGTLRDatabaseMigrationService_ConversionWorkspace_DestinationProvider_Cloudsql = @"CLOUDSQL"; +NSString * const kGTLRDatabaseMigrationService_ConversionWorkspace_DestinationProvider_DatabaseProviderUnspecified = @"DATABASE_PROVIDER_UNSPECIFIED"; +NSString * const kGTLRDatabaseMigrationService_ConversionWorkspace_DestinationProvider_Rds = @"RDS"; + +// GTLRDatabaseMigrationService_ConversionWorkspace.sourceProvider +NSString * const kGTLRDatabaseMigrationService_ConversionWorkspace_SourceProvider_Alloydb = @"ALLOYDB"; +NSString * const kGTLRDatabaseMigrationService_ConversionWorkspace_SourceProvider_Aurora = @"AURORA"; +NSString * const kGTLRDatabaseMigrationService_ConversionWorkspace_SourceProvider_AzureDatabase = @"AZURE_DATABASE"; +NSString * const kGTLRDatabaseMigrationService_ConversionWorkspace_SourceProvider_Cloudsql = @"CLOUDSQL"; +NSString * const kGTLRDatabaseMigrationService_ConversionWorkspace_SourceProvider_DatabaseProviderUnspecified = @"DATABASE_PROVIDER_UNSPECIFIED"; +NSString * const kGTLRDatabaseMigrationService_ConversionWorkspace_SourceProvider_Rds = @"RDS"; + // GTLRDatabaseMigrationService_DatabaseEngineInfo.engine NSString * const kGTLRDatabaseMigrationService_DatabaseEngineInfo_Engine_DatabaseEngineUnspecified = @"DATABASE_ENGINE_UNSPECIFIED"; NSString * const kGTLRDatabaseMigrationService_DatabaseEngineInfo_Engine_Mysql = @"MYSQL"; @@ -833,9 +849,9 @@ + (Class)classForAdditionalProperties { // @implementation GTLRDatabaseMigrationService_ConversionWorkspace -@dynamic createTime, destination, displayName, globalSettings, - hasUncommittedChanges, latestCommitId, latestCommitTime, name, source, - updateTime; +@dynamic createTime, destination, destinationProvider, displayName, + globalSettings, hasUncommittedChanges, latestCommitId, + latestCommitTime, name, source, sourceProvider, updateTime; @end diff --git a/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h index 92b3668c9..7445c29b4 100644 --- a/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h +++ b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h @@ -648,6 +648,86 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ConnectionProfi */ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ConnectionProfile_State_Updating; +// ---------------------------------------------------------------------------- +// GTLRDatabaseMigrationService_ConversionWorkspace.destinationProvider + +/** + * AlloyDB for PostgreSQL is the source instance provider. + * + * Value: "ALLOYDB" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ConversionWorkspace_DestinationProvider_Alloydb; +/** + * Amazon Aurora is the source instance provider. + * + * Value: "AURORA" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ConversionWorkspace_DestinationProvider_Aurora; +/** + * Microsoft Azure Database for MySQL/PostgreSQL. + * + * Value: "AZURE_DATABASE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ConversionWorkspace_DestinationProvider_AzureDatabase; +/** + * Cloud SQL is the source instance provider. + * + * Value: "CLOUDSQL" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ConversionWorkspace_DestinationProvider_Cloudsql; +/** + * Use this value for on-premise source database instances and ORACLE. + * + * Value: "DATABASE_PROVIDER_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ConversionWorkspace_DestinationProvider_DatabaseProviderUnspecified; +/** + * Amazon RDS is the source instance provider. + * + * Value: "RDS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ConversionWorkspace_DestinationProvider_Rds; + +// ---------------------------------------------------------------------------- +// GTLRDatabaseMigrationService_ConversionWorkspace.sourceProvider + +/** + * AlloyDB for PostgreSQL is the source instance provider. + * + * Value: "ALLOYDB" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ConversionWorkspace_SourceProvider_Alloydb; +/** + * Amazon Aurora is the source instance provider. + * + * Value: "AURORA" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ConversionWorkspace_SourceProvider_Aurora; +/** + * Microsoft Azure Database for MySQL/PostgreSQL. + * + * Value: "AZURE_DATABASE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ConversionWorkspace_SourceProvider_AzureDatabase; +/** + * Cloud SQL is the source instance provider. + * + * Value: "CLOUDSQL" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ConversionWorkspace_SourceProvider_Cloudsql; +/** + * Use this value for on-premise source database instances and ORACLE. + * + * Value: "DATABASE_PROVIDER_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ConversionWorkspace_SourceProvider_DatabaseProviderUnspecified; +/** + * Amazon RDS is the source instance provider. + * + * Value: "RDS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ConversionWorkspace_SourceProvider_Rds; + // ---------------------------------------------------------------------------- // GTLRDatabaseMigrationService_DatabaseEngineInfo.engine @@ -2563,6 +2643,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter */ @property(nonatomic, strong, nullable) GTLRDatabaseMigrationService_AlloyDbSettings_Labels *labels; +/** Settings for the cluster's primary instance */ @property(nonatomic, strong, nullable) GTLRDatabaseMigrationService_PrimaryInstanceSettings *primaryInstanceSettings; /** @@ -3651,6 +3732,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter /** Required. The destination engine details. */ @property(nonatomic, strong, nullable) GTLRDatabaseMigrationService_DatabaseEngineInfo *destination; +/** + * Optional. The provider for the destination database. + * + * Likely values: + * @arg @c kGTLRDatabaseMigrationService_ConversionWorkspace_DestinationProvider_Alloydb + * AlloyDB for PostgreSQL is the source instance provider. (Value: + * "ALLOYDB") + * @arg @c kGTLRDatabaseMigrationService_ConversionWorkspace_DestinationProvider_Aurora + * Amazon Aurora is the source instance provider. (Value: "AURORA") + * @arg @c kGTLRDatabaseMigrationService_ConversionWorkspace_DestinationProvider_AzureDatabase + * Microsoft Azure Database for MySQL/PostgreSQL. (Value: + * "AZURE_DATABASE") + * @arg @c kGTLRDatabaseMigrationService_ConversionWorkspace_DestinationProvider_Cloudsql + * Cloud SQL is the source instance provider. (Value: "CLOUDSQL") + * @arg @c kGTLRDatabaseMigrationService_ConversionWorkspace_DestinationProvider_DatabaseProviderUnspecified + * Use this value for on-premise source database instances and ORACLE. + * (Value: "DATABASE_PROVIDER_UNSPECIFIED") + * @arg @c kGTLRDatabaseMigrationService_ConversionWorkspace_DestinationProvider_Rds + * Amazon RDS is the source instance provider. (Value: "RDS") + */ +@property(nonatomic, copy, nullable) NSString *destinationProvider; + /** Optional. The display name for the workspace. */ @property(nonatomic, copy, nullable) NSString *displayName; @@ -3686,6 +3789,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter /** Required. The source engine details. */ @property(nonatomic, strong, nullable) GTLRDatabaseMigrationService_DatabaseEngineInfo *source; +/** + * Optional. The provider for the source database. + * + * Likely values: + * @arg @c kGTLRDatabaseMigrationService_ConversionWorkspace_SourceProvider_Alloydb + * AlloyDB for PostgreSQL is the source instance provider. (Value: + * "ALLOYDB") + * @arg @c kGTLRDatabaseMigrationService_ConversionWorkspace_SourceProvider_Aurora + * Amazon Aurora is the source instance provider. (Value: "AURORA") + * @arg @c kGTLRDatabaseMigrationService_ConversionWorkspace_SourceProvider_AzureDatabase + * Microsoft Azure Database for MySQL/PostgreSQL. (Value: + * "AZURE_DATABASE") + * @arg @c kGTLRDatabaseMigrationService_ConversionWorkspace_SourceProvider_Cloudsql + * Cloud SQL is the source instance provider. (Value: "CLOUDSQL") + * @arg @c kGTLRDatabaseMigrationService_ConversionWorkspace_SourceProvider_DatabaseProviderUnspecified + * Use this value for on-premise source database instances and ORACLE. + * (Value: "DATABASE_PROVIDER_UNSPECIFIED") + * @arg @c kGTLRDatabaseMigrationService_ConversionWorkspace_SourceProvider_Rds + * Amazon RDS is the source instance provider. (Value: "RDS") + */ +@property(nonatomic, copy, nullable) NSString *sourceProvider; + /** * Output only. The timestamp when the workspace resource was last updated. */ diff --git a/Sources/GeneratedServices/Dataflow/GTLRDataflowObjects.m b/Sources/GeneratedServices/Dataflow/GTLRDataflowObjects.m index 36538b2d2..276135420 100644 --- a/Sources/GeneratedServices/Dataflow/GTLRDataflowObjects.m +++ b/Sources/GeneratedServices/Dataflow/GTLRDataflowObjects.m @@ -784,7 +784,7 @@ @implementation GTLRDataflow_Environment @dynamic clusterManagerApiService, dataset, debugOptions, experiments, flexResourceSchedulingGoal, internalExperiments, sdkPipelineOptions, serviceAccountEmail, serviceKmsKeyName, serviceOptions, shuffleMode, - streamingMode, tempStoragePrefix, userAgent, + streamingMode, tempStoragePrefix, usePublicIps, userAgent, useStreamingEngineResourceBasedBilling, version, workerPools, workerRegion, workerZone; @@ -1048,6 +1048,34 @@ @implementation GTLRDataflow_GetTemplateResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRDataflow_GetWorkerStacktracesRequest +// + +@implementation GTLRDataflow_GetWorkerStacktracesRequest +@dynamic workerId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDataflow_GetWorkerStacktracesResponse +// + +@implementation GTLRDataflow_GetWorkerStacktracesResponse +@dynamic sdks; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"sdks" : [GTLRDataflow_Sdk class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDataflow_GPUUsage @@ -2330,6 +2358,24 @@ @implementation GTLRDataflow_RuntimeUpdatableParams @end +// ---------------------------------------------------------------------------- +// +// GTLRDataflow_Sdk +// + +@implementation GTLRDataflow_Sdk +@dynamic sdkId, stacks; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"stacks" : [GTLRDataflow_Stack class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDataflow_SdkBug @@ -2813,6 +2859,16 @@ @implementation GTLRDataflow_SplitInt64 @end +// ---------------------------------------------------------------------------- +// +// GTLRDataflow_Stack +// + +@implementation GTLRDataflow_Stack +@dynamic stackContent, threadCount, threadName, threadState, timestamp; +@end + + // ---------------------------------------------------------------------------- // // GTLRDataflow_StageExecutionDetails diff --git a/Sources/GeneratedServices/Dataflow/GTLRDataflowQuery.m b/Sources/GeneratedServices/Dataflow/GTLRDataflowQuery.m index 56802c73b..05af7e97c 100644 --- a/Sources/GeneratedServices/Dataflow/GTLRDataflowQuery.m +++ b/Sources/GeneratedServices/Dataflow/GTLRDataflowQuery.m @@ -140,6 +140,37 @@ + (instancetype)queryWithObject:(GTLRDataflow_GetDebugConfigRequest *)object @end +@implementation GTLRDataflowQuery_ProjectsJobsDebugGetWorkerStacktraces + +@dynamic jobId, projectId; + ++ (instancetype)queryWithObject:(GTLRDataflow_GetWorkerStacktracesRequest *)object + projectId:(NSString *)projectId + jobId:(NSString *)jobId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"jobId", @"projectId" + ]; + NSString *pathURITemplate = @"v1b3/projects/{projectId}/jobs/{jobId}/debug/getWorkerStacktraces"; + GTLRDataflowQuery_ProjectsJobsDebugGetWorkerStacktraces *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.projectId = projectId; + query.jobId = jobId; + query.expectedObjectClass = [GTLRDataflow_GetWorkerStacktracesResponse class]; + query.loggingName = @"dataflow.projects.jobs.debug.getWorkerStacktraces"; + return query; +} + +@end + @implementation GTLRDataflowQuery_ProjectsJobsDebugSendCapture @dynamic jobId, projectId; diff --git a/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowObjects.h b/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowObjects.h index 93ab6c7d7..9ce075eee 100644 --- a/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowObjects.h +++ b/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowObjects.h @@ -140,6 +140,7 @@ @class GTLRDataflow_RuntimeEnvironment_AdditionalUserLabels; @class GTLRDataflow_RuntimeMetadata; @class GTLRDataflow_RuntimeUpdatableParams; +@class GTLRDataflow_Sdk; @class GTLRDataflow_SdkBug; @class GTLRDataflow_SdkHarnessContainerImage; @class GTLRDataflow_SDKInfo; @@ -171,6 +172,7 @@ @class GTLRDataflow_SourceSplitShard; @class GTLRDataflow_SpannerIODetails; @class GTLRDataflow_SplitInt64; +@class GTLRDataflow_Stack; @class GTLRDataflow_StageSource; @class GTLRDataflow_StageSummary; @class GTLRDataflow_StateFamilyConfig; @@ -3209,6 +3211,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflow_WorkItemDetails_State_Execution */ @property(nonatomic, copy, nullable) NSString *tempStoragePrefix; +/** + * Optional. True when any worker pool that uses public IPs is present. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *usePublicIps; + /** A description of the process that generated the request. */ @property(nonatomic, strong, nullable) GTLRDataflow_Environment_UserAgent *userAgent; @@ -3856,6 +3865,31 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflow_WorkItemDetails_State_Execution @end +/** + * Request to get worker stacktraces from debug capture. + */ +@interface GTLRDataflow_GetWorkerStacktracesRequest : GTLRObject + +/** + * The worker for which to get stacktraces. The returned stacktraces will be + * for the SDK harness running on this worker. + */ +@property(nonatomic, copy, nullable) NSString *workerId; + +@end + + +/** + * Response to get worker stacktraces from debug capture. + */ +@interface GTLRDataflow_GetWorkerStacktracesResponse : GTLRObject + +/** Repeated as unified worker may have multiple SDK processes. */ +@property(nonatomic, strong, nullable) NSArray *sdks; + +@end + + /** * Information about the GPU usage on the worker. */ @@ -6490,6 +6524,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflow_WorkItemDetails_State_Execution @end +/** + * A structured representation of an SDK. + */ +@interface GTLRDataflow_Sdk : GTLRObject + +/** The SDK harness id. */ +@property(nonatomic, copy, nullable) NSString *sdkId; + +/** The stacktraces for the processes running on the SDK harness. */ +@property(nonatomic, strong, nullable) NSArray *stacks; + +@end + + /** * A bug found in the Dataflow SDK. */ @@ -7334,6 +7382,35 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflow_WorkItemDetails_State_Execution @end +/** + * A structuredstacktrace for a process running on the worker. + */ +@interface GTLRDataflow_Stack : GTLRObject + +/** The raw stack trace. */ +@property(nonatomic, copy, nullable) NSString *stackContent; + +/** + * With java thread dumps we may get collapsed stacks e.g., N threads in stack + * "". Instead of having to copy over the same stack trace N times, this int + * field captures this. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *threadCount; + +/** Thread name. For example, "CommitThread-0,10,main" */ +@property(nonatomic, copy, nullable) NSString *threadName; + +/** The state of the thread. For example, "WAITING". */ +@property(nonatomic, copy, nullable) NSString *threadState; + +/** Timestamp at which the stack was captured. */ +@property(nonatomic, strong, nullable) GTLRDateTime *timestamp; + +@end + + /** * Information about the workers and work items within a stage. * diff --git a/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowQuery.h b/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowQuery.h index 0a07641f1..786ab11e6 100644 --- a/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowQuery.h +++ b/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowQuery.h @@ -409,6 +409,41 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflowViewMetadataOnly; @end +/** + * Get worker stacktraces from debug capture. + * + * Method: dataflow.projects.jobs.debug.getWorkerStacktraces + * + * Authorization scope(s): + * @c kGTLRAuthScopeDataflowCloudPlatform + * @c kGTLRAuthScopeDataflowCompute + */ +@interface GTLRDataflowQuery_ProjectsJobsDebugGetWorkerStacktraces : GTLRDataflowQuery + +/** The job for which to get stacktraces. */ +@property(nonatomic, copy, nullable) NSString *jobId; + +/** The project id. */ +@property(nonatomic, copy, nullable) NSString *projectId; + +/** + * Fetches a @c GTLRDataflow_GetWorkerStacktracesResponse. + * + * Get worker stacktraces from debug capture. + * + * @param object The @c GTLRDataflow_GetWorkerStacktracesRequest to include in + * the query. + * @param projectId The project id. + * @param jobId The job for which to get stacktraces. + * + * @return GTLRDataflowQuery_ProjectsJobsDebugGetWorkerStacktraces + */ ++ (instancetype)queryWithObject:(GTLRDataflow_GetWorkerStacktracesRequest *)object + projectId:(NSString *)projectId + jobId:(NSString *)jobId; + +@end + /** * Send encoded debug capture data for component. * diff --git a/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m b/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m index e94fe14dd..985107656 100644 --- a/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m +++ b/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m @@ -708,7 +708,7 @@ @implementation GTLRDatastream_MongodbObjectIdentifier @implementation GTLRDatastream_MongodbProfile @dynamic hostAddresses, password, replicaSet, secretManagerStoredPassword, - srvConnectionFormat, standardConnectionFormat, username; + srvConnectionFormat, sslConfig, standardConnectionFormat, username; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -726,7 +726,19 @@ @implementation GTLRDatastream_MongodbProfile // @implementation GTLRDatastream_MongodbSourceConfig -@dynamic excludeObjects, includeObjects; +@dynamic excludeObjects, includeObjects, maxConcurrentBackfillTasks; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDatastream_MongodbSslConfig +// + +@implementation GTLRDatastream_MongodbSslConfig +@dynamic caCertificate, caCertificateSet, clientCertificate, + clientCertificateSet, clientKey, clientKeySet, + secretManagerStoredClientKey; @end @@ -1578,6 +1590,7 @@ @implementation GTLRDatastream_SrvConnectionFormat // @implementation GTLRDatastream_StandardConnectionFormat +@dynamic directConnection; @end diff --git a/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h b/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h index 530813689..ef8078952 100644 --- a/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h +++ b/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h @@ -49,6 +49,7 @@ @class GTLRDatastream_MongodbObjectIdentifier; @class GTLRDatastream_MongodbProfile; @class GTLRDatastream_MongodbSourceConfig; +@class GTLRDatastream_MongodbSslConfig; @class GTLRDatastream_MostRecentStartPosition; @class GTLRDatastream_MysqlColumn; @class GTLRDatastream_MysqlDatabase; @@ -1462,7 +1463,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni */ @interface GTLRDatastream_MongodbProfile : GTLRObject -/** Required. List of host addresses for a MongoDB cluster. */ +/** + * Required. List of host addresses for a MongoDB cluster. For SRV connection + * format, this list must contain exactly one DNS host without a port. For + * Standard connection format, this list must contain all the required hosts in + * the cluster with their respective ports. + */ @property(nonatomic, strong, nullable) NSArray *hostAddresses; /** @@ -1473,7 +1479,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni /** * Optional. Name of the replica set. Only needed for self hosted replica set - * type MongoDB cluster. + * type MongoDB cluster. For SRV connection format, this field must be empty. + * For Standard connection format, this field must be specified. */ @property(nonatomic, copy, nullable) NSString *replicaSet; @@ -1486,6 +1493,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni /** Srv connection format. */ @property(nonatomic, strong, nullable) GTLRDatastream_SrvConnectionFormat *srvConnectionFormat; +/** Optional. SSL configuration for the MongoDB connection. */ +@property(nonatomic, strong, nullable) GTLRDatastream_MongodbSslConfig *sslConfig; + /** Standard connection format. */ @property(nonatomic, strong, nullable) GTLRDatastream_StandardConnectionFormat *standardConnectionFormat; @@ -1506,6 +1516,72 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni /** MongoDB collections to include in the stream. */ @property(nonatomic, strong, nullable) GTLRDatastream_MongodbCluster *includeObjects; +/** + * Optional. Maximum number of concurrent backfill tasks. The number should be + * non-negative and less than or equal to 50. If not set (or set to 0), the + * system's default value is used + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxConcurrentBackfillTasks; + +@end + + +/** + * MongoDB SSL configuration information. + */ +@interface GTLRDatastream_MongodbSslConfig : GTLRObject + +/** + * Optional. Input only. PEM-encoded certificate of the CA that signed the + * source database server's certificate. + */ +@property(nonatomic, copy, nullable) NSString *caCertificate; + +/** + * Output only. Indicates whether the ca_certificate field is set. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *caCertificateSet; + +/** + * Optional. Input only. PEM-encoded certificate that will be used by the + * replica to authenticate against the source database server. If this field is + * used then the 'client_key' and the 'ca_certificate' fields are mandatory. + */ +@property(nonatomic, copy, nullable) NSString *clientCertificate; + +/** + * Output only. Indicates whether the client_certificate field is set. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *clientCertificateSet; + +/** + * Optional. Input only. PEM-encoded private key associated with the Client + * Certificate. If this field is used then the 'client_certificate' and the + * 'ca_certificate' fields are mandatory. + */ +@property(nonatomic, copy, nullable) NSString *clientKey; + +/** + * Output only. Indicates whether the client_key field is set. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *clientKeySet; + +/** + * Optional. Input only. A reference to a Secret Manager resource name storing + * the PEM-encoded private key associated with the Client Certificate. If this + * field is used then the 'client_certificate' and the 'ca_certificate' fields + * are mandatory. Mutually exclusive with the `client_key` field. + */ +@property(nonatomic, copy, nullable) NSString *secretManagerStoredClientKey; + @end @@ -2569,7 +2645,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni /** * Required. Fully qualified name of the Network Attachment that Datastream * will connect to. Format: - * `projects/{{project}}/regions/{{region}}/networkAttachments/{{name}}` + * `projects/{project}/regions/{region}/networkAttachments/{name}` */ @property(nonatomic, copy, nullable) NSString *networkAttachment; @@ -3107,6 +3183,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni * Standard connection format. */ @interface GTLRDatastream_StandardConnectionFormat : GTLRObject + +/** + * Optional. Specifies whether the client connects directly to the host[:port] + * in the connection URI. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *directConnection; + @end diff --git a/Sources/GeneratedServices/DeveloperConnect/GTLRDeveloperConnectObjects.m b/Sources/GeneratedServices/DeveloperConnect/GTLRDeveloperConnectObjects.m index e3d6cbd7a..a04802ca9 100644 --- a/Sources/GeneratedServices/DeveloperConnect/GTLRDeveloperConnectObjects.m +++ b/Sources/GeneratedServices/DeveloperConnect/GTLRDeveloperConnectObjects.m @@ -27,6 +27,7 @@ // GTLRDeveloperConnect_ProviderOAuthConfig.systemProviderId NSString * const kGTLRDeveloperConnect_ProviderOAuthConfig_SystemProviderId_Datastax = @"DATASTAX"; +NSString * const kGTLRDeveloperConnect_ProviderOAuthConfig_SystemProviderId_Dynatrace = @"DYNATRACE"; NSString * const kGTLRDeveloperConnect_ProviderOAuthConfig_SystemProviderId_Github = @"GITHUB"; NSString * const kGTLRDeveloperConnect_ProviderOAuthConfig_SystemProviderId_Gitlab = @"GITLAB"; NSString * const kGTLRDeveloperConnect_ProviderOAuthConfig_SystemProviderId_Google = @"GOOGLE"; diff --git a/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectObjects.h b/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectObjects.h index 6fd644c6f..82cd8fbec 100644 --- a/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectObjects.h +++ b/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectObjects.h @@ -127,6 +127,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_InstallationState_Stage * Value: "DATASTAX" */ FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_ProviderOAuthConfig_SystemProviderId_Datastax; +/** + * Dynatrace provider. + * + * Value: "DYNATRACE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_ProviderOAuthConfig_SystemProviderId_Dynatrace; /** * GitHub provider. Scopes can be found at * https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/scopes-for-oauth-apps#available-scopes @@ -1483,6 +1489,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_ProviderOAuthConfig_Sys * Likely values: * @arg @c kGTLRDeveloperConnect_ProviderOAuthConfig_SystemProviderId_Datastax * Datastax provider. No scopes are allowed. (Value: "DATASTAX") + * @arg @c kGTLRDeveloperConnect_ProviderOAuthConfig_SystemProviderId_Dynatrace + * Dynatrace provider. (Value: "DYNATRACE") * @arg @c kGTLRDeveloperConnect_ProviderOAuthConfig_SystemProviderId_Github * GitHub provider. Scopes can be found at * https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/scopes-for-oauth-apps#available-scopes diff --git a/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m b/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m index c1ccb1618..b008c47a2 100644 --- a/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m +++ b/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m @@ -62,8 +62,12 @@ NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_DeviceLicenseTypeUnspecified = @"deviceLicenseTypeUnspecified"; NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_Education = @"education"; NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_EducationUpgrade = @"educationUpgrade"; +NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_EducationUpgradeFixedTerm = @"educationUpgradeFixedTerm"; +NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_EducationUpgradePerpetual = @"educationUpgradePerpetual"; NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_Enterprise = @"enterprise"; NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_EnterpriseUpgrade = @"enterpriseUpgrade"; +NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_EnterpriseUpgradeFixedTerm = @"enterpriseUpgradeFixedTerm"; +NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_EnterpriseUpgradePerpetual = @"enterpriseUpgradePerpetual"; NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_KioskUpgrade = @"kioskUpgrade"; // GTLRDirectory_ChromeosdevicesCommand.state @@ -79,6 +83,7 @@ NSString * const kGTLRDirectory_ChromeosdevicesCommand_Type_CaptureLogs = @"CAPTURE_LOGS"; NSString * const kGTLRDirectory_ChromeosdevicesCommand_Type_CommandTypeUnspecified = @"COMMAND_TYPE_UNSPECIFIED"; NSString * const kGTLRDirectory_ChromeosdevicesCommand_Type_DeviceStartCrdSession = @"DEVICE_START_CRD_SESSION"; +NSString * const kGTLRDirectory_ChromeosdevicesCommand_Type_FetchCrdAvailabilityInfo = @"FETCH_CRD_AVAILABILITY_INFO"; NSString * const kGTLRDirectory_ChromeosdevicesCommand_Type_FetchSupportPacket = @"FETCH_SUPPORT_PACKET"; NSString * const kGTLRDirectory_ChromeosdevicesCommand_Type_Reboot = @"REBOOT"; NSString * const kGTLRDirectory_ChromeosdevicesCommand_Type_RemotePowerwash = @"REMOTE_POWERWASH"; @@ -96,6 +101,7 @@ NSString * const kGTLRDirectory_ChromeosdevicesIssueCommandRequest_CommandType_CaptureLogs = @"CAPTURE_LOGS"; NSString * const kGTLRDirectory_ChromeosdevicesIssueCommandRequest_CommandType_CommandTypeUnspecified = @"COMMAND_TYPE_UNSPECIFIED"; NSString * const kGTLRDirectory_ChromeosdevicesIssueCommandRequest_CommandType_DeviceStartCrdSession = @"DEVICE_START_CRD_SESSION"; +NSString * const kGTLRDirectory_ChromeosdevicesIssueCommandRequest_CommandType_FetchCrdAvailabilityInfo = @"FETCH_CRD_AVAILABILITY_INFO"; NSString * const kGTLRDirectory_ChromeosdevicesIssueCommandRequest_CommandType_FetchSupportPacket = @"FETCH_SUPPORT_PACKET"; NSString * const kGTLRDirectory_ChromeosdevicesIssueCommandRequest_CommandType_Reboot = @"REBOOT"; NSString * const kGTLRDirectory_ChromeosdevicesIssueCommandRequest_CommandType_RemotePowerwash = @"REMOTE_POWERWASH"; diff --git a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h index 19c655498..349224f19 100644 --- a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h +++ b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h @@ -357,7 +357,21 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseTy * * Value: "educationUpgrade" */ -FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_EducationUpgrade; +FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_EducationUpgrade GTLR_DEPRECATED; +/** + * Indicates that the device is consuming a standalone, fixed-term Chrome + * Education Upgrade(AKA Chrome EDU fixed-term license). + * + * Value: "educationUpgradeFixedTerm" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_EducationUpgradeFixedTerm; +/** + * Indicates that the device is consuming a standalone, perpetual Chrome + * Education Upgrade(AKA Chrome EDU perpetual license). + * + * Value: "educationUpgradePerpetual" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_EducationUpgradePerpetual; /** * The device is bundled with a perpetual Chrome Enterprise Upgrade. * @@ -369,7 +383,21 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseTy * * Value: "enterpriseUpgrade" */ -FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_EnterpriseUpgrade; +FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_EnterpriseUpgrade GTLR_DEPRECATED; +/** + * Indicates that the device is consuming a standalone, fixed-term Chrome + * Enterprise Upgrade, a Chrome Enterprise license. + * + * Value: "enterpriseUpgradeFixedTerm" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_EnterpriseUpgradeFixedTerm; +/** + * Indicates that the device is consuming a standalone, perpetual Chrome + * Enterprise Upgrade, a Chrome Enterprise license. + * + * Value: "enterpriseUpgradePerpetual" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_EnterpriseUpgradePerpetual; /** * The device has an annual Kiosk Upgrade. * @@ -446,6 +474,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeosdevicesCommand_Type_Co * Value: "DEVICE_START_CRD_SESSION" */ FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeosdevicesCommand_Type_DeviceStartCrdSession; +/** + * Fetches available type(s) of Chrome Remote Desktop sessions (private or + * shared) that can be used to remotely connect to the device. + * + * Value: "FETCH_CRD_AVAILABILITY_INFO" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeosdevicesCommand_Type_FetchCrdAvailabilityInfo; /** * Fetch support packet from a device remotely. Support packet is a zip archive * that contains various system logs and debug data from a ChromeOS device. The @@ -547,6 +582,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeosdevicesIssueCommandReq * Value: "DEVICE_START_CRD_SESSION" */ FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeosdevicesIssueCommandRequest_CommandType_DeviceStartCrdSession; +/** + * Fetches available type(s) of Chrome Remote Desktop sessions (private or + * shared) that can be used to remotely connect to the device. + * + * Value: "FETCH_CRD_AVAILABILITY_INFO" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeosdevicesIssueCommandRequest_CommandType_FetchCrdAvailabilityInfo; /** * Fetch support packet from a device remotely. Support packet is a zip archive * that contains various system logs and debug data from a ChromeOS device. The @@ -1894,12 +1936,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us * @arg @c kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_EducationUpgrade * The device has a perpetual standalone Chrome Education Upgrade. * (Value: "educationUpgrade") + * @arg @c kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_EducationUpgradeFixedTerm + * Indicates that the device is consuming a standalone, fixed-term Chrome + * Education Upgrade(AKA Chrome EDU fixed-term license). (Value: + * "educationUpgradeFixedTerm") + * @arg @c kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_EducationUpgradePerpetual + * Indicates that the device is consuming a standalone, perpetual Chrome + * Education Upgrade(AKA Chrome EDU perpetual license). (Value: + * "educationUpgradePerpetual") * @arg @c kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_Enterprise The * device is bundled with a perpetual Chrome Enterprise Upgrade. (Value: * "enterprise") * @arg @c kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_EnterpriseUpgrade * The device has an annual standalone Chrome Enterprise Upgrade. (Value: * "enterpriseUpgrade") + * @arg @c kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_EnterpriseUpgradeFixedTerm + * Indicates that the device is consuming a standalone, fixed-term Chrome + * Enterprise Upgrade, a Chrome Enterprise license. (Value: + * "enterpriseUpgradeFixedTerm") + * @arg @c kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_EnterpriseUpgradePerpetual + * Indicates that the device is consuming a standalone, perpetual Chrome + * Enterprise Upgrade, a Chrome Enterprise license. (Value: + * "enterpriseUpgradePerpetual") * @arg @c kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_KioskUpgrade The * device has an annual Kiosk Upgrade. (Value: "kioskUpgrade") */ @@ -2511,6 +2569,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us * @arg @c kGTLRDirectory_ChromeosdevicesCommand_Type_DeviceStartCrdSession * Starts a Chrome Remote Desktop session. (Value: * "DEVICE_START_CRD_SESSION") + * @arg @c kGTLRDirectory_ChromeosdevicesCommand_Type_FetchCrdAvailabilityInfo + * Fetches available type(s) of Chrome Remote Desktop sessions (private + * or shared) that can be used to remotely connect to the device. (Value: + * "FETCH_CRD_AVAILABILITY_INFO") * @arg @c kGTLRDirectory_ChromeosdevicesCommand_Type_FetchSupportPacket * Fetch support packet from a device remotely. Support packet is a zip * archive that contains various system logs and debug data from a @@ -2554,7 +2616,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us * The payload for the command result. The following commands respond with a * payload: * `DEVICE_START_CRD_SESSION`: Payload is a stringified JSON object * in the form: { "url": url }. The URL provides a link to the Chrome Remote - * Desktop session. + * Desktop session. * `FETCH_CRD_AVAILABILITY_INFO`: Payload is a stringified + * JSON object in the form: { "deviceIdleTimeInSeconds": number, + * "userSessionType": string, "remoteSupportAvailability": string, + * "remoteAccessAvailability": string }. The "remoteSupportAvailability" field + * is set to "AVAILABLE" if `shared` CRD session to the device is available. + * The "remoteAccessAvailability" field is set to "AVAILABLE" if `private` CRD + * session to the device is available. */ @property(nonatomic, copy, nullable) NSString *commandResultPayload; @@ -2605,6 +2673,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us * @arg @c kGTLRDirectory_ChromeosdevicesIssueCommandRequest_CommandType_DeviceStartCrdSession * Starts a Chrome Remote Desktop session. (Value: * "DEVICE_START_CRD_SESSION") + * @arg @c kGTLRDirectory_ChromeosdevicesIssueCommandRequest_CommandType_FetchCrdAvailabilityInfo + * Fetches available type(s) of Chrome Remote Desktop sessions (private + * or shared) that can be used to remotely connect to the device. (Value: + * "FETCH_CRD_AVAILABILITY_INFO") * @arg @c kGTLRDirectory_ChromeosdevicesIssueCommandRequest_CommandType_FetchSupportPacket * Fetch support packet from a device remotely. Support packet is a zip * archive that contains various system logs and debug data from a diff --git a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m index 2a3aa08b0..28f47e714 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m +++ b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m @@ -29,6 +29,7 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer_AnswerSkippedReasons_NoRelevantContent = @"NO_RELEVANT_CONTENT"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer_AnswerSkippedReasons_OutOfDomainQueryIgnored = @"OUT_OF_DOMAIN_QUERY_IGNORED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer_AnswerSkippedReasons_PotentialPolicyViolation = @"POTENTIAL_POLICY_VIOLATION"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer_AnswerSkippedReasons_UnhelpfulAnswer = @"UNHELPFUL_ANSWER"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer_AnswerSkippedReasons_UserDefinedClassificationQueryIgnored = @"USER_DEFINED_CLASSIFICATION_QUERY_IGNORED"; // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer.state @@ -61,6 +62,7 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBAPConfig_SupportedConnectorModes_Actions = @"ACTIONS"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBAPConfig_SupportedConnectorModes_ConnectorModeUnspecified = @"CONNECTOR_MODE_UNSPECIFIED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBAPConfig_SupportedConnectorModes_DataIngestion = @"DATA_INGESTION"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBAPConfig_SupportedConnectorModes_EndUserAuthentication = @"END_USER_AUTHENTICATION"; // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig.notebooklmState NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_NotebooklmState_NotebookLmNotEnabled = @"NOTEBOOK_LM_NOT_ENABLED"; @@ -111,6 +113,7 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_SyncType_Full = @"FULL"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_SyncType_Incremental = @"INCREMENTAL"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_SyncType_Realtime = @"REALTIME"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_SyncType_ScalaSync = @"SCALA_SYNC"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_SyncType_SyncTypeUnspecified = @"SYNC_TYPE_UNSPECIFIED"; // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl.solutionType @@ -179,6 +182,7 @@ // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector.syncMode NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_SyncMode_Periodic = @"PERIODIC"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_SyncMode_ScalaSync = @"SCALA_SYNC"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_SyncMode_Streaming = @"STREAMING"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_SyncMode_Unspecified = @"UNSPECIFIED"; @@ -439,6 +443,13 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite_Type_Include = @"INCLUDE"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense.licenseAssignmentState +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_Assigned = @"ASSIGNED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_LicenseAssignmentStateUnspecified = @"LICENSE_ASSIGNMENT_STATE_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_NoLicense = @"NO_LICENSE"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_NoLicenseAttemptedLogin = @"NO_LICENSE_ATTEMPTED_LOGIN"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_Unassigned = @"UNASSIGNED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig.type NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig_Type_GoogleCalendar = @"GOOGLE_CALENDAR"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig_Type_GoogleChat = @"GOOGLE_CHAT"; @@ -461,6 +472,7 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_AnswerSkippedReasons_NoRelevantContent = @"NO_RELEVANT_CONTENT"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_AnswerSkippedReasons_OutOfDomainQueryIgnored = @"OUT_OF_DOMAIN_QUERY_IGNORED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_AnswerSkippedReasons_PotentialPolicyViolation = @"POTENTIAL_POLICY_VIOLATION"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_AnswerSkippedReasons_UnhelpfulAnswer = @"UNHELPFUL_ANSWER"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_AnswerSkippedReasons_UserDefinedClassificationQueryIgnored = @"USER_DEFINED_CLASSIFICATION_QUERY_IGNORED"; // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer.state @@ -770,6 +782,12 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Type_VarInteger = @"VAR_INTEGER"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkStructuredContent.structureType +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkStructuredContent_StructureType_CheckboxStructure = @"CHECKBOX_STRUCTURE"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkStructuredContent_StructureType_ShareholderStructure = @"SHAREHOLDER_STRUCTURE"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkStructuredContent_StructureType_SignatureStructure = @"SIGNATURE_STRUCTURE"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkStructuredContent_StructureType_StructureTypeUnspecified = @"STRUCTURE_TYPE_UNSPECIFIED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CmekConfig.notebooklmState NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CmekConfig_NotebooklmState_NotebookLmNotEnabled = @"NOTEBOOK_LM_NOT_ENABLED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CmekConfig_NotebooklmState_NotebookLmNotReady = @"NOTEBOOK_LM_NOT_READY"; @@ -993,6 +1011,13 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1TargetSite_Type_Include = @"INCLUDE"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1TargetSite_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense.licenseAssignmentState +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense_LicenseAssignmentState_Assigned = @"ASSIGNED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense_LicenseAssignmentState_LicenseAssignmentStateUnspecified = @"LICENSE_ASSIGNMENT_STATE_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense_LicenseAssignmentState_NoLicense = @"NO_LICENSE"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense_LicenseAssignmentState_NoLicenseAttemptedLogin = @"NO_LICENSE_ATTEMPTED_LOGIN"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense_LicenseAssignmentState_Unassigned = @"UNASSIGNED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1WorkspaceConfig.type NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1WorkspaceConfig_Type_GoogleCalendar = @"GOOGLE_CALENDAR"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1WorkspaceConfig_Type_GoogleChat = @"GOOGLE_CHAT"; @@ -1847,6 +1872,35 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBatchCreate @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata +@dynamic createTime, failureCount, successCount, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse +@dynamic errorSamples, userLicenses; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"errorSamples" : [GTLRDiscoveryEngine_GoogleRpcStatus class], + @"userLicenses" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig @@ -2164,13 +2218,14 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomFineT @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector @dynamic aclEnabled, actionConfig, alertPolicyConfigs, autoRunDisabled, - bapConfig, blockingReasons, connectorModes, connectorType, createTime, - dataSource, destinationConfigs, endUserConfig, entities, errors, - identityRefreshInterval, identityScheduleConfig, kmsKeyName, - lastSyncTime, latestPauseTime, name, nextSyncTime, params, - privateConnectivityProjectId, realtimeState, realtimeSyncConfig, - refreshInterval, state, staticIpAddresses, staticIpEnabled, syncMode, - updateTime; + bapConfig, blockingReasons, connectorModes, connectorType, + createEuaSaas, createTime, dataSource, destinationConfigs, + endUserConfig, entities, errors, identityRefreshInterval, + identityScheduleConfig, incrementalRefreshInterval, + incrementalSyncDisabled, kmsKeyName, lastSyncTime, latestPauseTime, + name, nextSyncTime, params, privateConnectivityProjectId, + realtimeState, realtimeSyncConfig, refreshInterval, state, + staticIpAddresses, staticIpEnabled, syncMode, updateTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -3731,7 +3786,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchReque // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec -@dynamic boostSpec, dataStore, filter; +@dynamic boostSpec, customSearchOperators, dataStore, filter; @end @@ -4169,6 +4224,17 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense +@dynamic createTime, lastLoginTime, licenseAssignmentState, licenseConfig, + updateTime, user, userPrincipal, userProfile; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig @@ -4948,6 +5014,34 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocument @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest +@dynamic deleteUnassignedUserLicenses, gcsSource, inlineSource; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource +@dynamic updateMask, userLicenses; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"userLicenses" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest @@ -6277,7 +6371,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchReques // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec -@dynamic boostSpec, dataStore, filter; +@dynamic boostSpec, customSearchOperators, dataStore, filter; @end @@ -6809,9 +6903,9 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingSp // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Chunk -@dynamic annotationContents, chunkMetadata, content, dataUrls, - derivedStructData, documentMetadata, identifier, name, pageSpan, - relevanceScore; +@dynamic annotationContents, annotationMetadata, chunkMetadata, content, + dataUrls, derivedStructData, documentMetadata, identifier, name, + pageSpan, relevanceScore; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -6820,6 +6914,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Chunk + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"annotationContents" : [NSString class], + @"annotationMetadata" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkAnnotationMetadata class], @"dataUrls" : [NSString class] }; return map; @@ -6842,6 +6937,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkAnnotationMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkAnnotationMetadata +@dynamic imageId, structuredContent; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkChunkMetadata @@ -6895,6 +7000,16 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkPageSpan @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkStructuredContent +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkStructuredContent +@dynamic content, structureType; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CloudSqlSource @@ -8612,6 +8727,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ListUserLicensesResponse +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ListUserLicensesResponse +@dynamic nextPageToken, userLicenses; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"userLicenses" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"userLicenses"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1MediaInfo @@ -9334,7 +9471,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestCon // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec -@dynamic boostSpec, dataStore, filter; +@dynamic boostSpec, customSearchOperators, dataStore, filter; @end @@ -10010,6 +10147,17 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense +@dynamic createTime, lastLoginTime, licenseAssignmentState, licenseConfig, + updateTime, user, userPrincipal, userProfile; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1WorkspaceConfig diff --git a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m index 3627a93a3..d0e35ab32 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m +++ b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m @@ -4816,6 +4816,52 @@ + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV @end +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsUserStoresBatchUpdateUserLicenses + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest *)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}:batchUpdateUserLicenses"; + GTLRDiscoveryEngineQuery_ProjectsLocationsUserStoresBatchUpdateUserLicenses *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleLongrunningOperation class]; + query.loggingName = @"discoveryengine.projects.locations.userStores.batchUpdateUserLicenses"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsUserStoresUserLicensesList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/userLicenses"; + GTLRDiscoveryEngineQuery_ProjectsLocationsUserStoresUserLicensesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ListUserLicensesResponse class]; + query.loggingName = @"discoveryengine.projects.locations.userStores.userLicenses.list"; + return query; +} + +@end + @implementation GTLRDiscoveryEngineQuery_ProjectsOperationsCancel @dynamic name; diff --git a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h index ddc16dd5b..06556ce73 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h +++ b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h @@ -184,6 +184,7 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse_Metrics; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserInfo; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerCitation; @@ -238,6 +239,7 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionSearchAction; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCmekConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCondition; @@ -336,10 +338,12 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CheckGroundingSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Chunk; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Chunk_DerivedStructData; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkAnnotationMetadata; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkChunkMetadata; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkDocumentMetadata; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkDocumentMetadata_StructData; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkPageSpan; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkStructuredContent; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CloudSqlSource; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CmekConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CompleteQueryResponseQuerySuggestion; @@ -491,6 +495,7 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserEvent; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserEvent_Attributes; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserInfo; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1WorkspaceConfig; @class GTLRDiscoveryEngine_GoogleLongrunningOperation; @class GTLRDiscoveryEngine_GoogleLongrunningOperation_Metadata; @@ -611,6 +616,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * Value: "POTENTIAL_POLICY_VIOLATION" */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer_AnswerSkippedReasons_PotentialPolicyViolation; +/** + * The unhelpful answer case. Google skips the answer if the answer is not + * helpful. This can be due to a variety of factors, including but not limited + * to: the query is not answerable, the answer is not relevant to the query, or + * the answer is not well-formatted. + * + * Value: "UNHELPFUL_ANSWER" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer_AnswerSkippedReasons_UnhelpfulAnswer; /** * The user defined query classification ignored case. Google skips the answer * if the query is classified as a user defined query classification. @@ -764,6 +778,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * Value: "DATA_INGESTION" */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBAPConfig_SupportedConnectorModes_DataIngestion; +/** + * Connector utilized for End User Authentication. + * + * Value: "END_USER_AUTHENTICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBAPConfig_SupportedConnectorModes_EndUserAuthentication; // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig.notebooklmState @@ -1020,6 +1040,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * Value: "REALTIME" */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_SyncType_Realtime; +/** + * Scala sync. + * + * Value: "SCALA_SYNC" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_SyncType_ScalaSync; /** * Sync type unspecified. * @@ -1369,6 +1395,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * Value: "PERIODIC" */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_SyncMode_Periodic; +/** + * The data will be synced with Scala Sync, a data ingestion solution. + * + * Value: "SCALA_SYNC" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_SyncMode_ScalaSync; /** * The data will be synced in real time. * @@ -2605,6 +2637,43 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite_Type_TypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense.licenseAssignmentState + +/** + * License assigned to the user. + * + * Value: "ASSIGNED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_Assigned; +/** + * Default value. + * + * Value: "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_LicenseAssignmentStateUnspecified; +/** + * No license assigned to the user. + * + * Value: "NO_LICENSE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_NoLicense; +/** + * User attempted to login but no license assigned to the user. This state is + * only used for no user first time login attempt but cannot get license + * assigned. Users already logged in but cannot get license assigned will be + * assigned NO_LICENSE state(License could be unassigned by admin). + * + * Value: "NO_LICENSE_ATTEMPTED_LOGIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_NoLicenseAttemptedLogin; +/** + * No license assigned to the user. Deprecated, translated to NO_LICENSE. + * + * Value: "UNASSIGNED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_Unassigned; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig.type @@ -2736,6 +2805,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * Value: "POTENTIAL_POLICY_VIOLATION" */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_AnswerSkippedReasons_PotentialPolicyViolation; +/** + * The unhelpful answer case. Google skips the answer if the answer is not + * helpful. This can be due to a variety of factors, including but not limited + * to: the query is not answerable, the answer is not relevant to the query, or + * the answer is not well-formatted. + * + * Value: "UNHELPFUL_ANSWER" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_AnswerSkippedReasons_UnhelpfulAnswer; /** * The user defined query classification ignored case. Google skips the answer * if the query is classified as a user defined query classification. @@ -4225,6 +4303,34 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily_Type_VarInteger; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkStructuredContent.structureType + +/** + * Checkbox structure. + * + * Value: "CHECKBOX_STRUCTURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkStructuredContent_StructureType_CheckboxStructure; +/** + * Shareholder structure. + * + * Value: "SHAREHOLDER_STRUCTURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkStructuredContent_StructureType_ShareholderStructure; +/** + * Signature structure. + * + * Value: "SIGNATURE_STRUCTURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkStructuredContent_StructureType_SignatureStructure; +/** + * Default value. + * + * Value: "STRUCTURE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkStructuredContent_StructureType_StructureTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CmekConfig.notebooklmState @@ -5331,6 +5437,43 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1TargetSite_Type_TypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense.licenseAssignmentState + +/** + * License assigned to the user. + * + * Value: "ASSIGNED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense_LicenseAssignmentState_Assigned; +/** + * Default value. + * + * Value: "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense_LicenseAssignmentState_LicenseAssignmentStateUnspecified; +/** + * No license assigned to the user. + * + * Value: "NO_LICENSE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense_LicenseAssignmentState_NoLicense; +/** + * User attempted to login but no license assigned to the user. This state is + * only used for no user first time login attempt but cannot get license + * assigned. Users already logged in but cannot get license assigned will be + * assigned NO_LICENSE state(License could be unassigned by admin). + * + * Value: "NO_LICENSE_ATTEMPTED_LOGIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense_LicenseAssignmentState_NoLicenseAttemptedLogin; +/** + * No license assigned to the user. Deprecated, translated to NO_LICENSE. + * + * Value: "UNASSIGNED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense_LicenseAssignmentState_Unassigned; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1WorkspaceConfig.type @@ -6994,6 +7137,53 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Metadata related to the progress of the + * UserLicenseService.BatchUpdateUserLicenses operation. This will be returned + * by the google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Count of user licenses that failed to be updated. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *failureCount; + +/** + * Count of user licenses successfully updated. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *successCount; + +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Response message for UserLicenseService.BatchUpdateUserLicenses method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse : GTLRObject + +/** A sample of errors encountered while processing the request. */ +@property(nonatomic, strong, nullable) NSArray *errorSamples; + +/** UserLicenses successfully updated. */ +@property(nonatomic, strong, nullable) NSArray *userLicenses; + +@end + + /** * Configurations used to enable CMEK data encryption with Cloud KMS keys. */ @@ -7376,6 +7566,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * Incremental sync of updated documents. (Value: "INCREMENTAL") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_SyncType_Realtime * Realtime sync. (Value: "REALTIME") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_SyncType_ScalaSync + * Scala sync. (Value: "SCALA_SYNC") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_SyncType_SyncTypeUnspecified * Sync type unspecified. (Value: "SYNC_TYPE_UNSPECIFIED") */ @@ -7453,10 +7645,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, copy, nullable) NSString *name; -/** - * Promote certain links based on predefined trigger queries. This now only - * supports basic site search. - */ +/** Promote certain links based on predefined trigger queries. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlPromoteAction *promoteAction; /** Defines a redirect-type control. */ @@ -7852,8 +8041,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @property(nonatomic, strong, nullable) NSArray *alertPolicyConfigs; /** - * Indicates whether the connector is disabled for auto run. It can be used to - * pause periodical and real time sync. + * Optional. Indicates whether the connector is disabled for auto run. It can + * be used to pause periodical and real time sync. Update: with the + * introduction of incremental_sync_disabled, auto_run_disabled is used to + * pause/disable only full syncs * * Uses NSNumber of boolValue. */ @@ -7877,7 +8068,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** * Output only. The type of connector. Each source can only map to one type. * For example, salesforce, confluence and jira have THIRD_PARTY connector - * type. It is notmutable once set by system. + * type. It is not mutable once set by system. * * Likely values: * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_BigQuery @@ -7911,6 +8102,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, copy, nullable) NSString *connectorType; +/** + * Optional. Whether the END USER AUTHENTICATION connector is created in SaaS. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *createEuaSaas; + /** Output only. Timestamp the DataConnector was created at. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; @@ -7954,6 +8152,21 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig *identityScheduleConfig; +/** + * Optional. The refresh interval specifically for incremental data syncs. If + * unset, incremental syncs will use the default from env, set to 3hrs. The + * minimum is 30 minutes and maximum is 7 days. + */ +@property(nonatomic, strong, nullable) GTLRDuration *incrementalRefreshInterval; + +/** + * Optional. Indicates whether incremental syncs are paused for this connector. + * This is independent of auto_run_disabled. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *incrementalSyncDisabled; + /** * Input only. The KMS key to be used to protect the DataStores managed by this * connector. Must be set for requests that need to comply with CMEK Org Policy @@ -8116,6 +8329,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * The connector will sync data periodically based on the * refresh_interval. Use it with auto_run_disabled to pause the periodic * sync, or indicate a one-time sync. (Value: "PERIODIC") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_SyncMode_ScalaSync + * The data will be synced with Scala Sync, a data ingestion solution. + * (Value: "SCALA_SYNC") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_SyncMode_Streaming * The data will be synced in real time. (Value: "STREAMING") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_SyncMode_Unspecified @@ -8424,7 +8640,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaLanguageInfo *languageInfo; /** - * Immutable. The full resource name of the data store. Format: + * Immutable. Identifier. The full resource name of the data store. Format: * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. * This field must be a UTF-8 encoded string with a length limit of 1024 * characters. @@ -8511,8 +8727,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore : GTLRObject /** - * If set true, the DataStore will not be available for serving search - * requests. + * Optional. If set true, the DataStore will not be available for serving + * search requests. * * Uses NSNumber of boolValue. */ @@ -9023,12 +9239,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and - * SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with - * at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple - * DataStores in the same Collection can be associated here. Note that when - * used in CreateEngineRequest, one DataStore id must be provided as the system - * will use it for necessary initializations. + * Optional. The data stores associated with this engine. For + * SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they + * can only associate with at most one data store. If solution_type is + * SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be + * associated here. Note that when used in CreateEngineRequest, one DataStore + * id must be provided as the system will use it for necessary initializations. */ @property(nonatomic, strong, nullable) NSArray *dataStoreIds; @@ -9047,9 +9263,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @property(nonatomic, copy, nullable) NSString *displayName; /** - * The industry vertical that the engine registers. The restriction of the - * Engine industry vertical is based on DataStore: Vertical on Engine has to - * match vertical of the DataStore linked to the engine. + * Optional. The industry vertical that the engine registers. The restriction + * of the Engine industry vertical is based on DataStore: Vertical on Engine + * has to match vertical of the DataStore linked to the engine. * * Likely values: * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_IndustryVertical_Generic @@ -9072,8 +9288,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig *mediaRecommendationEngineConfig; /** - * 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: + * Immutable. Identifier. 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}/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. @@ -12168,6 +12385,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec *boostSpec; +/** + * Optional. Custom search operators which if specified will be used to filter + * results from workspace data stores. For more information on custom search + * operators, see + * [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). + */ +@property(nonatomic, copy, nullable) NSString *customSearchOperators; + /** * Required. Full resource name of DataStore, such as * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. @@ -13128,6 +13353,79 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * User License information assigned by the admin. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense : GTLRObject + +/** Output only. User created timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Output only. User last logged in time. If the user has not logged in yet, + * this field will be empty. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastLoginTime; + +/** + * Output only. License assignment state of the user. If the user is assigned + * with a license config, the user loggin will be assigned with the license; If + * the user's license assignment state is unassigned or unspecified, no license + * config will be associated to the user; + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_Assigned + * License assigned to the user. (Value: "ASSIGNED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_LicenseAssignmentStateUnspecified + * Default value. (Value: "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_NoLicense + * No license assigned to the user. (Value: "NO_LICENSE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_NoLicenseAttemptedLogin + * User attempted to login but no license assigned to the user. This + * state is only used for no user first time login attempt but cannot get + * license assigned. Users already logged in but cannot get license + * assigned will be assigned NO_LICENSE state(License could be unassigned + * by admin). (Value: "NO_LICENSE_ATTEMPTED_LOGIN") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_Unassigned + * No license assigned to the user. Deprecated, translated to NO_LICENSE. + * (Value: "UNASSIGNED") + */ +@property(nonatomic, copy, nullable) NSString *licenseAssignmentState; + +/** + * Optional. The full resource name of the Subscription(LicenseConfig) assigned + * to the user. + */ +@property(nonatomic, copy, nullable) NSString *licenseConfig; + +/** Output only. User update timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +/** + * Optional. The full resource name of the User, in the format of + * `projects/{project}/locations/{location}/userStores/{user_store}/users/{user_id}`. + * This field must be a UTF-8 encoded string with a length limit of 2048 + * characters. If the user field is empty, it's indicating the user has not + * logged in yet and no User entity is created. + */ +@property(nonatomic, copy, nullable) NSString *user; + +/** + * Required. Immutable. The user principal of the User, could be email address + * or other prinical identifier. This field is immutable. Admin assign licenses + * based on the user principal. + */ +@property(nonatomic, copy, nullable) NSString *userPrincipal; + +/** + * Optional. The user profile. We user user full name(First name + Last name) + * as user profile. + */ +@property(nonatomic, copy, nullable) NSString *userProfile; + +@end + + /** * Config to store data store type configuration for workspace data */ @@ -14607,6 +14905,50 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Request message for UserLicenseService.BatchUpdateUserLicenses method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest : GTLRObject + +/** + * Optional. If true, if user licenses removed associated license config, the + * user license will be deleted. By default which is false, the user license + * will be updated to unassigned state. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *deleteUnassignedUserLicenses; + +/** Cloud Storage location for the input content. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GcsSource *gcsSource; + +/** The inline source for the input content for document embeddings. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource *inlineSource; + +@end + + +/** + * The inline source for the input config for BatchUpdateUserLicenses method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource : GTLRObject + +/** + * Optional. The list of fields to update. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Required. A list of user licenses to update. Each user license must have a + * valid UserLicense.user_principal. + */ +@property(nonatomic, strong, nullable) NSArray *userLicenses; + +@end + + /** * Request message for SiteSearchEngineService.BatchVerifyTargetSites method. */ @@ -14855,10 +15197,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, copy, nullable) NSString *name; -/** - * Promote certain links based on predefined trigger queries. This now only - * supports basic site search. - */ +/** Promote certain links based on predefined trigger queries. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaControlPromoteAction *promoteAction; /** Defines a redirect-type control. */ @@ -15329,7 +15668,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaLanguageInfo *languageInfo; /** - * Immutable. The full resource name of the data store. Format: + * Immutable. Identifier. The full resource name of the data store. Format: * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. * This field must be a UTF-8 encoded string with a length limit of 1024 * characters. @@ -15416,8 +15755,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore : GTLRObject /** - * If set true, the DataStore will not be available for serving search - * requests. + * Optional. If set true, the DataStore will not be available for serving + * search requests. * * Uses NSNumber of boolValue. */ @@ -15827,12 +16166,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and - * SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with - * at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple - * DataStores in the same Collection can be associated here. Note that when - * used in CreateEngineRequest, one DataStore id must be provided as the system - * will use it for necessary initializations. + * Optional. The data stores associated with this engine. For + * SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they + * can only associate with at most one data store. If solution_type is + * SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be + * associated here. Note that when used in CreateEngineRequest, one DataStore + * id must be provided as the system will use it for necessary initializations. */ @property(nonatomic, strong, nullable) NSArray *dataStoreIds; @@ -15851,9 +16190,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @property(nonatomic, copy, nullable) NSString *displayName; /** - * The industry vertical that the engine registers. The restriction of the - * Engine industry vertical is based on DataStore: Vertical on Engine has to - * match vertical of the DataStore linked to the engine. + * Optional. The industry vertical that the engine registers. The restriction + * of the Engine industry vertical is based on DataStore: Vertical on Engine + * has to match vertical of the DataStore linked to the engine. * * Likely values: * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_IndustryVertical_Generic @@ -15876,8 +16215,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig *mediaRecommendationEngineConfig; /** - * 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: + * Immutable. Identifier. 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}/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. @@ -18111,6 +18451,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec *boostSpec; +/** + * Optional. Custom search operators which if specified will be used to filter + * results from workspace data stores. For more information on custom search + * operators, see + * [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). + */ +@property(nonatomic, copy, nullable) NSString *customSearchOperators; + /** * Required. Full resource name of DataStore, such as * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. @@ -19344,7 +19692,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** * Confidence score for the claim in the answer candidate, in the range of [0, - * 1]. This is set only when enable_claim_level_score is true. + * 1]. This is set only when + * `CheckGroundingRequest.grounding_spec.enable_claim_level_score` is true. * * Uses NSNumber of doubleValue. */ @@ -19403,6 +19752,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, strong, nullable) NSArray *annotationContents; +/** + * Output only. The annotation metadata includes structured content in the + * current chunk. + */ +@property(nonatomic, strong, nullable) NSArray *annotationMetadata; + /** Output only. Metadata of the current chunk. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkChunkMetadata *chunkMetadata; @@ -19469,6 +19824,23 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * The annotation metadata includes structured content in the current chunk. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkAnnotationMetadata : GTLRObject + +/** + * Output only. Image id is provided if the structured content is based on an + * image. + */ +@property(nonatomic, copy, nullable) NSString *imageId; + +/** Output only. The structured content information. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkStructuredContent *structuredContent; + +@end + + /** * Metadata of the current chunk. This field is only populated on * SearchService.Search API. @@ -19548,6 +19920,32 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * The structured content information. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkStructuredContent : GTLRObject + +/** Output only. The content of the structured content. */ +@property(nonatomic, copy, nullable) NSString *content; + +/** + * Output only. The structure type of the structured content. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkStructuredContent_StructureType_CheckboxStructure + * Checkbox structure. (Value: "CHECKBOX_STRUCTURE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkStructuredContent_StructureType_ShareholderStructure + * Shareholder structure. (Value: "SHAREHOLDER_STRUCTURE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkStructuredContent_StructureType_SignatureStructure + * Signature structure. (Value: "SIGNATURE_STRUCTURE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkStructuredContent_StructureType_StructureTypeUnspecified + * Default value. (Value: "STRUCTURE_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *structureType; + +@end + + /** * Cloud SQL source import data from. */ @@ -19896,10 +20294,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, copy, nullable) NSString *name; -/** - * Promote certain links based on predefined trigger queries. This now only - * supports basic site search. - */ +/** Promote certain links based on predefined trigger queries. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ControlPromoteAction *promoteAction; /** Defines a redirect-type control. */ @@ -20665,7 +21060,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @property(nonatomic, copy, nullable) NSString *kmsKeyName; /** - * Immutable. The full resource name of the data store. Format: + * Immutable. Identifier. The full resource name of the data store. Format: * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. * This field must be a UTF-8 encoded string with a length limit of 1024 * characters. @@ -20749,8 +21144,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore : GTLRObject /** - * If set true, the DataStore will not be available for serving search - * requests. + * Optional. If set true, the DataStore will not be available for serving + * search requests. * * Uses NSNumber of boolValue. */ @@ -21450,12 +21845,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and - * SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with - * at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple - * DataStores in the same Collection can be associated here. Note that when - * used in CreateEngineRequest, one DataStore id must be provided as the system - * will use it for necessary initializations. + * Optional. The data stores associated with this engine. For + * SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they + * can only associate with at most one data store. If solution_type is + * SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be + * associated here. Note that when used in CreateEngineRequest, one DataStore + * id must be provided as the system will use it for necessary initializations. */ @property(nonatomic, strong, nullable) NSArray *dataStoreIds; @@ -21474,9 +21869,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @property(nonatomic, copy, nullable) NSString *displayName; /** - * The industry vertical that the engine registers. The restriction of the - * Engine industry vertical is based on DataStore: Vertical on Engine has to - * match vertical of the DataStore linked to the engine. + * Optional. The industry vertical that the engine registers. The restriction + * of the Engine industry vertical is based on DataStore: Vertical on Engine + * has to match vertical of the DataStore linked to the engine. * * Likely values: * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_IndustryVertical_Generic @@ -21499,8 +21894,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig *mediaRecommendationEngineConfig; /** - * 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: + * Immutable. Identifier. 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}/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. @@ -22984,6 +23380,33 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Response message for UserLicenseService.ListUserLicenses. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "userLicenses" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ListUserLicensesResponse : GTLRCollectionObject + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * All the customer's UserLicenses. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *userLicenses; + +@end + + /** * Media-specific user event information. */ @@ -24916,6 +25339,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpec *boostSpec; +/** + * Optional. Custom search operators which if specified will be used to filter + * results from workspace data stores. For more information on custom search + * operators, see + * [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). + */ +@property(nonatomic, copy, nullable) NSString *customSearchOperators; + /** * Required. Full resource name of DataStore, such as * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. @@ -26703,6 +27134,79 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * User License information assigned by the admin. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense : GTLRObject + +/** Output only. User created timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Output only. User last logged in time. If the user has not logged in yet, + * this field will be empty. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastLoginTime; + +/** + * Output only. License assignment state of the user. If the user is assigned + * with a license config, the user loggin will be assigned with the license; If + * the user's license assignment state is unassigned or unspecified, no license + * config will be associated to the user; + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense_LicenseAssignmentState_Assigned + * License assigned to the user. (Value: "ASSIGNED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense_LicenseAssignmentState_LicenseAssignmentStateUnspecified + * Default value. (Value: "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense_LicenseAssignmentState_NoLicense + * No license assigned to the user. (Value: "NO_LICENSE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense_LicenseAssignmentState_NoLicenseAttemptedLogin + * User attempted to login but no license assigned to the user. This + * state is only used for no user first time login attempt but cannot get + * license assigned. Users already logged in but cannot get license + * assigned will be assigned NO_LICENSE state(License could be unassigned + * by admin). (Value: "NO_LICENSE_ATTEMPTED_LOGIN") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense_LicenseAssignmentState_Unassigned + * No license assigned to the user. Deprecated, translated to NO_LICENSE. + * (Value: "UNASSIGNED") + */ +@property(nonatomic, copy, nullable) NSString *licenseAssignmentState; + +/** + * Optional. The full resource name of the Subscription(LicenseConfig) assigned + * to the user. + */ +@property(nonatomic, copy, nullable) NSString *licenseConfig; + +/** Output only. User update timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +/** + * Optional. The full resource name of the User, in the format of + * `projects/{project}/locations/{location}/userStores/{user_store}/users/{user_id}`. + * This field must be a UTF-8 encoded string with a length limit of 2048 + * characters. If the user field is empty, it's indicating the user has not + * logged in yet and no User entity is created. + */ +@property(nonatomic, copy, nullable) NSString *user; + +/** + * Required. Immutable. The user principal of the User, could be email address + * or other prinical identifier. This field is immutable. Admin assign licenses + * based on the user principal. + */ +@property(nonatomic, copy, nullable) NSString *userPrincipal; + +/** + * Optional. The user profile. We user user full name(First name + Last name) + * as user profile. + */ +@property(nonatomic, copy, nullable) NSString *userProfile; + +@end + + /** * Config to store data store type configuration for workspace data */ diff --git a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h index 81914ee8e..d4c61c728 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h +++ b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h @@ -1767,7 +1767,7 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresPatch : GTLRDiscoveryEngineQuery /** - * Immutable. The full resource name of the data store. Format: + * Immutable. Identifier. The full resource name of the data store. Format: * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. * This field must be a UTF-8 encoded string with a length limit of 1024 * characters. @@ -1791,7 +1791,8 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DataStore to include in * the query. - * @param name Immutable. The full resource name of the data store. Format: + * @param name Immutable. Identifier. The full resource name of the data store. + * Format: * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. * This field must be a UTF-8 encoded string with a length limit of 1024 * characters. @@ -4338,8 +4339,9 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesPatch : GTLRDiscoveryEngineQuery /** - * 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: + * Immutable. Identifier. 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}/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. @@ -4361,9 +4363,9 @@ NS_ASSUME_NONNULL_BEGIN * * @param object The @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine * to include in the query. - * @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: + * @param name Immutable. Identifier. 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}/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. @@ -6454,7 +6456,7 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresPatch : GTLRDiscoveryEngineQuery /** - * Immutable. The full resource name of the data store. Format: + * Immutable. Identifier. The full resource name of the data store. Format: * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. * This field must be a UTF-8 encoded string with a length limit of 1024 * characters. @@ -6478,7 +6480,8 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DataStore to include in * the query. - * @param name Immutable. The full resource name of the data store. Format: + * @param name Immutable. Identifier. The full resource name of the data store. + * Format: * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. * This field must be a UTF-8 encoded string with a length limit of 1024 * characters. @@ -8704,6 +8707,104 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Updates the User License. This method is used for batch assign/unassign + * licenses to users. + * + * Method: discoveryengine.projects.locations.userStores.batchUpdateUserLicenses + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsUserStoresBatchUpdateUserLicenses : GTLRDiscoveryEngineQuery + +/** + * Required. The parent UserStore resource name, format: + * `projects/{project}/locations/{location}/userStores/{user_store_id}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleLongrunningOperation. + * + * Updates the User License. This method is used for batch assign/unassign + * licenses to users. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest + * to include in the query. + * @param parent Required. The parent UserStore resource name, format: + * `projects/{project}/locations/{location}/userStores/{user_store_id}`. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsUserStoresBatchUpdateUserLicenses + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Lists the User Licenses. + * + * Method: discoveryengine.projects.locations.userStores.userLicenses.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsUserStoresUserLicensesList : GTLRDiscoveryEngineQuery + +/** + * Optional. Filter for the list request. Supported fields: * + * `license_assignment_state` Examples: * `license_assignment_state = ASSIGNED` + * to list assigned user licenses. * `license_assignment_state = NO_LICENSE` to + * list not licensed users. * `license_assignment_state = + * NO_LICENSE_ATTEMPTED_LOGIN` to list users who attempted login but no license + * assigned. * `license_assignment_state != NO_LICENSE_ATTEMPTED_LOGIN` to + * filter out users who attempted login but no license assigned. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. Requested page size. Server may return fewer items than requested. + * If unspecified, defaults to 10. The maximum value is 50; values above 50 + * will be coerced to 50. If this field is negative, an INVALID_ARGUMENT error + * is returned. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListUserLicenses` call. + * Provide this to retrieve the subsequent page. When paginating, all other + * parameters provided to `ListUserLicenses` must match the call that provided + * the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent UserStore resource name, format: + * `projects/{project}/locations/{location}/userStores/{user_store_id}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ListUserLicensesResponse. + * + * Lists the User Licenses. + * + * @param parent Required. The parent UserStore resource name, format: + * `projects/{project}/locations/{location}/userStores/{user_store_id}`. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsUserStoresUserLicensesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + /** * Starts asynchronous cancellation on a long-running operation. The server * makes a best effort to cancel the operation, but success is not guaranteed. diff --git a/Sources/GeneratedServices/Drive/GTLRDriveQuery.m b/Sources/GeneratedServices/Drive/GTLRDriveQuery.m index ac3233c1c..a516fc1ea 100644 --- a/Sources/GeneratedServices/Drive/GTLRDriveQuery.m +++ b/Sources/GeneratedServices/Drive/GTLRDriveQuery.m @@ -892,9 +892,9 @@ + (instancetype)query { @implementation GTLRDriveQuery_PermissionsCreate -@dynamic emailMessage, enforceSingleParent, fileId, moveToNewOwnersRoot, - sendNotificationEmail, supportsAllDrives, supportsTeamDrives, - transferOwnership, useDomainAdminAccess; +@dynamic emailMessage, enforceExpansiveAccess, enforceSingleParent, fileId, + moveToNewOwnersRoot, sendNotificationEmail, supportsAllDrives, + supportsTeamDrives, transferOwnership, useDomainAdminAccess; + (instancetype)queryWithObject:(GTLRDrive_Permission *)object fileId:(NSString *)fileId { diff --git a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h index 1c724ab35..d6364e0e4 100644 --- a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h +++ b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h @@ -696,9 +696,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** * Deletes a comment. For more information, see [Manage comments and * replies](https://developers.google.com/workspace/drive/api/guides/manage-comments). - * Required: The `fields` parameter must be set. To return the exact fields you - * need, see [Return specific - * fields](https://developers.google.com/workspace/drive/api/guides/fields-parameter). * * Method: drive.comments.delete * @@ -720,9 +717,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; * * Deletes a comment. For more information, see [Manage comments and * replies](https://developers.google.com/workspace/drive/api/guides/manage-comments). - * Required: The `fields` parameter must be set. To return the exact fields you - * need, see [Return specific - * fields](https://developers.google.com/workspace/drive/api/guides/fields-parameter). * * @param fileId The ID of the file. * @param commentId The ID of the comment. @@ -2308,6 +2302,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; /** A plain text custom message to include in the notification email. */ @property(nonatomic, copy, nullable) NSString *emailMessage; +/** + * Whether the request should enforce expansive access rules. + * + * @note If not set, the documented server-side default will be false. + */ +@property(nonatomic, assign) BOOL enforceExpansiveAccess; + /** * Deprecated: See `moveToNewOwnersRoot` for details. * diff --git a/Sources/GeneratedServices/DriveActivity/Public/GoogleAPIClientForREST/GTLRDriveActivityObjects.h b/Sources/GeneratedServices/DriveActivity/Public/GoogleAPIClientForREST/GTLRDriveActivityObjects.h index d3bb3ac8b..0442d25c9 100644 --- a/Sources/GeneratedServices/DriveActivity/Public/GoogleAPIClientForREST/GTLRDriveActivityObjects.h +++ b/Sources/GeneratedServices/DriveActivity/Public/GoogleAPIClientForREST/GTLRDriveActivityObjects.h @@ -445,7 +445,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveActivity_RestrictionChange_Feature_ FOUNDATION_EXTERN NSString * const kGTLRDriveActivity_RestrictionChange_Feature_FileOrganizerCanShareFolders; /** * When restricted, this prevents actions like copy, download, and print that - * might result in uncontrolled duplicates of items. + * might result in uncontrolled duplicates of items. Now deprecated in favor of + * READERS_CAN_DOWNLOAD. * * Value: "ITEM_DUPLICATION" */ @@ -1598,8 +1599,8 @@ GTLR_DEPRECATED * (Value: "FILE_ORGANIZER_CAN_SHARE_FOLDERS") * @arg @c kGTLRDriveActivity_RestrictionChange_Feature_ItemDuplication When * restricted, this prevents actions like copy, download, and print that - * might result in uncontrolled duplicates of items. (Value: - * "ITEM_DUPLICATION") + * might result in uncontrolled duplicates of items. Now deprecated in + * favor of READERS_CAN_DOWNLOAD. (Value: "ITEM_DUPLICATION") * @arg @c kGTLRDriveActivity_RestrictionChange_Feature_SharingOutsideDomain * When restricted, this prevents items from being shared outside the * domain. (Value: "SHARING_OUTSIDE_DOMAIN") diff --git a/Sources/GeneratedServices/FirebaseAppHosting/GTLRFirebaseAppHostingObjects.m b/Sources/GeneratedServices/FirebaseAppHosting/GTLRFirebaseAppHostingObjects.m new file mode 100644 index 000000000..bb963f4e3 --- /dev/null +++ b/Sources/GeneratedServices/FirebaseAppHosting/GTLRFirebaseAppHostingObjects.m @@ -0,0 +1,970 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Firebase App Hosting API (firebaseapphosting/v1) +// Description: +// Firebase App Hosting streamlines the development and deployment of dynamic +// Next.js and Angular applications, offering built-in framework support, +// GitHub integration, and integration with other Firebase products. You can +// use this API to intervene in the Firebase App Hosting build process and add +// custom functionality not supported in our default Console & CLI flows, +// including triggering builds from external CI/CD workflows or deploying from +// pre-built container images. +// Documentation: +// https://firebase.google.com/docs/app-hosting + +#import + +// ---------------------------------------------------------------------------- +// Constants + +// GTLRFirebaseAppHosting_Backend.servingLocality +NSString * const kGTLRFirebaseAppHosting_Backend_ServingLocality_GlobalAccess = @"GLOBAL_ACCESS"; +NSString * const kGTLRFirebaseAppHosting_Backend_ServingLocality_RegionalStrict = @"REGIONAL_STRICT"; +NSString * const kGTLRFirebaseAppHosting_Backend_ServingLocality_ServingLocalityUnspecified = @"SERVING_LOCALITY_UNSPECIFIED"; + +// GTLRFirebaseAppHosting_Build.state +NSString * const kGTLRFirebaseAppHosting_Build_State_Building = @"BUILDING"; +NSString * const kGTLRFirebaseAppHosting_Build_State_Built = @"BUILT"; +NSString * const kGTLRFirebaseAppHosting_Build_State_Deploying = @"DEPLOYING"; +NSString * const kGTLRFirebaseAppHosting_Build_State_Failed = @"FAILED"; +NSString * const kGTLRFirebaseAppHosting_Build_State_Ready = @"READY"; +NSString * const kGTLRFirebaseAppHosting_Build_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRFirebaseAppHosting_CustomDomainOperationMetadata.certState +NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_CertState_CertActive = @"CERT_ACTIVE"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_CertState_CertExpired = @"CERT_EXPIRED"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_CertState_CertExpiringSoon = @"CERT_EXPIRING_SOON"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_CertState_CertPreparing = @"CERT_PREPARING"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_CertState_CertPropagating = @"CERT_PROPAGATING"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_CertState_CertStateUnspecified = @"CERT_STATE_UNSPECIFIED"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_CertState_CertValidating = @"CERT_VALIDATING"; + +// GTLRFirebaseAppHosting_CustomDomainOperationMetadata.hostState +NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_HostState_HostActive = @"HOST_ACTIVE"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_HostState_HostConflict = @"HOST_CONFLICT"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_HostState_HostNonFah = @"HOST_NON_FAH"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_HostState_HostStateUnspecified = @"HOST_STATE_UNSPECIFIED"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_HostState_HostUnhosted = @"HOST_UNHOSTED"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_HostState_HostUnreachable = @"HOST_UNREACHABLE"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_HostState_HostWrongShard = @"HOST_WRONG_SHARD"; + +// GTLRFirebaseAppHosting_CustomDomainOperationMetadata.ownershipState +NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_OwnershipState_OwnershipActive = @"OWNERSHIP_ACTIVE"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_OwnershipState_OwnershipConflict = @"OWNERSHIP_CONFLICT"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_OwnershipState_OwnershipMismatch = @"OWNERSHIP_MISMATCH"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_OwnershipState_OwnershipMissing = @"OWNERSHIP_MISSING"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_OwnershipState_OwnershipPending = @"OWNERSHIP_PENDING"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_OwnershipState_OwnershipStateUnspecified = @"OWNERSHIP_STATE_UNSPECIFIED"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_OwnershipState_OwnershipUnreachable = @"OWNERSHIP_UNREACHABLE"; + +// GTLRFirebaseAppHosting_CustomDomainStatus.certState +NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_CertState_CertActive = @"CERT_ACTIVE"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_CertState_CertExpired = @"CERT_EXPIRED"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_CertState_CertExpiringSoon = @"CERT_EXPIRING_SOON"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_CertState_CertPreparing = @"CERT_PREPARING"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_CertState_CertPropagating = @"CERT_PROPAGATING"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_CertState_CertStateUnspecified = @"CERT_STATE_UNSPECIFIED"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_CertState_CertValidating = @"CERT_VALIDATING"; + +// GTLRFirebaseAppHosting_CustomDomainStatus.hostState +NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_HostState_HostActive = @"HOST_ACTIVE"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_HostState_HostConflict = @"HOST_CONFLICT"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_HostState_HostNonFah = @"HOST_NON_FAH"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_HostState_HostStateUnspecified = @"HOST_STATE_UNSPECIFIED"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_HostState_HostUnhosted = @"HOST_UNHOSTED"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_HostState_HostUnreachable = @"HOST_UNREACHABLE"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_HostState_HostWrongShard = @"HOST_WRONG_SHARD"; + +// GTLRFirebaseAppHosting_CustomDomainStatus.ownershipState +NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_OwnershipState_OwnershipActive = @"OWNERSHIP_ACTIVE"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_OwnershipState_OwnershipConflict = @"OWNERSHIP_CONFLICT"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_OwnershipState_OwnershipMismatch = @"OWNERSHIP_MISMATCH"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_OwnershipState_OwnershipMissing = @"OWNERSHIP_MISSING"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_OwnershipState_OwnershipPending = @"OWNERSHIP_PENDING"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_OwnershipState_OwnershipStateUnspecified = @"OWNERSHIP_STATE_UNSPECIFIED"; +NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_OwnershipState_OwnershipUnreachable = @"OWNERSHIP_UNREACHABLE"; + +// GTLRFirebaseAppHosting_DnsRecord.relevantState +NSString * const kGTLRFirebaseAppHosting_DnsRecord_RelevantState_CertState = @"CERT_STATE"; +NSString * const kGTLRFirebaseAppHosting_DnsRecord_RelevantState_CustomDomainStateUnspecified = @"CUSTOM_DOMAIN_STATE_UNSPECIFIED"; +NSString * const kGTLRFirebaseAppHosting_DnsRecord_RelevantState_HostState = @"HOST_STATE"; +NSString * const kGTLRFirebaseAppHosting_DnsRecord_RelevantState_OwnershipState = @"OWNERSHIP_STATE"; + +// GTLRFirebaseAppHosting_DnsRecord.requiredAction +NSString * const kGTLRFirebaseAppHosting_DnsRecord_RequiredAction_Add = @"ADD"; +NSString * const kGTLRFirebaseAppHosting_DnsRecord_RequiredAction_None = @"NONE"; +NSString * const kGTLRFirebaseAppHosting_DnsRecord_RequiredAction_Remove = @"REMOVE"; + +// GTLRFirebaseAppHosting_DnsRecord.type +NSString * const kGTLRFirebaseAppHosting_DnsRecord_Type_A = @"A"; +NSString * const kGTLRFirebaseAppHosting_DnsRecord_Type_Aaaa = @"AAAA"; +NSString * const kGTLRFirebaseAppHosting_DnsRecord_Type_Caa = @"CAA"; +NSString * const kGTLRFirebaseAppHosting_DnsRecord_Type_Cname = @"CNAME"; +NSString * const kGTLRFirebaseAppHosting_DnsRecord_Type_Txt = @"TXT"; +NSString * const kGTLRFirebaseAppHosting_DnsRecord_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; + +// GTLRFirebaseAppHosting_Domain.type +NSString * const kGTLRFirebaseAppHosting_Domain_Type_Custom = @"CUSTOM"; +NSString * const kGTLRFirebaseAppHosting_Domain_Type_Default = @"DEFAULT"; +NSString * const kGTLRFirebaseAppHosting_Domain_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; + +// GTLRFirebaseAppHosting_EnvironmentVariable.availability +NSString * const kGTLRFirebaseAppHosting_EnvironmentVariable_Availability_AvailabilityUnspecified = @"AVAILABILITY_UNSPECIFIED"; +NSString * const kGTLRFirebaseAppHosting_EnvironmentVariable_Availability_Build = @"BUILD"; +NSString * const kGTLRFirebaseAppHosting_EnvironmentVariable_Availability_Runtime = @"RUNTIME"; + +// GTLRFirebaseAppHosting_Error.errorSource +NSString * const kGTLRFirebaseAppHosting_Error_ErrorSource_CloudBuild = @"CLOUD_BUILD"; +NSString * const kGTLRFirebaseAppHosting_Error_ErrorSource_CloudRun = @"CLOUD_RUN"; +NSString * const kGTLRFirebaseAppHosting_Error_ErrorSource_ErrorSourceUnspecified = @"ERROR_SOURCE_UNSPECIFIED"; + +// GTLRFirebaseAppHosting_LiveMigrationStep.relevantDomainStates +NSString * const kGTLRFirebaseAppHosting_LiveMigrationStep_RelevantDomainStates_CertState = @"CERT_STATE"; +NSString * const kGTLRFirebaseAppHosting_LiveMigrationStep_RelevantDomainStates_CustomDomainStateUnspecified = @"CUSTOM_DOMAIN_STATE_UNSPECIFIED"; +NSString * const kGTLRFirebaseAppHosting_LiveMigrationStep_RelevantDomainStates_HostState = @"HOST_STATE"; +NSString * const kGTLRFirebaseAppHosting_LiveMigrationStep_RelevantDomainStates_OwnershipState = @"OWNERSHIP_STATE"; + +// GTLRFirebaseAppHosting_LiveMigrationStep.stepState +NSString * const kGTLRFirebaseAppHosting_LiveMigrationStep_StepState_Complete = @"COMPLETE"; +NSString * const kGTLRFirebaseAppHosting_LiveMigrationStep_StepState_Incomplete = @"INCOMPLETE"; +NSString * const kGTLRFirebaseAppHosting_LiveMigrationStep_StepState_Pending = @"PENDING"; +NSString * const kGTLRFirebaseAppHosting_LiveMigrationStep_StepState_Preparing = @"PREPARING"; +NSString * const kGTLRFirebaseAppHosting_LiveMigrationStep_StepState_Processing = @"PROCESSING"; +NSString * const kGTLRFirebaseAppHosting_LiveMigrationStep_StepState_StepStateUnspecified = @"STEP_STATE_UNSPECIFIED"; + +// GTLRFirebaseAppHosting_Rollout.state +NSString * const kGTLRFirebaseAppHosting_Rollout_State_Cancelled = @"CANCELLED"; +NSString * const kGTLRFirebaseAppHosting_Rollout_State_Failed = @"FAILED"; +NSString * const kGTLRFirebaseAppHosting_Rollout_State_Paused = @"PAUSED"; +NSString * const kGTLRFirebaseAppHosting_Rollout_State_PendingBuild = @"PENDING_BUILD"; +NSString * const kGTLRFirebaseAppHosting_Rollout_State_Progressing = @"PROGRESSING"; +NSString * const kGTLRFirebaseAppHosting_Rollout_State_Queued = @"QUEUED"; +NSString * const kGTLRFirebaseAppHosting_Rollout_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRFirebaseAppHosting_Rollout_State_Succeeded = @"SUCCEEDED"; + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Backend +// + +@implementation GTLRFirebaseAppHosting_Backend +@dynamic annotations, appId, codebase, createTime, deleteTime, displayName, + environment, ETag, labels, managedResources, mode, name, reconciling, + serviceAccount, servingLocality, uid, updateTime, uri; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"managedResources" : [GTLRFirebaseAppHosting_ManagedResource class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Backend_Annotations +// + +@implementation GTLRFirebaseAppHosting_Backend_Annotations + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Backend_Labels +// + +@implementation GTLRFirebaseAppHosting_Backend_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Build +// + +@implementation GTLRFirebaseAppHosting_Build +@dynamic annotations, buildLogsUri, config, createTime, deleteTime, displayName, + environment, errors, ETag, image, labels, name, reconciling, source, + state, uid, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"errors" : [GTLRFirebaseAppHosting_Error class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Build_Annotations +// + +@implementation GTLRFirebaseAppHosting_Build_Annotations + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Build_Labels +// + +@implementation GTLRFirebaseAppHosting_Build_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_BuildSource +// + +@implementation GTLRFirebaseAppHosting_BuildSource +@dynamic codebase, container; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_CancelOperationRequest +// + +@implementation GTLRFirebaseAppHosting_CancelOperationRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Codebase +// + +@implementation GTLRFirebaseAppHosting_Codebase +@dynamic repository, rootDirectory; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_CodebaseSource +// + +@implementation GTLRFirebaseAppHosting_CodebaseSource +@dynamic author, branch, commit, commitMessage, commitTime, displayName, + hashProperty, uri; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"hashProperty" : @"hash" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Config +// + +@implementation GTLRFirebaseAppHosting_Config +@dynamic env, runConfig; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"env" : [GTLRFirebaseAppHosting_EnvironmentVariable class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_ContainerSource +// + +@implementation GTLRFirebaseAppHosting_ContainerSource +@dynamic image; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_CustomDomainOperationMetadata +// + +@implementation GTLRFirebaseAppHosting_CustomDomainOperationMetadata +@dynamic certState, hostState, issues, liveMigrationSteps, ownershipState, + quickSetupUpdates; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"issues" : [GTLRFirebaseAppHosting_Status class], + @"liveMigrationSteps" : [GTLRFirebaseAppHosting_LiveMigrationStep class], + @"quickSetupUpdates" : [GTLRFirebaseAppHosting_DnsUpdates class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_CustomDomainStatus +// + +@implementation GTLRFirebaseAppHosting_CustomDomainStatus +@dynamic certState, hostState, issues, ownershipState, requiredDnsUpdates; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"issues" : [GTLRFirebaseAppHosting_Status class], + @"requiredDnsUpdates" : [GTLRFirebaseAppHosting_DnsUpdates class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_DnsRecord +// + +@implementation GTLRFirebaseAppHosting_DnsRecord +@dynamic domainName, rdata, relevantState, requiredAction, type; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"relevantState" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_DnsRecordSet +// + +@implementation GTLRFirebaseAppHosting_DnsRecordSet +@dynamic checkError, domainName, records; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"records" : [GTLRFirebaseAppHosting_DnsRecord class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_DnsUpdates +// + +@implementation GTLRFirebaseAppHosting_DnsUpdates +@dynamic checkTime, desired, discovered, domainName; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"desired" : [GTLRFirebaseAppHosting_DnsRecordSet class], + @"discovered" : [GTLRFirebaseAppHosting_DnsRecordSet class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Domain +// + +@implementation GTLRFirebaseAppHosting_Domain +@dynamic annotations, createTime, customDomainStatus, deleteTime, disabled, + displayName, ETag, labels, name, reconciling, serve, type, uid, + updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Domain_Annotations +// + +@implementation GTLRFirebaseAppHosting_Domain_Annotations + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Domain_Labels +// + +@implementation GTLRFirebaseAppHosting_Domain_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_DomainOperationMetadata +// + +@implementation GTLRFirebaseAppHosting_DomainOperationMetadata +@dynamic apiVersion, createTime, customDomainOperationMetadata, endTime, + requestedCancellation, statusMessage, target, verb; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Empty +// + +@implementation GTLRFirebaseAppHosting_Empty +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_EnvironmentVariable +// + +@implementation GTLRFirebaseAppHosting_EnvironmentVariable +@dynamic availability, secret, value, variable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"availability" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Error +// + +@implementation GTLRFirebaseAppHosting_Error +@dynamic cloudResource, error, errorSource; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_ListBackendsResponse +// + +@implementation GTLRFirebaseAppHosting_ListBackendsResponse +@dynamic backends, nextPageToken, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"backends" : [GTLRFirebaseAppHosting_Backend class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"backends"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_ListBuildsResponse +// + +@implementation GTLRFirebaseAppHosting_ListBuildsResponse +@dynamic builds, nextPageToken, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"builds" : [GTLRFirebaseAppHosting_Build class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"builds"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_ListDomainsResponse +// + +@implementation GTLRFirebaseAppHosting_ListDomainsResponse +@dynamic domains, nextPageToken, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"domains" : [GTLRFirebaseAppHosting_Domain class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"domains"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_ListLocationsResponse +// + +@implementation GTLRFirebaseAppHosting_ListLocationsResponse +@dynamic locations, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"locations" : [GTLRFirebaseAppHosting_Location class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"locations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_ListOperationsResponse +// + +@implementation GTLRFirebaseAppHosting_ListOperationsResponse +@dynamic nextPageToken, operations; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"operations" : [GTLRFirebaseAppHosting_Operation class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"operations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_ListRolloutsResponse +// + +@implementation GTLRFirebaseAppHosting_ListRolloutsResponse +@dynamic nextPageToken, rollouts, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"rollouts" : [GTLRFirebaseAppHosting_Rollout class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"rollouts"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_LiveMigrationStep +// + +@implementation GTLRFirebaseAppHosting_LiveMigrationStep +@dynamic dnsUpdates, issues, relevantDomainStates, stepState; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dnsUpdates" : [GTLRFirebaseAppHosting_DnsUpdates class], + @"issues" : [GTLRFirebaseAppHosting_Status class], + @"relevantDomainStates" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Location +// + +@implementation GTLRFirebaseAppHosting_Location +@dynamic displayName, labels, locationId, metadata, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Location_Labels +// + +@implementation GTLRFirebaseAppHosting_Location_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Location_Metadata +// + +@implementation GTLRFirebaseAppHosting_Location_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_ManagedResource +// + +@implementation GTLRFirebaseAppHosting_ManagedResource +@dynamic runService; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Operation +// + +@implementation GTLRFirebaseAppHosting_Operation +@dynamic done, error, metadata, name, response; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Operation_Metadata +// + +@implementation GTLRFirebaseAppHosting_Operation_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Operation_Response +// + +@implementation GTLRFirebaseAppHosting_Operation_Response + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_OperationMetadata +// + +@implementation GTLRFirebaseAppHosting_OperationMetadata +@dynamic apiVersion, createTime, endTime, requestedCancellation, statusMessage, + target, verb; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Redirect +// + +@implementation GTLRFirebaseAppHosting_Redirect +@dynamic status, uri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Rollout +// + +@implementation GTLRFirebaseAppHosting_Rollout +@dynamic annotations, build, createTime, deleteTime, displayName, error, ETag, + labels, name, reconciling, state, uid, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Rollout_Annotations +// + +@implementation GTLRFirebaseAppHosting_Rollout_Annotations + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Rollout_Labels +// + +@implementation GTLRFirebaseAppHosting_Rollout_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_RolloutPolicy +// + +@implementation GTLRFirebaseAppHosting_RolloutPolicy +@dynamic codebaseBranch, disabled, disabledTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_RunConfig +// + +@implementation GTLRFirebaseAppHosting_RunConfig +@dynamic concurrency, cpu, maxInstances, memoryMib, minInstances; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_RunService +// + +@implementation GTLRFirebaseAppHosting_RunService +@dynamic service; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_ServingBehavior +// + +@implementation GTLRFirebaseAppHosting_ServingBehavior +@dynamic redirect; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Status +// + +@implementation GTLRFirebaseAppHosting_Status +@dynamic code, details, message; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"details" : [GTLRFirebaseAppHosting_Status_Details_Item class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Status_Details_Item +// + +@implementation GTLRFirebaseAppHosting_Status_Details_Item + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Traffic +// + +@implementation GTLRFirebaseAppHosting_Traffic +@dynamic annotations, createTime, current, ETag, labels, name, reconciling, + rolloutPolicy, target, uid, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Traffic_Annotations +// + +@implementation GTLRFirebaseAppHosting_Traffic_Annotations + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_Traffic_Labels +// + +@implementation GTLRFirebaseAppHosting_Traffic_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_TrafficSet +// + +@implementation GTLRFirebaseAppHosting_TrafficSet +@dynamic splits; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"splits" : [GTLRFirebaseAppHosting_TrafficSplit class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_TrafficSplit +// + +@implementation GTLRFirebaseAppHosting_TrafficSplit +@dynamic build, percent; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirebaseAppHosting_UserMetadata +// + +@implementation GTLRFirebaseAppHosting_UserMetadata +@dynamic displayName, email, imageUri; +@end diff --git a/Sources/GeneratedServices/FirebaseAppHosting/GTLRFirebaseAppHostingQuery.m b/Sources/GeneratedServices/FirebaseAppHosting/GTLRFirebaseAppHostingQuery.m new file mode 100644 index 000000000..0b7680f74 --- /dev/null +++ b/Sources/GeneratedServices/FirebaseAppHosting/GTLRFirebaseAppHostingQuery.m @@ -0,0 +1,581 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Firebase App Hosting API (firebaseapphosting/v1) +// Description: +// Firebase App Hosting streamlines the development and deployment of dynamic +// Next.js and Angular applications, offering built-in framework support, +// GitHub integration, and integration with other Firebase products. You can +// use this API to intervene in the Firebase App Hosting build process and add +// custom functionality not supported in our default Console & CLI flows, +// including triggering builds from external CI/CD workflows or deploying from +// pre-built container images. +// Documentation: +// https://firebase.google.com/docs/app-hosting + +#import + +@implementation GTLRFirebaseAppHostingQuery + +@dynamic fields; + +@end + +@implementation GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsBuildsCreate + +@dynamic buildId, parent, requestId, validateOnly; + ++ (instancetype)queryWithObject:(GTLRFirebaseAppHosting_Build *)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}/builds"; + GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsBuildsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRFirebaseAppHosting_Operation class]; + query.loggingName = @"firebaseapphosting.projects.locations.backends.builds.create"; + return query; +} + +@end + +@implementation GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsBuildsDelete + +@dynamic ETag, name, requestId, validateOnly; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsBuildsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRFirebaseAppHosting_Operation class]; + query.loggingName = @"firebaseapphosting.projects.locations.backends.builds.delete"; + return query; +} + +@end + +@implementation GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsBuildsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsBuildsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRFirebaseAppHosting_Build class]; + query.loggingName = @"firebaseapphosting.projects.locations.backends.builds.get"; + return query; +} + +@end + +@implementation GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsBuildsList + +@dynamic filter, orderBy, pageSize, pageToken, parent, showDeleted; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/builds"; + GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsBuildsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRFirebaseAppHosting_ListBuildsResponse class]; + query.loggingName = @"firebaseapphosting.projects.locations.backends.builds.list"; + return query; +} + +@end + +@implementation GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsCreate + +@dynamic backendId, parent, requestId, validateOnly; + ++ (instancetype)queryWithObject:(GTLRFirebaseAppHosting_Backend *)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}/backends"; + GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRFirebaseAppHosting_Operation class]; + query.loggingName = @"firebaseapphosting.projects.locations.backends.create"; + return query; +} + +@end + +@implementation GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsDelete + +@dynamic ETag, force, name, requestId, validateOnly; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRFirebaseAppHosting_Operation class]; + query.loggingName = @"firebaseapphosting.projects.locations.backends.delete"; + return query; +} + +@end + +@implementation GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsDomainsCreate + +@dynamic domainId, parent, requestId, validateOnly; + ++ (instancetype)queryWithObject:(GTLRFirebaseAppHosting_Domain *)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}/domains"; + GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsDomainsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRFirebaseAppHosting_Operation class]; + query.loggingName = @"firebaseapphosting.projects.locations.backends.domains.create"; + return query; +} + +@end + +@implementation GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsDomainsDelete + +@dynamic ETag, name, requestId, validateOnly; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsDomainsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRFirebaseAppHosting_Operation class]; + query.loggingName = @"firebaseapphosting.projects.locations.backends.domains.delete"; + return query; +} + +@end + +@implementation GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsDomainsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsDomainsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRFirebaseAppHosting_Domain class]; + query.loggingName = @"firebaseapphosting.projects.locations.backends.domains.get"; + return query; +} + +@end + +@implementation GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsDomainsList + +@dynamic filter, orderBy, pageSize, pageToken, parent, showDeleted; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/domains"; + GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsDomainsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRFirebaseAppHosting_ListDomainsResponse class]; + query.loggingName = @"firebaseapphosting.projects.locations.backends.domains.list"; + return query; +} + +@end + +@implementation GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsDomainsPatch + +@dynamic allowMissing, name, requestId, updateMask, validateOnly; + ++ (instancetype)queryWithObject:(GTLRFirebaseAppHosting_Domain *)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}"; + GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsDomainsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRFirebaseAppHosting_Operation class]; + query.loggingName = @"firebaseapphosting.projects.locations.backends.domains.patch"; + return query; +} + +@end + +@implementation GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRFirebaseAppHosting_Backend class]; + query.loggingName = @"firebaseapphosting.projects.locations.backends.get"; + return query; +} + +@end + +@implementation GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsList + +@dynamic filter, orderBy, pageSize, pageToken, parent, showDeleted; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/backends"; + GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRFirebaseAppHosting_ListBackendsResponse class]; + query.loggingName = @"firebaseapphosting.projects.locations.backends.list"; + return query; +} + +@end + +@implementation GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsPatch + +@dynamic allowMissing, name, requestId, updateMask, validateOnly; + ++ (instancetype)queryWithObject:(GTLRFirebaseAppHosting_Backend *)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}"; + GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRFirebaseAppHosting_Operation class]; + query.loggingName = @"firebaseapphosting.projects.locations.backends.patch"; + return query; +} + +@end + +@implementation GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsRolloutsCreate + +@dynamic parent, requestId, rolloutId, validateOnly; + ++ (instancetype)queryWithObject:(GTLRFirebaseAppHosting_Rollout *)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}/rollouts"; + GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsRolloutsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRFirebaseAppHosting_Operation class]; + query.loggingName = @"firebaseapphosting.projects.locations.backends.rollouts.create"; + return query; +} + +@end + +@implementation GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsRolloutsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsRolloutsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRFirebaseAppHosting_Rollout class]; + query.loggingName = @"firebaseapphosting.projects.locations.backends.rollouts.get"; + return query; +} + +@end + +@implementation GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsRolloutsList + +@dynamic filter, orderBy, pageSize, pageToken, parent, showDeleted; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/rollouts"; + GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsRolloutsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRFirebaseAppHosting_ListRolloutsResponse class]; + query.loggingName = @"firebaseapphosting.projects.locations.backends.rollouts.list"; + return query; +} + +@end + +@implementation GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsTrafficGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsTrafficGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRFirebaseAppHosting_Traffic class]; + query.loggingName = @"firebaseapphosting.projects.locations.backends.traffic.get"; + return query; +} + +@end + +@implementation GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsTrafficPatch + +@dynamic name, requestId, updateMask, validateOnly; + ++ (instancetype)queryWithObject:(GTLRFirebaseAppHosting_Traffic *)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}"; + GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsTrafficPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRFirebaseAppHosting_Operation class]; + query.loggingName = @"firebaseapphosting.projects.locations.backends.traffic.patch"; + return query; +} + +@end + +@implementation GTLRFirebaseAppHostingQuery_ProjectsLocationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRFirebaseAppHostingQuery_ProjectsLocationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRFirebaseAppHosting_Location class]; + query.loggingName = @"firebaseapphosting.projects.locations.get"; + return query; +} + +@end + +@implementation GTLRFirebaseAppHostingQuery_ProjectsLocationsList + +@dynamic extraLocationTypes, filter, name, pageSize, pageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"extraLocationTypes" : [NSString class] + }; + return map; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/locations"; + GTLRFirebaseAppHostingQuery_ProjectsLocationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRFirebaseAppHosting_ListLocationsResponse class]; + query.loggingName = @"firebaseapphosting.projects.locations.list"; + return query; +} + +@end + +@implementation GTLRFirebaseAppHostingQuery_ProjectsLocationsOperationsCancel + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRFirebaseAppHosting_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"; + GTLRFirebaseAppHostingQuery_ProjectsLocationsOperationsCancel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRFirebaseAppHosting_Empty class]; + query.loggingName = @"firebaseapphosting.projects.locations.operations.cancel"; + return query; +} + +@end + +@implementation GTLRFirebaseAppHostingQuery_ProjectsLocationsOperationsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRFirebaseAppHostingQuery_ProjectsLocationsOperationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRFirebaseAppHosting_Empty class]; + query.loggingName = @"firebaseapphosting.projects.locations.operations.delete"; + return query; +} + +@end + +@implementation GTLRFirebaseAppHostingQuery_ProjectsLocationsOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRFirebaseAppHostingQuery_ProjectsLocationsOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRFirebaseAppHosting_Operation class]; + query.loggingName = @"firebaseapphosting.projects.locations.operations.get"; + return query; +} + +@end + +@implementation GTLRFirebaseAppHostingQuery_ProjectsLocationsOperationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/operations"; + GTLRFirebaseAppHostingQuery_ProjectsLocationsOperationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRFirebaseAppHosting_ListOperationsResponse class]; + query.loggingName = @"firebaseapphosting.projects.locations.operations.list"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/FirebaseAppHosting/GTLRFirebaseAppHostingService.m b/Sources/GeneratedServices/FirebaseAppHosting/GTLRFirebaseAppHostingService.m new file mode 100644 index 000000000..e2eff4a55 --- /dev/null +++ b/Sources/GeneratedServices/FirebaseAppHosting/GTLRFirebaseAppHostingService.m @@ -0,0 +1,41 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Firebase App Hosting API (firebaseapphosting/v1) +// Description: +// Firebase App Hosting streamlines the development and deployment of dynamic +// Next.js and Angular applications, offering built-in framework support, +// GitHub integration, and integration with other Firebase products. You can +// use this API to intervene in the Firebase App Hosting build process and add +// custom functionality not supported in our default Console & CLI flows, +// including triggering builds from external CI/CD workflows or deploying from +// pre-built container images. +// Documentation: +// https://firebase.google.com/docs/app-hosting + +#import + +// ---------------------------------------------------------------------------- +// Authorization scope + +NSString * const kGTLRAuthScopeFirebaseAppHostingCloudPlatform = @"https://www.googleapis.com/auth/cloud-platform"; + +// ---------------------------------------------------------------------------- +// GTLRFirebaseAppHostingService +// + +@implementation GTLRFirebaseAppHostingService + +- (instancetype)init { + self = [super init]; + if (self) { + // From discovery. + self.rootURLString = @"https://firebaseapphosting.googleapis.com/"; + self.batchPath = @"batch"; + self.prettyPrintQueryParameterNames = @[ @"prettyPrint" ]; + } + return self; +} + +@end diff --git a/Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHosting.h b/Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHosting.h new file mode 100644 index 000000000..ce49be6f0 --- /dev/null +++ b/Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHosting.h @@ -0,0 +1,19 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Firebase App Hosting API (firebaseapphosting/v1) +// Description: +// Firebase App Hosting streamlines the development and deployment of dynamic +// Next.js and Angular applications, offering built-in framework support, +// GitHub integration, and integration with other Firebase products. You can +// use this API to intervene in the Firebase App Hosting build process and add +// custom functionality not supported in our default Console & CLI flows, +// including triggering builds from external CI/CD workflows or deploying from +// pre-built container images. +// Documentation: +// https://firebase.google.com/docs/app-hosting + +#import "GTLRFirebaseAppHostingObjects.h" +#import "GTLRFirebaseAppHostingQuery.h" +#import "GTLRFirebaseAppHostingService.h" diff --git a/Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingObjects.h b/Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingObjects.h new file mode 100644 index 000000000..0f2d7a768 --- /dev/null +++ b/Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingObjects.h @@ -0,0 +1,2738 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Firebase App Hosting API (firebaseapphosting/v1) +// Description: +// Firebase App Hosting streamlines the development and deployment of dynamic +// Next.js and Angular applications, offering built-in framework support, +// GitHub integration, and integration with other Firebase products. You can +// use this API to intervene in the Firebase App Hosting build process and add +// custom functionality not supported in our default Console & CLI flows, +// including triggering builds from external CI/CD workflows or deploying from +// pre-built container images. +// Documentation: +// https://firebase.google.com/docs/app-hosting + +#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 GTLRFirebaseAppHosting_Backend; +@class GTLRFirebaseAppHosting_Backend_Annotations; +@class GTLRFirebaseAppHosting_Backend_Labels; +@class GTLRFirebaseAppHosting_Build; +@class GTLRFirebaseAppHosting_Build_Annotations; +@class GTLRFirebaseAppHosting_Build_Labels; +@class GTLRFirebaseAppHosting_BuildSource; +@class GTLRFirebaseAppHosting_Codebase; +@class GTLRFirebaseAppHosting_CodebaseSource; +@class GTLRFirebaseAppHosting_Config; +@class GTLRFirebaseAppHosting_ContainerSource; +@class GTLRFirebaseAppHosting_CustomDomainOperationMetadata; +@class GTLRFirebaseAppHosting_CustomDomainStatus; +@class GTLRFirebaseAppHosting_DnsRecord; +@class GTLRFirebaseAppHosting_DnsRecordSet; +@class GTLRFirebaseAppHosting_DnsUpdates; +@class GTLRFirebaseAppHosting_Domain; +@class GTLRFirebaseAppHosting_Domain_Annotations; +@class GTLRFirebaseAppHosting_Domain_Labels; +@class GTLRFirebaseAppHosting_EnvironmentVariable; +@class GTLRFirebaseAppHosting_Error; +@class GTLRFirebaseAppHosting_LiveMigrationStep; +@class GTLRFirebaseAppHosting_Location; +@class GTLRFirebaseAppHosting_Location_Labels; +@class GTLRFirebaseAppHosting_Location_Metadata; +@class GTLRFirebaseAppHosting_ManagedResource; +@class GTLRFirebaseAppHosting_Operation; +@class GTLRFirebaseAppHosting_Operation_Metadata; +@class GTLRFirebaseAppHosting_Operation_Response; +@class GTLRFirebaseAppHosting_Redirect; +@class GTLRFirebaseAppHosting_Rollout; +@class GTLRFirebaseAppHosting_Rollout_Annotations; +@class GTLRFirebaseAppHosting_Rollout_Labels; +@class GTLRFirebaseAppHosting_RolloutPolicy; +@class GTLRFirebaseAppHosting_RunConfig; +@class GTLRFirebaseAppHosting_RunService; +@class GTLRFirebaseAppHosting_ServingBehavior; +@class GTLRFirebaseAppHosting_Status; +@class GTLRFirebaseAppHosting_Status_Details_Item; +@class GTLRFirebaseAppHosting_Traffic_Annotations; +@class GTLRFirebaseAppHosting_Traffic_Labels; +@class GTLRFirebaseAppHosting_TrafficSet; +@class GTLRFirebaseAppHosting_TrafficSplit; +@class GTLRFirebaseAppHosting_UserMetadata; + +// 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. + +// ---------------------------------------------------------------------------- +// GTLRFirebaseAppHosting_Backend.servingLocality + +/** + * In this mode, App Hosting serves your backend's content from multiple + * points-of-presence (POP) across the globe. App Hosting replicates your + * backend's configuration and cached data to these POPs and uses a global CDN + * to further decrease response latency. App Hosting-maintained Cloud Resources + * on your project, such as Cloud Run services, Cloud Build build, and Artifact + * Registry Images are still confined to your backend's parent region. + * Responses cached by the CDN may be stored in the POPs for the duration of + * the cache's TTL. + * + * Value: "GLOBAL_ACCESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Backend_ServingLocality_GlobalAccess; +/** + * In this mode, App Hosting serves your backend's content from your chosen + * parent region. App Hosting only maintains data and serving infrastructure in + * that chosen region and does not replicate your data to other regions. + * + * Value: "REGIONAL_STRICT" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Backend_ServingLocality_RegionalStrict; +/** + * Unspecified. Will return an error if used. + * + * Value: "SERVING_LOCALITY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Backend_ServingLocality_ServingLocalityUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRFirebaseAppHosting_Build.state + +/** + * The build is building. + * + * Value: "BUILDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Build_State_Building; +/** + * The build has completed and is awaiting the next step. This may move to + * DEPLOYING once App Hosting starts to set up infrastructure. + * + * Value: "BUILT" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Build_State_Built; +/** + * The infrastructure for this build is being set up. + * + * Value: "DEPLOYING" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Build_State_Deploying; +/** + * The build has failed. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Build_State_Failed; +/** + * The infrastructure for this build is ready. The build may or may not be + * serving traffic - see `Backend.traffic` for the current state, or + * `Backend.traffic_statuses` for the desired state. + * + * Value: "READY" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Build_State_Ready; +/** + * The build is in an unknown state. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Build_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRFirebaseAppHosting_CustomDomainOperationMetadata.certState + +/** + * The certificate is active, providing secure connections for the domain names + * it represents. + * + * Value: "CERT_ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_CertState_CertActive; +/** + * The certificate has expired. App Hosting can no longer serve secure content + * on your domain name. + * + * Value: "CERT_EXPIRED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_CertState_CertExpired; +/** + * The certificate is expiring, all domain names on it will be given new + * certificates. + * + * Value: "CERT_EXPIRING_SOON" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_CertState_CertExpiringSoon; +/** + * The initial state of every certificate, represents App Hosting's intent to + * create a certificate before requests to a Certificate Authority are made. + * + * Value: "CERT_PREPARING" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_CertState_CertPreparing; +/** + * The certificate was recently created, and needs time to propagate in App + * Hosting's load balancers. + * + * Value: "CERT_PROPAGATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_CertState_CertPropagating; +/** + * The certificate's state is unspecified. The message is invalid if this is + * unspecified. + * + * Value: "CERT_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_CertState_CertStateUnspecified; +/** + * App Hosting is validating whether a domain name's DNS records are in a state + * that allow certificate creation on its behalf. + * + * Value: "CERT_VALIDATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_CertState_CertValidating; + +// ---------------------------------------------------------------------------- +// GTLRFirebaseAppHosting_CustomDomainOperationMetadata.hostState + +/** + * All requests against your domain are served by App Hosting, via your + * domain's assigned shard. If the custom domain's `OwnershipState` is also + * `OWNERSHIP_ACTIVE`, App Hosting serves its backend's content on requests for + * the domain. + * + * Value: "HOST_ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_HostState_HostActive; +/** + * Your domain has IP addresses that resolve to both App Hosting and to other + * services. To ensure consistent results, remove `A` and `AAAA` records + * related to non-App-Hosting services. + * + * Value: "HOST_CONFLICT" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_HostState_HostConflict; +/** + * Your domain has only IP addresses that don't ultimately resolve to App + * Hosting. + * + * Value: "HOST_NON_FAH" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_HostState_HostNonFah; +/** + * Your custom domain's host state is unspecified. The message is invalid if + * this is unspecified. + * + * Value: "HOST_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_HostState_HostStateUnspecified; +/** + * Your custom domain isn't associated with any IP addresses. + * + * Value: "HOST_UNHOSTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_HostState_HostUnhosted; +/** + * Your custom domain can't be reached. App Hosting services' DNS queries to + * find your domain's IP addresses resulted in errors. See your + * `CustomDomainStatus`'s `issues` field for more details. + * + * Value: "HOST_UNREACHABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_HostState_HostUnreachable; +/** + * Your domain has IP addresses that resolve to an incorrect instance of the + * App Hosting Data Plane. App Hosting has multiple data plane instances to + * ensure high availability. The SSL certificate that App Hosting creates for + * your domain is only available on its assigned instance. If your domain's IP + * addresses resolve to an incorrect instance, App Hosting won't be able to + * serve secure content on it. + * + * Value: "HOST_WRONG_SHARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_HostState_HostWrongShard; + +// ---------------------------------------------------------------------------- +// GTLRFirebaseAppHosting_CustomDomainOperationMetadata.ownershipState + +/** + * Your custom domain owns its domain. + * + * Value: "OWNERSHIP_ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_OwnershipState_OwnershipActive; +/** + * Your custom domain has conflicting `TXT` records that indicate ownership by + * both your current custom domain one or more others. Remove the extraneous + * ownership records to grant the current custom domain ownership. + * + * Value: "OWNERSHIP_CONFLICT" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_OwnershipState_OwnershipConflict; +/** + * Your custom domain is owned by another App Hosting custom domain. Remove the + * conflicting records and replace them with records for your current custom + * domain. + * + * Value: "OWNERSHIP_MISMATCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_OwnershipState_OwnershipMismatch; +/** + * Your custom domain's domain has no App-Hosting-related ownership records; no + * backend is authorized to serve on the domain in this Origin shard. + * + * Value: "OWNERSHIP_MISSING" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_OwnershipState_OwnershipMissing; +/** + * Your custom domain's DNS records are configured correctly. App Hosting will + * transfer ownership of your domain to this custom domain within 24 hours. + * + * Value: "OWNERSHIP_PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_OwnershipState_OwnershipPending; +/** + * Your custom domain's ownership state is unspecified. This should never + * happen. + * + * Value: "OWNERSHIP_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_OwnershipState_OwnershipStateUnspecified; +/** + * Your custom domain can't be reached. App Hosting services' DNS queries to + * find your domain's ownership records resulted in errors. See your + * `CustomDomainStatus`'s `issues` field for more details. + * + * Value: "OWNERSHIP_UNREACHABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_OwnershipState_OwnershipUnreachable; + +// ---------------------------------------------------------------------------- +// GTLRFirebaseAppHosting_CustomDomainStatus.certState + +/** + * The certificate is active, providing secure connections for the domain names + * it represents. + * + * Value: "CERT_ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_CertState_CertActive; +/** + * The certificate has expired. App Hosting can no longer serve secure content + * on your domain name. + * + * Value: "CERT_EXPIRED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_CertState_CertExpired; +/** + * The certificate is expiring, all domain names on it will be given new + * certificates. + * + * Value: "CERT_EXPIRING_SOON" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_CertState_CertExpiringSoon; +/** + * The initial state of every certificate, represents App Hosting's intent to + * create a certificate before requests to a Certificate Authority are made. + * + * Value: "CERT_PREPARING" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_CertState_CertPreparing; +/** + * The certificate was recently created, and needs time to propagate in App + * Hosting's load balancers. + * + * Value: "CERT_PROPAGATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_CertState_CertPropagating; +/** + * The certificate's state is unspecified. The message is invalid if this is + * unspecified. + * + * Value: "CERT_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_CertState_CertStateUnspecified; +/** + * App Hosting is validating whether a domain name's DNS records are in a state + * that allow certificate creation on its behalf. + * + * Value: "CERT_VALIDATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_CertState_CertValidating; + +// ---------------------------------------------------------------------------- +// GTLRFirebaseAppHosting_CustomDomainStatus.hostState + +/** + * All requests against your domain are served by App Hosting, via your + * domain's assigned shard. If the custom domain's `OwnershipState` is also + * `OWNERSHIP_ACTIVE`, App Hosting serves its backend's content on requests for + * the domain. + * + * Value: "HOST_ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_HostState_HostActive; +/** + * Your domain has IP addresses that resolve to both App Hosting and to other + * services. To ensure consistent results, remove `A` and `AAAA` records + * related to non-App-Hosting services. + * + * Value: "HOST_CONFLICT" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_HostState_HostConflict; +/** + * Your domain has only IP addresses that don't ultimately resolve to App + * Hosting. + * + * Value: "HOST_NON_FAH" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_HostState_HostNonFah; +/** + * Your custom domain's host state is unspecified. The message is invalid if + * this is unspecified. + * + * Value: "HOST_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_HostState_HostStateUnspecified; +/** + * Your custom domain isn't associated with any IP addresses. + * + * Value: "HOST_UNHOSTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_HostState_HostUnhosted; +/** + * Your custom domain can't be reached. App Hosting services' DNS queries to + * find your domain's IP addresses resulted in errors. See your + * `CustomDomainStatus`'s `issues` field for more details. + * + * Value: "HOST_UNREACHABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_HostState_HostUnreachable; +/** + * Your domain has IP addresses that resolve to an incorrect instance of the + * App Hosting Data Plane. App Hosting has multiple data plane instances to + * ensure high availability. The SSL certificate that App Hosting creates for + * your domain is only available on its assigned instance. If your domain's IP + * addresses resolve to an incorrect instance, App Hosting won't be able to + * serve secure content on it. + * + * Value: "HOST_WRONG_SHARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_HostState_HostWrongShard; + +// ---------------------------------------------------------------------------- +// GTLRFirebaseAppHosting_CustomDomainStatus.ownershipState + +/** + * Your custom domain owns its domain. + * + * Value: "OWNERSHIP_ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_OwnershipState_OwnershipActive; +/** + * Your custom domain has conflicting `TXT` records that indicate ownership by + * both your current custom domain one or more others. Remove the extraneous + * ownership records to grant the current custom domain ownership. + * + * Value: "OWNERSHIP_CONFLICT" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_OwnershipState_OwnershipConflict; +/** + * Your custom domain is owned by another App Hosting custom domain. Remove the + * conflicting records and replace them with records for your current custom + * domain. + * + * Value: "OWNERSHIP_MISMATCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_OwnershipState_OwnershipMismatch; +/** + * Your custom domain's domain has no App-Hosting-related ownership records; no + * backend is authorized to serve on the domain in this Origin shard. + * + * Value: "OWNERSHIP_MISSING" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_OwnershipState_OwnershipMissing; +/** + * Your custom domain's DNS records are configured correctly. App Hosting will + * transfer ownership of your domain to this custom domain within 24 hours. + * + * Value: "OWNERSHIP_PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_OwnershipState_OwnershipPending; +/** + * Your custom domain's ownership state is unspecified. This should never + * happen. + * + * Value: "OWNERSHIP_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_OwnershipState_OwnershipStateUnspecified; +/** + * Your custom domain can't be reached. App Hosting services' DNS queries to + * find your domain's ownership records resulted in errors. See your + * `CustomDomainStatus`'s `issues` field for more details. + * + * Value: "OWNERSHIP_UNREACHABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_CustomDomainStatus_OwnershipState_OwnershipUnreachable; + +// ---------------------------------------------------------------------------- +// GTLRFirebaseAppHosting_DnsRecord.relevantState + +/** + * The custom domain's certificate state. + * + * Value: "CERT_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_DnsRecord_RelevantState_CertState; +/** + * This message is invalid if this is unspecified. + * + * Value: "CUSTOM_DOMAIN_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_DnsRecord_RelevantState_CustomDomainStateUnspecified; +/** + * The custom domain's host state. + * + * Value: "HOST_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_DnsRecord_RelevantState_HostState; +/** + * The custom domain's ownership state. + * + * Value: "OWNERSHIP_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_DnsRecord_RelevantState_OwnershipState; + +// ---------------------------------------------------------------------------- +// GTLRFirebaseAppHosting_DnsRecord.requiredAction + +/** + * Add this record to your DNS records. + * + * Value: "ADD" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_DnsRecord_RequiredAction_Add; +/** + * No action necessary. + * + * Value: "NONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_DnsRecord_RequiredAction_None; +/** + * Remove this record from your DNS records. + * + * Value: "REMOVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_DnsRecord_RequiredAction_Remove; + +// ---------------------------------------------------------------------------- +// GTLRFirebaseAppHosting_DnsRecord.type + +/** + * An `A` record, as defined in [RFC + * 1035](https://tools.ietf.org/html/rfc1035). A records determine which IPv4 + * addresses a domain directs traffic towards. + * + * Value: "A" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_DnsRecord_Type_A; +/** + * An AAAA record, as defined in [RFC + * 3596](https://tools.ietf.org/html/rfc3596) AAAA records determine which IPv6 + * addresses a domain directs traffic towards. + * + * Value: "AAAA" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_DnsRecord_Type_Aaaa; +/** + * A CAA record, as defined in [RFC 6844](https://tools.ietf.org/html/rfc6844). + * CAA, or Certificate Authority Authorization, records determine which + * Certificate Authorities (SSL certificate minting organizations) are + * authorized to mint a certificate for the domain. App Hosting uses `pki.goog` + * as its primary CA. CAA records cascade. A CAA record on `foo.com` also + * applies to `bar.foo.com` unless `bar.foo.com` has its own set of CAA + * records. CAA records are optional. If a domain and its parents have no CAA + * records, all CAs are authorized to mint certificates on its behalf. In + * general, App Hosting only asks you to modify CAA records when doing so is + * required to unblock SSL cert creation. + * + * Value: "CAA" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_DnsRecord_Type_Caa; +/** + * A `CNAME` record, as defined in [RFC + * 1035](https://tools.ietf.org/html/rfc1035). `CNAME` or Canonical Name + * records map a domain to a different, canonical domain. If a `CNAME` record + * is present, it should be the only record on the domain. + * + * Value: "CNAME" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_DnsRecord_Type_Cname; +/** + * A `TXT` record, as defined in [RFC + * 1035](https://tools.ietf.org/html/rfc1035). `TXT` records hold arbitrary + * text data on a domain. Hosting uses `TXT` records to establish which + * Firebase Project has permission to act on a domain. + * + * Value: "TXT" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_DnsRecord_Type_Txt; +/** + * The record's type is unspecified. The message is invalid if this is + * unspecified. + * + * Value: "TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_DnsRecord_Type_TypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRFirebaseAppHosting_Domain.type + +/** + * Custom, developer-owned domains. Custom Domains allow you to associate a + * domain you own with your App Hosting backend, and configure that domain to + * serve your backend's content. + * + * Value: "CUSTOM" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Domain_Type_Custom; +/** + * Default, App Hosting-provided and managed domains. These domains are created + * automatically with their parent backend and cannot be deleted except by + * deleting that parent, and cannot be moved to another backend. Default + * domains can be disabled via the `disabled` field. + * + * Value: "DEFAULT" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Domain_Type_Default; +/** + * The type is unspecified (this should not happen). + * + * Value: "TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Domain_Type_TypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRFirebaseAppHosting_EnvironmentVariable.availability + +/** + * The default value, unspecified, which is unused. + * + * Value: "AVAILABILITY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_EnvironmentVariable_Availability_AvailabilityUnspecified; +/** + * This value is available when creating a Build from source code. + * + * Value: "BUILD" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_EnvironmentVariable_Availability_Build; +/** + * This value is available at runtime within Cloud Run. + * + * Value: "RUNTIME" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_EnvironmentVariable_Availability_Runtime; + +// ---------------------------------------------------------------------------- +// GTLRFirebaseAppHosting_Error.errorSource + +/** + * Indicates that the build failed during the Cloud Build process, such as a + * build timeout. + * + * Value: "CLOUD_BUILD" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Error_ErrorSource_CloudBuild; +/** + * Indicates that the build failed during the Cloud Run process, such as a + * service creation failure. + * + * Value: "CLOUD_RUN" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Error_ErrorSource_CloudRun; +/** + * Indicates that generic error occurred outside of the Cloud Build or Cloud + * Run processes, such as a pre-empted or user-canceled App Hosting Build. + * + * Value: "ERROR_SOURCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Error_ErrorSource_ErrorSourceUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRFirebaseAppHosting_LiveMigrationStep.relevantDomainStates + +/** + * The custom domain's certificate state. + * + * Value: "CERT_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_LiveMigrationStep_RelevantDomainStates_CertState; +/** + * This message is invalid if this is unspecified. + * + * Value: "CUSTOM_DOMAIN_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_LiveMigrationStep_RelevantDomainStates_CustomDomainStateUnspecified; +/** + * The custom domain's host state. + * + * Value: "HOST_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_LiveMigrationStep_RelevantDomainStates_HostState; +/** + * The custom domain's ownership state. + * + * Value: "OWNERSHIP_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_LiveMigrationStep_RelevantDomainStates_OwnershipState; + +// ---------------------------------------------------------------------------- +// GTLRFirebaseAppHosting_LiveMigrationStep.stepState + +/** + * The step is complete. You've already made the necessary changes to your + * domain and/or prior hosting service to advance to the next step. Once all + * steps are complete, App Hosting is ready to serve secure content on your + * domain. + * + * Value: "COMPLETE" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_LiveMigrationStep_StepState_Complete; +/** + * The step is incomplete. You should complete any `dnsUpdates` changes to + * complete it. + * + * Value: "INCOMPLETE" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_LiveMigrationStep_StepState_Incomplete; +/** + * The step's state is pending. Complete prior steps before working on a + * `PENDING` step. + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_LiveMigrationStep_StepState_Pending; +/** + * App Hosting doesn't have enough information to construct the step yet. + * Complete any prior steps and/or resolve this step's issue to proceed. + * + * Value: "PREPARING" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_LiveMigrationStep_StepState_Preparing; +/** + * You've done your part to update records and present challenges as necessary. + * App Hosting is now completing background processes to complete the step, + * e.g. minting an SSL cert for your domain. + * + * Value: "PROCESSING" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_LiveMigrationStep_StepState_Processing; +/** + * The step's state is unspecified. The message is invalid if this is + * unspecified. + * + * Value: "STEP_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_LiveMigrationStep_StepState_StepStateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRFirebaseAppHosting_Rollout.state + +/** + * The rollout has been cancelled. + * + * Value: "CANCELLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Rollout_State_Cancelled; +/** + * The rollout has failed. See error for more information. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Rollout_State_Failed; +/** + * The rollout has been paused due to either being manually paused or a PAUSED + * stage. This should be set while `paused = true`. + * + * Value: "PAUSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Rollout_State_Paused; +/** + * The rollout is waiting for the build process to complete, which builds the + * code and sets up the underlying infrastructure. + * + * Value: "PENDING_BUILD" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Rollout_State_PendingBuild; +/** + * The rollout has started and is actively modifying traffic. + * + * Value: "PROGRESSING" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Rollout_State_Progressing; +/** + * The rollout is waiting for actuation to begin. This may be because it is + * waiting on another rollout to complete. + * + * Value: "QUEUED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Rollout_State_Queued; +/** + * The rollout is in an unknown state. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Rollout_State_StateUnspecified; +/** + * The rollout has completed. + * + * Value: "SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppHosting_Rollout_State_Succeeded; + +/** + * A backend is the primary resource of App Hosting. + */ +@interface GTLRFirebaseAppHosting_Backend : GTLRObject + +/** + * Optional. Unstructured key value map that may be set by external tools to + * store and arbitrary metadata. They are not queryable and should be preserved + * when modifying objects. + */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_Backend_Annotations *annotations; + +/** + * Optional. The [ID of a Web + * App](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects.webApps#WebApp.FIELDS.app_id) + * associated with the backend. + */ +@property(nonatomic, copy, nullable) NSString *appId; + +/** + * Optional. If specified, the connection to an external source repository to + * watch for event-driven updates to the backend. + */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_Codebase *codebase; + +/** Output only. Time at which the backend was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Output only. Time at which the backend was deleted. */ +@property(nonatomic, strong, nullable) GTLRDateTime *deleteTime; + +/** Optional. Human-readable name. 63 character limit. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Optional. The environment name of the backend, used to load environment + * variables from environment specific configuration. + */ +@property(nonatomic, copy, nullable) NSString *environment; + +/** + * Output only. Server-computed checksum based on other values; may be sent on + * update or delete to ensure operation is done on expected resource. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Optional. Unstructured key value map that can be used to organize and + * categorize objects. + */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_Backend_Labels *labels; + +/** Output only. A list of the resources managed by this backend. */ +@property(nonatomic, strong, nullable) NSArray *managedResources; + +/** Optional. Deprecated: Use `environment` instead. */ +@property(nonatomic, copy, nullable) NSString *mode GTLR_DEPRECATED; + +/** + * Identifier. The resource name of the backend. Format: + * `projects/{project}/locations/{locationId}/backends/{backendId}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. A field that, if true, indicates that the system is working to + * make adjustments to the backend during a LRO. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *reconciling; + +/** + * Required. The name of the service account used for Cloud Build and Cloud + * Run. Should have the role roles/firebaseapphosting.computeRunner or + * equivalent permissions. + */ +@property(nonatomic, copy, nullable) NSString *serviceAccount; + +/** + * Required. Immutable. Specifies how App Hosting will serve the content for + * this backend. It will either be contained to a single region + * (REGIONAL_STRICT) or allowed to use App Hosting's global-replicated serving + * infrastructure (GLOBAL_ACCESS). + * + * Likely values: + * @arg @c kGTLRFirebaseAppHosting_Backend_ServingLocality_GlobalAccess In + * this mode, App Hosting serves your backend's content from multiple + * points-of-presence (POP) across the globe. App Hosting replicates your + * backend's configuration and cached data to these POPs and uses a + * global CDN to further decrease response latency. App + * Hosting-maintained Cloud Resources on your project, such as Cloud Run + * services, Cloud Build build, and Artifact Registry Images are still + * confined to your backend's parent region. Responses cached by the CDN + * may be stored in the POPs for the duration of the cache's TTL. (Value: + * "GLOBAL_ACCESS") + * @arg @c kGTLRFirebaseAppHosting_Backend_ServingLocality_RegionalStrict In + * this mode, App Hosting serves your backend's content from your chosen + * parent region. App Hosting only maintains data and serving + * infrastructure in that chosen region and does not replicate your data + * to other regions. (Value: "REGIONAL_STRICT") + * @arg @c kGTLRFirebaseAppHosting_Backend_ServingLocality_ServingLocalityUnspecified + * Unspecified. Will return an error if used. (Value: + * "SERVING_LOCALITY_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *servingLocality; + +/** Output only. System-assigned, unique identifier. */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** Output only. Time at which the backend was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +/** Output only. The primary URI to communicate with the backend. */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + + +/** + * Optional. Unstructured key value map that may be set by external tools to + * store and arbitrary metadata. They are not queryable and should be preserved + * when modifying objects. + * + * @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 GTLRFirebaseAppHosting_Backend_Annotations : GTLRObject +@end + + +/** + * Optional. Unstructured key value map that can be used to organize and + * categorize objects. + * + * @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 GTLRFirebaseAppHosting_Backend_Labels : GTLRObject +@end + + +/** + * A single build for a backend, at a specific point codebase reference tag and + * point in time. Encapsulates several resources, including an Artifact + * Registry container image, a Cloud Build invocation that built the image, and + * the Cloud Run revision that uses that image. + */ +@interface GTLRFirebaseAppHosting_Build : GTLRObject + +/** + * Optional. Unstructured key value map that may be set by external tools to + * store and arbitrary metadata. They are not queryable and should be preserved + * when modifying objects. + */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_Build_Annotations *annotations; + +/** + * Output only. The location of the [Cloud Build + * logs](https://cloud.google.com/build/docs/view-build-results) for the build + * process. + */ +@property(nonatomic, copy, nullable) NSString *buildLogsUri; + +/** Optional. Additional configuration of the service. */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_Config *config; + +/** Output only. Time at which the build was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Output only. Time at which the build was deleted. */ +@property(nonatomic, strong, nullable) GTLRDateTime *deleteTime; + +/** Optional. Human-readable name. 63 character limit. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Output only. The environment name of the backend when this build was + * created. + */ +@property(nonatomic, copy, nullable) NSString *environment; + +/** + * Output only. A list of all errors that occurred during an App Hosting build. + */ +@property(nonatomic, strong, nullable) NSArray *errors; + +/** + * Output only. Server-computed checksum based on other values; may be sent on + * update or delete to ensure operation is done on expected resource. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Output only. The Artifact Registry [container + * image](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.dockerImages) + * URI, used by the Cloud Run + * [`revision`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services.revisions) + * for this build. + */ +@property(nonatomic, copy, nullable) NSString *image; + +/** + * Optional. Unstructured key value map that can be used to organize and + * categorize objects. + */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_Build_Labels *labels; + +/** + * Identifier. The resource name of the build. Format: + * `projects/{project}/locations/{locationId}/backends/{backendId}/builds/{buildId}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. A field that, if true, indicates that the build has an ongoing + * LRO. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *reconciling; + +/** Required. Immutable. The source for the build. */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_BuildSource *source; + +/** + * Output only. The state of the build. + * + * Likely values: + * @arg @c kGTLRFirebaseAppHosting_Build_State_Building The build is + * building. (Value: "BUILDING") + * @arg @c kGTLRFirebaseAppHosting_Build_State_Built The build has completed + * and is awaiting the next step. This may move to DEPLOYING once App + * Hosting starts to set up infrastructure. (Value: "BUILT") + * @arg @c kGTLRFirebaseAppHosting_Build_State_Deploying The infrastructure + * for this build is being set up. (Value: "DEPLOYING") + * @arg @c kGTLRFirebaseAppHosting_Build_State_Failed The build has failed. + * (Value: "FAILED") + * @arg @c kGTLRFirebaseAppHosting_Build_State_Ready The infrastructure for + * this build is ready. The build may or may not be serving traffic - see + * `Backend.traffic` for the current state, or `Backend.traffic_statuses` + * for the desired state. (Value: "READY") + * @arg @c kGTLRFirebaseAppHosting_Build_State_StateUnspecified The build is + * in an unknown state. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. System-assigned, unique identifier. */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** Output only. Time at which the build was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. Unstructured key value map that may be set by external tools to + * store and arbitrary metadata. They are not queryable and should be preserved + * when modifying objects. + * + * @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 GTLRFirebaseAppHosting_Build_Annotations : GTLRObject +@end + + +/** + * Optional. Unstructured key value map that can be used to organize and + * categorize objects. + * + * @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 GTLRFirebaseAppHosting_Build_Labels : GTLRObject +@end + + +/** + * The source for the build. + */ +@interface GTLRFirebaseAppHosting_BuildSource : GTLRObject + +/** A codebase source. */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_CodebaseSource *codebase; + +/** An Artifact Registry container image source. */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_ContainerSource *container; + +@end + + +/** + * The request message for Operations.CancelOperation. + */ +@interface GTLRFirebaseAppHosting_CancelOperationRequest : GTLRObject +@end + + +/** + * The connection to an external source repository to watch for event-driven + * updates to the backend. + */ +@interface GTLRFirebaseAppHosting_Codebase : GTLRObject + +/** + * Required. The resource name for the Developer Connect + * [`gitRepositoryLink`](https://cloud.google.com/developer-connect/docs/api/reference/rest/v1/projects.locations.connections.gitRepositoryLinks) + * connected to this backend, in the format: + * `projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{repositoryLink}` + * The connection for the `gitRepositoryLink` must made be using the Firebase + * App Hosting GitHub App via the Firebase Console. + */ +@property(nonatomic, copy, nullable) NSString *repository; + +/** + * Optional. If `repository` is provided, the directory relative to the root of + * the repository to use as the root for the deployed web app. + */ +@property(nonatomic, copy, nullable) NSString *rootDirectory; + +@end + + +/** + * A codebase source, representing the state of the codebase that the build + * will be created at. + */ +@interface GTLRFirebaseAppHosting_CodebaseSource : GTLRObject + +/** + * Output only. The author contained in the metadata of a version control + * change. + */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_UserMetadata *author; + +/** The branch in the codebase to build from, using the latest commit. */ +@property(nonatomic, copy, nullable) NSString *branch; + +/** The commit in the codebase to build from. */ +@property(nonatomic, copy, nullable) NSString *commit; + +/** Output only. The message of a codebase change. */ +@property(nonatomic, copy, nullable) NSString *commitMessage; + +/** Output only. The time the change was made. */ +@property(nonatomic, strong, nullable) GTLRDateTime *commitTime; + +/** + * Output only. The human-friendly name to use for this Codebase when + * displaying a build. We use the first eight characters of the SHA-1 hash for + * GitHub.com. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Output only. The full SHA-1 hash of a Git commit, if available. + * + * Remapped to 'hashProperty' to avoid NSObject's 'hash'. + */ +@property(nonatomic, copy, nullable) NSString *hashProperty; + +/** + * Output only. A URI linking to the codebase on an hosting provider's website. + * May not be valid if the commit has been rebased or force-pushed out of + * existence in the linked repository. + */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + + +/** + * Additional configuration of the backend for this build. + */ +@interface GTLRFirebaseAppHosting_Config : GTLRObject + +/** Optional. Environment variables for this build. */ +@property(nonatomic, strong, nullable) NSArray *env; + +/** + * Optional. Additional configuration of the Cloud Run + * [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service). + */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_RunConfig *runConfig; + +@end + + +/** + * The URI of an Artifact Registry [container + * image](https://cloud.google.com/artifact-registry/docs/reference/rest/v1/projects.locations.repositories.dockerImages) + * to use as the build source. + */ +@interface GTLRFirebaseAppHosting_ContainerSource : GTLRObject + +/** Required. A URI representing a container for the backend to use. */ +@property(nonatomic, copy, nullable) NSString *image; + +@end + + +/** + * Additional metadata for operations on custom domains. + */ +@interface GTLRFirebaseAppHosting_CustomDomainOperationMetadata : GTLRObject + +/** + * Output only. The custom domain's `CertState`, which must be `CERT_ACTIVE` + * for the create operations to complete. + * + * Likely values: + * @arg @c kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_CertState_CertActive + * The certificate is active, providing secure connections for the domain + * names it represents. (Value: "CERT_ACTIVE") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_CertState_CertExpired + * The certificate has expired. App Hosting can no longer serve secure + * content on your domain name. (Value: "CERT_EXPIRED") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_CertState_CertExpiringSoon + * The certificate is expiring, all domain names on it will be given new + * certificates. (Value: "CERT_EXPIRING_SOON") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_CertState_CertPreparing + * The initial state of every certificate, represents App Hosting's + * intent to create a certificate before requests to a Certificate + * Authority are made. (Value: "CERT_PREPARING") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_CertState_CertPropagating + * The certificate was recently created, and needs time to propagate in + * App Hosting's load balancers. (Value: "CERT_PROPAGATING") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_CertState_CertStateUnspecified + * The certificate's state is unspecified. The message is invalid if this + * is unspecified. (Value: "CERT_STATE_UNSPECIFIED") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_CertState_CertValidating + * App Hosting is validating whether a domain name's DNS records are in a + * state that allow certificate creation on its behalf. (Value: + * "CERT_VALIDATING") + */ +@property(nonatomic, copy, nullable) NSString *certState; + +/** + * Output only. The custom domain's `HostState`, which must be `HOST_ACTIVE` + * for Create operations of the domain name this `CustomDomain` refers toto + * complete. + * + * Likely values: + * @arg @c kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_HostState_HostActive + * All requests against your domain are served by App Hosting, via your + * domain's assigned shard. If the custom domain's `OwnershipState` is + * also `OWNERSHIP_ACTIVE`, App Hosting serves its backend's content on + * requests for the domain. (Value: "HOST_ACTIVE") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_HostState_HostConflict + * Your domain has IP addresses that resolve to both App Hosting and to + * other services. To ensure consistent results, remove `A` and `AAAA` + * records related to non-App-Hosting services. (Value: "HOST_CONFLICT") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_HostState_HostNonFah + * Your domain has only IP addresses that don't ultimately resolve to App + * Hosting. (Value: "HOST_NON_FAH") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_HostState_HostStateUnspecified + * Your custom domain's host state is unspecified. The message is invalid + * if this is unspecified. (Value: "HOST_STATE_UNSPECIFIED") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_HostState_HostUnhosted + * Your custom domain isn't associated with any IP addresses. (Value: + * "HOST_UNHOSTED") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_HostState_HostUnreachable + * Your custom domain can't be reached. App Hosting services' DNS queries + * to find your domain's IP addresses resulted in errors. See your + * `CustomDomainStatus`'s `issues` field for more details. (Value: + * "HOST_UNREACHABLE") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_HostState_HostWrongShard + * Your domain has IP addresses that resolve to an incorrect instance of + * the App Hosting Data Plane. App Hosting has multiple data plane + * instances to ensure high availability. The SSL certificate that App + * Hosting creates for your domain is only available on its assigned + * instance. If your domain's IP addresses resolve to an incorrect + * instance, App Hosting won't be able to serve secure content on it. + * (Value: "HOST_WRONG_SHARD") + */ +@property(nonatomic, copy, nullable) NSString *hostState; + +/** + * Output only. A list of issues that are currently preventing the operation + * from completing. These are generally DNS-related issues encountered when + * querying a domain's records or attempting to mint an SSL certificate. + */ +@property(nonatomic, strong, nullable) NSArray *issues; + +/** + * Output only. A list of steps that the user must complete to migrate their + * domain to App Hosting without downtime. + */ +@property(nonatomic, strong, nullable) NSArray *liveMigrationSteps; + +/** + * Output only. The custom domain's `OwnershipState`, which must be + * `OWNERSHIP_ACTIVE` for the create operations to complete. + * + * Likely values: + * @arg @c kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_OwnershipState_OwnershipActive + * Your custom domain owns its domain. (Value: "OWNERSHIP_ACTIVE") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_OwnershipState_OwnershipConflict + * Your custom domain has conflicting `TXT` records that indicate + * ownership by both your current custom domain one or more others. + * Remove the extraneous ownership records to grant the current custom + * domain ownership. (Value: "OWNERSHIP_CONFLICT") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_OwnershipState_OwnershipMismatch + * Your custom domain is owned by another App Hosting custom domain. + * Remove the conflicting records and replace them with records for your + * current custom domain. (Value: "OWNERSHIP_MISMATCH") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_OwnershipState_OwnershipMissing + * Your custom domain's domain has no App-Hosting-related ownership + * records; no backend is authorized to serve on the domain in this + * Origin shard. (Value: "OWNERSHIP_MISSING") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_OwnershipState_OwnershipPending + * Your custom domain's DNS records are configured correctly. App Hosting + * will transfer ownership of your domain to this custom domain within 24 + * hours. (Value: "OWNERSHIP_PENDING") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_OwnershipState_OwnershipStateUnspecified + * Your custom domain's ownership state is unspecified. This should never + * happen. (Value: "OWNERSHIP_STATE_UNSPECIFIED") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainOperationMetadata_OwnershipState_OwnershipUnreachable + * Your custom domain can't be reached. App Hosting services' DNS queries + * to find your domain's ownership records resulted in errors. See your + * `CustomDomainStatus`'s `issues` field for more details. (Value: + * "OWNERSHIP_UNREACHABLE") + */ +@property(nonatomic, copy, nullable) NSString *ownershipState; + +/** + * Output only. A set of DNS record updates to perform, to allow App Hosting to + * serve secure content on the domain. + */ +@property(nonatomic, strong, nullable) NSArray *quickSetupUpdates; + +@end + + +/** + * The status of a custom domain's linkage to a backend. + */ +@interface GTLRFirebaseAppHosting_CustomDomainStatus : GTLRObject + +/** + * Output only. Tracks SSL certificate status for the domain. + * + * Likely values: + * @arg @c kGTLRFirebaseAppHosting_CustomDomainStatus_CertState_CertActive + * The certificate is active, providing secure connections for the domain + * names it represents. (Value: "CERT_ACTIVE") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainStatus_CertState_CertExpired + * The certificate has expired. App Hosting can no longer serve secure + * content on your domain name. (Value: "CERT_EXPIRED") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainStatus_CertState_CertExpiringSoon + * The certificate is expiring, all domain names on it will be given new + * certificates. (Value: "CERT_EXPIRING_SOON") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainStatus_CertState_CertPreparing + * The initial state of every certificate, represents App Hosting's + * intent to create a certificate before requests to a Certificate + * Authority are made. (Value: "CERT_PREPARING") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainStatus_CertState_CertPropagating + * The certificate was recently created, and needs time to propagate in + * App Hosting's load balancers. (Value: "CERT_PROPAGATING") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainStatus_CertState_CertStateUnspecified + * The certificate's state is unspecified. The message is invalid if this + * is unspecified. (Value: "CERT_STATE_UNSPECIFIED") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainStatus_CertState_CertValidating + * App Hosting is validating whether a domain name's DNS records are in a + * state that allow certificate creation on its behalf. (Value: + * "CERT_VALIDATING") + */ +@property(nonatomic, copy, nullable) NSString *certState; + +/** + * Output only. Tracks whether a custom domain is detected as appropriately + * directing traffic to App Hosting. + * + * Likely values: + * @arg @c kGTLRFirebaseAppHosting_CustomDomainStatus_HostState_HostActive + * All requests against your domain are served by App Hosting, via your + * domain's assigned shard. If the custom domain's `OwnershipState` is + * also `OWNERSHIP_ACTIVE`, App Hosting serves its backend's content on + * requests for the domain. (Value: "HOST_ACTIVE") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainStatus_HostState_HostConflict + * Your domain has IP addresses that resolve to both App Hosting and to + * other services. To ensure consistent results, remove `A` and `AAAA` + * records related to non-App-Hosting services. (Value: "HOST_CONFLICT") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainStatus_HostState_HostNonFah + * Your domain has only IP addresses that don't ultimately resolve to App + * Hosting. (Value: "HOST_NON_FAH") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainStatus_HostState_HostStateUnspecified + * Your custom domain's host state is unspecified. The message is invalid + * if this is unspecified. (Value: "HOST_STATE_UNSPECIFIED") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainStatus_HostState_HostUnhosted + * Your custom domain isn't associated with any IP addresses. (Value: + * "HOST_UNHOSTED") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainStatus_HostState_HostUnreachable + * Your custom domain can't be reached. App Hosting services' DNS queries + * to find your domain's IP addresses resulted in errors. See your + * `CustomDomainStatus`'s `issues` field for more details. (Value: + * "HOST_UNREACHABLE") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainStatus_HostState_HostWrongShard + * Your domain has IP addresses that resolve to an incorrect instance of + * the App Hosting Data Plane. App Hosting has multiple data plane + * instances to ensure high availability. The SSL certificate that App + * Hosting creates for your domain is only available on its assigned + * instance. If your domain's IP addresses resolve to an incorrect + * instance, App Hosting won't be able to serve secure content on it. + * (Value: "HOST_WRONG_SHARD") + */ +@property(nonatomic, copy, nullable) NSString *hostState; + +/** + * Output only. A list of issues with domain configuration. Allows users to + * self-correct problems with DNS records. + */ +@property(nonatomic, strong, nullable) NSArray *issues; + +/** + * Output only. Tracks whether the backend is permitted to serve content on the + * domain, based off the domain's DNS records. + * + * Likely values: + * @arg @c kGTLRFirebaseAppHosting_CustomDomainStatus_OwnershipState_OwnershipActive + * Your custom domain owns its domain. (Value: "OWNERSHIP_ACTIVE") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainStatus_OwnershipState_OwnershipConflict + * Your custom domain has conflicting `TXT` records that indicate + * ownership by both your current custom domain one or more others. + * Remove the extraneous ownership records to grant the current custom + * domain ownership. (Value: "OWNERSHIP_CONFLICT") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainStatus_OwnershipState_OwnershipMismatch + * Your custom domain is owned by another App Hosting custom domain. + * Remove the conflicting records and replace them with records for your + * current custom domain. (Value: "OWNERSHIP_MISMATCH") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainStatus_OwnershipState_OwnershipMissing + * Your custom domain's domain has no App-Hosting-related ownership + * records; no backend is authorized to serve on the domain in this + * Origin shard. (Value: "OWNERSHIP_MISSING") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainStatus_OwnershipState_OwnershipPending + * Your custom domain's DNS records are configured correctly. App Hosting + * will transfer ownership of your domain to this custom domain within 24 + * hours. (Value: "OWNERSHIP_PENDING") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainStatus_OwnershipState_OwnershipStateUnspecified + * Your custom domain's ownership state is unspecified. This should never + * happen. (Value: "OWNERSHIP_STATE_UNSPECIFIED") + * @arg @c kGTLRFirebaseAppHosting_CustomDomainStatus_OwnershipState_OwnershipUnreachable + * Your custom domain can't be reached. App Hosting services' DNS queries + * to find your domain's ownership records resulted in errors. See your + * `CustomDomainStatus`'s `issues` field for more details. (Value: + * "OWNERSHIP_UNREACHABLE") + */ +@property(nonatomic, copy, nullable) NSString *ownershipState; + +/** + * Output only. Lists the records that must added or removed to a custom + * domain's DNS in order to finish setup and start serving content. Field is + * present during onboarding. Also present after onboarding if one or more of + * the above states is not *_ACTIVE, indicating the domain's DNS records are in + * a bad state. + */ +@property(nonatomic, strong, nullable) NSArray *requiredDnsUpdates; + +@end + + +/** + * A representation of a DNS records for a domain. DNS records are resource + * records that define how systems and services should behave when handling + * requests for a domain. For example, when you add `A` records to your + * domain's DNS records, you're informing other systems (such as your users' + * web browsers) to contact those IPv4 addresses to retrieve resources relevant + * to your domain (such as your App Hosting files). + */ +@interface GTLRFirebaseAppHosting_DnsRecord : GTLRObject + +/** Output only. The domain the record pertains to, e.g. `foo.bar.com.`. */ +@property(nonatomic, copy, nullable) NSString *domainName; + +/** + * Output only. The data of the record. The meaning of the value depends on + * record type: - A and AAAA: IP addresses for the domain. - CNAME: Another + * domain to check for records. - TXT: Arbitrary text strings associated with + * the domain. App Hosting uses TXT records to determine which Firebase + * projects have permission to act on the domain's behalf. - CAA: The record's + * flags, tag, and value, e.g. `0 issue "pki.goog"`. + */ +@property(nonatomic, copy, nullable) NSString *rdata; + +/** + * Output only. An enum that indicates which state(s) this DNS record applies + * to. Populated for all records with an `ADD` or `REMOVE` required action. + */ +@property(nonatomic, strong, nullable) NSArray *relevantState; + +/** + * Output only. An enum that indicates the a required action for this record. + * Populated when the record is part of a required change in a `DnsUpdates` + * `discovered` or `desired` record set. + * + * Likely values: + * @arg @c kGTLRFirebaseAppHosting_DnsRecord_RequiredAction_Add Add this + * record to your DNS records. (Value: "ADD") + * @arg @c kGTLRFirebaseAppHosting_DnsRecord_RequiredAction_None No action + * necessary. (Value: "NONE") + * @arg @c kGTLRFirebaseAppHosting_DnsRecord_RequiredAction_Remove Remove + * this record from your DNS records. (Value: "REMOVE") + */ +@property(nonatomic, copy, nullable) NSString *requiredAction; + +/** + * Output only. The record's type, which determines what data the record + * contains. + * + * Likely values: + * @arg @c kGTLRFirebaseAppHosting_DnsRecord_Type_A An `A` record, as defined + * in [RFC 1035](https://tools.ietf.org/html/rfc1035). A records + * determine which IPv4 addresses a domain directs traffic towards. + * (Value: "A") + * @arg @c kGTLRFirebaseAppHosting_DnsRecord_Type_Aaaa An AAAA record, as + * defined in [RFC 3596](https://tools.ietf.org/html/rfc3596) AAAA + * records determine which IPv6 addresses a domain directs traffic + * towards. (Value: "AAAA") + * @arg @c kGTLRFirebaseAppHosting_DnsRecord_Type_Caa A CAA record, as + * defined in [RFC 6844](https://tools.ietf.org/html/rfc6844). CAA, or + * Certificate Authority Authorization, records determine which + * Certificate Authorities (SSL certificate minting organizations) are + * authorized to mint a certificate for the domain. App Hosting uses + * `pki.goog` as its primary CA. CAA records cascade. A CAA record on + * `foo.com` also applies to `bar.foo.com` unless `bar.foo.com` has its + * own set of CAA records. CAA records are optional. If a domain and its + * parents have no CAA records, all CAs are authorized to mint + * certificates on its behalf. In general, App Hosting only asks you to + * modify CAA records when doing so is required to unblock SSL cert + * creation. (Value: "CAA") + * @arg @c kGTLRFirebaseAppHosting_DnsRecord_Type_Cname A `CNAME` record, as + * defined in [RFC 1035](https://tools.ietf.org/html/rfc1035). `CNAME` or + * Canonical Name records map a domain to a different, canonical domain. + * If a `CNAME` record is present, it should be the only record on the + * domain. (Value: "CNAME") + * @arg @c kGTLRFirebaseAppHosting_DnsRecord_Type_Txt A `TXT` record, as + * defined in [RFC 1035](https://tools.ietf.org/html/rfc1035). `TXT` + * records hold arbitrary text data on a domain. Hosting uses `TXT` + * records to establish which Firebase Project has permission to act on a + * domain. (Value: "TXT") + * @arg @c kGTLRFirebaseAppHosting_DnsRecord_Type_TypeUnspecified The + * record's type is unspecified. The message is invalid if this is + * unspecified. (Value: "TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * A set of DNS records relevant to the setup and maintenance of a custom + * domain in App Hosting. + */ +@interface GTLRFirebaseAppHosting_DnsRecordSet : GTLRObject + +/** + * Output only. An error App Hosting services encountered when querying your + * domain's DNS records. Note: App Hosting ignores `NXDOMAIN` errors, as those + * generally just mean that a domain name hasn't been set up yet. + */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_Status *checkError; + +/** Output only. The domain name the record set pertains to. */ +@property(nonatomic, copy, nullable) NSString *domainName; + +/** Output only. Records on the domain. */ +@property(nonatomic, strong, nullable) NSArray *records; + +@end + + +/** + * A set of DNS record updates that you should make to allow App Hosting to + * serve secure content in response to requests against your domain. These + * updates present the current state of your domain's and related subdomains' + * DNS records when App Hosting last queried them, and the desired set of + * records that App Hosting needs to see before your custom domain can be fully + * active. + */ +@interface GTLRFirebaseAppHosting_DnsUpdates : GTLRObject + +/** + * Output only. The last time App Hosting checked your custom domain's DNS + * records. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *checkTime; + +/** + * Output only. The set of DNS records App Hosting needs in order to be able to + * serve secure content on the domain. + */ +@property(nonatomic, strong, nullable) NSArray *desired; + +/** + * Output only. The set of DNS records App Hosting discovered when inspecting a + * domain. + */ +@property(nonatomic, strong, nullable) NSArray *discovered; + +/** Output only. The domain name the DNS updates pertain to. */ +@property(nonatomic, copy, nullable) NSString *domainName; + +@end + + +/** + * A domain name that is associated with a backend. + */ +@interface GTLRFirebaseAppHosting_Domain : GTLRObject + +/** Optional. Annotations as key value pairs. */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_Domain_Annotations *annotations; + +/** Output only. Time at which the domain was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Output only. Represents the state and configuration of a `CUSTOM` type + * domain. It is only present on Domains of that type. + */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_CustomDomainStatus *customDomainStatus; + +/** Output only. Time at which the domain was deleted. */ +@property(nonatomic, strong, nullable) GTLRDateTime *deleteTime; + +/** + * Optional. Whether the domain is disabled. Defaults to false. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disabled; + +/** + * Optional. Mutable human-readable name for the domain. 63 character limit. + * e.g. `prod domain`. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Output only. Server-computed checksum based on other values; may be sent on + * update or delete to ensure operation is done on expected resource. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** Optional. Labels as key value pairs. */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_Domain_Labels *labels; + +/** + * Identifier. The resource name of the domain, e.g. + * `/projects/p/locations/l/backends/b/domains/foo.com` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. A field that, if true, indicates that the build has an ongoing + * LRO. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *reconciling; + +/** + * Optional. The serving behavior of the domain. If specified, the domain will + * serve content other than its backend's live content. + */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_ServingBehavior *serve; + +/** + * Output only. The type of the domain. + * + * Likely values: + * @arg @c kGTLRFirebaseAppHosting_Domain_Type_Custom Custom, developer-owned + * domains. Custom Domains allow you to associate a domain you own with + * your App Hosting backend, and configure that domain to serve your + * backend's content. (Value: "CUSTOM") + * @arg @c kGTLRFirebaseAppHosting_Domain_Type_Default Default, App + * Hosting-provided and managed domains. These domains are created + * automatically with their parent backend and cannot be deleted except + * by deleting that parent, and cannot be moved to another backend. + * Default domains can be disabled via the `disabled` field. (Value: + * "DEFAULT") + * @arg @c kGTLRFirebaseAppHosting_Domain_Type_TypeUnspecified The type is + * unspecified (this should not happen). (Value: "TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; + +/** Output only. System-assigned, unique identifier. */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** Output only. Time at which the domain was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. Annotations as key value pairs. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRFirebaseAppHosting_Domain_Annotations : GTLRObject +@end + + +/** + * Optional. Labels as key value pairs. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRFirebaseAppHosting_Domain_Labels : GTLRObject +@end + + +/** + * Represents the metadata of a long-running operation on domains. + */ +@interface GTLRFirebaseAppHosting_DomainOperationMetadata : 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. Additional metadata for operations on custom domains. */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_CustomDomainOperationMetadata *customDomainOperationMetadata; + +/** Output only. The time the operation finished running. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** + * Output only. Identifies whether the user has requested cancellation of the + * operation. Operations that have 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. Human-readable status of the operation, if any. */ +@property(nonatomic, copy, nullable) NSString *statusMessage; + +/** + * Output only. Server-defined resource path for the target of the operation. + */ +@property(nonatomic, copy, nullable) NSString *target; + +/** Output only. Name of the verb executed by the operation. */ +@property(nonatomic, copy, nullable) NSString *verb; + +@end + + +/** + * 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 GTLRFirebaseAppHosting_Empty : GTLRObject +@end + + +/** + * Environment variables for this build. + */ +@interface GTLRFirebaseAppHosting_EnvironmentVariable : GTLRObject + +/** + * Optional. Where this variable should be made available. If left unspecified, + * will be available in both BUILD and BACKEND. + */ +@property(nonatomic, strong, nullable) NSArray *availability; + +/** + * A fully qualified secret version. The value of the secret will be accessed + * once while building the application and once per cold start of the container + * at runtime. The service account used by Cloud Build and by Cloud Run must + * each have the `secretmanager.versions.access` permission on the secret. + */ +@property(nonatomic, copy, nullable) NSString *secret; + +/** + * A plaintext value. This value is encrypted at rest, but all project readers + * can view the value when reading your backend configuration. + */ +@property(nonatomic, copy, nullable) NSString *value; + +/** + * Required. The name of the environment variable. - Must be a valid + * environment variable name (e.g. A-Z or underscores). - May not start with + * "FIREBASE" or "GOOGLE". - May not be a reserved environment variable for + * KNative/Cloud Run + */ +@property(nonatomic, copy, nullable) NSString *variable; + +@end + + +/** + * The container for the rpc status and source for any errors found during the + * build process. + */ +@interface GTLRFirebaseAppHosting_Error : GTLRObject + +/** Output only. Resource link */ +@property(nonatomic, copy, nullable) NSString *cloudResource; + +/** + * Output only. A status and (human readable) error message for the build, if + * in a `FAILED` state. + */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_Status *error; + +/** + * Output only. The source of the error for the build, if in a `FAILED` state. + * + * Likely values: + * @arg @c kGTLRFirebaseAppHosting_Error_ErrorSource_CloudBuild Indicates + * that the build failed during the Cloud Build process, such as a build + * timeout. (Value: "CLOUD_BUILD") + * @arg @c kGTLRFirebaseAppHosting_Error_ErrorSource_CloudRun Indicates that + * the build failed during the Cloud Run process, such as a service + * creation failure. (Value: "CLOUD_RUN") + * @arg @c kGTLRFirebaseAppHosting_Error_ErrorSource_ErrorSourceUnspecified + * Indicates that generic error occurred outside of the Cloud Build or + * Cloud Run processes, such as a pre-empted or user-canceled App Hosting + * Build. (Value: "ERROR_SOURCE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *errorSource; + +@end + + +/** + * Message for response to list backends + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "backends" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRFirebaseAppHosting_ListBackendsResponse : GTLRCollectionObject + +/** + * The list of backends + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *backends; + +/** A token identifying the next page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * Message for response to list builds. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "builds" property. If returned as the result of a query, it should + * support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRFirebaseAppHosting_ListBuildsResponse : GTLRCollectionObject + +/** + * The list of builds. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *builds; + +/** A token identifying the next page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * Message for response to list domains. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "domains" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRFirebaseAppHosting_ListDomainsResponse : GTLRCollectionObject + +/** + * Output only. The list of domains. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *domains; + +/** + * Output only. A token identifying the next page of results the server should + * return. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** Output only. Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@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 GTLRFirebaseAppHosting_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 GTLRFirebaseAppHosting_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 + + +/** + * Message for response to list rollouts. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "rollouts" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRFirebaseAppHosting_ListRolloutsResponse : GTLRCollectionObject + +/** A token identifying the next page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of rollouts. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *rollouts; + +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * A set of updates including ACME challenges and DNS records that allow App + * Hosting to create an SSL certificate and establish project ownership for + * your domain name before you direct traffic to App Hosting servers. Use these + * updates to facilitate zero downtime migrations to App Hosting from other + * services. After you've made the recommended updates, check your custom + * domain's `ownershipState` and `certState`. To avoid downtime, they should be + * `OWNERSHIP_ACTIVE` and `CERT_ACTIVE`, respectively, before you update your + * `A` and `AAAA` records. + */ +@interface GTLRFirebaseAppHosting_LiveMigrationStep : GTLRObject + +/** + * Output only. DNS updates to facilitate your domain's zero-downtime migration + * to App Hosting. + */ +@property(nonatomic, strong, nullable) NSArray *dnsUpdates; + +/** Output only. Issues that prevent the current step from completing. */ +@property(nonatomic, strong, nullable) NSArray *issues; + +/** + * Output only. One or more states from the `CustomDomainStatus` of the + * migrating domain that this step is attempting to make ACTIVE. For example, + * if the step is attempting to mint an SSL certificate, this field will + * include `CERT_STATE`. + */ +@property(nonatomic, strong, nullable) NSArray *relevantDomainStates; + +/** + * Output only. The state of the live migration step, indicates whether you + * should work to complete the step now, in the future, or have already + * completed it. + * + * Likely values: + * @arg @c kGTLRFirebaseAppHosting_LiveMigrationStep_StepState_Complete The + * step is complete. You've already made the necessary changes to your + * domain and/or prior hosting service to advance to the next step. Once + * all steps are complete, App Hosting is ready to serve secure content + * on your domain. (Value: "COMPLETE") + * @arg @c kGTLRFirebaseAppHosting_LiveMigrationStep_StepState_Incomplete The + * step is incomplete. You should complete any `dnsUpdates` changes to + * complete it. (Value: "INCOMPLETE") + * @arg @c kGTLRFirebaseAppHosting_LiveMigrationStep_StepState_Pending The + * step's state is pending. Complete prior steps before working on a + * `PENDING` step. (Value: "PENDING") + * @arg @c kGTLRFirebaseAppHosting_LiveMigrationStep_StepState_Preparing App + * Hosting doesn't have enough information to construct the step yet. + * Complete any prior steps and/or resolve this step's issue to proceed. + * (Value: "PREPARING") + * @arg @c kGTLRFirebaseAppHosting_LiveMigrationStep_StepState_Processing + * You've done your part to update records and present challenges as + * necessary. App Hosting is now completing background processes to + * complete the step, e.g. minting an SSL cert for your domain. (Value: + * "PROCESSING") + * @arg @c kGTLRFirebaseAppHosting_LiveMigrationStep_StepState_StepStateUnspecified + * The step's state is unspecified. The message is invalid if this is + * unspecified. (Value: "STEP_STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *stepState; + +@end + + +/** + * A resource that represents a Google Cloud location. + */ +@interface GTLRFirebaseAppHosting_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) GTLRFirebaseAppHosting_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) GTLRFirebaseAppHosting_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 GTLRFirebaseAppHosting_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 GTLRFirebaseAppHosting_Location_Metadata : GTLRObject +@end + + +/** + * An external resource managed by App Hosting on the project. + */ +@interface GTLRFirebaseAppHosting_ManagedResource : GTLRObject + +/** + * A Cloud Run + * [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service), + * managed by App Hosting. + */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_RunService *runService; + +@end + + +/** + * This resource represents a long-running operation that is the result of a + * network API call. + */ +@interface GTLRFirebaseAppHosting_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) GTLRFirebaseAppHosting_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) GTLRFirebaseAppHosting_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) GTLRFirebaseAppHosting_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 GTLRFirebaseAppHosting_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 GTLRFirebaseAppHosting_Operation_Response : GTLRObject +@end + + +/** + * Represents the metadata of a long-running operation. + */ +@interface GTLRFirebaseAppHosting_OperationMetadata : GTLRObject + +/** Output only. API version used to start the operation. */ +@property(nonatomic, copy, nullable) NSString *apiVersion; + +/** Output only. The time the operation was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Output only. The time the operation finished running. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** + * Output only. Identifies whether the user has requested cancellation of the + * operation. Operations that have 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. Human-readable status of the operation, if any. */ +@property(nonatomic, copy, nullable) NSString *statusMessage; + +/** + * Output only. Server-defined resource path for the target of the operation. + */ +@property(nonatomic, copy, nullable) NSString *target; + +/** Output only. Name of the verb executed by the operation. */ +@property(nonatomic, copy, nullable) NSString *verb; + +@end + + +/** + * Specifies redirect behavior for a domain. + */ +@interface GTLRFirebaseAppHosting_Redirect : GTLRObject + +/** + * Optional. The status code to use in a redirect response. Must be a valid + * HTTP 3XX status code. Defaults to 302 if not present. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *status; + +/** + * Required. The URI of the redirect's intended destination. This URI will be + * prepended to the original request path. URI without a scheme are assumed to + * be HTTPS. + */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + + +/** + * A single rollout of a build for a backend. + */ +@interface GTLRFirebaseAppHosting_Rollout : GTLRObject + +/** + * Optional. Unstructured key value map that may be set by external tools to + * store and arbitrary metadata. They are not queryable and should be preserved + * when modifying objects. + */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_Rollout_Annotations *annotations; + +/** + * Immutable. The name of a build that already exists. It doesn't have to be + * built; a rollout will wait for a build to be ready before updating traffic. + */ +@property(nonatomic, copy, nullable) NSString *build; + +/** Output only. Time at which the rollout was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Output only. Time at which the rollout was deleted. */ +@property(nonatomic, strong, nullable) GTLRDateTime *deleteTime; + +/** Optional. Human-readable name. 63 character limit. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Output only. A status and (human readable) error message for the rollout, if + * in a `FAILED` state. + */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_Status *error; + +/** + * Output only. Server-computed checksum based on other values; may be sent on + * update or delete to ensure operation is done on expected resource. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Optional. Unstructured key value map that can be used to organize and + * categorize objects. + */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_Rollout_Labels *labels; + +/** + * Identifier. The resource name of the rollout. Format: + * `projects/{project}/locations/{locationId}/backends/{backendId}/rollouts/{rolloutId}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. A field that, if true, indicates that the Rollout currently has + * an LRO. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *reconciling; + +/** + * Output only. The state of the rollout. + * + * Likely values: + * @arg @c kGTLRFirebaseAppHosting_Rollout_State_Cancelled The rollout has + * been cancelled. (Value: "CANCELLED") + * @arg @c kGTLRFirebaseAppHosting_Rollout_State_Failed The rollout has + * failed. See error for more information. (Value: "FAILED") + * @arg @c kGTLRFirebaseAppHosting_Rollout_State_Paused The rollout has been + * paused due to either being manually paused or a PAUSED stage. This + * should be set while `paused = true`. (Value: "PAUSED") + * @arg @c kGTLRFirebaseAppHosting_Rollout_State_PendingBuild The rollout is + * waiting for the build process to complete, which builds the code and + * sets up the underlying infrastructure. (Value: "PENDING_BUILD") + * @arg @c kGTLRFirebaseAppHosting_Rollout_State_Progressing The rollout has + * started and is actively modifying traffic. (Value: "PROGRESSING") + * @arg @c kGTLRFirebaseAppHosting_Rollout_State_Queued The rollout is + * waiting for actuation to begin. This may be because it is waiting on + * another rollout to complete. (Value: "QUEUED") + * @arg @c kGTLRFirebaseAppHosting_Rollout_State_StateUnspecified The rollout + * is in an unknown state. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRFirebaseAppHosting_Rollout_State_Succeeded The rollout has + * completed. (Value: "SUCCEEDED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. System-assigned, unique identifier. */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** Output only. Time at which the rollout was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. Unstructured key value map that may be set by external tools to + * store and arbitrary metadata. They are not queryable and should be preserved + * when modifying objects. + * + * @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 GTLRFirebaseAppHosting_Rollout_Annotations : GTLRObject +@end + + +/** + * Optional. Unstructured key value map that can be used to organize and + * categorize objects. + * + * @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 GTLRFirebaseAppHosting_Rollout_Labels : GTLRObject +@end + + +/** + * The policy for how automatic builds and rollouts are triggered and rolled + * out. + */ +@interface GTLRFirebaseAppHosting_RolloutPolicy : GTLRObject + +/** + * If set, specifies a branch that triggers a new build to be started with this + * policy. Otherwise, no automatic rollouts will happen. + */ +@property(nonatomic, copy, nullable) NSString *codebaseBranch; + +/** + * Optional. A flag that, if true, prevents automatic rollouts from being + * created via this RolloutPolicy. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disabled; + +/** + * Output only. If `disabled` is set, the time at which the automatic rollouts + * were disabled. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *disabledTime; + +@end + + +/** + * Additional configuration to apply to the Cloud Run + * [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service). + */ +@interface GTLRFirebaseAppHosting_RunConfig : GTLRObject + +/** + * Optional. Maximum number of requests that each Cloud Run instance can + * receive. By default, each instance can receive Cloud Run's default of up to + * 80 requests at the same time. Concurrency can be set to any integer value up + * to 1000. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *concurrency; + +/** + * Optional. Number of CPUs used for each serving instance. By default, cpu + * defaults to the Cloud Run's default of 1.0. CPU can be set to value 1, 2, 4, + * 6, or 8 CPUs, and for less than 1 CPU, a value from 0.08 to less than 1.00, + * in increments of 0.01. If you set a value of less than 1 CPU, you must set + * concurrency to 1, and CPU will only be allocated during request processing. + * Increasing CPUs limit may require increase in memory limits: - 4 CPUs: at + * least 2 GiB - 6 CPUs: at least 4 GiB - 8 CPUs: at least 4 GiB + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *cpu; + +/** + * Optional. Number of Cloud Run instances to maintain at maximum for each + * revision. By default, each Cloud Run + * [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service) + * scales out to Cloud Run's default of a maximum of 100 instances. The maximum + * max_instances limit is based on your quota. See + * https://cloud.google.com/run/docs/configuring/max-instances#limits. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxInstances; + +/** + * Optional. Amount of memory allocated for each serving instance in MiB. By + * default, memory defaults to the Cloud Run's default where each instance is + * allocated 512 MiB of memory. Memory can be set to any integer value between + * 128 to 32768. Increasing memory limit may require increase in CPUs limits: - + * Over 4 GiB: at least 2 CPUs - Over 8 GiB: at least 4 CPUs - Over 16 GiB: at + * least 6 CPUs - Over 24 GiB: at least 8 CPUs + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *memoryMib; + +/** + * Optional. Number of Cloud Run instances to maintain at minimum for each + * Cloud Run Service. By default, there are no minimum. Even if the service + * splits traffic across multiple revisions, the total number of instances for + * a service will be capped at this value. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minInstances; + +@end + + +/** + * A managed Cloud Run + * [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service). + */ +@interface GTLRFirebaseAppHosting_RunService : GTLRObject + +/** + * Optional. The name of the Cloud Run + * [`service`](https://cloud.google.com/run/docs/reference/rest/v2/projects.locations.services#resource:-service), + * in the format: + * `projects/{project}/locations/{location}/services/{serviceId}` + */ +@property(nonatomic, copy, nullable) NSString *service; + +@end + + +/** + * Indicates whether App Hosting will serve content on the domain. + */ +@interface GTLRFirebaseAppHosting_ServingBehavior : GTLRObject + +/** Optional. Redirect behavior for a domain, if provided. */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_Redirect *redirect; + +@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 GTLRFirebaseAppHosting_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 + + +/** + * GTLRFirebaseAppHosting_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 GTLRFirebaseAppHosting_Status_Details_Item : GTLRObject +@end + + +/** + * Controls traffic configuration for the backend. + */ +@interface GTLRFirebaseAppHosting_Traffic : GTLRObject + +/** + * Optional. Unstructured key value map that may be set by external tools to + * store and arbitrary metadata. They are not queryable and should be preserved + * when modifying objects. + */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_Traffic_Annotations *annotations; + +/** Output only. Time at which the backend was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Output only. Current state of traffic allocation for the backend. When + * setting `target`, this field may differ for some time until the desired + * state is reached. + */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_TrafficSet *current; + +/** + * Output only. Server-computed checksum based on other values; may be sent on + * update or delete to ensure operation is done on expected resource. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Optional. Unstructured key value map that can be used to organize and + * categorize objects. + */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_Traffic_Labels *labels; + +/** + * Identifier. The resource name of the backend's traffic. Format: + * `projects/{project}/locations/{locationId}/backends/{backendId}/traffic`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. A field that, if true, indicates that the system is working to + * make the backend's `current` match the requested `target` list. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *reconciling; + +/** + * A rollout policy specifies how new builds and automatic deployments are + * created. + */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_RolloutPolicy *rolloutPolicy; + +/** + * Set to manually control the desired traffic for the backend. This will cause + * `current` to eventually match this value. The percentages must add up to + * 100%. + */ +@property(nonatomic, strong, nullable) GTLRFirebaseAppHosting_TrafficSet *target; + +/** Output only. System-assigned, unique identifier. */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** Output only. Time at which the backend was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. Unstructured key value map that may be set by external tools to + * store and arbitrary metadata. They are not queryable and should be preserved + * when modifying objects. + * + * @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 GTLRFirebaseAppHosting_Traffic_Annotations : GTLRObject +@end + + +/** + * Optional. Unstructured key value map that can be used to organize and + * categorize objects. + * + * @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 GTLRFirebaseAppHosting_Traffic_Labels : GTLRObject +@end + + +/** + * A list of traffic splits that together represent where traffic is being + * routed. + */ +@interface GTLRFirebaseAppHosting_TrafficSet : GTLRObject + +/** Required. The list of traffic splits. */ +@property(nonatomic, strong, nullable) NSArray *splits; + +@end + + +/** + * The traffic allocation for the backend. + */ +@interface GTLRFirebaseAppHosting_TrafficSplit : GTLRObject + +/** Required. The build that traffic is being routed to. */ +@property(nonatomic, copy, nullable) NSString *build; + +/** + * Required. The percentage of traffic to send to the build. Currently must be + * 100% or 0%. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *percent; + +@end + + +/** + * Version control metadata for a user associated with a resolved codebase. + * Currently assumes a Git user. + */ +@interface GTLRFirebaseAppHosting_UserMetadata : GTLRObject + +/** + * Output only. The 'name' field in a Git user's git.config. Required by Git. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Output only. The 'email' field in a Git user's git.config, if available. + */ +@property(nonatomic, copy, nullable) NSString *email; + +/** + * Output only. The URI of an image file associated with the user's account in + * an external source control provider, if available. + */ +@property(nonatomic, copy, nullable) NSString *imageUri; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingQuery.h b/Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingQuery.h new file mode 100644 index 000000000..15c332d3c --- /dev/null +++ b/Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingQuery.h @@ -0,0 +1,1287 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Firebase App Hosting API (firebaseapphosting/v1) +// Description: +// Firebase App Hosting streamlines the development and deployment of dynamic +// Next.js and Angular applications, offering built-in framework support, +// GitHub integration, and integration with other Firebase products. You can +// use this API to intervene in the Firebase App Hosting build process and add +// custom functionality not supported in our default Console & CLI flows, +// including triggering builds from external CI/CD workflows or deploying from +// pre-built container images. +// Documentation: +// https://firebase.google.com/docs/app-hosting + +#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 "GTLRFirebaseAppHostingObjects.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 Firebase App Hosting query classes. + */ +@interface GTLRFirebaseAppHostingQuery : GTLRQuery + +/** Selector specifying which fields to include in a partial response. */ +@property(nonatomic, copy, nullable) NSString *fields; + +@end + +/** + * Creates a new build for a backend. + * + * Method: firebaseapphosting.projects.locations.backends.builds.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseAppHostingCloudPlatform + */ +@interface GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsBuildsCreate : GTLRFirebaseAppHostingQuery + +/** Required. Desired ID of the build being created. */ +@property(nonatomic, copy, nullable) NSString *buildId; + +/** + * Required. The parent backend in the format: + * `projects/{project}/locations/{locationId}/backends/{backendId}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Optional. Indicates that the request should be validated and default values + * populated, without persisting the request or creating any resources. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRFirebaseAppHosting_Operation. + * + * Creates a new build for a backend. + * + * @param object The @c GTLRFirebaseAppHosting_Build to include in the query. + * @param parent Required. The parent backend in the format: + * `projects/{project}/locations/{locationId}/backends/{backendId}`. + * + * @return GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsBuildsCreate + */ ++ (instancetype)queryWithObject:(GTLRFirebaseAppHosting_Build *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a single build. + * + * Method: firebaseapphosting.projects.locations.backends.builds.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseAppHostingCloudPlatform + */ +@interface GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsBuildsDelete : GTLRFirebaseAppHostingQuery + +/** + * Optional. If the client provided etag is out of date, delete will be + * returned FAILED_PRECONDITION error. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Required. Name of the resource in the format: + * `projects/{project}/locations/{locationId}/backends/{backendId}/builds/{buildId}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes after the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Optional. Indicates that the request should be validated and default values + * populated, without persisting the request or deleting any resources. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRFirebaseAppHosting_Operation. + * + * Deletes a single build. + * + * @param name Required. Name of the resource in the format: + * `projects/{project}/locations/{locationId}/backends/{backendId}/builds/{buildId}`. + * + * @return GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsBuildsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets information about a build. + * + * Method: firebaseapphosting.projects.locations.backends.builds.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseAppHostingCloudPlatform + */ +@interface GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsBuildsGet : GTLRFirebaseAppHostingQuery + +/** + * Required. Name of the resource in the format: + * `projects/{project}/locations/{locationId}/backends/{backendId}/builds/{buildId}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRFirebaseAppHosting_Build. + * + * Gets information about a build. + * + * @param name Required. Name of the resource in the format: + * `projects/{project}/locations/{locationId}/backends/{backendId}/builds/{buildId}`. + * + * @return GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsBuildsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists builds in a given project, location, and backend. + * + * Method: firebaseapphosting.projects.locations.backends.builds.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseAppHostingCloudPlatform + */ +@interface GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsBuildsList : GTLRFirebaseAppHostingQuery + +/** + * Optional. A filter to narrow down results to a preferred subset. Learn more + * about filtering in Google's [AIP 160 standard](https://google.aip.dev/160). + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. Hint for how to order the results. Supported fields are `name` and + * `createTime`. To specify descending order, append a `desc` suffix. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. The maximum number of results to return. If not set, the service + * selects a default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token received from the nextPageToken field in the + * response. Send that page token to receive the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent backend in the form + * `projects/{project}/locations/{locationId}/backends/{backendId}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. If true, the request returns soft-deleted resources that haven't + * been fully-deleted yet. + */ +@property(nonatomic, assign) BOOL showDeleted; + +/** + * Fetches a @c GTLRFirebaseAppHosting_ListBuildsResponse. + * + * Lists builds in a given project, location, and backend. + * + * @param parent Required. The parent backend in the form + * `projects/{project}/locations/{locationId}/backends/{backendId}`. + * + * @return GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsBuildsList + * + * @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 backend in a given project and location. + * + * Method: firebaseapphosting.projects.locations.backends.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseAppHostingCloudPlatform + */ +@interface GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsCreate : GTLRFirebaseAppHostingQuery + +/** + * Required. Id of the backend. Also used as the service ID for Cloud Run, and + * as part of the default domain name. + */ +@property(nonatomic, copy, nullable) NSString *backendId; + +/** + * Required. A parent name of the form + * `projects/{project}/locations/{locationId}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and t he 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. Indicates that the request should be validated and default values + * populated, without persisting the request or creating any resources. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRFirebaseAppHosting_Operation. + * + * Creates a new backend in a given project and location. + * + * @param object The @c GTLRFirebaseAppHosting_Backend to include in the query. + * @param parent Required. A parent name of the form + * `projects/{project}/locations/{locationId}`. + * + * @return GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsCreate + */ ++ (instancetype)queryWithObject:(GTLRFirebaseAppHosting_Backend *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a single backend. + * + * Method: firebaseapphosting.projects.locations.backends.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseAppHostingCloudPlatform + */ +@interface GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsDelete : GTLRFirebaseAppHostingQuery + +/** + * Optional. If the client provided etag is out of date, delete will be + * returned FAILED_PRECONDITION error. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Optional. If set to true, any resources for this backend will also be + * deleted. Otherwise, any children resources will block deletion. + */ +@property(nonatomic, assign) BOOL force; + +/** + * Required. Name of the resource in the format: + * `projects/{project}/locations/{locationId}/backends/{backendId}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes after the first request. For example, + * consider a situation where you make an initial request and t he 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. Indicates that the request should be validated, without persisting + * the request or updating any resources. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRFirebaseAppHosting_Operation. + * + * Deletes a single backend. + * + * @param name Required. Name of the resource in the format: + * `projects/{project}/locations/{locationId}/backends/{backendId}`. + * + * @return GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Links a new domain to a backend. + * + * Method: firebaseapphosting.projects.locations.backends.domains.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseAppHostingCloudPlatform + */ +@interface GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsDomainsCreate : GTLRFirebaseAppHostingQuery + +/** Required. Id of the domain to create. Must be a valid domain name. */ +@property(nonatomic, copy, nullable) NSString *domainId; + +/** + * Required. The parent backend in the format: + * `projects/{project}/locations/{locationId}/backends/{backendId}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Optional. Indicates that the request should be validated and default values + * populated, without persisting the request or creating any resources. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRFirebaseAppHosting_Operation. + * + * Links a new domain to a backend. + * + * @param object The @c GTLRFirebaseAppHosting_Domain to include in the query. + * @param parent Required. The parent backend in the format: + * `projects/{project}/locations/{locationId}/backends/{backendId}`. + * + * @return GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsDomainsCreate + */ ++ (instancetype)queryWithObject:(GTLRFirebaseAppHosting_Domain *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a single domain. + * + * Method: firebaseapphosting.projects.locations.backends.domains.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseAppHostingCloudPlatform + */ +@interface GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsDomainsDelete : GTLRFirebaseAppHostingQuery + +/** + * Optional. If the client provided etag is out of date, delete will be + * returned FAILED_PRECONDITION error. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Required. Name of the resource in the format: + * `projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes after the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Optional. Indicates that the request should be validated and default values + * populated, without persisting the request or deleting any resources. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRFirebaseAppHosting_Operation. + * + * Deletes a single domain. + * + * @param name Required. Name of the resource in the format: + * `projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}`. + * + * @return GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsDomainsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets information about a domain. + * + * Method: firebaseapphosting.projects.locations.backends.domains.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseAppHostingCloudPlatform + */ +@interface GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsDomainsGet : GTLRFirebaseAppHostingQuery + +/** + * Required. Name of the resource in the format: + * `projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRFirebaseAppHosting_Domain. + * + * Gets information about a domain. + * + * @param name Required. Name of the resource in the format: + * `projects/{project}/locations/{locationId}/backends/{backendId}/domains/{domainId}`. + * + * @return GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsDomainsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists domains of a backend. + * + * Method: firebaseapphosting.projects.locations.backends.domains.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseAppHostingCloudPlatform + */ +@interface GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsDomainsList : GTLRFirebaseAppHostingQuery + +/** + * Optional. A filter to narrow down results to a preferred subset. Learn more + * about filtering in Google's [AIP 160 standard](https://google.aip.dev/160). + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. Hint for how to order the results. Supported fields are `name` and + * `createTime`. To specify descending order, append a `desc` suffix. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. The maximum number of results to return. If not set, the service + * selects a default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token received from the nextPageToken field in the + * response. Send that page token to receive the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent backend in the format: + * `projects/{project}/locations/{locationId}/backends/{backendId}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. If true, the request returns soft-deleted resources that haven't + * been fully-deleted yet. + */ +@property(nonatomic, assign) BOOL showDeleted; + +/** + * Fetches a @c GTLRFirebaseAppHosting_ListDomainsResponse. + * + * Lists domains of a backend. + * + * @param parent Required. The parent backend in the format: + * `projects/{project}/locations/{locationId}/backends/{backendId}`. + * + * @return GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsDomainsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates the information for a single domain. + * + * Method: firebaseapphosting.projects.locations.backends.domains.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseAppHostingCloudPlatform + */ +@interface GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsDomainsPatch : GTLRFirebaseAppHostingQuery + +/** + * Optional. If set to true, and the domain is not found, a new domain will be + * created. + */ +@property(nonatomic, assign) BOOL allowMissing; + +/** + * Identifier. The resource name of the domain, e.g. + * `/projects/p/locations/l/backends/b/domains/foo.com` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate 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. Field mask is used to specify the fields to be overwritten in the + * Domain resource by the update. The fields specified in the update_mask are + * relative to the resource, not the full request. A field will be overwritten + * if it is in the mask. If the user does not provide a mask then all fields + * will be overwritten. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Optional. Indicates that the request should be validated and default values + * populated, without persisting the request or modifying any resources. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRFirebaseAppHosting_Operation. + * + * Updates the information for a single domain. + * + * @param object The @c GTLRFirebaseAppHosting_Domain to include in the query. + * @param name Identifier. The resource name of the domain, e.g. + * `/projects/p/locations/l/backends/b/domains/foo.com` + * + * @return GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsDomainsPatch + */ ++ (instancetype)queryWithObject:(GTLRFirebaseAppHosting_Domain *)object + name:(NSString *)name; + +@end + +/** + * Gets information about a backend. + * + * Method: firebaseapphosting.projects.locations.backends.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseAppHostingCloudPlatform + */ +@interface GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsGet : GTLRFirebaseAppHostingQuery + +/** + * Required. Name of the resource in the format: + * `projects/{project}/locations/{locationId}/backends/{backendId}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRFirebaseAppHosting_Backend. + * + * Gets information about a backend. + * + * @param name Required. Name of the resource in the format: + * `projects/{project}/locations/{locationId}/backends/{backendId}`. + * + * @return GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists backends in a given project and location. + * + * Method: firebaseapphosting.projects.locations.backends.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseAppHostingCloudPlatform + */ +@interface GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsList : GTLRFirebaseAppHostingQuery + +/** + * Optional. A filter to narrow down results to a preferred subset. Learn more + * about filtering in Google's [AIP 160 standard](https://google.aip.dev/160). + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. Hint for how to order the results. Supported fields are `name` and + * `createTime`. To specify descending order, append a `desc` suffix. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. The maximum number of results to return. If not set, the service + * selects a default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token received from the nextPageToken field in the + * response. Send that page token to receive the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. A parent name of the form + * `projects/{project}/locations/{locationId}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. If true, the request returns soft-deleted resources that haven't + * been fully-deleted yet. + */ +@property(nonatomic, assign) BOOL showDeleted; + +/** + * Fetches a @c GTLRFirebaseAppHosting_ListBackendsResponse. + * + * Lists backends in a given project and location. + * + * @param parent Required. A parent name of the form + * `projects/{project}/locations/{locationId}`. + * + * @return GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates the information for a single backend. + * + * Method: firebaseapphosting.projects.locations.backends.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseAppHostingCloudPlatform + */ +@interface GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsPatch : GTLRFirebaseAppHostingQuery + +/** + * Optional. If set to true, and the backend is not found, a new backend will + * be created. + */ +@property(nonatomic, assign) BOOL allowMissing; + +/** + * Identifier. The resource name of the backend. Format: + * `projects/{project}/locations/{locationId}/backends/{backendId}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and t he 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. Field mask is used to specify the fields to be overwritten in the + * backend resource by the update. The fields specified in the update_mask are + * relative to the resource, not the full request. A field will be overwritten + * if it is in the mask. If the user does not provide a mask then all fields + * will be overwritten. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Optional. Indicates that the request should be validated, without persisting + * the request or updating any resources. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRFirebaseAppHosting_Operation. + * + * Updates the information for a single backend. + * + * @param object The @c GTLRFirebaseAppHosting_Backend to include in the query. + * @param name Identifier. The resource name of the backend. Format: + * `projects/{project}/locations/{locationId}/backends/{backendId}`. + * + * @return GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsPatch + */ ++ (instancetype)queryWithObject:(GTLRFirebaseAppHosting_Backend *)object + name:(NSString *)name; + +@end + +/** + * Creates a new rollout for a backend. + * + * Method: firebaseapphosting.projects.locations.backends.rollouts.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseAppHostingCloudPlatform + */ +@interface GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsRolloutsCreate : GTLRFirebaseAppHostingQuery + +/** + * Required. The parent backend in the format: + * `projects/{project}/locations/{locationId}/backends/{backendId}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** Optional. Desired ID of the rollout being created. */ +@property(nonatomic, copy, nullable) NSString *rolloutId; + +/** + * Optional. Indicates that the request should be validated and default values + * populated, without persisting the request or creating any resources. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRFirebaseAppHosting_Operation. + * + * Creates a new rollout for a backend. + * + * @param object The @c GTLRFirebaseAppHosting_Rollout to include in the query. + * @param parent Required. The parent backend in the format: + * `projects/{project}/locations/{locationId}/backends/{backendId}`. + * + * @return GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsRolloutsCreate + */ ++ (instancetype)queryWithObject:(GTLRFirebaseAppHosting_Rollout *)object + parent:(NSString *)parent; + +@end + +/** + * Gets information about a rollout. + * + * Method: firebaseapphosting.projects.locations.backends.rollouts.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseAppHostingCloudPlatform + */ +@interface GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsRolloutsGet : GTLRFirebaseAppHostingQuery + +/** + * Required. Name of the resource in the format: + * `projects/{project}/locations/{locationId}/backends/{backendId}/rollouts/{rolloutId}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRFirebaseAppHosting_Rollout. + * + * Gets information about a rollout. + * + * @param name Required. Name of the resource in the format: + * `projects/{project}/locations/{locationId}/backends/{backendId}/rollouts/{rolloutId}`. + * + * @return GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsRolloutsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists rollouts for a backend. + * + * Method: firebaseapphosting.projects.locations.backends.rollouts.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseAppHostingCloudPlatform + */ +@interface GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsRolloutsList : GTLRFirebaseAppHostingQuery + +/** + * Optional. A filter to narrow down results to a preferred subset. Learn more + * about filtering in Google's [AIP 160 standard](https://google.aip.dev/160). + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. Hint for how to order the results. Supported fields are `name` and + * `createTime`. To specify descending order, append a `desc` suffix. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. The maximum number of results to return. If not set, the service + * selects a default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token received from the nextPageToken field in the + * response. Send that page token to receive the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent backend in the format: + * `projects/{project}/locations/{locationId}/backends/{backendId}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. If true, the request returns soft-deleted resources that haven't + * been fully-deleted yet. + */ +@property(nonatomic, assign) BOOL showDeleted; + +/** + * Fetches a @c GTLRFirebaseAppHosting_ListRolloutsResponse. + * + * Lists rollouts for a backend. + * + * @param parent Required. The parent backend in the format: + * `projects/{project}/locations/{locationId}/backends/{backendId}`. + * + * @return GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsRolloutsList + * + * @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 backend's traffic. + * + * Method: firebaseapphosting.projects.locations.backends.traffic.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseAppHostingCloudPlatform + */ +@interface GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsTrafficGet : GTLRFirebaseAppHostingQuery + +/** + * Required. Name of the resource in the format: + * `projects/{project}/locations/{locationId}/backends/{backendId}/traffic`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRFirebaseAppHosting_Traffic. + * + * Gets information about a backend's traffic. + * + * @param name Required. Name of the resource in the format: + * `projects/{project}/locations/{locationId}/backends/{backendId}/traffic`. + * + * @return GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsTrafficGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Updates a backend's traffic. + * + * Method: firebaseapphosting.projects.locations.backends.traffic.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseAppHostingCloudPlatform + */ +@interface GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsTrafficPatch : GTLRFirebaseAppHostingQuery + +/** + * Identifier. The resource name of the backend's traffic. Format: + * `projects/{project}/locations/{locationId}/backends/{backendId}/traffic`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and t he 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. Field mask is used to specify the fields to be overwritten in the + * traffic resource by the update. The fields specified in the update_mask are + * relative to the resource, not the full request. A field will be overwritten + * if it is in the mask. If the user does not provide a mask then all fields + * will be overwritten. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Optional. Indicates that the request should be validated, without persisting + * the request or updating any resources. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRFirebaseAppHosting_Operation. + * + * Updates a backend's traffic. + * + * @param object The @c GTLRFirebaseAppHosting_Traffic to include in the query. + * @param name Identifier. The resource name of the backend's traffic. Format: + * `projects/{project}/locations/{locationId}/backends/{backendId}/traffic`. + * + * @return GTLRFirebaseAppHostingQuery_ProjectsLocationsBackendsTrafficPatch + */ ++ (instancetype)queryWithObject:(GTLRFirebaseAppHosting_Traffic *)object + name:(NSString *)name; + +@end + +/** + * Gets information about a location. + * + * Method: firebaseapphosting.projects.locations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseAppHostingCloudPlatform + */ +@interface GTLRFirebaseAppHostingQuery_ProjectsLocationsGet : GTLRFirebaseAppHostingQuery + +/** Resource name for the location. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRFirebaseAppHosting_Location. + * + * Gets information about a location. + * + * @param name Resource name for the location. + * + * @return GTLRFirebaseAppHostingQuery_ProjectsLocationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists information about the supported locations for this service. + * + * Method: firebaseapphosting.projects.locations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseAppHostingCloudPlatform + */ +@interface GTLRFirebaseAppHostingQuery_ProjectsLocationsList : GTLRFirebaseAppHostingQuery + +/** + * Optional. A list of extra location types that should be used as conditions + * for controlling the visibility of the locations. + */ +@property(nonatomic, strong, nullable) NSArray *extraLocationTypes; + +/** + * A filter to narrow down results to a preferred subset. The filtering + * language accepts strings like `"displayName=tokyo"`, and is documented in + * more detail in [AIP-160](https://google.aip.dev/160). + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** The resource that owns the locations collection, if applicable. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The maximum number of results to return. If not set, the service selects a + * default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token received from the `next_page_token` field in the response. Send + * that page token to receive the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRFirebaseAppHosting_ListLocationsResponse. + * + * Lists information about the supported locations for this service. + * + * @param name The resource that owns the locations collection, if applicable. + * + * @return GTLRFirebaseAppHostingQuery_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: firebaseapphosting.projects.locations.operations.cancel + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseAppHostingCloudPlatform + */ +@interface GTLRFirebaseAppHostingQuery_ProjectsLocationsOperationsCancel : GTLRFirebaseAppHostingQuery + +/** The name of the operation resource to be cancelled. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRFirebaseAppHosting_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 GTLRFirebaseAppHosting_CancelOperationRequest to + * include in the query. + * @param name The name of the operation resource to be cancelled. + * + * @return GTLRFirebaseAppHostingQuery_ProjectsLocationsOperationsCancel + */ ++ (instancetype)queryWithObject:(GTLRFirebaseAppHosting_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: firebaseapphosting.projects.locations.operations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseAppHostingCloudPlatform + */ +@interface GTLRFirebaseAppHostingQuery_ProjectsLocationsOperationsDelete : GTLRFirebaseAppHostingQuery + +/** The name of the operation resource to be deleted. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRFirebaseAppHosting_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 GTLRFirebaseAppHostingQuery_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: firebaseapphosting.projects.locations.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseAppHostingCloudPlatform + */ +@interface GTLRFirebaseAppHostingQuery_ProjectsLocationsOperationsGet : GTLRFirebaseAppHostingQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRFirebaseAppHosting_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 GTLRFirebaseAppHostingQuery_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: firebaseapphosting.projects.locations.operations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirebaseAppHostingCloudPlatform + */ +@interface GTLRFirebaseAppHostingQuery_ProjectsLocationsOperationsList : GTLRFirebaseAppHostingQuery + +/** 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 GTLRFirebaseAppHosting_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 GTLRFirebaseAppHostingQuery_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/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingService.h b/Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingService.h new file mode 100644 index 000000000..81b145bd3 --- /dev/null +++ b/Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingService.h @@ -0,0 +1,85 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Firebase App Hosting API (firebaseapphosting/v1) +// Description: +// Firebase App Hosting streamlines the development and deployment of dynamic +// Next.js and Angular applications, offering built-in framework support, +// GitHub integration, and integration with other Firebase products. You can +// use this API to intervene in the Firebase App Hosting build process and add +// custom functionality not supported in our default Console & CLI flows, +// including triggering builds from external CI/CD workflows or deploying from +// pre-built container images. +// Documentation: +// https://firebase.google.com/docs/app-hosting + +#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 kGTLRAuthScopeFirebaseAppHostingCloudPlatform; + +// ---------------------------------------------------------------------------- +// GTLRFirebaseAppHostingService +// + +/** + * Service for executing Firebase App Hosting API queries. + * + * Firebase App Hosting streamlines the development and deployment of dynamic + * Next.js and Angular applications, offering built-in framework support, + * GitHub integration, and integration with other Firebase products. You can + * use this API to intervene in the Firebase App Hosting build process and add + * custom functionality not supported in our default Console & CLI flows, + * including triggering builds from external CI/CD workflows or deploying from + * pre-built container images. + */ +@interface GTLRFirebaseAppHostingService : GTLRService + +// No new methods + +// Clients should create a standard query with any of the class methods in +// GTLRFirebaseAppHostingQuery.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/GKEHub/GTLRGKEHubObjects.m b/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m index 632eb15c7..3859d128f 100644 --- a/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m +++ b/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m @@ -310,6 +310,7 @@ NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_QuotaExceededTcpRoutes = @"QUOTA_EXCEEDED_TCP_ROUTES"; NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_QuotaExceededTlsRoutes = @"QUOTA_EXCEEDED_TLS_ROUTES"; NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_QuotaExceededTrafficPolicies = @"QUOTA_EXCEEDED_TRAFFIC_POLICIES"; +NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ThcPodUnschedulable = @"THC_POD_UNSCHEDULABLE"; NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_UnsupportedGatewayClass = @"UNSUPPORTED_GATEWAY_CLASS"; NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_UnsupportedMultipleControlPlanes = @"UNSUPPORTED_MULTIPLE_CONTROL_PLANES"; NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_VpcscGaSupported = @"VPCSC_GA_SUPPORTED"; diff --git a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h index 592d448be..d8957909f 100644 --- a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h +++ b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h @@ -1687,6 +1687,12 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_QuotaEx * Value: "QUOTA_EXCEEDED_TRAFFIC_POLICIES" */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_QuotaExceededTrafficPolicies; +/** + * THC pod unschedulable error code + * + * Value: "THC_POD_UNSCHEDULABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ThcPodUnschedulable; /** * Unsupported gateway class error code * @@ -5131,6 +5137,8 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_WorkloadCertificateSpec_Certifica * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_QuotaExceededTrafficPolicies * TrafficPolicy quota exceeded error code. (Value: * "QUOTA_EXCEEDED_TRAFFIC_POLICIES") + * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ThcPodUnschedulable THC pod + * unschedulable error code (Value: "THC_POD_UNSCHEDULABLE") * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_UnsupportedGatewayClass * Unsupported gateway class error code (Value: * "UNSUPPORTED_GATEWAY_CLASS") diff --git a/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m b/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m index 89e9077da..b95509491 100644 --- a/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m +++ b/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m @@ -1248,7 +1248,7 @@ @implementation GTLRHangoutsChat_GoogleAppsCardV1SelectionInput // @implementation GTLRHangoutsChat_GoogleAppsCardV1SelectionItem -@dynamic bottomText, materialIcon, selected, startIconUri, text, value; +@dynamic bottomText, selected, startIconUri, text, value; @end diff --git a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h index 1c11bb6af..022db40c8 100644 --- a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h +++ b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h @@ -4688,8 +4688,6 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty */ @property(nonatomic, copy, nullable) NSString *bottomText; -@property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1MaterialIcon *materialIcon; - /** * Whether the item is selected by default. If the selection input only accepts * one value (such as for radio buttons or a dropdown menu), only set this diff --git a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h index cdbd9950f..ae0e45e1c 100644 --- a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h +++ b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h @@ -75,7 +75,10 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Chat](https://support.google.com/chat/answer/12800149) and [Manage custom * emoji permissions](https://support.google.com/a/answer/12850085). Requires * [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with the [authorization + * scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.customemojis` * * Method: chat.customEmojis.create * @@ -93,7 +96,10 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Chat](https://support.google.com/chat/answer/12800149) and [Manage custom * emoji permissions](https://support.google.com/a/answer/12850085). Requires * [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with the [authorization + * scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.customemojis` * * @param object The @c GTLRHangoutsChat_CustomEmoji to include in the query. * @@ -115,7 +121,10 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Chat](https://support.google.com/chat/answer/12800149) and [Manage custom * emoji permissions](https://support.google.com/a/answer/12850085). Requires * [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with the [authorization + * scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.customemojis` * * Method: chat.customEmojis.delete * @@ -146,7 +155,10 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Chat](https://support.google.com/chat/answer/12800149) and [Manage custom * emoji permissions](https://support.google.com/a/answer/12850085). Requires * [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with the [authorization + * scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.customemojis` * * @param name Required. Resource name of the custom emoji to delete. Format: * `customEmojis/{customEmoji}` You can use the emoji name as an alias for @@ -166,7 +178,11 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * in Google Chat](https://support.google.com/chat/answer/12800149) and [Manage * custom emoji permissions](https://support.google.com/a/answer/12850085). * Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following [authorization + * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.customemojis.readonly` - + * `https://www.googleapis.com/auth/chat.customemojis` * * Method: chat.customEmojis.get * @@ -193,7 +209,11 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * in Google Chat](https://support.google.com/chat/answer/12800149) and [Manage * custom emoji permissions](https://support.google.com/a/answer/12850085). * Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following [authorization + * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.customemojis.readonly` - + * `https://www.googleapis.com/auth/chat.customemojis` * * @param name Required. Resource name of the custom emoji. Format: * `customEmojis/{customEmoji}` You can use the emoji name as an alias for @@ -214,7 +234,11 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Chat](https://support.google.com/chat/answer/12800149) and [Manage custom * emoji permissions](https://support.google.com/a/answer/12850085). Requires * [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following [authorization + * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.customemojis.readonly` - + * `https://www.googleapis.com/auth/chat.customemojis` * * Method: chat.customEmojis.list * @@ -260,7 +284,11 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Chat](https://support.google.com/chat/answer/12800149) and [Manage custom * emoji permissions](https://support.google.com/a/answer/12850085). Requires * [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following [authorization + * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.customemojis.readonly` - + * `https://www.googleapis.com/auth/chat.customemojis` * * @return GTLRHangoutsChatQuery_CustomEmojisList * @@ -322,9 +350,14 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Uploads an attachment. For an example, see [Upload media as a file * attachment](https://developers.google.com/workspace/chat/upload-media-attachments). * Requires user - * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). - * You can upload attachments up to 200 MB. Certain file types aren't - * supported. For details, see [File types blocked by Google + * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following [authorization + * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.messages.create` - + * `https://www.googleapis.com/auth/chat.messages` - + * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) You + * can upload attachments up to 200 MB. Certain file types aren't supported. + * For details, see [File types blocked by Google * Chat](https://support.google.com/chat/answer/7651457?&co=GENIE.Platform%3DDesktop#File%20types%20blocked%20in%20Google%20Chat). * * Method: chat.media.upload @@ -348,9 +381,14 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Uploads an attachment. For an example, see [Upload media as a file * attachment](https://developers.google.com/workspace/chat/upload-media-attachments). * Requires user - * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). - * You can upload attachments up to 200 MB. Certain file types aren't - * supported. For details, see [File types blocked by Google + * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following [authorization + * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.messages.create` - + * `https://www.googleapis.com/auth/chat.messages` - + * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) You + * can upload attachments up to 200 MB. Certain file types aren't supported. + * For details, see [File types blocked by Google * Chat](https://support.google.com/chat/answer/7651457?&co=GENIE.Platform%3DDesktop#File%20types%20blocked%20in%20Google%20Chat). * * @param object The @c GTLRHangoutsChat_UploadAttachmentRequest to include in @@ -371,10 +409,12 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa /** * Completes the [import * process](https://developers.google.com/workspace/chat/import-data) for the - * specified space and makes it visible to users. Requires [app - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * and domain-wide delegation. For more information, see [Authorize Google Chat - * apps to import + * specified space and makes it visible to users. Requires [user + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * and domain-wide delegation with the [authorization + * scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.import` For more information, see + * [Authorize Google Chat apps to import * data](https://developers.google.com/workspace/chat/authorize-import). * * Method: chat.spaces.completeImport @@ -394,10 +434,12 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * * Completes the [import * process](https://developers.google.com/workspace/chat/import-data) for the - * specified space and makes it visible to users. Requires [app - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * and domain-wide delegation. For more information, see [Authorize Google Chat - * apps to import + * specified space and makes it visible to users. Requires [user + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * and domain-wide delegation with the [authorization + * scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.import` For more information, see + * [Authorize Google Chat apps to import * data](https://developers.google.com/workspace/chat/authorize-import). * * @param object The @c GTLRHangoutsChat_CompleteImportSpaceRequest to include @@ -421,10 +463,16 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) * with [administrator approval](https://support.google.com/a?p=chat-app-auth) - * in [Developer Preview](https://developers.google.com/workspace/preview) - - * [User + * in [Developer Preview](https://developers.google.com/workspace/preview) and + * one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.app.spaces.create` - + * `https://www.googleapis.com/auth/chat.app.spaces` - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * When authenticating as an app, the `space.customer` field must be set in the + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.spaces.create` - + * `https://www.googleapis.com/auth/chat.spaces` - + * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) When + * authenticating as an app, the `space.customer` field must be set in the * request. Space membership upon creation depends on whether the space is * created in `Import mode`: * **Import mode:** No members are created. * **All * other modes:** The calling user is added as a member. This is: * The app @@ -464,10 +512,16 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) * with [administrator approval](https://support.google.com/a?p=chat-app-auth) - * in [Developer Preview](https://developers.google.com/workspace/preview) - - * [User + * in [Developer Preview](https://developers.google.com/workspace/preview) and + * one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.app.spaces.create` - + * `https://www.googleapis.com/auth/chat.app.spaces` - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * When authenticating as an app, the `space.customer` field must be set in the + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.spaces.create` - + * `https://www.googleapis.com/auth/chat.spaces` - + * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) When + * authenticating as an app, the `space.customer` field must be set in the * request. Space membership upon creation depends on whether the space is * created in `Import mode`: * **Import mode:** No members are created. * **All * other modes:** The calling user is added as a member. This is: * The app @@ -491,14 +545,20 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * space](https://developers.google.com/workspace/chat/delete-spaces). Supports * the following types of * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - * - Developer Preview: [App + * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * with [administrator approval](https://support.google.com/a?p=chat-app-auth). - * Requires that the Chat app created the space using app authentication. - - * [User + * with [administrator approval](https://support.google.com/a?p=chat-app-auth) + * in [Developer Preview](https://developers.google.com/workspace/preview) and + * the authorization scope: - `https://www.googleapis.com/auth/chat.app.delete` + * (only in spaces the app created) - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * You can authenticate and authorize this method with administrator privileges - * by setting the `use_admin_access` field in the request. + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.delete` - + * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) - + * User authentication grants administrator privileges when an administrator + * account authenticates, `use_admin_access` is `true`, and the following + * authorization scope is used: - + * `https://www.googleapis.com/auth/chat.admin.delete` * * Method: chat.spaces.delete * @@ -534,14 +594,20 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * space](https://developers.google.com/workspace/chat/delete-spaces). Supports * the following types of * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - * - Developer Preview: [App + * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * with [administrator approval](https://support.google.com/a?p=chat-app-auth). - * Requires that the Chat app created the space using app authentication. - - * [User + * with [administrator approval](https://support.google.com/a?p=chat-app-auth) + * in [Developer Preview](https://developers.google.com/workspace/preview) and + * the authorization scope: - `https://www.googleapis.com/auth/chat.app.delete` + * (only in spaces the app created) - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * You can authenticate and authorize this method with administrator privileges - * by setting the `use_admin_access` field in the request. + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.delete` - + * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) - + * User authentication grants administrator privileges when an administrator + * account authenticates, `use_admin_access` is `true`, and the following + * authorization scope is used: - + * `https://www.googleapis.com/auth/chat.admin.delete` * * @param name Required. Resource name of the space to delete. Format: * `spaces/{space}` @@ -562,12 +628,16 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Chat app. With [user * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), * returns the direct message space between the specified user and the - * authenticated user. // Supports the following types of + * authenticated user. Supports the following types of * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * - [User + * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - + * [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.spaces.readonly` - + * `https://www.googleapis.com/auth/chat.spaces` * * Method: chat.spaces.findDirectMessage * @@ -606,12 +676,16 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Chat app. With [user * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), * returns the direct message space between the specified user and the - * authenticated user. // Supports the following types of + * authenticated user. Supports the following types of * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * - [User + * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - + * [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.spaces.readonly` - + * `https://www.googleapis.com/auth/chat.spaces` * * @return GTLRHangoutsChatQuery_SpacesFindDirectMessage */ @@ -626,10 +700,18 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * - [User + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.bot` - + * `https://www.googleapis.com/auth/chat.app.spaces` with [administrator + * approval](https://support.google.com/a?p=chat-app-auth) - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * You can authenticate and authorize this method with administrator privileges - * by setting the `use_admin_access` field in the request. + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.spaces.readonly` - + * `https://www.googleapis.com/auth/chat.spaces` - User authentication grants + * administrator privileges when an administrator account authenticates, + * `use_admin_access` is `true`, and one of the following authorization scopes + * is used: - `https://www.googleapis.com/auth/chat.admin.spaces.readonly` - + * `https://www.googleapis.com/auth/chat.admin.spaces` * * Method: chat.spaces.get * @@ -668,10 +750,18 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * - [User + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.bot` - + * `https://www.googleapis.com/auth/chat.app.spaces` with [administrator + * approval](https://support.google.com/a?p=chat-app-auth) - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * You can authenticate and authorize this method with administrator privileges - * by setting the `use_admin_access` field in the request. + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.spaces.readonly` - + * `https://www.googleapis.com/auth/chat.spaces` - User authentication grants + * administrator privileges when an administrator account authenticates, + * `use_admin_access` is `true`, and one of the following authorization scopes + * is used: - `https://www.googleapis.com/auth/chat.admin.spaces.readonly` - + * `https://www.googleapis.com/auth/chat.admin.spaces` * * @param name Required. Resource name of the space, in the form * `spaces/{space}`. Format: `spaces/{space}` @@ -690,9 +780,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * - [User + * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - + * [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * To list all named spaces by Google Workspace organization, use the + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.spaces.readonly` - + * `https://www.googleapis.com/auth/chat.spaces` To list all named spaces by + * Google Workspace organization, use the * [`spaces.search()`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/search) * method using Workspace administrator privileges instead. * @@ -743,9 +837,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * - [User + * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - + * [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * To list all named spaces by Google Workspace organization, use the + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.spaces.readonly` - + * `https://www.googleapis.com/auth/chat.spaces` To list all named spaces by + * Google Workspace organization, use the * [`spaces.search()`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/search) * method using Workspace administrator privileges instead. * @@ -770,11 +868,18 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) * with [administrator approval](https://support.google.com/a?p=chat-app-auth) - * in [Developer Preview](https://developers.google.com/workspace/preview) - - * [User + * in [Developer Preview](https://developers.google.com/workspace/preview) and + * the authorization scope: - + * `https://www.googleapis.com/auth/chat.app.memberships` - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * You can authenticate and authorize this method with administrator privileges - * by setting the `use_admin_access` field in the request. For example usage, + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.memberships` - + * `https://www.googleapis.com/auth/chat.memberships.app` (to add the calling + * app to the space) - `https://www.googleapis.com/auth/chat.import` (import + * mode spaces only) - User authentication grants administrator privileges when + * an administrator account authenticates, `use_admin_access` is `true`, and + * the following authorization scope is used: - + * `https://www.googleapis.com/auth/chat.admin.memberships` For example usage, * see: - [Invite or add a user to a * space](https://developers.google.com/workspace/chat/create-members#create-user-membership). * - [Invite or add a Google Group to a @@ -825,11 +930,18 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) * with [administrator approval](https://support.google.com/a?p=chat-app-auth) - * in [Developer Preview](https://developers.google.com/workspace/preview) - - * [User + * in [Developer Preview](https://developers.google.com/workspace/preview) and + * the authorization scope: - + * `https://www.googleapis.com/auth/chat.app.memberships` - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * You can authenticate and authorize this method with administrator privileges - * by setting the `use_admin_access` field in the request. For example usage, + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.memberships` - + * `https://www.googleapis.com/auth/chat.memberships.app` (to add the calling + * app to the space) - `https://www.googleapis.com/auth/chat.import` (import + * mode spaces only) - User authentication grants administrator privileges when + * an administrator account authenticates, `use_admin_access` is `true`, and + * the following authorization scope is used: - + * `https://www.googleapis.com/auth/chat.admin.memberships` For example usage, * see: - [Invite or add a user to a * space](https://developers.google.com/workspace/chat/create-members#create-user-membership). * - [Invite or add a Google Group to a @@ -857,11 +969,18 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) * with [administrator approval](https://support.google.com/a?p=chat-app-auth) - * in [Developer Preview](https://developers.google.com/workspace/preview) - - * [User + * in [Developer Preview](https://developers.google.com/workspace/preview) and + * the authorization scope: - + * `https://www.googleapis.com/auth/chat.app.memberships` - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * You can authenticate and authorize this method with administrator privileges - * by setting the `use_admin_access` field in the request. To delete + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.memberships` - + * `https://www.googleapis.com/auth/chat.memberships.app` (to remove the + * calling app from the space) - `https://www.googleapis.com/auth/chat.import` + * (import mode spaces only) - User authentication grants administrator + * privileges when an administrator account authenticates, `use_admin_access` + * is `true`, and the following authorization scope is used: - + * `https://www.googleapis.com/auth/chat.admin.memberships` To delete * memberships for space managers, the requester must be a space manager. If * you're using [app * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) @@ -917,11 +1036,18 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) * with [administrator approval](https://support.google.com/a?p=chat-app-auth) - * in [Developer Preview](https://developers.google.com/workspace/preview) - - * [User + * in [Developer Preview](https://developers.google.com/workspace/preview) and + * the authorization scope: - + * `https://www.googleapis.com/auth/chat.app.memberships` - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * You can authenticate and authorize this method with administrator privileges - * by setting the `use_admin_access` field in the request. To delete + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.memberships` - + * `https://www.googleapis.com/auth/chat.memberships.app` (to remove the + * calling app from the space) - `https://www.googleapis.com/auth/chat.import` + * (import mode spaces only) - User authentication grants administrator + * privileges when an administrator account authenticates, `use_admin_access` + * is `true`, and the following authorization scope is used: - + * `https://www.googleapis.com/auth/chat.admin.memberships` To delete * memberships for space managers, the requester must be a space manager. If * you're using [app * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) @@ -956,10 +1082,16 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * - [User + * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - + * [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * You can authenticate and authorize this method with administrator privileges - * by setting the `use_admin_access` field in the request. + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.memberships.readonly` - + * `https://www.googleapis.com/auth/chat.memberships` - User authentication + * grants administrator privileges when an administrator account authenticates, + * `use_admin_access` is `true`, and one of the following authorization scopes + * is used: - `https://www.googleapis.com/auth/chat.admin.memberships.readonly` + * - `https://www.googleapis.com/auth/chat.admin.memberships` * * Method: chat.spaces.members.get * @@ -1005,10 +1137,16 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * - [User + * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - + * [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * You can authenticate and authorize this method with administrator privileges - * by setting the `use_admin_access` field in the request. + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.memberships.readonly` - + * `https://www.googleapis.com/auth/chat.memberships` - User authentication + * grants administrator privileges when an administrator account authenticates, + * `use_admin_access` is `true`, and one of the following authorization scopes + * is used: - `https://www.googleapis.com/auth/chat.admin.memberships.readonly` + * - `https://www.googleapis.com/auth/chat.admin.memberships` * * @param name Required. Resource name of the membership to retrieve. To get * the app's own membership [by using user @@ -1039,10 +1177,18 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * - [User + * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - + * [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * You can authenticate and authorize this method with administrator privileges - * by setting the `use_admin_access` field in the request. + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.memberships.readonly` - + * `https://www.googleapis.com/auth/chat.memberships` - + * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) - + * User authentication grants administrator privileges when an administrator + * account authenticates, `use_admin_access` is `true`, and one of the + * following authorization scopes is used: - + * `https://www.googleapis.com/auth/chat.admin.memberships.readonly` - + * `https://www.googleapis.com/auth/chat.admin.memberships` * * Method: chat.spaces.members.list * @@ -1143,10 +1289,18 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * - [User + * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - + * [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * You can authenticate and authorize this method with administrator privileges - * by setting the `use_admin_access` field in the request. + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.memberships.readonly` - + * `https://www.googleapis.com/auth/chat.memberships` - + * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) - + * User authentication grants administrator privileges when an administrator + * account authenticates, `use_admin_access` is `true`, and one of the + * following authorization scopes is used: - + * `https://www.googleapis.com/auth/chat.admin.memberships.readonly` - + * `https://www.googleapis.com/auth/chat.admin.memberships` * * @param parent Required. The resource name of the space for which to fetch a * membership list. Format: spaces/{space} @@ -1166,14 +1320,21 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * space](https://developers.google.com/workspace/chat/update-members). * Supports the following types of * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - * - Developer Preview: [App + * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * with [administrator approval](https://support.google.com/a?p=chat-app-auth). - * Requires that the Chat app created the space using app authentication. - - * [User + * with [administrator approval](https://support.google.com/a?p=chat-app-auth) + * in [Developer Preview](https://developers.google.com/workspace/preview) and + * the authorization scope: - + * `https://www.googleapis.com/auth/chat.app.memberships` (only in spaces the + * app created) - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * You can authenticate and authorize this method with administrator privileges - * by setting the `use_admin_access` field in the request. + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.memberships` - + * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) - + * User authentication grants administrator privileges when an administrator + * account authenticates, `use_admin_access` is `true`, and the following + * authorization scope is used: - + * `https://www.googleapis.com/auth/chat.admin.memberships` * * Method: chat.spaces.members.patch * @@ -1216,14 +1377,21 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * space](https://developers.google.com/workspace/chat/update-members). * Supports the following types of * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - * - Developer Preview: [App + * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * with [administrator approval](https://support.google.com/a?p=chat-app-auth). - * Requires that the Chat app created the space using app authentication. - - * [User + * with [administrator approval](https://support.google.com/a?p=chat-app-auth) + * in [Developer Preview](https://developers.google.com/workspace/preview) and + * the authorization scope: - + * `https://www.googleapis.com/auth/chat.app.memberships` (only in spaces the + * app created) - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * You can authenticate and authorize this method with administrator privileges - * by setting the `use_admin_access` field in the request. + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.memberships` - + * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) - + * User authentication grants administrator privileges when an administrator + * account authenticates, `use_admin_access` is `true`, and the following + * authorization scope is used: - + * `https://www.googleapis.com/auth/chat.admin.memberships` * * @param object The @c GTLRHangoutsChat_Membership to include in the query. * @param name Identifier. Resource name of the membership, assigned by the @@ -1243,7 +1411,10 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * For an example, see [Get metadata about a message * attachment](https://developers.google.com/workspace/chat/get-media-attachments). * Requires [app - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) + * with the [authorization + * scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.bot` * * Method: chat.spaces.messages.attachments.get * @@ -1267,7 +1438,10 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * For an example, see [Get metadata about a message * attachment](https://developers.google.com/workspace/chat/get-media-attachments). * Requires [app - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) + * with the [authorization + * scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.bot` * * @param name Required. Resource name of the attachment, in the form * `spaces/{space}/messages/{message}/attachments/{attachment}`. @@ -1280,12 +1454,19 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa /** * Creates a message in a Google Chat space. For an example, see [Send a - * message](https://developers.google.com/workspace/chat/create-messages). The - * `create()` method requires either [user + * message](https://developers.google.com/workspace/chat/create-messages). + * Supports the following types of + * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): + * - [App + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) + * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - + * [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * or [app - * authentication](https://developers.google.com/workspace/chat/authorize-import). - * Chat attributes the message sender differently depending on the type of + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.messages.create` - + * `https://www.googleapis.com/auth/chat.messages` - + * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) Chat + * attributes the message sender differently depending on the type of * authentication that you use in your request. The following image shows how * Chat attributes a message when you use app authentication. Chat displays the * Chat app as the message sender. The content of the message can contain text @@ -1377,12 +1558,19 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Fetches a @c GTLRHangoutsChat_Message. * * Creates a message in a Google Chat space. For an example, see [Send a - * message](https://developers.google.com/workspace/chat/create-messages). The - * `create()` method requires either [user + * message](https://developers.google.com/workspace/chat/create-messages). + * Supports the following types of + * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): + * - [App + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) + * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - + * [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * or [app - * authentication](https://developers.google.com/workspace/chat/authorize-import). - * Chat attributes the message sender differently depending on the type of + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.messages.create` - + * `https://www.googleapis.com/auth/chat.messages` - + * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) Chat + * attributes the message sender differently depending on the type of * authentication that you use in your request. The following image shows how * Chat attributes a message when you use app authentication. Chat displays the * Chat app as the message sender. The content of the message can contain text @@ -1419,10 +1607,14 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * - [User + * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - + * [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * When using app authentication, requests can only delete messages created by - * the calling Chat app. + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.messages` - + * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) When + * using app authentication, requests can only delete messages created by the + * calling Chat app. * * Method: chat.spaces.messages.delete * @@ -1461,10 +1653,14 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * - [User + * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - + * [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * When using app authentication, requests can only delete messages created by - * the calling Chat app. + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.messages` - + * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) When + * using app authentication, requests can only delete messages created by the + * calling Chat app. * * @param name Required. Resource name of the message. Format: * `spaces/{space}/messages/{message}` If you've set a custom ID for your @@ -1485,9 +1681,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * - [User + * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - + * [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * Note: Might return a message from a blocked member or space. + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.messages.readonly` - + * `https://www.googleapis.com/auth/chat.messages` Note: Might return a message + * from a blocked member or space. * * Method: chat.spaces.messages.get * @@ -1516,9 +1716,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * - [User + * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - + * [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * Note: Might return a message from a blocked member or space. + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.messages.readonly` - + * `https://www.googleapis.com/auth/chat.messages` Note: Might return a message + * from a blocked member or space. * * @param name Required. Resource name of the message. Format: * `spaces/{space}/messages/{message}` If you've set a custom ID for your @@ -1539,7 +1743,12 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * the response contains an empty JSON object, `{}`. For an example, see [List * messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list). * Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following [authorization + * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.messages.readonly` - + * `https://www.googleapis.com/auth/chat.messages` - + * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) * * Method: chat.spaces.messages.list * @@ -1619,7 +1828,12 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * the response contains an empty JSON object, `{}`. For an example, see [List * messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list). * Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following [authorization + * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.messages.readonly` - + * `https://www.googleapis.com/auth/chat.messages` - + * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) * * @param parent Required. The resource name of the space to list messages * from. Format: `spaces/{space}` @@ -1644,10 +1858,14 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * - [User + * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - + * [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * When using app authentication, requests can only update messages created by - * the calling Chat app. + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.messages` - + * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) When + * using app authentication, requests can only update messages created by the + * calling Chat app. * * Method: chat.spaces.messages.patch * @@ -1704,10 +1922,14 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * - [User + * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - + * [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * When using app authentication, requests can only update messages created by - * the calling Chat app. + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.messages` - + * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) When + * using app authentication, requests can only update messages created by the + * calling Chat app. * * @param object The @c GTLRHangoutsChat_Message to include in the query. * @param name Identifier. Resource name of the message. Format: @@ -1733,7 +1955,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * reaction to a * message](https://developers.google.com/workspace/chat/create-reactions). * Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following [authorization + * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.messages.reactions.create` - + * `https://www.googleapis.com/auth/chat.messages.reactions` - + * `https://www.googleapis.com/auth/chat.messages` - + * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) * * Method: chat.spaces.messages.reactions.create * @@ -1758,7 +1986,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * reaction to a * message](https://developers.google.com/workspace/chat/create-reactions). * Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following [authorization + * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.messages.reactions.create` - + * `https://www.googleapis.com/auth/chat.messages.reactions` - + * `https://www.googleapis.com/auth/chat.messages` - + * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) * * @param object The @c GTLRHangoutsChat_Reaction to include in the query. * @param parent Required. The message where the reaction is created. Format: @@ -1775,7 +2009,12 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Deletes a reaction to a message. For an example, see [Delete a * reaction](https://developers.google.com/workspace/chat/delete-reactions). * Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following [authorization + * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.messages.reactions` - + * `https://www.googleapis.com/auth/chat.messages` - + * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) * * Method: chat.spaces.messages.reactions.delete * @@ -1798,7 +2037,12 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Deletes a reaction to a message. For an example, see [Delete a * reaction](https://developers.google.com/workspace/chat/delete-reactions). * Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following [authorization + * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.messages.reactions` - + * `https://www.googleapis.com/auth/chat.messages` - + * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) * * @param name Required. Name of the reaction to delete. Format: * `spaces/{space}/messages/{message}/reactions/{reaction}` @@ -1813,7 +2057,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Lists reactions to a message. For an example, see [List reactions for a * message](https://developers.google.com/workspace/chat/list-reactions). * Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following [authorization + * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.messages.reactions.readonly` - + * `https://www.googleapis.com/auth/chat.messages.reactions` - + * `https://www.googleapis.com/auth/chat.messages.readonly` - + * `https://www.googleapis.com/auth/chat.messages` * * Method: chat.spaces.messages.reactions.list * @@ -1878,7 +2128,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Lists reactions to a message. For an example, see [List reactions for a * message](https://developers.google.com/workspace/chat/list-reactions). * Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following [authorization + * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.messages.reactions.readonly` - + * `https://www.googleapis.com/auth/chat.messages.reactions` - + * `https://www.googleapis.com/auth/chat.messages.readonly` - + * `https://www.googleapis.com/auth/chat.messages` * * @param parent Required. The message users reacted to. Format: * `spaces/{space}/messages/{message}` @@ -1903,10 +2159,14 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * - [User + * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - + * [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * When using app authentication, requests can only update messages created by - * the calling Chat app. + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.messages` - + * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) When + * using app authentication, requests can only update messages created by the + * calling Chat app. * * Method: chat.spaces.messages.update * @@ -1963,10 +2223,14 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * - [User + * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - + * [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * When using app authentication, requests can only update messages created by - * the calling Chat app. + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.messages` - + * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) When + * using app authentication, requests can only update messages created by the + * calling Chat app. * * @param object The @c GTLRHangoutsChat_Message to include in the query. * @param name Identifier. Resource name of the message. Format: @@ -1998,11 +2262,17 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) * with [administrator approval](https://support.google.com/a?p=chat-app-auth) - * in [Developer Preview](https://developers.google.com/workspace/preview) - - * [User + * in [Developer Preview](https://developers.google.com/workspace/preview) and + * one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.app.spaces` - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * You can authenticate and authorize this method with administrator privileges - * by setting the `use_admin_access` field in the request. + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.spaces` - + * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) - + * User authentication grants administrator privileges when an administrator + * account authenticates, `use_admin_access` is `true`, and the following + * authorization scopes is used: - + * `https://www.googleapis.com/auth/chat.admin.spaces` * * Method: chat.spaces.patch * @@ -2097,11 +2367,17 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) * with [administrator approval](https://support.google.com/a?p=chat-app-auth) - * in [Developer Preview](https://developers.google.com/workspace/preview) - - * [User + * in [Developer Preview](https://developers.google.com/workspace/preview) and + * one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.app.spaces` - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) - * You can authenticate and authorize this method with administrator privileges - * by setting the `use_admin_access` field in the request. + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.spaces` - + * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) - + * User authentication grants administrator privileges when an administrator + * account authenticates, `use_admin_access` is `true`, and the following + * authorization scopes is used: - + * `https://www.googleapis.com/auth/chat.admin.spaces` * * @param object The @c GTLRHangoutsChat_Space to include in the query. * @param name Identifier. Resource name of the space. Format: `spaces/{space}` @@ -2122,8 +2398,12 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa /** * 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`. + * privileges](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user#admin-privileges) + * and one of the following [authorization + * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.admin.spaces.readonly` - + * `https://www.googleapis.com/auth/chat.admin.spaces` In the request, set + * `use_admin_access` to `true`. * * Method: chat.spaces.search * @@ -2223,8 +2503,12 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * * 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`. + * privileges](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user#admin-privileges) + * and one of the following [authorization + * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.admin.spaces.readonly` - + * `https://www.googleapis.com/auth/chat.admin.spaces` In the request, set + * `use_admin_access` to `true`. * * @return GTLRHangoutsChatQuery_SpacesSearch * @@ -2275,7 +2559,11 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * `ALREADY_EXISTS` when setting up a space, try a different `displayName`. An * existing space within the Google Workspace organization might already use * this display name. Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following [authorization + * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.spaces.create` - + * `https://www.googleapis.com/auth/chat.spaces` * * Method: chat.spaces.setup * @@ -2326,7 +2614,11 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * `ALREADY_EXISTS` when setting up a space, try a different `displayName`. An * existing space within the Google Workspace organization might already use * this display name. Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following [authorization + * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.spaces.create` - + * `https://www.googleapis.com/auth/chat.spaces` * * @param object The @c GTLRHangoutsChat_SetUpSpaceRequest to include in the * query. @@ -2345,9 +2637,20 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * updated, the server returns the updated `Message` resource in the event * payload. Note: The `permissionSettings` field is not returned in the Space * object of the Space event data for this request. Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). - * To get an event, the authenticated user must be a member of the space. For - * an example, see [Get details about an event from a Google Chat + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with an [authorization + * scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes) + * appropriate for reading the requested data: - + * `https://www.googleapis.com/auth/chat.spaces.readonly` - + * `https://www.googleapis.com/auth/chat.spaces` - + * `https://www.googleapis.com/auth/chat.messages.readonly` - + * `https://www.googleapis.com/auth/chat.messages` - + * `https://www.googleapis.com/auth/chat.messages.reactions.readonly` - + * `https://www.googleapis.com/auth/chat.messages.reactions` - + * `https://www.googleapis.com/auth/chat.memberships.readonly` - + * `https://www.googleapis.com/auth/chat.memberships` To get an event, the + * authenticated user must be a member of the space. For an example, see [Get + * details about an event from a Google Chat * space](https://developers.google.com/workspace/chat/get-space-event). * * Method: chat.spaces.spaceEvents.get @@ -2382,9 +2685,20 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * updated, the server returns the updated `Message` resource in the event * payload. Note: The `permissionSettings` field is not returned in the Space * object of the Space event data for this request. Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). - * To get an event, the authenticated user must be a member of the space. For - * an example, see [Get details about an event from a Google Chat + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with an [authorization + * scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes) + * appropriate for reading the requested data: - + * `https://www.googleapis.com/auth/chat.spaces.readonly` - + * `https://www.googleapis.com/auth/chat.spaces` - + * `https://www.googleapis.com/auth/chat.messages.readonly` - + * `https://www.googleapis.com/auth/chat.messages` - + * `https://www.googleapis.com/auth/chat.messages.reactions.readonly` - + * `https://www.googleapis.com/auth/chat.messages.reactions` - + * `https://www.googleapis.com/auth/chat.memberships.readonly` - + * `https://www.googleapis.com/auth/chat.memberships` To get an event, the + * authenticated user must be a member of the space. For an example, see [Get + * details about an event from a Google Chat * space](https://developers.google.com/workspace/chat/get-space-event). * * @param name Required. The resource name of the space event. Format: @@ -2404,9 +2718,20 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * resources that contain the latest membership details. If new members were * removed during the requested period, the event payload contains an empty * `Membership` resource. Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). - * To list events, the authenticated user must be a member of the space. For an - * example, see [List events from a Google Chat + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with an [authorization + * scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes) + * appropriate for reading the requested data: - + * `https://www.googleapis.com/auth/chat.spaces.readonly` - + * `https://www.googleapis.com/auth/chat.spaces` - + * `https://www.googleapis.com/auth/chat.messages.readonly` - + * `https://www.googleapis.com/auth/chat.messages` - + * `https://www.googleapis.com/auth/chat.messages.reactions.readonly` - + * `https://www.googleapis.com/auth/chat.messages.reactions` - + * `https://www.googleapis.com/auth/chat.memberships.readonly` - + * `https://www.googleapis.com/auth/chat.memberships` To list events, the + * authenticated user must be a member of the space. For an example, see [List + * events from a Google Chat * space](https://developers.google.com/workspace/chat/list-space-events). * * Method: chat.spaces.spaceEvents.list @@ -2490,9 +2815,20 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * resources that contain the latest membership details. If new members were * removed during the requested period, the event payload contains an empty * `Membership` resource. Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). - * To list events, the authenticated user must be a member of the space. For an - * example, see [List events from a Google Chat + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with an [authorization + * scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes) + * appropriate for reading the requested data: - + * `https://www.googleapis.com/auth/chat.spaces.readonly` - + * `https://www.googleapis.com/auth/chat.spaces` - + * `https://www.googleapis.com/auth/chat.messages.readonly` - + * `https://www.googleapis.com/auth/chat.messages` - + * `https://www.googleapis.com/auth/chat.messages.reactions.readonly` - + * `https://www.googleapis.com/auth/chat.messages.reactions` - + * `https://www.googleapis.com/auth/chat.memberships.readonly` - + * `https://www.googleapis.com/auth/chat.memberships` To list events, the + * authenticated user must be a member of the space. For an example, see [List + * events from a Google Chat * space](https://developers.google.com/workspace/chat/list-space-events). * * @param parent Required. Resource name of the [Google Chat @@ -2515,7 +2851,11 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * space read * state](https://developers.google.com/workspace/chat/get-space-read-state). * Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following [authorization + * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.users.readstate.readonly` - + * `https://www.googleapis.com/auth/chat.users.readstate` * * Method: chat.users.spaces.getSpaceReadState * @@ -2544,7 +2884,11 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * space read * state](https://developers.google.com/workspace/chat/get-space-read-state). * Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following [authorization + * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.users.readstate.readonly` - + * `https://www.googleapis.com/auth/chat.users.readstate` * * @param name Required. Resource name of the space read state to retrieve. * Only supports getting read state for the calling user. To refer to the @@ -2566,7 +2910,10 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * space notification * setting](https://developers.google.com/workspace/chat/get-space-notification-setting). * Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with the [authorization + * scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.users.spacesettings` * * Method: chat.users.spaces.spaceNotificationSetting.get * @@ -2591,7 +2938,10 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * space notification * setting](https://developers.google.com/workspace/chat/get-space-notification-setting). * Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with the [authorization + * scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.users.spacesettings` * * @param name Required. Format: * users/{user}/spaces/{space}/spaceNotificationSetting - @@ -2611,7 +2961,10 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * caller's space notification * setting](https://developers.google.com/workspace/chat/update-space-notification-setting). * Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with the [authorization + * scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.users.spacesettings` * * Method: chat.users.spaces.spaceNotificationSetting.patch * @@ -2640,7 +2993,10 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * caller's space notification * setting](https://developers.google.com/workspace/chat/update-space-notification-setting). * Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with the [authorization + * scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.users.spacesettings` * * @param object The @c GTLRHangoutsChat_SpaceNotificationSetting to include in * the query. @@ -2660,7 +3016,11 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * thread read * state](https://developers.google.com/workspace/chat/get-thread-read-state). * Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following [authorization + * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.users.readstate.readonly` - + * `https://www.googleapis.com/auth/chat.users.readstate` * * Method: chat.users.spaces.threads.getThreadReadState * @@ -2691,7 +3051,11 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * thread read * state](https://developers.google.com/workspace/chat/get-thread-read-state). * Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following [authorization + * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.users.readstate.readonly` - + * `https://www.googleapis.com/auth/chat.users.readstate` * * @param name Required. Resource name of the thread read state to retrieve. * Only supports getting read state for the calling user. To refer to the @@ -2714,7 +3078,10 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * messages. For an example, see [Update a user's space read * state](https://developers.google.com/workspace/chat/update-space-read-state). * Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with the [authorization + * scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.users.readstate` * * Method: chat.users.spaces.updateSpaceReadState * @@ -2751,7 +3118,10 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * messages. For an example, see [Update a user's space read * state](https://developers.google.com/workspace/chat/update-space-read-state). * Requires [user - * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with the [authorization + * scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + * - `https://www.googleapis.com/auth/chat.users.readstate` * * @param object The @c GTLRHangoutsChat_SpaceReadState to include in the * query. diff --git a/Sources/GeneratedServices/Kmsinventory/Public/GoogleAPIClientForREST/GTLRKmsinventoryObjects.h b/Sources/GeneratedServices/Kmsinventory/Public/GoogleAPIClientForREST/GTLRKmsinventoryObjects.h index c4c67b995..ca8d33536 100644 --- a/Sources/GeneratedServices/Kmsinventory/Public/GoogleAPIClientForREST/GTLRKmsinventoryObjects.h +++ b/Sources/GeneratedServices/Kmsinventory/Public/GoogleAPIClientForREST/GTLRKmsinventoryObjects.h @@ -364,7 +364,7 @@ FOUNDATION_EXTERN NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVe */ FOUNDATION_EXTERN NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_State_CryptoKeyVersionStateUnspecified; /** - * This key material of this version is destroyed and no longer stored. This + * The key material of this version is destroyed and no longer stored. This * version may only become ENABLED again if this version is reimport_eligible * and the original key material is reimported with a call to * KeyManagementService.ImportCryptoKeyVersion. @@ -1414,7 +1414,7 @@ FOUNDATION_EXTERN NSString * const kGTLRKmsinventory_GoogleCloudKmsV1KeyOperatio * @arg @c kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_State_CryptoKeyVersionStateUnspecified * Not specified. (Value: "CRYPTO_KEY_VERSION_STATE_UNSPECIFIED") * @arg @c kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_State_Destroyed - * This key material of this version is destroyed and no longer stored. + * The key material of this version is destroyed and no longer stored. * This version may only become ENABLED again if this version is * reimport_eligible and the original key material is reimported with a * call to KeyManagementService.ImportCryptoKeyVersion. (Value: diff --git a/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaObjects.m b/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaObjects.m index 4fc908a68..46e6a8c75 100644 --- a/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaObjects.m +++ b/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaObjects.m @@ -13,6 +13,12 @@ // ---------------------------------------------------------------------------- // Constants +// GTLRManagedKafka_CheckCompatibilityRequest.schemaType +NSString * const kGTLRManagedKafka_CheckCompatibilityRequest_SchemaType_Avro = @"AVRO"; +NSString * const kGTLRManagedKafka_CheckCompatibilityRequest_SchemaType_Json = @"JSON"; +NSString * const kGTLRManagedKafka_CheckCompatibilityRequest_SchemaType_Protobuf = @"PROTOBUF"; +NSString * const kGTLRManagedKafka_CheckCompatibilityRequest_SchemaType_SchemaTypeUnspecified = @"SCHEMA_TYPE_UNSPECIFIED"; + // GTLRManagedKafka_Cluster.state NSString * const kGTLRManagedKafka_Cluster_State_Active = @"ACTIVE"; NSString * const kGTLRManagedKafka_Cluster_State_Creating = @"CREATING"; @@ -34,11 +40,65 @@ NSString * const kGTLRManagedKafka_Connector_State_Stopped = @"STOPPED"; NSString * const kGTLRManagedKafka_Connector_State_Unassigned = @"UNASSIGNED"; +// GTLRManagedKafka_CreateVersionRequest.schemaType +NSString * const kGTLRManagedKafka_CreateVersionRequest_SchemaType_Avro = @"AVRO"; +NSString * const kGTLRManagedKafka_CreateVersionRequest_SchemaType_Json = @"JSON"; +NSString * const kGTLRManagedKafka_CreateVersionRequest_SchemaType_Protobuf = @"PROTOBUF"; +NSString * const kGTLRManagedKafka_CreateVersionRequest_SchemaType_SchemaTypeUnspecified = @"SCHEMA_TYPE_UNSPECIFIED"; + +// GTLRManagedKafka_LookupVersionRequest.schemaType +NSString * const kGTLRManagedKafka_LookupVersionRequest_SchemaType_Avro = @"AVRO"; +NSString * const kGTLRManagedKafka_LookupVersionRequest_SchemaType_Json = @"JSON"; +NSString * const kGTLRManagedKafka_LookupVersionRequest_SchemaType_Protobuf = @"PROTOBUF"; +NSString * const kGTLRManagedKafka_LookupVersionRequest_SchemaType_SchemaTypeUnspecified = @"SCHEMA_TYPE_UNSPECIFIED"; + // GTLRManagedKafka_RebalanceConfig.mode NSString * const kGTLRManagedKafka_RebalanceConfig_Mode_AutoRebalanceOnScaleUp = @"AUTO_REBALANCE_ON_SCALE_UP"; NSString * const kGTLRManagedKafka_RebalanceConfig_Mode_ModeUnspecified = @"MODE_UNSPECIFIED"; NSString * const kGTLRManagedKafka_RebalanceConfig_Mode_NoRebalance = @"NO_REBALANCE"; +// GTLRManagedKafka_Schema.schemaType +NSString * const kGTLRManagedKafka_Schema_SchemaType_Avro = @"AVRO"; +NSString * const kGTLRManagedKafka_Schema_SchemaType_Json = @"JSON"; +NSString * const kGTLRManagedKafka_Schema_SchemaType_Protobuf = @"PROTOBUF"; +NSString * const kGTLRManagedKafka_Schema_SchemaType_SchemaTypeUnspecified = @"SCHEMA_TYPE_UNSPECIFIED"; + +// GTLRManagedKafka_SchemaConfig.compatibility +NSString * const kGTLRManagedKafka_SchemaConfig_Compatibility_Backward = @"BACKWARD"; +NSString * const kGTLRManagedKafka_SchemaConfig_Compatibility_BackwardTransitive = @"BACKWARD_TRANSITIVE"; +NSString * const kGTLRManagedKafka_SchemaConfig_Compatibility_Forward = @"FORWARD"; +NSString * const kGTLRManagedKafka_SchemaConfig_Compatibility_ForwardTransitive = @"FORWARD_TRANSITIVE"; +NSString * const kGTLRManagedKafka_SchemaConfig_Compatibility_Full = @"FULL"; +NSString * const kGTLRManagedKafka_SchemaConfig_Compatibility_FullTransitive = @"FULL_TRANSITIVE"; +NSString * const kGTLRManagedKafka_SchemaConfig_Compatibility_None = @"NONE"; + +// GTLRManagedKafka_SchemaMode.mode +NSString * const kGTLRManagedKafka_SchemaMode_Mode_Import = @"IMPORT"; +NSString * const kGTLRManagedKafka_SchemaMode_Mode_None = @"NONE"; +NSString * const kGTLRManagedKafka_SchemaMode_Mode_Readonly = @"READONLY"; +NSString * const kGTLRManagedKafka_SchemaMode_Mode_Readwrite = @"READWRITE"; + +// GTLRManagedKafka_SchemaVersion.schemaType +NSString * const kGTLRManagedKafka_SchemaVersion_SchemaType_Avro = @"AVRO"; +NSString * const kGTLRManagedKafka_SchemaVersion_SchemaType_Json = @"JSON"; +NSString * const kGTLRManagedKafka_SchemaVersion_SchemaType_Protobuf = @"PROTOBUF"; +NSString * const kGTLRManagedKafka_SchemaVersion_SchemaType_SchemaTypeUnspecified = @"SCHEMA_TYPE_UNSPECIFIED"; + +// GTLRManagedKafka_UpdateSchemaConfigRequest.compatibility +NSString * const kGTLRManagedKafka_UpdateSchemaConfigRequest_Compatibility_Backward = @"BACKWARD"; +NSString * const kGTLRManagedKafka_UpdateSchemaConfigRequest_Compatibility_BackwardTransitive = @"BACKWARD_TRANSITIVE"; +NSString * const kGTLRManagedKafka_UpdateSchemaConfigRequest_Compatibility_Forward = @"FORWARD"; +NSString * const kGTLRManagedKafka_UpdateSchemaConfigRequest_Compatibility_ForwardTransitive = @"FORWARD_TRANSITIVE"; +NSString * const kGTLRManagedKafka_UpdateSchemaConfigRequest_Compatibility_Full = @"FULL"; +NSString * const kGTLRManagedKafka_UpdateSchemaConfigRequest_Compatibility_FullTransitive = @"FULL_TRANSITIVE"; +NSString * const kGTLRManagedKafka_UpdateSchemaConfigRequest_Compatibility_None = @"NONE"; + +// GTLRManagedKafka_UpdateSchemaModeRequest.mode +NSString * const kGTLRManagedKafka_UpdateSchemaModeRequest_Mode_Import = @"IMPORT"; +NSString * const kGTLRManagedKafka_UpdateSchemaModeRequest_Mode_None = @"NONE"; +NSString * const kGTLRManagedKafka_UpdateSchemaModeRequest_Mode_Readonly = @"READONLY"; +NSString * const kGTLRManagedKafka_UpdateSchemaModeRequest_Mode_Readwrite = @"READWRITE"; + // ---------------------------------------------------------------------------- // // GTLRManagedKafka_AccessConfig @@ -118,6 +178,46 @@ @implementation GTLRManagedKafka_CapacityConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRManagedKafka_CheckCompatibilityRequest +// + +@implementation GTLRManagedKafka_CheckCompatibilityRequest +@dynamic references, schema, schemaType, verbose; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"references" : [GTLRManagedKafka_SchemaReference class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRManagedKafka_CheckCompatibilityResponse +// + +@implementation GTLRManagedKafka_CheckCompatibilityResponse +@dynamic isCompatible, messages; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"isCompatible" : @"is_compatible" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"messages" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRManagedKafka_Cluster @@ -319,6 +419,71 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRManagedKafka_Context +// + +@implementation GTLRManagedKafka_Context +@dynamic name, subjects; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"subjects" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRManagedKafka_CreateSchemaRegistryRequest +// + +@implementation GTLRManagedKafka_CreateSchemaRegistryRequest +@dynamic schemaRegistry, schemaRegistryId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRManagedKafka_CreateVersionRequest +// + +@implementation GTLRManagedKafka_CreateVersionRequest +@dynamic identifier, normalize, references, schema, schemaType, version; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"references" : [GTLRManagedKafka_SchemaReference class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRManagedKafka_CreateVersionResponse +// + +@implementation GTLRManagedKafka_CreateVersionResponse +@dynamic identifier; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRManagedKafka_Empty @@ -338,6 +503,38 @@ @implementation GTLRManagedKafka_GcpConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRManagedKafka_HttpBody +// + +@implementation GTLRManagedKafka_HttpBody +@dynamic contentType, data, extensions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"extensions" : [GTLRManagedKafka_HttpBody_Extensions_Item class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRManagedKafka_HttpBody_Extensions_Item +// + +@implementation GTLRManagedKafka_HttpBody_Extensions_Item + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRManagedKafka_ListAclsResponse @@ -494,6 +691,24 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRManagedKafka_ListSchemaRegistriesResponse +// + +@implementation GTLRManagedKafka_ListSchemaRegistriesResponse +@dynamic schemaRegistries; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"schemaRegistries" : [GTLRManagedKafka_SchemaRegistry class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRManagedKafka_ListTopicsResponse @@ -554,6 +769,24 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRManagedKafka_LookupVersionRequest +// + +@implementation GTLRManagedKafka_LookupVersionRequest +@dynamic deleted, normalize, references, schema, schemaType; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"references" : [GTLRManagedKafka_SchemaReference class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRManagedKafka_NetworkConfig @@ -687,6 +920,94 @@ @implementation GTLRManagedKafka_ResumeConnectorResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRManagedKafka_Schema +// + +@implementation GTLRManagedKafka_Schema +@dynamic references, schema, schemaType; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"references" : [GTLRManagedKafka_SchemaReference class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRManagedKafka_SchemaConfig +// + +@implementation GTLRManagedKafka_SchemaConfig +@dynamic alias, compatibility, normalize; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRManagedKafka_SchemaMode +// + +@implementation GTLRManagedKafka_SchemaMode +@dynamic mode; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRManagedKafka_SchemaReference +// + +@implementation GTLRManagedKafka_SchemaReference +@dynamic name, subject, version; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRManagedKafka_SchemaRegistry +// + +@implementation GTLRManagedKafka_SchemaRegistry +@dynamic contexts, name; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"contexts" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRManagedKafka_SchemaVersion +// + +@implementation GTLRManagedKafka_SchemaVersion +@dynamic identifier, references, schema, schemaType, subject, version; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"references" : [GTLRManagedKafka_SchemaReference class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRManagedKafka_Status @@ -769,3 +1090,23 @@ + (Class)classForAdditionalProperties { } @end + + +// ---------------------------------------------------------------------------- +// +// GTLRManagedKafka_UpdateSchemaConfigRequest +// + +@implementation GTLRManagedKafka_UpdateSchemaConfigRequest +@dynamic compatibility, normalize; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRManagedKafka_UpdateSchemaModeRequest +// + +@implementation GTLRManagedKafka_UpdateSchemaModeRequest +@dynamic mode; +@end diff --git a/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaQuery.m b/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaQuery.m index ae96949fa..5e37eb0bc 100644 --- a/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaQuery.m +++ b/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaQuery.m @@ -945,3 +945,965 @@ + (instancetype)queryWithName:(NSString *)name { } @end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesCompatibilityCheckCompatibility + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRManagedKafka_CheckCompatibilityRequest *)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}"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesCompatibilityCheckCompatibility *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_CheckCompatibilityResponse class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.compatibility.checkCompatibility"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesConfigDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesConfigDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_SchemaConfig class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.config.delete"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesConfigGet + +@dynamic defaultToGlobal, name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesConfigGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_SchemaConfig class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.config.get"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesConfigUpdate + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRManagedKafka_UpdateSchemaConfigRequest *)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}"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesConfigUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PUT" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_SchemaConfig class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.config.update"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsCompatibilityCheckCompatibility + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRManagedKafka_CheckCompatibilityRequest *)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}"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsCompatibilityCheckCompatibility *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_CheckCompatibilityResponse class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.contexts.compatibility.checkCompatibility"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsConfigDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsConfigDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_SchemaConfig class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.contexts.config.delete"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsConfigGet + +@dynamic defaultToGlobal, name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsConfigGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_SchemaConfig class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.contexts.config.get"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsConfigUpdate + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRManagedKafka_UpdateSchemaConfigRequest *)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}"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsConfigUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PUT" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_SchemaConfig class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.contexts.config.update"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_Context class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.contexts.get"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsList + +@dynamic parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/contexts"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRManagedKafka_HttpBody class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.contexts.list"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsModeGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsModeGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_SchemaMode class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.contexts.mode.get"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsModeUpdate + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRManagedKafka_UpdateSchemaModeRequest *)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}"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsModeUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PUT" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_SchemaMode class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.contexts.mode.update"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSchemasGet + +@dynamic name, subject; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSchemasGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_Schema class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.contexts.schemas.get"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSchemasGetSchema + +@dynamic name, subject; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/schema"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSchemasGetSchema *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_HttpBody class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.contexts.schemas.getSchema"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSchemasSubjectsList + +@dynamic deleted, parent, subject; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/subjects"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSchemasSubjectsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRManagedKafka_HttpBody class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.contexts.schemas.subjects.list"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSchemasTypesList + +@dynamic parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/schemas/types"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSchemasTypesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRManagedKafka_HttpBody class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.contexts.schemas.types.list"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSchemasVersionsList + +@dynamic deleted, parent, subject; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/versions"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSchemasVersionsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRManagedKafka_HttpBody class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.contexts.schemas.versions.list"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsDelete + +@dynamic name, permanent; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_HttpBody class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.contexts.subjects.delete"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsList + +@dynamic deleted, parent, subjectPrefix; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/subjects"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRManagedKafka_HttpBody class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.contexts.subjects.list"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsLookupVersion + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRManagedKafka_LookupVersionRequest *)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}"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsLookupVersion *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRManagedKafka_SchemaVersion class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.contexts.subjects.lookupVersion"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsVersionsCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRManagedKafka_CreateVersionRequest *)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}/versions"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsVersionsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRManagedKafka_CreateVersionResponse class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.contexts.subjects.versions.create"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsVersionsDelete + +@dynamic name, permanent; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsVersionsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_HttpBody class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.contexts.subjects.versions.delete"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsVersionsGet + +@dynamic deleted, name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsVersionsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_SchemaVersion class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.contexts.subjects.versions.get"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsVersionsGetSchema + +@dynamic deleted, name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/schema"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsVersionsGetSchema *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_HttpBody class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.contexts.subjects.versions.getSchema"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsVersionsList + +@dynamic deleted, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/versions"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsVersionsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRManagedKafka_HttpBody class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.contexts.subjects.versions.list"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsVersionsReferencedbyList + +@dynamic parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/referencedby"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsVersionsReferencedbyList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRManagedKafka_HttpBody class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.contexts.subjects.versions.referencedby.list"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRManagedKafka_CreateSchemaRegistryRequest *)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}/schemaRegistries"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRManagedKafka_SchemaRegistry class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.create"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_Empty class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.delete"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_SchemaRegistry class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.get"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesList + +@dynamic parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/schemaRegistries"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRManagedKafka_ListSchemaRegistriesResponse class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.list"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesModeGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesModeGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_SchemaMode class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.mode.get"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesModeUpdate + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRManagedKafka_UpdateSchemaModeRequest *)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}"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesModeUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PUT" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_SchemaMode class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.mode.update"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSchemasGet + +@dynamic name, subject; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSchemasGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_Schema class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.schemas.get"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSchemasGetSchema + +@dynamic name, subject; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/schema"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSchemasGetSchema *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_HttpBody class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.schemas.getSchema"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSchemasSubjectsList + +@dynamic deleted, parent, subject; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/subjects"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSchemasSubjectsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRManagedKafka_HttpBody class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.schemas.subjects.list"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSchemasTypesList + +@dynamic parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/schemas/types"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSchemasTypesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRManagedKafka_HttpBody class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.schemas.types.list"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSchemasVersionsList + +@dynamic deleted, parent, subject; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/versions"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSchemasVersionsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRManagedKafka_HttpBody class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.schemas.versions.list"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsDelete + +@dynamic name, permanent; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_HttpBody class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.subjects.delete"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsList + +@dynamic deleted, parent, subjectPrefix; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/subjects"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRManagedKafka_HttpBody class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.subjects.list"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsLookupVersion + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRManagedKafka_LookupVersionRequest *)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}"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsLookupVersion *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRManagedKafka_SchemaVersion class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.subjects.lookupVersion"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsVersionsCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRManagedKafka_CreateVersionRequest *)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}/versions"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsVersionsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRManagedKafka_CreateVersionResponse class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.subjects.versions.create"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsVersionsDelete + +@dynamic name, permanent; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsVersionsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_HttpBody class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.subjects.versions.delete"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsVersionsGet + +@dynamic deleted, name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsVersionsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_SchemaVersion class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.subjects.versions.get"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsVersionsGetSchema + +@dynamic deleted, name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/schema"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsVersionsGetSchema *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_HttpBody class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.subjects.versions.getSchema"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsVersionsList + +@dynamic deleted, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/versions"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsVersionsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRManagedKafka_HttpBody class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.subjects.versions.list"; + return query; +} + +@end + +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsVersionsReferencedbyList + +@dynamic parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/referencedby"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsVersionsReferencedbyList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRManagedKafka_HttpBody class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.subjects.versions.referencedby.list"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaObjects.h b/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaObjects.h index 924e8ebe9..b5bc8502a 100644 --- a/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaObjects.h +++ b/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaObjects.h @@ -34,6 +34,7 @@ @class GTLRManagedKafka_ConsumerTopicMetadata; @class GTLRManagedKafka_ConsumerTopicMetadata_Partitions; @class GTLRManagedKafka_GcpConfig; +@class GTLRManagedKafka_HttpBody_Extensions_Item; @class GTLRManagedKafka_Location; @class GTLRManagedKafka_Location_Labels; @class GTLRManagedKafka_Location_Metadata; @@ -42,6 +43,8 @@ @class GTLRManagedKafka_Operation_Metadata; @class GTLRManagedKafka_Operation_Response; @class GTLRManagedKafka_RebalanceConfig; +@class GTLRManagedKafka_SchemaReference; +@class GTLRManagedKafka_SchemaRegistry; @class GTLRManagedKafka_Status; @class GTLRManagedKafka_Status_Details_Item; @class GTLRManagedKafka_TaskRetryPolicy; @@ -58,6 +61,34 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the classes' properties below. +// ---------------------------------------------------------------------------- +// GTLRManagedKafka_CheckCompatibilityRequest.schemaType + +/** + * Avro schema type. + * + * Value: "AVRO" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_CheckCompatibilityRequest_SchemaType_Avro; +/** + * JSON schema type. + * + * Value: "JSON" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_CheckCompatibilityRequest_SchemaType_Json; +/** + * Protobuf schema type. + * + * Value: "PROTOBUF" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_CheckCompatibilityRequest_SchemaType_Protobuf; +/** + * No schema type. The default will be AVRO. + * + * Value: "SCHEMA_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_CheckCompatibilityRequest_SchemaType_SchemaTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRManagedKafka_Cluster.state @@ -160,6 +191,62 @@ FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_Connector_State_Stopped; */ FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_Connector_State_Unassigned; +// ---------------------------------------------------------------------------- +// GTLRManagedKafka_CreateVersionRequest.schemaType + +/** + * Avro schema type. + * + * Value: "AVRO" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_CreateVersionRequest_SchemaType_Avro; +/** + * JSON schema type. + * + * Value: "JSON" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_CreateVersionRequest_SchemaType_Json; +/** + * Protobuf schema type. + * + * Value: "PROTOBUF" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_CreateVersionRequest_SchemaType_Protobuf; +/** + * No schema type. The default will be AVRO. + * + * Value: "SCHEMA_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_CreateVersionRequest_SchemaType_SchemaTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRManagedKafka_LookupVersionRequest.schemaType + +/** + * Avro schema type. + * + * Value: "AVRO" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_LookupVersionRequest_SchemaType_Avro; +/** + * JSON schema type. + * + * Value: "JSON" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_LookupVersionRequest_SchemaType_Json; +/** + * Protobuf schema type. + * + * Value: "PROTOBUF" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_LookupVersionRequest_SchemaType_Protobuf; +/** + * No schema type. The default will be AVRO. + * + * Value: "SCHEMA_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_LookupVersionRequest_SchemaType_SchemaTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRManagedKafka_RebalanceConfig.mode @@ -183,6 +270,210 @@ FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_RebalanceConfig_Mode_ModeUn */ FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_RebalanceConfig_Mode_NoRebalance; +// ---------------------------------------------------------------------------- +// GTLRManagedKafka_Schema.schemaType + +/** + * Avro schema type. + * + * Value: "AVRO" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_Schema_SchemaType_Avro; +/** + * JSON schema type. + * + * Value: "JSON" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_Schema_SchemaType_Json; +/** + * Protobuf schema type. + * + * Value: "PROTOBUF" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_Schema_SchemaType_Protobuf; +/** + * No schema type. The default will be AVRO. + * + * Value: "SCHEMA_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_Schema_SchemaType_SchemaTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRManagedKafka_SchemaConfig.compatibility + +/** + * Backwards compatible with the most recent version. + * + * Value: "BACKWARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_SchemaConfig_Compatibility_Backward; +/** + * Backwards compatible with all previous versions. + * + * Value: "BACKWARD_TRANSITIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_SchemaConfig_Compatibility_BackwardTransitive; +/** + * Forwards compatible with the most recent version. + * + * Value: "FORWARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_SchemaConfig_Compatibility_Forward; +/** + * Forwards compatible with all previous versions. + * + * Value: "FORWARD_TRANSITIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_SchemaConfig_Compatibility_ForwardTransitive; +/** + * Backwards and forwards compatible with the most recent version. + * + * Value: "FULL" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_SchemaConfig_Compatibility_Full; +/** + * Backwards and forwards compatible with all previous versions. + * + * Value: "FULL_TRANSITIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_SchemaConfig_Compatibility_FullTransitive; +/** + * No compatibility check. + * + * Value: "NONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_SchemaConfig_Compatibility_None; + +// ---------------------------------------------------------------------------- +// GTLRManagedKafka_SchemaMode.mode + +/** + * IMPORT mode. + * + * Value: "IMPORT" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_SchemaMode_Mode_Import; +/** + * No mode. + * + * Value: "NONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_SchemaMode_Mode_None; +/** + * READONLY mode. + * + * Value: "READONLY" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_SchemaMode_Mode_Readonly; +/** + * READWRITE mode. + * + * Value: "READWRITE" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_SchemaMode_Mode_Readwrite; + +// ---------------------------------------------------------------------------- +// GTLRManagedKafka_SchemaVersion.schemaType + +/** + * Avro schema type. + * + * Value: "AVRO" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_SchemaVersion_SchemaType_Avro; +/** + * JSON schema type. + * + * Value: "JSON" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_SchemaVersion_SchemaType_Json; +/** + * Protobuf schema type. + * + * Value: "PROTOBUF" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_SchemaVersion_SchemaType_Protobuf; +/** + * No schema type. The default will be AVRO. + * + * Value: "SCHEMA_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_SchemaVersion_SchemaType_SchemaTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRManagedKafka_UpdateSchemaConfigRequest.compatibility + +/** + * Backwards compatible with the most recent version. + * + * Value: "BACKWARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_UpdateSchemaConfigRequest_Compatibility_Backward; +/** + * Backwards compatible with all previous versions. + * + * Value: "BACKWARD_TRANSITIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_UpdateSchemaConfigRequest_Compatibility_BackwardTransitive; +/** + * Forwards compatible with the most recent version. + * + * Value: "FORWARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_UpdateSchemaConfigRequest_Compatibility_Forward; +/** + * Forwards compatible with all previous versions. + * + * Value: "FORWARD_TRANSITIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_UpdateSchemaConfigRequest_Compatibility_ForwardTransitive; +/** + * Backwards and forwards compatible with the most recent version. + * + * Value: "FULL" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_UpdateSchemaConfigRequest_Compatibility_Full; +/** + * Backwards and forwards compatible with all previous versions. + * + * Value: "FULL_TRANSITIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_UpdateSchemaConfigRequest_Compatibility_FullTransitive; +/** + * No compatibility check. + * + * Value: "NONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_UpdateSchemaConfigRequest_Compatibility_None; + +// ---------------------------------------------------------------------------- +// GTLRManagedKafka_UpdateSchemaModeRequest.mode + +/** + * IMPORT mode. + * + * Value: "IMPORT" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_UpdateSchemaModeRequest_Mode_Import; +/** + * No mode. + * + * Value: "NONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_UpdateSchemaModeRequest_Mode_None; +/** + * READONLY mode. + * + * Value: "READONLY" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_UpdateSchemaModeRequest_Mode_Readonly; +/** + * READWRITE mode. + * + * Value: "READWRITE" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_UpdateSchemaModeRequest_Mode_Readwrite; + /** * The configuration of access to the Kafka cluster. */ @@ -346,6 +637,63 @@ FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_RebalanceConfig_Mode_NoReba @end +/** + * Request for CheckCompatibility. + */ +@interface GTLRManagedKafka_CheckCompatibilityRequest : GTLRObject + +/** Optional. The schema references used by the schema. */ +@property(nonatomic, strong, nullable) NSArray *references; + +/** Required. The schema payload */ +@property(nonatomic, copy, nullable) NSString *schema; + +/** + * Optional. The schema type of the schema. + * + * Likely values: + * @arg @c kGTLRManagedKafka_CheckCompatibilityRequest_SchemaType_Avro Avro + * schema type. (Value: "AVRO") + * @arg @c kGTLRManagedKafka_CheckCompatibilityRequest_SchemaType_Json JSON + * schema type. (Value: "JSON") + * @arg @c kGTLRManagedKafka_CheckCompatibilityRequest_SchemaType_Protobuf + * Protobuf schema type. (Value: "PROTOBUF") + * @arg @c kGTLRManagedKafka_CheckCompatibilityRequest_SchemaType_SchemaTypeUnspecified + * No schema type. The default will be AVRO. (Value: + * "SCHEMA_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *schemaType; + +/** + * Optional. If true, the response will contain the compatibility check result + * with reasons for failed checks. The default is false. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *verbose; + +@end + + +/** + * Response for CheckCompatibility. + */ +@interface GTLRManagedKafka_CheckCompatibilityResponse : GTLRObject + +/** + * The compatibility check result. If true, the schema is compatible with the + * resource. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isCompatible; + +/** Failure reasons if verbose = true. */ +@property(nonatomic, strong, nullable) NSArray *messages; + +@end + + /** * An Apache Kafka cluster deployed in a location. */ @@ -725,6 +1073,125 @@ FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_RebalanceConfig_Mode_NoReba @end +/** + * Context represents an independent schema grouping in a schema registry + * instance. + */ +@interface GTLRManagedKafka_Context : GTLRObject + +/** + * Identifier. The name of the context. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}` + * The context name {context} can contain the following: * Up to 255 + * characters. * Allowed characters: letters (uppercase or lowercase), numbers, + * and the following special characters: `.`, `-`, `_`, `+`, `%`, and `~`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Optional. The subjects of the context. */ +@property(nonatomic, strong, nullable) NSArray *subjects; + +@end + + +/** + * Request to create a schema registry instance. + */ +@interface GTLRManagedKafka_CreateSchemaRegistryRequest : GTLRObject + +/** + * Required. The schema registry instance to create. The name field is ignored. + */ +@property(nonatomic, strong, nullable) GTLRManagedKafka_SchemaRegistry *schemaRegistry; + +/** + * Required. The schema registry instance ID to use for this schema registry. + * The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores + * (-). The maximum length is 63 characters. The ID must not start with a + * number. + */ +@property(nonatomic, copy, nullable) NSString *schemaRegistryId; + +@end + + +/** + * Request for CreateVersion. + */ +@interface GTLRManagedKafka_CreateVersionRequest : GTLRObject + +/** + * Optional. The schema ID of the schema. If not specified, the schema ID will + * be generated by the server. If the schema ID is specified, it must not be + * used by an existing schema that is different from the schema to be created. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *identifier; + +/** + * Optional. If true, the schema will be normalized before being stored. The + * default is false. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *normalize; + +/** Optional. The schema references used by the schema. */ +@property(nonatomic, strong, nullable) NSArray *references; + +/** Required. The schema payload */ +@property(nonatomic, copy, nullable) NSString *schema; + +/** + * Optional. The type of the schema. It is optional. If not specified, the + * schema type will be AVRO. + * + * Likely values: + * @arg @c kGTLRManagedKafka_CreateVersionRequest_SchemaType_Avro Avro schema + * type. (Value: "AVRO") + * @arg @c kGTLRManagedKafka_CreateVersionRequest_SchemaType_Json JSON schema + * type. (Value: "JSON") + * @arg @c kGTLRManagedKafka_CreateVersionRequest_SchemaType_Protobuf + * Protobuf schema type. (Value: "PROTOBUF") + * @arg @c kGTLRManagedKafka_CreateVersionRequest_SchemaType_SchemaTypeUnspecified + * No schema type. The default will be AVRO. (Value: + * "SCHEMA_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *schemaType; + +/** + * Optional. The version to create. It is optional. If not specified, the + * version will be created with the max version ID of the subject increased by + * 1. If the version ID is specified, it will be used as the new version ID and + * must not be used by an existing version of the subject. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *version; + +@end + + +/** + * Response for CreateVersion. + */ +@interface GTLRManagedKafka_CreateVersionResponse : GTLRObject + +/** + * The unique identifier of the schema created. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *identifier; + +@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 @@ -755,6 +1222,61 @@ FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_RebalanceConfig_Mode_NoReba @end +/** + * Message that represents an arbitrary HTTP body. It should only be used for + * payload formats that can't be represented as JSON, such as raw binary or an + * HTML page. This message can be used both in streaming and non-streaming API + * methods in the request as well as the response. It can be used as a + * top-level request field, which is convenient if one wants to extract + * parameters from either the URL or HTTP template into the request fields and + * also want access to the raw HTTP body. Example: message GetResourceRequest { + * // A unique request id. string request_id = 1; // The raw HTTP body is bound + * to this field. google.api.HttpBody http_body = 2; } service ResourceService + * { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc + * UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } + * Example with streaming methods: service CaldavService { rpc + * GetCalendar(stream google.api.HttpBody) returns (stream + * google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns + * (stream google.api.HttpBody); } Use of this type only changes how the + * request and response bodies are handled, all other features will continue to + * work unchanged. + */ +@interface GTLRManagedKafka_HttpBody : GTLRObject + +/** + * The HTTP Content-Type header value specifying the content type of the body. + */ +@property(nonatomic, copy, nullable) NSString *contentType; + +/** + * The HTTP request/response body as raw binary. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *data; + +/** + * Application specific response metadata. Must be set in the first response + * for streaming APIs. + */ +@property(nonatomic, strong, nullable) NSArray *extensions; + +@end + + +/** + * GTLRManagedKafka_HttpBody_Extensions_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 GTLRManagedKafka_HttpBody_Extensions_Item : GTLRObject +@end + + /** * Response for ListAcls. * @@ -946,6 +1468,17 @@ FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_RebalanceConfig_Mode_NoReba @end +/** + * Request for ListSchemaRegistries. + */ +@interface GTLRManagedKafka_ListSchemaRegistriesResponse : GTLRObject + +/** The schema registry instances. */ +@property(nonatomic, strong, nullable) NSArray *schemaRegistries; + +@end + + /** * Response for ListTopics. * @@ -1035,6 +1568,53 @@ FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_RebalanceConfig_Mode_NoReba @end +/** + * Request for LookupVersion. + */ +@interface GTLRManagedKafka_LookupVersionRequest : GTLRObject + +/** + * Optional. If true, soft-deleted versions will be included in lookup, no + * matter if the subject is active or soft-deleted. If false, soft-deleted + * versions will be excluded. The default is false. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *deleted; + +/** + * Optional. If true, the schema will be normalized before being looked up. The + * default is false. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *normalize; + +/** Optional. The schema references used by the schema. */ +@property(nonatomic, strong, nullable) NSArray *references; + +/** Required. The schema payload */ +@property(nonatomic, copy, nullable) NSString *schema; + +/** + * Optional. The schema type of the schema. + * + * Likely values: + * @arg @c kGTLRManagedKafka_LookupVersionRequest_SchemaType_Avro Avro schema + * type. (Value: "AVRO") + * @arg @c kGTLRManagedKafka_LookupVersionRequest_SchemaType_Json JSON schema + * type. (Value: "JSON") + * @arg @c kGTLRManagedKafka_LookupVersionRequest_SchemaType_Protobuf + * Protobuf schema type. (Value: "PROTOBUF") + * @arg @c kGTLRManagedKafka_LookupVersionRequest_SchemaType_SchemaTypeUnspecified + * No schema type. The default will be AVRO. (Value: + * "SCHEMA_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *schemaType; + +@end + + /** * The configuration of a Virtual Private Cloud (VPC) network that can access * the Kafka cluster. @@ -1258,6 +1838,208 @@ FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_RebalanceConfig_Mode_NoReba @end +/** + * Schema for a Kafka message. + */ +@interface GTLRManagedKafka_Schema : GTLRObject + +/** Optional. The schema references used by the schema. */ +@property(nonatomic, strong, nullable) NSArray *references; + +/** The schema payload. */ +@property(nonatomic, copy, nullable) NSString *schema; + +/** + * Optional. The schema type of the schema. + * + * Likely values: + * @arg @c kGTLRManagedKafka_Schema_SchemaType_Avro Avro schema type. (Value: + * "AVRO") + * @arg @c kGTLRManagedKafka_Schema_SchemaType_Json JSON schema type. (Value: + * "JSON") + * @arg @c kGTLRManagedKafka_Schema_SchemaType_Protobuf Protobuf schema type. + * (Value: "PROTOBUF") + * @arg @c kGTLRManagedKafka_Schema_SchemaType_SchemaTypeUnspecified No + * schema type. The default will be AVRO. (Value: + * "SCHEMA_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *schemaType; + +@end + + +/** + * SchemaConfig represents configuration for a schema registry or a specific + * subject. + */ +@interface GTLRManagedKafka_SchemaConfig : GTLRObject + +/** + * Optional. The subject to which this subject is an alias of. Only applicable + * for subject config. + */ +@property(nonatomic, copy, nullable) NSString *alias; + +/** + * Required. The compatibility type of the schema. The default value is + * BACKWARD. If unset in a SchemaSubject-level SchemaConfig, defaults to the + * global value. If unset in a SchemaRegistry-level SchemaConfig, reverts to + * the default value. + * + * Likely values: + * @arg @c kGTLRManagedKafka_SchemaConfig_Compatibility_Backward Backwards + * compatible with the most recent version. (Value: "BACKWARD") + * @arg @c kGTLRManagedKafka_SchemaConfig_Compatibility_BackwardTransitive + * Backwards compatible with all previous versions. (Value: + * "BACKWARD_TRANSITIVE") + * @arg @c kGTLRManagedKafka_SchemaConfig_Compatibility_Forward Forwards + * compatible with the most recent version. (Value: "FORWARD") + * @arg @c kGTLRManagedKafka_SchemaConfig_Compatibility_ForwardTransitive + * Forwards compatible with all previous versions. (Value: + * "FORWARD_TRANSITIVE") + * @arg @c kGTLRManagedKafka_SchemaConfig_Compatibility_Full Backwards and + * forwards compatible with the most recent version. (Value: "FULL") + * @arg @c kGTLRManagedKafka_SchemaConfig_Compatibility_FullTransitive + * Backwards and forwards compatible with all previous versions. (Value: + * "FULL_TRANSITIVE") + * @arg @c kGTLRManagedKafka_SchemaConfig_Compatibility_None No compatibility + * check. (Value: "NONE") + */ +@property(nonatomic, copy, nullable) NSString *compatibility; + +/** + * Optional. If true, the schema will be normalized before being stored or + * looked up. The default is false. If unset in a SchemaSubject-level + * SchemaConfig, the global value will be used. If unset in a + * SchemaRegistry-level SchemaConfig, reverts to the default value. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *normalize; + +@end + + +/** + * SchemaMode represents the mode of a schema registry or a specific subject. + * Four modes are supported: * NONE: This is the default mode for a subject and + * essentially means that the subject does not have any mode set. This means + * the subject will follow the schema registry's mode. * READONLY: The schema + * registry is in read-only mode. * READWRITE: The schema registry is in + * read-write mode, which allows limited write operations on the schema. * + * IMPORT: The schema registry is in import mode, which allows more editing + * operations on the schema for data importing purposes. + */ +@interface GTLRManagedKafka_SchemaMode : GTLRObject + +/** + * Required. The mode type of a schema registry (READWRITE by default) or of a + * subject (NONE by default, which means use the global schema registry + * setting). + * + * Likely values: + * @arg @c kGTLRManagedKafka_SchemaMode_Mode_Import IMPORT mode. (Value: + * "IMPORT") + * @arg @c kGTLRManagedKafka_SchemaMode_Mode_None No mode. (Value: "NONE") + * @arg @c kGTLRManagedKafka_SchemaMode_Mode_Readonly READONLY mode. (Value: + * "READONLY") + * @arg @c kGTLRManagedKafka_SchemaMode_Mode_Readwrite READWRITE mode. + * (Value: "READWRITE") + */ +@property(nonatomic, copy, nullable) NSString *mode; + +@end + + +/** + * SchemaReference is a reference to a schema. + */ +@interface GTLRManagedKafka_SchemaReference : GTLRObject + +/** Required. The name of the reference. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Required. The subject of the reference. */ +@property(nonatomic, copy, nullable) NSString *subject; + +/** + * Required. The version of the reference. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *version; + +@end + + +/** + * SchemaRegistry is a schema registry instance. + */ +@interface GTLRManagedKafka_SchemaRegistry : GTLRObject + +/** Output only. The contexts of the schema registry instance. */ +@property(nonatomic, strong, nullable) NSArray *contexts; + +/** + * Identifier. The name of the schema registry instance. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` + * The instance name {schema_registry} can contain the following: * Up to 255 + * characters. * Letters (uppercase or lowercase), numbers, and underscores. + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + +/** + * Version of a schema. + */ +@interface GTLRManagedKafka_SchemaVersion : GTLRObject + +/** + * Required. The schema ID. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *identifier; + +/** Optional. The schema references used by the schema. */ +@property(nonatomic, strong, nullable) NSArray *references; + +/** Required. The schema payload. */ +@property(nonatomic, copy, nullable) NSString *schema; + +/** + * Optional. The schema type of the schema. + * + * Likely values: + * @arg @c kGTLRManagedKafka_SchemaVersion_SchemaType_Avro Avro schema type. + * (Value: "AVRO") + * @arg @c kGTLRManagedKafka_SchemaVersion_SchemaType_Json JSON schema type. + * (Value: "JSON") + * @arg @c kGTLRManagedKafka_SchemaVersion_SchemaType_Protobuf Protobuf + * schema type. (Value: "PROTOBUF") + * @arg @c kGTLRManagedKafka_SchemaVersion_SchemaType_SchemaTypeUnspecified + * No schema type. The default will be AVRO. (Value: + * "SCHEMA_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *schemaType; + +/** Required. The subject of the version. */ +@property(nonatomic, copy, nullable) NSString *subject; + +/** + * Required. The version ID + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *version; + +@end + + /** * The `Status` type defines a logical error model that is suitable for * different programming environments, including REST APIs and RPC APIs. It is @@ -1397,6 +2179,75 @@ FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_RebalanceConfig_Mode_NoReba @interface GTLRManagedKafka_Topic_Configs : GTLRObject @end + +/** + * Request for updating schema config. On a SchemaSubject-level SchemaConfig, + * an unset field will be removed from the SchemaConfig. + */ +@interface GTLRManagedKafka_UpdateSchemaConfigRequest : GTLRObject + +/** + * Required. The compatibility type of the schemas. Cannot be unset for a + * SchemaRegistry-level SchemaConfig. If unset on a SchemaSubject-level + * SchemaConfig, removes the compatibility field for the SchemaConfig. + * + * Likely values: + * @arg @c kGTLRManagedKafka_UpdateSchemaConfigRequest_Compatibility_Backward + * Backwards compatible with the most recent version. (Value: "BACKWARD") + * @arg @c kGTLRManagedKafka_UpdateSchemaConfigRequest_Compatibility_BackwardTransitive + * Backwards compatible with all previous versions. (Value: + * "BACKWARD_TRANSITIVE") + * @arg @c kGTLRManagedKafka_UpdateSchemaConfigRequest_Compatibility_Forward + * Forwards compatible with the most recent version. (Value: "FORWARD") + * @arg @c kGTLRManagedKafka_UpdateSchemaConfigRequest_Compatibility_ForwardTransitive + * Forwards compatible with all previous versions. (Value: + * "FORWARD_TRANSITIVE") + * @arg @c kGTLRManagedKafka_UpdateSchemaConfigRequest_Compatibility_Full + * Backwards and forwards compatible with the most recent version. + * (Value: "FULL") + * @arg @c kGTLRManagedKafka_UpdateSchemaConfigRequest_Compatibility_FullTransitive + * Backwards and forwards compatible with all previous versions. (Value: + * "FULL_TRANSITIVE") + * @arg @c kGTLRManagedKafka_UpdateSchemaConfigRequest_Compatibility_None No + * compatibility check. (Value: "NONE") + */ +@property(nonatomic, copy, nullable) NSString *compatibility; + +/** + * Optional. If true, the schema will be normalized before being stored or + * looked up. The default is false. Cannot be unset for a SchemaRegistry-level + * SchemaConfig. If unset on a SchemaSubject-level SchemaConfig, removes the + * normalize field for the SchemaConfig. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *normalize; + +@end + + +/** + * Request for updating schema registry or subject mode. + */ +@interface GTLRManagedKafka_UpdateSchemaModeRequest : GTLRObject + +/** + * Required. The mode type. + * + * Likely values: + * @arg @c kGTLRManagedKafka_UpdateSchemaModeRequest_Mode_Import IMPORT mode. + * (Value: "IMPORT") + * @arg @c kGTLRManagedKafka_UpdateSchemaModeRequest_Mode_None No mode. + * (Value: "NONE") + * @arg @c kGTLRManagedKafka_UpdateSchemaModeRequest_Mode_Readonly READONLY + * mode. (Value: "READONLY") + * @arg @c kGTLRManagedKafka_UpdateSchemaModeRequest_Mode_Readwrite READWRITE + * mode. (Value: "READWRITE") + */ +@property(nonatomic, copy, nullable) NSString *mode; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaQuery.h b/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaQuery.h index 2ca0d72af..fbd1e343b 100644 --- a/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaQuery.h +++ b/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaQuery.h @@ -1735,6 +1735,1847 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Check compatibility of a schema with all versions or a specific version of a + * subject. + * + * Method: managedkafka.projects.locations.schemaRegistries.compatibility.checkCompatibility + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesCompatibilityCheckCompatibility : GTLRManagedKafkaQuery + +/** + * Required. The name of the resource to check compatibility for. The format is + * either of following: * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/compatibility/subjects/ + * * /versions: Check compatibility with one or more versions of the specified + * subject. * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/compatibility/subjects/{subject}/versions/{version}: + * Check compatibility with a specific version of the subject. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRManagedKafka_CheckCompatibilityResponse. + * + * Check compatibility of a schema with all versions or a specific version of a + * subject. + * + * @param object The @c GTLRManagedKafka_CheckCompatibilityRequest to include + * in the query. + * @param name Required. The name of the resource to check compatibility for. + * The format is either of following: * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/compatibility/subjects/ + * * /versions: Check compatibility with one or more versions of the + * specified subject. * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/compatibility/subjects/{subject}/versions/{version}: + * Check compatibility with a specific version of the subject. + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesCompatibilityCheckCompatibility + */ ++ (instancetype)queryWithObject:(GTLRManagedKafka_CheckCompatibilityRequest *)object + name:(NSString *)name; + +@end + +/** + * Delete schema config for a subject. + * + * Method: managedkafka.projects.locations.schemaRegistries.config.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesConfigDelete : GTLRManagedKafkaQuery + +/** + * Required. The resource name of subject to delete the config for. The format + * is * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRManagedKafka_SchemaConfig. + * + * Delete schema config for a subject. + * + * @param name Required. The resource name of subject to delete the config for. + * The format is * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject} + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesConfigDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get schema config at global level or for a subject. + * + * Method: managedkafka.projects.locations.schemaRegistries.config.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesConfigGet : GTLRManagedKafkaQuery + +/** + * Optional. If true, the config will fall back to the config at the global + * level if no subject level config is found. + */ +@property(nonatomic, assign) BOOL defaultToGlobal; + +/** + * Required. The resource name to get the config for. It can be either of + * following: * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config: + * Get config at global level. * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject}: + * Get config for a specific subject. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRManagedKafka_SchemaConfig. + * + * Get schema config at global level or for a subject. + * + * @param name Required. The resource name to get the config for. It can be + * either of following: * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config: + * Get config at global level. * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject}: + * Get config for a specific subject. + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesConfigGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Update config at global level or for a subject. Creates a + * SchemaSubject-level SchemaConfig if it does not exist. + * + * Method: managedkafka.projects.locations.schemaRegistries.config.update + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesConfigUpdate : GTLRManagedKafkaQuery + +/** + * Required. The resource name to update the config for. It can be either of + * following: * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config: + * Update config at global level. * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject}: + * Update config for a specific subject. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRManagedKafka_SchemaConfig. + * + * Update config at global level or for a subject. Creates a + * SchemaSubject-level SchemaConfig if it does not exist. + * + * @param object The @c GTLRManagedKafka_UpdateSchemaConfigRequest to include + * in the query. + * @param name Required. The resource name to update the config for. It can be + * either of following: * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config: + * Update config at global level. * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject}: + * Update config for a specific subject. + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesConfigUpdate + */ ++ (instancetype)queryWithObject:(GTLRManagedKafka_UpdateSchemaConfigRequest *)object + name:(NSString *)name; + +@end + +/** + * Check compatibility of a schema with all versions or a specific version of a + * subject. + * + * Method: managedkafka.projects.locations.schemaRegistries.contexts.compatibility.checkCompatibility + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsCompatibilityCheckCompatibility : GTLRManagedKafkaQuery + +/** + * Required. The name of the resource to check compatibility for. The format is + * either of following: * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/compatibility/subjects/ + * * /versions: Check compatibility with one or more versions of the specified + * subject. * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/compatibility/subjects/{subject}/versions/{version}: + * Check compatibility with a specific version of the subject. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRManagedKafka_CheckCompatibilityResponse. + * + * Check compatibility of a schema with all versions or a specific version of a + * subject. + * + * @param object The @c GTLRManagedKafka_CheckCompatibilityRequest to include + * in the query. + * @param name Required. The name of the resource to check compatibility for. + * The format is either of following: * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/compatibility/subjects/ + * * /versions: Check compatibility with one or more versions of the + * specified subject. * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/compatibility/subjects/{subject}/versions/{version}: + * Check compatibility with a specific version of the subject. + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsCompatibilityCheckCompatibility + */ ++ (instancetype)queryWithObject:(GTLRManagedKafka_CheckCompatibilityRequest *)object + name:(NSString *)name; + +@end + +/** + * Delete schema config for a subject. + * + * Method: managedkafka.projects.locations.schemaRegistries.contexts.config.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsConfigDelete : GTLRManagedKafkaQuery + +/** + * Required. The resource name of subject to delete the config for. The format + * is * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRManagedKafka_SchemaConfig. + * + * Delete schema config for a subject. + * + * @param name Required. The resource name of subject to delete the config for. + * The format is * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject} + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsConfigDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get schema config at global level or for a subject. + * + * Method: managedkafka.projects.locations.schemaRegistries.contexts.config.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsConfigGet : GTLRManagedKafkaQuery + +/** + * Optional. If true, the config will fall back to the config at the global + * level if no subject level config is found. + */ +@property(nonatomic, assign) BOOL defaultToGlobal; + +/** + * Required. The resource name to get the config for. It can be either of + * following: * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config: + * Get config at global level. * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject}: + * Get config for a specific subject. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRManagedKafka_SchemaConfig. + * + * Get schema config at global level or for a subject. + * + * @param name Required. The resource name to get the config for. It can be + * either of following: * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config: + * Get config at global level. * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject}: + * Get config for a specific subject. + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsConfigGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Update config at global level or for a subject. Creates a + * SchemaSubject-level SchemaConfig if it does not exist. + * + * Method: managedkafka.projects.locations.schemaRegistries.contexts.config.update + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsConfigUpdate : GTLRManagedKafkaQuery + +/** + * Required. The resource name to update the config for. It can be either of + * following: * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config: + * Update config at global level. * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject}: + * Update config for a specific subject. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRManagedKafka_SchemaConfig. + * + * Update config at global level or for a subject. Creates a + * SchemaSubject-level SchemaConfig if it does not exist. + * + * @param object The @c GTLRManagedKafka_UpdateSchemaConfigRequest to include + * in the query. + * @param name Required. The resource name to update the config for. It can be + * either of following: * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config: + * Update config at global level. * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject}: + * Update config for a specific subject. + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsConfigUpdate + */ ++ (instancetype)queryWithObject:(GTLRManagedKafka_UpdateSchemaConfigRequest *)object + name:(NSString *)name; + +@end + +/** + * Get the context. + * + * Method: managedkafka.projects.locations.schemaRegistries.contexts.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsGet : GTLRManagedKafkaQuery + +/** + * Required. The name of the context to return. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRManagedKafka_Context. + * + * Get the context. + * + * @param name Required. The name of the context to return. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * List contexts for a schema registry. + * + * Method: managedkafka.projects.locations.schemaRegistries.contexts.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsList : GTLRManagedKafkaQuery + +/** + * Required. The parent of the contexts. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRManagedKafka_HttpBody. + * + * List contexts for a schema registry. + * + * @param parent Required. The parent of the contexts. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsList + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Get mode at global level or for a subject. + * + * Method: managedkafka.projects.locations.schemaRegistries.contexts.mode.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsModeGet : GTLRManagedKafkaQuery + +/** + * Required. The resource name of the mode. The format is * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode/{subject}: + * mode for a schema registry, or * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode/{subject}: + * mode for a specific subject in a specific context + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRManagedKafka_SchemaMode. + * + * Get mode at global level or for a subject. + * + * @param name Required. The resource name of the mode. The format is * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode/{subject}: + * mode for a schema registry, or * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode/{subject}: + * mode for a specific subject in a specific context + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsModeGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Update mode at global level or for a subject. + * + * Method: managedkafka.projects.locations.schemaRegistries.contexts.mode.update + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsModeUpdate : GTLRManagedKafkaQuery + +/** + * Required. The resource name of the mode. The format is * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode/{subject}: + * mode for a schema registry, or * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode/{subject}: + * mode for a specific subject in a specific context + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRManagedKafka_SchemaMode. + * + * Update mode at global level or for a subject. + * + * @param object The @c GTLRManagedKafka_UpdateSchemaModeRequest to include in + * the query. + * @param name Required. The resource name of the mode. The format is * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode/{subject}: + * mode for a schema registry, or * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode/{subject}: + * mode for a specific subject in a specific context + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsModeUpdate + */ ++ (instancetype)queryWithObject:(GTLRManagedKafka_UpdateSchemaModeRequest *)object + name:(NSString *)name; + +@end + +/** + * Get the schema for the given schema id. + * + * Method: managedkafka.projects.locations.schemaRegistries.contexts.schemas.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSchemasGet : GTLRManagedKafkaQuery + +/** + * Required. The name of the schema to return. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Used to limit the search for the schema ID to a specific subject, + * otherwise the schema ID will be searched for in all subjects in the given + * specified context. + */ +@property(nonatomic, copy, nullable) NSString *subject; + +/** + * Fetches a @c GTLRManagedKafka_Schema. + * + * Get the schema for the given schema id. + * + * @param name Required. The name of the schema to return. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSchemasGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get the schema string for the given schema id. The response will be the + * schema string. + * + * Method: managedkafka.projects.locations.schemaRegistries.contexts.schemas.getSchema + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSchemasGetSchema : GTLRManagedKafkaQuery + +/** + * Required. The name of the schema to return. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Used to limit the search for the schema ID to a specific subject, + * otherwise the schema ID will be searched for in all subjects in the given + * specified context. + */ +@property(nonatomic, copy, nullable) NSString *subject; + +/** + * Fetches a @c GTLRManagedKafka_HttpBody. + * + * Get the schema string for the given schema id. The response will be the + * schema string. + * + * @param name Required. The name of the schema to return. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSchemasGetSchema + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * List subjects which reference a particular schema id. The response will be + * an array of subject names. + * + * Method: managedkafka.projects.locations.schemaRegistries.contexts.schemas.subjects.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSchemasSubjectsList : GTLRManagedKafkaQuery + +/** + * Optional. If true, the response will include soft-deleted subjects. The + * default is false. + */ +@property(nonatomic, assign) BOOL deleted; + +/** + * Required. The schema resource whose associated subjects are to be listed. + * Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/schemas/ids/{schema}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** Optional. The subject to filter the subjects by. */ +@property(nonatomic, copy, nullable) NSString *subject; + +/** + * Fetches a @c GTLRManagedKafka_HttpBody. + * + * List subjects which reference a particular schema id. The response will be + * an array of subject names. + * + * @param parent Required. The schema resource whose associated subjects are to + * be listed. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/schemas/ids/{schema}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSchemasSubjectsList + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * List the supported schema types. The response will be an array of schema + * types. + * + * Method: managedkafka.projects.locations.schemaRegistries.contexts.schemas.types.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSchemasTypesList : GTLRManagedKafkaQuery + +/** + * Required. The parent schema registry whose schema types are to be listed. + * Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRManagedKafka_HttpBody. + * + * List the supported schema types. The response will be an array of schema + * types. + * + * @param parent Required. The parent schema registry whose schema types are to + * be listed. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSchemasTypesList + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * List the schema versions for the given schema id. The response will be an + * array of subject-version pairs as: [{"subject":"subject1", "version":1}, + * {"subject":"subject2", "version":2}]. + * + * Method: managedkafka.projects.locations.schemaRegistries.contexts.schemas.versions.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSchemasVersionsList : GTLRManagedKafkaQuery + +/** + * Optional. If true, the response will include soft-deleted versions of the + * schema, even if the subject is soft-deleted. The default is false. + */ +@property(nonatomic, assign) BOOL deleted; + +/** + * Required. The schema whose schema versions are to be listed. Structured + * like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/schemas/ids/{schema}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** Optional. The subject to filter the subjects by. */ +@property(nonatomic, copy, nullable) NSString *subject; + +/** + * Fetches a @c GTLRManagedKafka_HttpBody. + * + * List the schema versions for the given schema id. The response will be an + * array of subject-version pairs as: [{"subject":"subject1", "version":1}, + * {"subject":"subject2", "version":2}]. + * + * @param parent Required. The schema whose schema versions are to be listed. + * Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/schemas/ids/{schema}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSchemasVersionsList + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Delete a subject. The response will be an array of versions of the deleted + * subject. + * + * Method: managedkafka.projects.locations.schemaRegistries.contexts.subjects.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsDelete : GTLRManagedKafkaQuery + +/** + * Required. The name of the subject to delete. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. If true, the subject and all associated metadata including the + * schema ID will be deleted permanently. Otherwise, only the subject is + * soft-deleted. The default is false. Soft-deleted subjects can still be + * searched in ListSubjects API call with deleted=true query parameter. A + * soft-delete of a subject must be performed before a hard-delete. + */ +@property(nonatomic, assign) BOOL permanent; + +/** + * Fetches a @c GTLRManagedKafka_HttpBody. + * + * Delete a subject. The response will be an array of versions of the deleted + * subject. + * + * @param name Required. The name of the subject to delete. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * List subjects in the schema registry. The response will be an array of + * subject names. + * + * Method: managedkafka.projects.locations.schemaRegistries.contexts.subjects.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsList : GTLRManagedKafkaQuery + +/** + * Optional. If true, the response will include soft-deleted subjects. The + * default is false. + */ +@property(nonatomic, assign) BOOL deleted; + +/** + * Required. The parent schema registry/context whose subjects are to be + * listed. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. The context to filter the subjects by, in the format of + * `:.{context}:`. If unset, all subjects in the registry are returned. Set to + * empty string or add as '?subjectPrefix=' at the end of this request to list + * subjects in the default context. + */ +@property(nonatomic, copy, nullable) NSString *subjectPrefix; + +/** + * Fetches a @c GTLRManagedKafka_HttpBody. + * + * List subjects in the schema registry. The response will be an array of + * subject names. + * + * @param parent Required. The parent schema registry/context whose subjects + * are to be listed. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsList + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Lookup a schema under the specified subject. + * + * Method: managedkafka.projects.locations.schemaRegistries.contexts.subjects.lookupVersion + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsLookupVersion : GTLRManagedKafkaQuery + +/** + * Required. The subject to lookup the schema in. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRManagedKafka_SchemaVersion. + * + * Lookup a schema under the specified subject. + * + * @param object The @c GTLRManagedKafka_LookupVersionRequest to include in the + * query. + * @param parent Required. The subject to lookup the schema in. Structured + * like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsLookupVersion + */ ++ (instancetype)queryWithObject:(GTLRManagedKafka_LookupVersionRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Register a new version under a given subject with the given schema. + * + * Method: managedkafka.projects.locations.schemaRegistries.contexts.subjects.versions.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsVersionsCreate : GTLRManagedKafkaQuery + +/** + * Required. The subject to create the version for. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRManagedKafka_CreateVersionResponse. + * + * Register a new version under a given subject with the given schema. + * + * @param object The @c GTLRManagedKafka_CreateVersionRequest to include in the + * query. + * @param parent Required. The subject to create the version for. Structured + * like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsVersionsCreate + */ ++ (instancetype)queryWithObject:(GTLRManagedKafka_CreateVersionRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Delete a version of a subject. The response will be the deleted version id. + * + * Method: managedkafka.projects.locations.schemaRegistries.contexts.subjects.versions.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsVersionsDelete : GTLRManagedKafkaQuery + +/** + * Required. The name of the subject version to delete. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. If true, both the version and the referenced schema ID will be + * permanently deleted. The default is false. If false, the version will be + * deleted but the schema ID will be retained. Soft-deleted versions can still + * be searched in ListVersions API call with deleted=true query parameter. A + * soft-delete of a version must be performed before a hard-delete. + */ +@property(nonatomic, assign) BOOL permanent; + +/** + * Fetches a @c GTLRManagedKafka_HttpBody. + * + * Delete a version of a subject. The response will be the deleted version id. + * + * @param name Required. The name of the subject version to delete. Structured + * like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsVersionsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get a versioned schema (schema with subject/version) of a subject. + * + * Method: managedkafka.projects.locations.schemaRegistries.contexts.subjects.versions.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsVersionsGet : GTLRManagedKafkaQuery + +/** + * Optional. If true, no matter if the subject/version is soft-deleted or not, + * it returns the version details. If false, it returns NOT_FOUND error if the + * subject/version is soft-deleted. The default is false. + */ +@property(nonatomic, assign) BOOL deleted; + +/** + * Required. The name of the subject to return versions. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRManagedKafka_SchemaVersion. + * + * Get a versioned schema (schema with subject/version) of a subject. + * + * @param name Required. The name of the subject to return versions. Structured + * like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsVersionsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get the schema string only for a version of a subject. The response will be + * the schema string. + * + * Method: managedkafka.projects.locations.schemaRegistries.contexts.subjects.versions.getSchema + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsVersionsGetSchema : GTLRManagedKafkaQuery + +/** + * Optional. If true, no matter if the subject/version is soft-deleted or not, + * it returns the version details. If false, it returns NOT_FOUND error if the + * subject/version is soft-deleted. The default is false. + */ +@property(nonatomic, assign) BOOL deleted; + +/** + * Required. The name of the subject to return versions. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRManagedKafka_HttpBody. + * + * Get the schema string only for a version of a subject. The response will be + * the schema string. + * + * @param name Required. The name of the subject to return versions. Structured + * like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsVersionsGetSchema + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get all versions of a subject. The response will be an array of versions of + * the subject. + * + * Method: managedkafka.projects.locations.schemaRegistries.contexts.subjects.versions.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsVersionsList : GTLRManagedKafkaQuery + +/** + * Optional. If true, the response will include soft-deleted versions of an + * active or soft-deleted subject. The default is false. + */ +@property(nonatomic, assign) BOOL deleted; + +/** + * Required. The subject whose versions are to be listed. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRManagedKafka_HttpBody. + * + * Get all versions of a subject. The response will be an array of versions of + * the subject. + * + * @param parent Required. The subject whose versions are to be listed. + * Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsVersionsList + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Get a list of IDs of schemas that reference the schema with the given + * subject and version. + * + * Method: managedkafka.projects.locations.schemaRegistries.contexts.subjects.versions.referencedby.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsVersionsReferencedbyList : GTLRManagedKafkaQuery + +/** + * Required. The version to list referenced by. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRManagedKafka_HttpBody. + * + * Get a list of IDs of schemas that reference the schema with the given + * subject and version. + * + * @param parent Required. The version to list referenced by. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsSubjectsVersionsReferencedbyList + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Create a schema registry instance. + * + * Method: managedkafka.projects.locations.schemaRegistries.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesCreate : GTLRManagedKafkaQuery + +/** + * Required. The parent whose schema registry instance is to be created. + * Structured like: `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRManagedKafka_SchemaRegistry. + * + * Create a schema registry instance. + * + * @param object The @c GTLRManagedKafka_CreateSchemaRegistryRequest to include + * in the query. + * @param parent Required. The parent whose schema registry instance is to be + * created. Structured like: `projects/{project}/locations/{location}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesCreate + */ ++ (instancetype)queryWithObject:(GTLRManagedKafka_CreateSchemaRegistryRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Delete a schema registry instance. + * + * Method: managedkafka.projects.locations.schemaRegistries.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesDelete : GTLRManagedKafkaQuery + +/** + * Required. The name of the schema registry instance to delete. Structured + * like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRManagedKafka_Empty. + * + * Delete a schema registry instance. + * + * @param name Required. The name of the schema registry instance to delete. + * Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get the schema registry instance. + * + * Method: managedkafka.projects.locations.schemaRegistries.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesGet : GTLRManagedKafkaQuery + +/** + * Required. The name of the schema registry instance to return. Structured + * like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRManagedKafka_SchemaRegistry. + * + * Get the schema registry instance. + * + * @param name Required. The name of the schema registry instance to return. + * Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * List schema registries. + * + * Method: managedkafka.projects.locations.schemaRegistries.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesList : GTLRManagedKafkaQuery + +/** + * Required. The parent whose schema registry instances are to be listed. + * Structured like: `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRManagedKafka_ListSchemaRegistriesResponse. + * + * List schema registries. + * + * @param parent Required. The parent whose schema registry instances are to be + * listed. Structured like: `projects/{project}/locations/{location}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesList + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Get mode at global level or for a subject. + * + * Method: managedkafka.projects.locations.schemaRegistries.mode.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesModeGet : GTLRManagedKafkaQuery + +/** + * Required. The resource name of the mode. The format is * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode/{subject}: + * mode for a schema registry, or * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode/{subject}: + * mode for a specific subject in a specific context + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRManagedKafka_SchemaMode. + * + * Get mode at global level or for a subject. + * + * @param name Required. The resource name of the mode. The format is * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode/{subject}: + * mode for a schema registry, or * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode/{subject}: + * mode for a specific subject in a specific context + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesModeGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Update mode at global level or for a subject. + * + * Method: managedkafka.projects.locations.schemaRegistries.mode.update + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesModeUpdate : GTLRManagedKafkaQuery + +/** + * Required. The resource name of the mode. The format is * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode/{subject}: + * mode for a schema registry, or * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode/{subject}: + * mode for a specific subject in a specific context + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRManagedKafka_SchemaMode. + * + * Update mode at global level or for a subject. + * + * @param object The @c GTLRManagedKafka_UpdateSchemaModeRequest to include in + * the query. + * @param name Required. The resource name of the mode. The format is * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode/{subject}: + * mode for a schema registry, or * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode/{subject}: + * mode for a specific subject in a specific context + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesModeUpdate + */ ++ (instancetype)queryWithObject:(GTLRManagedKafka_UpdateSchemaModeRequest *)object + name:(NSString *)name; + +@end + +/** + * Get the schema for the given schema id. + * + * Method: managedkafka.projects.locations.schemaRegistries.schemas.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSchemasGet : GTLRManagedKafkaQuery + +/** + * Required. The name of the schema to return. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Used to limit the search for the schema ID to a specific subject, + * otherwise the schema ID will be searched for in all subjects in the given + * specified context. + */ +@property(nonatomic, copy, nullable) NSString *subject; + +/** + * Fetches a @c GTLRManagedKafka_Schema. + * + * Get the schema for the given schema id. + * + * @param name Required. The name of the schema to return. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSchemasGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get the schema string for the given schema id. The response will be the + * schema string. + * + * Method: managedkafka.projects.locations.schemaRegistries.schemas.getSchema + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSchemasGetSchema : GTLRManagedKafkaQuery + +/** + * Required. The name of the schema to return. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Used to limit the search for the schema ID to a specific subject, + * otherwise the schema ID will be searched for in all subjects in the given + * specified context. + */ +@property(nonatomic, copy, nullable) NSString *subject; + +/** + * Fetches a @c GTLRManagedKafka_HttpBody. + * + * Get the schema string for the given schema id. The response will be the + * schema string. + * + * @param name Required. The name of the schema to return. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSchemasGetSchema + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * List subjects which reference a particular schema id. The response will be + * an array of subject names. + * + * Method: managedkafka.projects.locations.schemaRegistries.schemas.subjects.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSchemasSubjectsList : GTLRManagedKafkaQuery + +/** + * Optional. If true, the response will include soft-deleted subjects. The + * default is false. + */ +@property(nonatomic, assign) BOOL deleted; + +/** + * Required. The schema resource whose associated subjects are to be listed. + * Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/schemas/ids/{schema}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** Optional. The subject to filter the subjects by. */ +@property(nonatomic, copy, nullable) NSString *subject; + +/** + * Fetches a @c GTLRManagedKafka_HttpBody. + * + * List subjects which reference a particular schema id. The response will be + * an array of subject names. + * + * @param parent Required. The schema resource whose associated subjects are to + * be listed. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/schemas/ids/{schema}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSchemasSubjectsList + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * List the supported schema types. The response will be an array of schema + * types. + * + * Method: managedkafka.projects.locations.schemaRegistries.schemas.types.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSchemasTypesList : GTLRManagedKafkaQuery + +/** + * Required. The parent schema registry whose schema types are to be listed. + * Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRManagedKafka_HttpBody. + * + * List the supported schema types. The response will be an array of schema + * types. + * + * @param parent Required. The parent schema registry whose schema types are to + * be listed. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSchemasTypesList + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * List the schema versions for the given schema id. The response will be an + * array of subject-version pairs as: [{"subject":"subject1", "version":1}, + * {"subject":"subject2", "version":2}]. + * + * Method: managedkafka.projects.locations.schemaRegistries.schemas.versions.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSchemasVersionsList : GTLRManagedKafkaQuery + +/** + * Optional. If true, the response will include soft-deleted versions of the + * schema, even if the subject is soft-deleted. The default is false. + */ +@property(nonatomic, assign) BOOL deleted; + +/** + * Required. The schema whose schema versions are to be listed. Structured + * like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/schemas/ids/{schema}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** Optional. The subject to filter the subjects by. */ +@property(nonatomic, copy, nullable) NSString *subject; + +/** + * Fetches a @c GTLRManagedKafka_HttpBody. + * + * List the schema versions for the given schema id. The response will be an + * array of subject-version pairs as: [{"subject":"subject1", "version":1}, + * {"subject":"subject2", "version":2}]. + * + * @param parent Required. The schema whose schema versions are to be listed. + * Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/schemas/ids/{schema}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSchemasVersionsList + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Delete a subject. The response will be an array of versions of the deleted + * subject. + * + * Method: managedkafka.projects.locations.schemaRegistries.subjects.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsDelete : GTLRManagedKafkaQuery + +/** + * Required. The name of the subject to delete. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. If true, the subject and all associated metadata including the + * schema ID will be deleted permanently. Otherwise, only the subject is + * soft-deleted. The default is false. Soft-deleted subjects can still be + * searched in ListSubjects API call with deleted=true query parameter. A + * soft-delete of a subject must be performed before a hard-delete. + */ +@property(nonatomic, assign) BOOL permanent; + +/** + * Fetches a @c GTLRManagedKafka_HttpBody. + * + * Delete a subject. The response will be an array of versions of the deleted + * subject. + * + * @param name Required. The name of the subject to delete. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * List subjects in the schema registry. The response will be an array of + * subject names. + * + * Method: managedkafka.projects.locations.schemaRegistries.subjects.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsList : GTLRManagedKafkaQuery + +/** + * Optional. If true, the response will include soft-deleted subjects. The + * default is false. + */ +@property(nonatomic, assign) BOOL deleted; + +/** + * Required. The parent schema registry/context whose subjects are to be + * listed. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. The context to filter the subjects by, in the format of + * `:.{context}:`. If unset, all subjects in the registry are returned. Set to + * empty string or add as '?subjectPrefix=' at the end of this request to list + * subjects in the default context. + */ +@property(nonatomic, copy, nullable) NSString *subjectPrefix; + +/** + * Fetches a @c GTLRManagedKafka_HttpBody. + * + * List subjects in the schema registry. The response will be an array of + * subject names. + * + * @param parent Required. The parent schema registry/context whose subjects + * are to be listed. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsList + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Lookup a schema under the specified subject. + * + * Method: managedkafka.projects.locations.schemaRegistries.subjects.lookupVersion + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsLookupVersion : GTLRManagedKafkaQuery + +/** + * Required. The subject to lookup the schema in. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRManagedKafka_SchemaVersion. + * + * Lookup a schema under the specified subject. + * + * @param object The @c GTLRManagedKafka_LookupVersionRequest to include in the + * query. + * @param parent Required. The subject to lookup the schema in. Structured + * like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsLookupVersion + */ ++ (instancetype)queryWithObject:(GTLRManagedKafka_LookupVersionRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Register a new version under a given subject with the given schema. + * + * Method: managedkafka.projects.locations.schemaRegistries.subjects.versions.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsVersionsCreate : GTLRManagedKafkaQuery + +/** + * Required. The subject to create the version for. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRManagedKafka_CreateVersionResponse. + * + * Register a new version under a given subject with the given schema. + * + * @param object The @c GTLRManagedKafka_CreateVersionRequest to include in the + * query. + * @param parent Required. The subject to create the version for. Structured + * like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsVersionsCreate + */ ++ (instancetype)queryWithObject:(GTLRManagedKafka_CreateVersionRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Delete a version of a subject. The response will be the deleted version id. + * + * Method: managedkafka.projects.locations.schemaRegistries.subjects.versions.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsVersionsDelete : GTLRManagedKafkaQuery + +/** + * Required. The name of the subject version to delete. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. If true, both the version and the referenced schema ID will be + * permanently deleted. The default is false. If false, the version will be + * deleted but the schema ID will be retained. Soft-deleted versions can still + * be searched in ListVersions API call with deleted=true query parameter. A + * soft-delete of a version must be performed before a hard-delete. + */ +@property(nonatomic, assign) BOOL permanent; + +/** + * Fetches a @c GTLRManagedKafka_HttpBody. + * + * Delete a version of a subject. The response will be the deleted version id. + * + * @param name Required. The name of the subject version to delete. Structured + * like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsVersionsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get a versioned schema (schema with subject/version) of a subject. + * + * Method: managedkafka.projects.locations.schemaRegistries.subjects.versions.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsVersionsGet : GTLRManagedKafkaQuery + +/** + * Optional. If true, no matter if the subject/version is soft-deleted or not, + * it returns the version details. If false, it returns NOT_FOUND error if the + * subject/version is soft-deleted. The default is false. + */ +@property(nonatomic, assign) BOOL deleted; + +/** + * Required. The name of the subject to return versions. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRManagedKafka_SchemaVersion. + * + * Get a versioned schema (schema with subject/version) of a subject. + * + * @param name Required. The name of the subject to return versions. Structured + * like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsVersionsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get the schema string only for a version of a subject. The response will be + * the schema string. + * + * Method: managedkafka.projects.locations.schemaRegistries.subjects.versions.getSchema + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsVersionsGetSchema : GTLRManagedKafkaQuery + +/** + * Optional. If true, no matter if the subject/version is soft-deleted or not, + * it returns the version details. If false, it returns NOT_FOUND error if the + * subject/version is soft-deleted. The default is false. + */ +@property(nonatomic, assign) BOOL deleted; + +/** + * Required. The name of the subject to return versions. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRManagedKafka_HttpBody. + * + * Get the schema string only for a version of a subject. The response will be + * the schema string. + * + * @param name Required. The name of the subject to return versions. Structured + * like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsVersionsGetSchema + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get all versions of a subject. The response will be an array of versions of + * the subject. + * + * Method: managedkafka.projects.locations.schemaRegistries.subjects.versions.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsVersionsList : GTLRManagedKafkaQuery + +/** + * Optional. If true, the response will include soft-deleted versions of an + * active or soft-deleted subject. The default is false. + */ +@property(nonatomic, assign) BOOL deleted; + +/** + * Required. The subject whose versions are to be listed. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRManagedKafka_HttpBody. + * + * Get all versions of a subject. The response will be an array of versions of + * the subject. + * + * @param parent Required. The subject whose versions are to be listed. + * Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsVersionsList + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Get a list of IDs of schemas that reference the schema with the given + * subject and version. + * + * Method: managedkafka.projects.locations.schemaRegistries.subjects.versions.referencedby.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsVersionsReferencedbyList : GTLRManagedKafkaQuery + +/** + * Required. The version to list referenced by. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRManagedKafka_HttpBody. + * + * Get a list of IDs of schemas that reference the schema with the given + * subject and version. + * + * @param parent Required. The version to list referenced by. Structured like: + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}` + * or + * `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}` + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesSubjectsVersionsReferencedbyList + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/MapsPlaces/GTLRMapsPlacesObjects.m b/Sources/GeneratedServices/MapsPlaces/GTLRMapsPlacesObjects.m index 9cb92c9a8..3d6b79e91 100644 --- a/Sources/GeneratedServices/MapsPlaces/GTLRMapsPlacesObjects.m +++ b/Sources/GeneratedServices/MapsPlaces/GTLRMapsPlacesObjects.m @@ -767,7 +767,7 @@ @implementation GTLRMapsPlaces_GoogleMapsPlacesV1PlacePlusCode // @implementation GTLRMapsPlaces_GoogleMapsPlacesV1PlaceReviewSummary -@dynamic disclosureText, flagContentUri, text; +@dynamic disclosureText, flagContentUri, reviewsUri, text; @end diff --git a/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h b/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h index 51cfc8c68..90a91346a 100644 --- a/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h +++ b/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h @@ -2346,7 +2346,7 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR /** A link to show reviews of this place on Google Maps. */ @property(nonatomic, copy, nullable) NSString *reviewsUri; -/** A link to show reviews of this place on Google Maps. */ +/** A link to write a review for this place on Google Maps. */ @property(nonatomic, copy, nullable) NSString *writeAReviewUri; @end @@ -2675,6 +2675,9 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR /** A link where users can flag a problem with the summary. */ @property(nonatomic, copy, nullable) NSString *flagContentUri; +/** A link to show reviews of this place on Google Maps. */ +@property(nonatomic, copy, nullable) NSString *reviewsUri; + /** The summary of user reviews. */ @property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleTypeLocalizedText *text; diff --git a/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h b/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h index d85c82014..615a5ccc3 100644 --- a/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h +++ b/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h @@ -3128,16 +3128,23 @@ FOUNDATION_EXTERN NSString * const kGTLRMonitoring_ValueDescriptor_ValueType_Val @interface GTLRMonitoring_Criteria : GTLRObject /** - * Optional. The filter string to match on Alert fields when silencing the - * alerts. It follows the standard https://google.aip.dev/160 syntax. A filter - * string used to apply the snooze to specific incidents that have matching - * filter values. Filters can be defined for snoozes that apply to one alerting - * policy. Filters must be a string formatted as one or more resource labels - * with specific label values. If multiple resource labels are used, then they - * must be connected with an AND operator. For example, the following filter - * applies the snooze to incidents that have an instance ID of 1234567890 and a - * zone of us-central1-a: resource.labels.instance_id="1234567890" AND - * resource.labels.zone="us-central1-a" + * Optional. When you define a snooze, you can also define a filter for that + * snooze. The filter is a string containing one or more key-value pairs. The + * string uses the standard https://google.aip.dev/160 filter syntax. If you + * define a filter for a snooze, then the snooze can only apply to one alert + * policy. When the snooze is active, incidents won't be created when the + * incident would have key-value pairs (labels) that match those specified by + * the filter in the snooze.Snooze filters support resource, metric, and + * metadata labels. If multiple labels are used, then they must be connected + * with an AND operator. For example, the following filter applies the snooze + * to incidents that have a resource label with an instance ID of "1234567890", + * a metric label with an instance name of "group", a metadata user label with + * a key of "foo" and a value of "bar", and a metadata system label with a key + * of "region" and a value of "us-central1": "filter": + * "resource.labels.instance_id=\\"1234567890\\" AND + * metric.labels.instance_name=\\"test_group\\" AND + * metadata.user_labels.foo=\\"bar\\" AND + * metadata.system_labels.region=\\"us-central1\\"" */ @property(nonatomic, copy, nullable) NSString *filter; diff --git a/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesObjects.m b/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesObjects.m index 962962964..b5cc591c7 100644 --- a/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesObjects.m +++ b/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesObjects.m @@ -288,8 +288,9 @@ + (Class)classForAdditionalProperties { @implementation GTLRNetAppFiles_Backup @dynamic backupRegion, backupType, chainStorageBytes, createTime, - descriptionProperty, labels, name, satisfiesPzi, satisfiesPzs, - sourceSnapshot, sourceVolume, state, volumeRegion, volumeUsageBytes; + descriptionProperty, enforcedRetentionEndTime, labels, name, + satisfiesPzi, satisfiesPzs, sourceSnapshot, sourceVolume, state, + volumeRegion, volumeUsageBytes; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -360,15 +361,26 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRNetAppFiles_BackupRetentionPolicy +// + +@implementation GTLRNetAppFiles_BackupRetentionPolicy +@dynamic backupMinimumEnforcedRetentionDays, dailyBackupImmutable, + manualBackupImmutable, monthlyBackupImmutable, weeklyBackupImmutable; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetAppFiles_BackupVault // @implementation GTLRNetAppFiles_BackupVault -@dynamic backupRegion, backupVaultType, createTime, descriptionProperty, - destinationBackupVault, labels, name, sourceBackupVault, sourceRegion, - state; +@dynamic backupRegion, backupRetentionPolicy, backupVaultType, createTime, + descriptionProperty, destinationBackupVault, labels, name, + sourceBackupVault, sourceRegion, state; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -1174,10 +1186,11 @@ @implementation GTLRNetAppFiles_StopReplicationRequest @implementation GTLRNetAppFiles_StoragePool @dynamic activeDirectory, allowAutoTiering, capacityGib, createTime, - descriptionProperty, encryptionType, globalAccessAllowed, kmsConfig, - labels, ldapEnabled, name, network, psaRange, replicaZone, - satisfiesPzi, satisfiesPzs, serviceLevel, state, stateDetails, - volumeCapacityGib, volumeCount, zoneProperty; + customPerformanceEnabled, descriptionProperty, encryptionType, + globalAccessAllowed, kmsConfig, labels, ldapEnabled, name, network, + psaRange, replicaZone, satisfiesPzi, satisfiesPzs, serviceLevel, state, + stateDetails, totalIops, totalThroughputMibps, volumeCapacityGib, + volumeCount, zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h b/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h index 268330c50..5002344fe 100644 --- a/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h +++ b/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h @@ -23,6 +23,7 @@ @class GTLRNetAppFiles_BackupConfig; @class GTLRNetAppFiles_BackupPolicy; @class GTLRNetAppFiles_BackupPolicy_Labels; +@class GTLRNetAppFiles_BackupRetentionPolicy; @class GTLRNetAppFiles_BackupVault; @class GTLRNetAppFiles_BackupVault_Labels; @class GTLRNetAppFiles_DailySchedule; @@ -1366,6 +1367,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; +/** Output only. The time until which the backup is not deletable. */ +@property(nonatomic, strong, nullable) GTLRDateTime *enforcedRetentionEndTime; + /** Resource labels to represent user provided metadata. */ @property(nonatomic, strong, nullable) GTLRNetAppFiles_Backup_Labels *labels; @@ -1592,6 +1596,58 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; @end +/** + * Retention policy for backups in the backup vault + */ +@interface GTLRNetAppFiles_BackupRetentionPolicy : GTLRObject + +/** + * Required. Minimum retention duration in days for backups in the backup + * vault. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *backupMinimumEnforcedRetentionDays; + +/** + * Optional. Indicates if the daily backups are immutable. Atleast one of + * daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable + * and manual_backup_immutable must be true. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *dailyBackupImmutable; + +/** + * Optional. Indicates if the manual backups are immutable. Atleast one of + * daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable + * and manual_backup_immutable must be true. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *manualBackupImmutable; + +/** + * Optional. Indicates if the monthly backups are immutable. Atleast one of + * daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable + * and manual_backup_immutable must be true. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *monthlyBackupImmutable; + +/** + * Optional. Indicates if the weekly backups are immutable. Atleast one of + * daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable + * and manual_backup_immutable must be true. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *weeklyBackupImmutable; + +@end + + /** * A NetApp BackupVault. */ @@ -1603,6 +1659,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; */ @property(nonatomic, copy, nullable) NSString *backupRegion; +/** Optional. Backup retention policy defining the retenton of backups. */ +@property(nonatomic, strong, nullable) GTLRNetAppFiles_BackupRetentionPolicy *backupRetentionPolicy; + /** * Optional. Type of backup vault to be created. Default is IN_REGION. * @@ -3240,6 +3299,14 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; /** Output only. Create time of the storage pool */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** + * Optional. True if using Independent Scaling of capacity and performance + * (Hyperdisk) By default set to false + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *customPerformanceEnabled; + /** * Optional. Description of the storage pool * @@ -3357,6 +3424,21 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; /** Output only. State details of the storage pool */ @property(nonatomic, copy, nullable) NSString *stateDetails; +/** + * Optional. Custom Performance Total IOPS of the pool If not provided, it will + * be calculated based on the total_throughput_mibps + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *totalIops; + +/** + * Optional. Custom Performance Total Throughput of the pool (in MiB/s) + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *totalThroughputMibps; + /** * Output only. Allocated size of all volumes in GIB in the storage pool * @@ -3472,7 +3554,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; @property(nonatomic, strong, nullable) GTLRDuration *totalTransferDuration; /** - * Cumulative bytes trasferred so far for the replication relatinonship. + * Cumulative bytes transferred so far for the replication relationship. * * Uses NSNumber of longLongValue. */ diff --git a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h index 499b49ec8..27571195d 100644 --- a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h +++ b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h @@ -1775,14 +1775,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF /** * Optional. A list of identities derived from the client's certificate. This - * field will not match on a request unless mutual TLS is enabled for the - * forwarding rule or Gateway. For Application Load Balancers, each identity is - * a string whose value is matched against the URI SAN, or DNS SAN, or SPIFFE - * ID, or the subject field in the client's certificate. For Cloud Service - * Mesh, each identity is a string whose value is matched against the URI SAN, - * or DNS SAN, or the subject field in the client's certificate. The match can - * be exact, prefix, suffix, or a substring match. One of exact, prefix, - * suffix, or contains must be specified. Limited to 5 principals. + * field is under development and we don't recommend using it at this time. + * Limited to 5 principals. */ @property(nonatomic, strong, nullable) NSArray *principals; diff --git a/Sources/GeneratedServices/NetworkServices/GTLRNetworkServicesQuery.m b/Sources/GeneratedServices/NetworkServices/GTLRNetworkServicesQuery.m index f12fd3ae2..90227c091 100644 --- a/Sources/GeneratedServices/NetworkServices/GTLRNetworkServicesQuery.m +++ b/Sources/GeneratedServices/NetworkServices/GTLRNetworkServicesQuery.m @@ -1434,6 +1434,33 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRNetworkServicesQuery_ProjectsLocationsServiceBindingsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRNetworkServices_ServiceBinding *)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}"; + GTLRNetworkServicesQuery_ProjectsLocationsServiceBindingsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRNetworkServices_Operation class]; + query.loggingName = @"networkservices.projects.locations.serviceBindings.patch"; + return query; +} + +@end + @implementation GTLRNetworkServicesQuery_ProjectsLocationsServiceLbPoliciesCreate @dynamic parent, serviceLbPolicyId; diff --git a/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesQuery.h b/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesQuery.h index 9addd9299..d65a99b4c 100644 --- a/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesQuery.h +++ b/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesQuery.h @@ -2645,6 +2645,50 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServicesViewWasmPluginViewUnspeci @end +/** + * Updates the parameters of a single ServiceBinding. + * + * Method: networkservices.projects.locations.serviceBindings.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkServicesCloudPlatform + */ +@interface GTLRNetworkServicesQuery_ProjectsLocationsServiceBindingsPatch : GTLRNetworkServicesQuery + +/** + * Identifier. Name of the ServiceBinding resource. It matches pattern + * `projects/ * /locations/ * /serviceBindings/`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Field mask is used to specify the fields to be overwritten in the + * ServiceBinding resource by the update. The fields specified in the + * update_mask are relative to the resource, not the full request. A field will + * be overwritten if it is in the mask. If the user does not provide a mask + * then all fields will be overwritten. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRNetworkServices_Operation. + * + * Updates the parameters of a single ServiceBinding. + * + * @param object The @c GTLRNetworkServices_ServiceBinding to include in the + * query. + * @param name Identifier. Name of the ServiceBinding resource. It matches + * pattern `projects/ * /locations/ * /serviceBindings/`. + * + * @return GTLRNetworkServicesQuery_ProjectsLocationsServiceBindingsPatch + */ ++ (instancetype)queryWithObject:(GTLRNetworkServices_ServiceBinding *)object + name:(NSString *)name; + +@end + /** * Creates a new ServiceLbPolicy in a given project and location. * diff --git a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m index dd401e5bd..e0e56c551 100644 --- a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m +++ b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m @@ -13,6 +13,13 @@ // ---------------------------------------------------------------------------- // Constants +// GTLRNetworkconnectivity_AllocationOptions.allocationStrategy +NSString * const kGTLRNetworkconnectivity_AllocationOptions_AllocationStrategy_AllocationStrategyUnspecified = @"ALLOCATION_STRATEGY_UNSPECIFIED"; +NSString * const kGTLRNetworkconnectivity_AllocationOptions_AllocationStrategy_FirstAvailable = @"FIRST_AVAILABLE"; +NSString * const kGTLRNetworkconnectivity_AllocationOptions_AllocationStrategy_FirstSmallestFitting = @"FIRST_SMALLEST_FITTING"; +NSString * const kGTLRNetworkconnectivity_AllocationOptions_AllocationStrategy_Random = @"RANDOM"; +NSString * const kGTLRNetworkconnectivity_AllocationOptions_AllocationStrategy_RandomFirstNAvailable = @"RANDOM_FIRST_N_AVAILABLE"; + // GTLRNetworkconnectivity_AuditLogConfig.logType NSString * const kGTLRNetworkconnectivity_AuditLogConfig_LogType_AdminRead = @"ADMIN_READ"; NSString * const kGTLRNetworkconnectivity_AuditLogConfig_LogType_DataRead = @"DATA_READ"; @@ -53,6 +60,7 @@ // GTLRNetworkconnectivity_Filter.protocolVersion NSString * const kGTLRNetworkconnectivity_Filter_ProtocolVersion_Ipv4 = @"IPV4"; +NSString * const kGTLRNetworkconnectivity_Filter_ProtocolVersion_Ipv6 = @"IPV6"; NSString * const kGTLRNetworkconnectivity_Filter_ProtocolVersion_ProtocolVersionUnspecified = @"PROTOCOL_VERSION_UNSPECIFIED"; // GTLRNetworkconnectivity_Group.state @@ -285,6 +293,16 @@ @implementation GTLRNetworkconnectivity_AcceptSpokeUpdateRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_AllocationOptions +// + +@implementation GTLRNetworkconnectivity_AllocationOptions +@dynamic allocationStrategy, firstAvailableRangesLookupSize; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkconnectivity_AuditConfig @@ -678,9 +696,9 @@ @implementation GTLRNetworkconnectivity_InterconnectAttachment // @implementation GTLRNetworkconnectivity_InternalRange -@dynamic createTime, descriptionProperty, excludeCidrRanges, immutable, - ipCidrRange, labels, migration, name, network, overlaps, peering, - prefixLength, targetCidrRange, updateTime, usage, users; +@dynamic allocationOptions, createTime, descriptionProperty, excludeCidrRanges, + immutable, ipCidrRange, labels, migration, name, network, overlaps, + peering, prefixLength, targetCidrRange, updateTime, usage, users; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -1223,6 +1241,16 @@ @implementation GTLRNetworkconnectivity_NextHopRouterApplianceInstance @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_NextHopSpoke +// + +@implementation GTLRNetworkconnectivity_NextHopSpoke +@dynamic siteToSiteDataTransfer, uri; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkconnectivity_NextHopVpcNetwork @@ -1480,8 +1508,8 @@ @implementation GTLRNetworkconnectivity_RejectSpokeUpdateRequest @implementation GTLRNetworkconnectivity_Route @dynamic createTime, descriptionProperty, ipCidrRange, labels, location, name, nextHopInterconnectAttachment, nextHopRouterApplianceInstance, - nextHopVpcNetwork, nextHopVpnTunnel, priority, spoke, state, type, uid, - updateTime; + nextHopSpoke, nextHopVpcNetwork, nextHopVpnTunnel, priority, spoke, + state, type, uid, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; diff --git a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityQuery.m b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityQuery.m index 312a88454..b45c6dc05 100644 --- a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityQuery.m +++ b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityQuery.m @@ -832,6 +832,29 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsInternalRangesGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; + GTLRNetworkconnectivityQuery_ProjectsLocationsInternalRangesGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLRNetworkconnectivity_Policy class]; + query.loggingName = @"networkconnectivity.projects.locations.internalRanges.getIamPolicy"; + return query; +} + +@end + @implementation GTLRNetworkconnectivityQuery_ProjectsLocationsInternalRangesList @dynamic filter, orderBy, pageSize, pageToken, parent; @@ -878,6 +901,60 @@ + (instancetype)queryWithObject:(GTLRNetworkconnectivity_InternalRange *)object @end +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsInternalRangesSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRNetworkconnectivity_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"; + GTLRNetworkconnectivityQuery_ProjectsLocationsInternalRangesSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRNetworkconnectivity_Policy class]; + query.loggingName = @"networkconnectivity.projects.locations.internalRanges.setIamPolicy"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsInternalRangesTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRNetworkconnectivity_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"; + GTLRNetworkconnectivityQuery_ProjectsLocationsInternalRangesTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRNetworkconnectivity_TestIamPermissionsResponse class]; + query.loggingName = @"networkconnectivity.projects.locations.internalRanges.testIamPermissions"; + return query; +} + +@end + @implementation GTLRNetworkconnectivityQuery_ProjectsLocationsList @dynamic extraLocationTypes, filter, name, pageSize, pageToken; diff --git a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h index 2e386a034..22ee02005 100644 --- a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h +++ b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h @@ -14,6 +14,7 @@ #error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. #endif +@class GTLRNetworkconnectivity_AllocationOptions; @class GTLRNetworkconnectivity_AuditConfig; @class GTLRNetworkconnectivity_AuditLogConfig; @class GTLRNetworkconnectivity_AutoAccept; @@ -51,6 +52,7 @@ @class GTLRNetworkconnectivity_Migration; @class GTLRNetworkconnectivity_NextHopInterconnectAttachment; @class GTLRNetworkconnectivity_NextHopRouterApplianceInstance; +@class GTLRNetworkconnectivity_NextHopSpoke; @class GTLRNetworkconnectivity_NextHopVpcNetwork; @class GTLRNetworkconnectivity_NextHopVPNTunnel; @class GTLRNetworkconnectivity_Policy; @@ -98,6 +100,51 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the classes' properties below. +// ---------------------------------------------------------------------------- +// GTLRNetworkconnectivity_AllocationOptions.allocationStrategy + +/** + * Unspecified strategy must be used when the range is specified explicitly + * using ip_cidr_range field. Othherwise unspefified means using the default + * strategy. + * + * Value: "ALLOCATION_STRATEGY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_AllocationOptions_AllocationStrategy_AllocationStrategyUnspecified; +/** + * Pick the first available address range. This strategy is deterministic and + * the result is easy to predict. + * + * Value: "FIRST_AVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_AllocationOptions_AllocationStrategy_FirstAvailable; +/** + * Pick the smallest but fitting available range. This deterministic strategy + * minimizes fragmentation of the address space. + * + * Value: "FIRST_SMALLEST_FITTING" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_AllocationOptions_AllocationStrategy_FirstSmallestFitting; +/** + * Random strategy, the legacy algorithm, used for backwards compatibility. + * This allocation strategy remains efficient in the case of concurrent + * allocation requests in the same peered network space and doesn't require + * providing the level of concurrency in an explicit parameter, but it is prone + * to fragmenting available address space. + * + * Value: "RANDOM" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_AllocationOptions_AllocationStrategy_Random; +/** + * Pick an arbitrary range out of the first N available ones. The N will be set + * in the first_available_ranges_lookup_size field. This strategy should be + * used when concurrent allocation requests are made in the same space of + * peered networks while the fragmentation of the addrress space is reduced. + * + * Value: "RANDOM_FIRST_N_AVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_AllocationOptions_AllocationStrategy_RandomFirstNAvailable; + // ---------------------------------------------------------------------------- // GTLRNetworkconnectivity_AuditLogConfig.logType @@ -296,6 +343,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_ConsumerPscConnectio * Value: "IPV4" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Filter_ProtocolVersion_Ipv4; +/** + * The PBR is for IPv6 internet protocol traffic. + * + * Value: "IPV6" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Filter_ProtocolVersion_Ipv6; /** * Default value. * @@ -1428,6 +1481,57 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * Range auto-allocation options, to be optionally used when CIDR block is not + * explicitly set. + */ +@interface GTLRNetworkconnectivity_AllocationOptions : GTLRObject + +/** + * Optional. Allocation strategy Not setting this field when the allocation is + * requested means an implementation defined strategy is used. + * + * Likely values: + * @arg @c kGTLRNetworkconnectivity_AllocationOptions_AllocationStrategy_AllocationStrategyUnspecified + * Unspecified strategy must be used when the range is specified + * explicitly using ip_cidr_range field. Othherwise unspefified means + * using the default strategy. (Value: "ALLOCATION_STRATEGY_UNSPECIFIED") + * @arg @c kGTLRNetworkconnectivity_AllocationOptions_AllocationStrategy_FirstAvailable + * Pick the first available address range. This strategy is deterministic + * and the result is easy to predict. (Value: "FIRST_AVAILABLE") + * @arg @c kGTLRNetworkconnectivity_AllocationOptions_AllocationStrategy_FirstSmallestFitting + * Pick the smallest but fitting available range. This deterministic + * strategy minimizes fragmentation of the address space. (Value: + * "FIRST_SMALLEST_FITTING") + * @arg @c kGTLRNetworkconnectivity_AllocationOptions_AllocationStrategy_Random + * Random strategy, the legacy algorithm, used for backwards + * compatibility. This allocation strategy remains efficient in the case + * of concurrent allocation requests in the same peered network space and + * doesn't require providing the level of concurrency in an explicit + * parameter, but it is prone to fragmenting available address space. + * (Value: "RANDOM") + * @arg @c kGTLRNetworkconnectivity_AllocationOptions_AllocationStrategy_RandomFirstNAvailable + * Pick an arbitrary range out of the first N available ones. The N will + * be set in the first_available_ranges_lookup_size field. This strategy + * should be used when concurrent allocation requests are made in the + * same space of peered networks while the fragmentation of the addrress + * space is reduced. (Value: "RANDOM_FIRST_N_AVAILABLE") + */ +@property(nonatomic, copy, nullable) NSString *allocationStrategy; + +/** + * Optional. This field must be set only when allocation_strategy is set to + * RANDOM_FIRST_N_AVAILABLE. The value should be the maximum expected + * parallelism of range creation requests issued to the same space of peered + * netwroks. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *firstAvailableRangesLookupSize; + +@end + + /** * Specifies the audit configuration for a service. The configuration * determines which permission types are logged, and what identities, if any, @@ -1931,7 +2035,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin /** * Optional. The destination IP range of outgoing packets that this * policy-based route applies to. Default is "0.0.0.0/0" if protocol version is - * IPv4. + * IPv4 and "::/0" if protocol version is IPv6. */ @property(nonatomic, copy, nullable) NSString *destRange; @@ -1942,12 +2046,14 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @property(nonatomic, copy, nullable) NSString *ipProtocol; /** - * Required. Internet protocol versions this policy-based route applies to. For - * this version, only IPV4 is supported. IPV6 is supported in preview. + * Required. Internet protocol versions this policy-based route applies to. + * IPV4 and IPV6 is supported. * * Likely values: * @arg @c kGTLRNetworkconnectivity_Filter_ProtocolVersion_Ipv4 The PBR is * for IPv4 internet protocol traffic. (Value: "IPV4") + * @arg @c kGTLRNetworkconnectivity_Filter_ProtocolVersion_Ipv6 The PBR is + * for IPv6 internet protocol traffic. (Value: "IPV6") * @arg @c kGTLRNetworkconnectivity_Filter_ProtocolVersion_ProtocolVersionUnspecified * Default value. (Value: "PROTOCOL_VERSION_UNSPECIFIED") */ @@ -1955,7 +2061,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin /** * Optional. The source IP range of outgoing packets that this policy-based - * route applies to. Default is "0.0.0.0/0" if protocol version is IPv4. + * route applies to. Default is "0.0.0.0/0" if protocol version is IPv4 and + * "::/0" if protocol version is IPv6. */ @property(nonatomic, copy, nullable) NSString *srcRange; @@ -2484,6 +2591,13 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin */ @interface GTLRNetworkconnectivity_InternalRange : GTLRObject +/** + * Optional. Range auto-allocation options, may be set only when + * auto-allocation is selected by not setting ip_cidr_range (and setting + * prefix_length). + */ +@property(nonatomic, strong, nullable) GTLRNetworkconnectivity_AllocationOptions *allocationOptions; + /** Time when the internal range was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; @@ -3405,6 +3519,29 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * A route next hop that leads to a spoke resource. + */ +@interface GTLRNetworkconnectivity_NextHopSpoke : GTLRObject + +/** + * Indicates whether site-to-site data transfer is allowed for this spoke + * resource. Data transfer is available only in [supported + * locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations). + * Whether this route is accessible to other hybrid spokes with site-to-site + * data transfer enabled. If this is false, the route is only accessible to VPC + * spokes of the connected Hub. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *siteToSiteDataTransfer; + +/** The URI of the spoke resource. */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + + /** * GTLRNetworkconnectivity_NextHopVpcNetwork */ @@ -4196,6 +4333,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin */ @property(nonatomic, strong, nullable) GTLRNetworkconnectivity_NextHopRouterApplianceInstance *nextHopRouterApplianceInstance; +/** Immutable. The next-hop spoke for packets on this route. */ +@property(nonatomic, strong, nullable) GTLRNetworkconnectivity_NextHopSpoke *nextHopSpoke; + /** Immutable. The destination VPC network for packets on this route. */ @property(nonatomic, strong, nullable) GTLRNetworkconnectivity_NextHopVpcNetwork *nextHopVpcNetwork; diff --git a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h index 1ea098a8e..4f6716656 100644 --- a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h +++ b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h @@ -1519,6 +1519,55 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @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: networkconnectivity.projects.locations.internalRanges.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsInternalRangesGetIamPolicy : GTLRNetworkconnectivityQuery + +/** + * 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 GTLRNetworkconnectivity_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 GTLRNetworkconnectivityQuery_ProjectsLocationsInternalRangesGetIamPolicy + */ ++ (instancetype)queryWithResource:(NSString *)resource; + +@end + /** * Lists internal ranges in a given project and location. * @@ -1622,6 +1671,90 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @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: networkconnectivity.projects.locations.internalRanges.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsInternalRangesSetIamPolicy : GTLRNetworkconnectivityQuery + +/** + * 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 GTLRNetworkconnectivity_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 GTLRNetworkconnectivity_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 GTLRNetworkconnectivityQuery_ProjectsLocationsInternalRangesSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRNetworkconnectivity_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: networkconnectivity.projects.locations.internalRanges.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsInternalRangesTestIamPermissions : GTLRNetworkconnectivityQuery + +/** + * 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 GTLRNetworkconnectivity_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 GTLRNetworkconnectivity_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 GTLRNetworkconnectivityQuery_ProjectsLocationsInternalRangesTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRNetworkconnectivity_TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + /** * Lists information about the supported locations for this service. * diff --git a/Sources/GeneratedServices/OSConfig/GTLROSConfigObjects.m b/Sources/GeneratedServices/OSConfig/GTLROSConfigObjects.m index d1ef54772..5e3e90aa5 100644 --- a/Sources/GeneratedServices/OSConfig/GTLROSConfigObjects.m +++ b/Sources/GeneratedServices/OSConfig/GTLROSConfigObjects.m @@ -82,6 +82,10 @@ NSString * const kGTLROSConfig_OSPolicyResourceRepositoryResourceAptRepository_ArchiveType_Deb = @"DEB"; NSString * const kGTLROSConfig_OSPolicyResourceRepositoryResourceAptRepository_ArchiveType_DebSrc = @"DEB_SRC"; +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" +#pragma clang diagnostic ignored "-Wdeprecated-implementations" + // ---------------------------------------------------------------------------- // // GTLROSConfig_CancelOperationRequest @@ -324,6 +328,15 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLROSConfig_MessageSet +// + +@implementation GTLROSConfig_MessageSet +@end + + // ---------------------------------------------------------------------------- // // GTLROSConfig_Operation @@ -804,3 +817,15 @@ + (Class)classForAdditionalProperties { } @end + + +// ---------------------------------------------------------------------------- +// +// GTLROSConfig_StatusProto +// + +@implementation GTLROSConfig_StatusProto +@dynamic canonicalCode, code, message, messageSet, space; +@end + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/OSConfig/Public/GoogleAPIClientForREST/GTLROSConfigObjects.h b/Sources/GeneratedServices/OSConfig/Public/GoogleAPIClientForREST/GTLROSConfigObjects.h index be0bb8707..cbc60738a 100644 --- a/Sources/GeneratedServices/OSConfig/Public/GoogleAPIClientForREST/GTLROSConfigObjects.h +++ b/Sources/GeneratedServices/OSConfig/Public/GoogleAPIClientForREST/GTLROSConfigObjects.h @@ -25,6 +25,7 @@ @class GTLROSConfig_GoogleCloudOsconfigV2PolicyOrchestrator_Labels; @class GTLROSConfig_GoogleCloudOsconfigV2PolicyOrchestratorIterationState; @class GTLROSConfig_GoogleCloudOsconfigV2PolicyOrchestratorOrchestrationState; +@class GTLROSConfig_MessageSet; @class GTLROSConfig_Operation; @class GTLROSConfig_Operation_Metadata; @class GTLROSConfig_Operation_Response; @@ -64,6 +65,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 @@ -908,6 +910,22 @@ FOUNDATION_EXTERN NSString * const kGTLROSConfig_OSPolicyResourceRepositoryResou @end +/** + * This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW + * FIELDS. If you are using editions or proto2, please make your own extendable + * messages for your use case. If you are using proto3, please use `Any` + * instead. MessageSet was the implementation of extensions for proto1. When + * proto2 was introduced, extensions were implemented as a first-class feature. + * This schema for MessageSet was meant to be a "bridge" solution to migrate + * MessageSet-bearing messages from proto1 to proto2. This schema has been + * open-sourced only to facilitate the migration of Google products with + * MessageSet-bearing messages to open-source environments. + */ +GTLR_DEPRECATED +@interface GTLROSConfig_MessageSet : GTLRObject +@end + + /** * This resource represents a long-running operation that is the result of a * network API call. @@ -1927,6 +1945,52 @@ FOUNDATION_EXTERN NSString * const kGTLROSConfig_OSPolicyResourceRepositoryResou @interface GTLROSConfig_Status_Details_Item : GTLRObject @end + +/** + * Wire-format for a Status object + */ +@interface GTLROSConfig_StatusProto : GTLRObject + +/** + * copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional + * int32 canonical_code = 6; + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *canonicalCode; + +/** + * Numeric code drawn from the space specified below. Often, this is the + * canonical error space, and code is drawn from google3/util/task/codes.proto + * copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional + * int32 code = 1; + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *code; + +/** + * Detail message copybara:strip_begin(b/383363683) + * copybara:strip_end_and_replace optional string message = 3; + */ +@property(nonatomic, copy, nullable) NSString *message; + +/** + * message_set associates an arbitrary proto message with the status. + * copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional + * proto2.bridge.MessageSet message_set = 5; + */ +@property(nonatomic, strong, nullable) GTLROSConfig_MessageSet *messageSet; + +/** + * copybara:strip_begin(b/383363683) Space to which this status belongs + * copybara:strip_end_and_replace optional string space = 2; // Space to which + * this status belongs + */ +@property(nonatomic, copy, nullable) NSString *space; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/OSConfig/Public/GoogleAPIClientForREST/GTLROSConfigQuery.h b/Sources/GeneratedServices/OSConfig/Public/GoogleAPIClientForREST/GTLROSConfigQuery.h index b923bfb3e..ef0da73cd 100644 --- a/Sources/GeneratedServices/OSConfig/Public/GoogleAPIClientForREST/GTLROSConfigQuery.h +++ b/Sources/GeneratedServices/OSConfig/Public/GoogleAPIClientForREST/GTLROSConfigQuery.h @@ -252,13 +252,13 @@ NS_ASSUME_NONNULL_BEGIN * replaced, * repeated fields are replaced, * map fields are merged key by * key, * message fields are cleared if not set in the request, otherwise they * are merged recursively (in particular - message fields set to an empty - * message has no side effects) If field mask is not specified, it is - * automatically inferred from the request using following rules: * primitive - * fields are listed, if set to a non-default value (as there is no way to - * distinguish between default and unset value), * map and repeated fields are - * listed, * `google.protobuf.Any` fields are listed, * other message fields - * are traversed recursively. Note: implicit mask does not allow clearing - * fields. + * message has no side effects) If field mask (or its paths) is not specified, + * it is automatically inferred from the request using following rules: * + * primitive fields are listed, if set to a non-default value (as there is no + * way to distinguish between default and unset value), * map and repeated + * fields are listed, * `google.protobuf.Any` fields are listed, * other + * message fields are traversed recursively. Note: implicit mask does not allow + * clearing fields. * * String format is a comma-separated list of fields. */ @@ -653,13 +653,13 @@ NS_ASSUME_NONNULL_BEGIN * replaced, * repeated fields are replaced, * map fields are merged key by * key, * message fields are cleared if not set in the request, otherwise they * are merged recursively (in particular - message fields set to an empty - * message has no side effects) If field mask is not specified, it is - * automatically inferred from the request using following rules: * primitive - * fields are listed, if set to a non-default value (as there is no way to - * distinguish between default and unset value), * map and repeated fields are - * listed, * `google.protobuf.Any` fields are listed, * other message fields - * are traversed recursively. Note: implicit mask does not allow clearing - * fields. + * message has no side effects) If field mask (or its paths) is not specified, + * it is automatically inferred from the request using following rules: * + * primitive fields are listed, if set to a non-default value (as there is no + * way to distinguish between default and unset value), * map and repeated + * fields are listed, * `google.protobuf.Any` fields are listed, * other + * message fields are traversed recursively. Note: implicit mask does not allow + * clearing fields. * * String format is a comma-separated list of fields. */ @@ -1052,13 +1052,13 @@ NS_ASSUME_NONNULL_BEGIN * replaced, * repeated fields are replaced, * map fields are merged key by * key, * message fields are cleared if not set in the request, otherwise they * are merged recursively (in particular - message fields set to an empty - * message has no side effects) If field mask is not specified, it is - * automatically inferred from the request using following rules: * primitive - * fields are listed, if set to a non-default value (as there is no way to - * distinguish between default and unset value), * map and repeated fields are - * listed, * `google.protobuf.Any` fields are listed, * other message fields - * are traversed recursively. Note: implicit mask does not allow clearing - * fields. + * message has no side effects) If field mask (or its paths) is not specified, + * it is automatically inferred from the request using following rules: * + * primitive fields are listed, if set to a non-default value (as there is no + * way to distinguish between default and unset value), * map and repeated + * fields are listed, * `google.protobuf.Any` fields are listed, * other + * message fields are traversed recursively. Note: implicit mask does not allow + * clearing fields. * * String format is a comma-separated list of fields. */ diff --git a/Sources/GeneratedServices/OnDemandScanning/GTLROnDemandScanningObjects.m b/Sources/GeneratedServices/OnDemandScanning/GTLROnDemandScanningObjects.m index 08dc0638f..01ccfbce9 100644 --- a/Sources/GeneratedServices/OnDemandScanning/GTLROnDemandScanningObjects.m +++ b/Sources/GeneratedServices/OnDemandScanning/GTLROnDemandScanningObjects.m @@ -117,6 +117,7 @@ NSString * const kGTLROnDemandScanning_Occurrence_Kind_NoteKindUnspecified = @"NOTE_KIND_UNSPECIFIED"; NSString * const kGTLROnDemandScanning_Occurrence_Kind_Package = @"PACKAGE"; NSString * const kGTLROnDemandScanning_Occurrence_Kind_SbomReference = @"SBOM_REFERENCE"; +NSString * const kGTLROnDemandScanning_Occurrence_Kind_Secret = @"SECRET"; NSString * const kGTLROnDemandScanning_Occurrence_Kind_Upgrade = @"UPGRADE"; NSString * const kGTLROnDemandScanning_Occurrence_Kind_Vulnerability = @"VULNERABILITY"; NSString * const kGTLROnDemandScanning_Occurrence_Kind_VulnerabilityAssessment = @"VULNERABILITY_ASSESSMENT"; @@ -161,6 +162,17 @@ NSString * const kGTLROnDemandScanning_SBOMStatus_SbomState_Pending = @"PENDING"; NSString * const kGTLROnDemandScanning_SBOMStatus_SbomState_SbomStateUnspecified = @"SBOM_STATE_UNSPECIFIED"; +// GTLROnDemandScanning_SecretOccurrence.kind +NSString * const kGTLROnDemandScanning_SecretOccurrence_Kind_SecretKindGcpServiceAccountKey = @"SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY"; +NSString * const kGTLROnDemandScanning_SecretOccurrence_Kind_SecretKindUnknown = @"SECRET_KIND_UNKNOWN"; +NSString * const kGTLROnDemandScanning_SecretOccurrence_Kind_SecretKindUnspecified = @"SECRET_KIND_UNSPECIFIED"; + +// GTLROnDemandScanning_SecretStatus.status +NSString * const kGTLROnDemandScanning_SecretStatus_Status_Invalid = @"INVALID"; +NSString * const kGTLROnDemandScanning_SecretStatus_Status_StatusUnspecified = @"STATUS_UNSPECIFIED"; +NSString * const kGTLROnDemandScanning_SecretStatus_Status_Unknown = @"UNKNOWN"; +NSString * const kGTLROnDemandScanning_SecretStatus_Status_Valid = @"VALID"; + // GTLROnDemandScanning_Version.kind NSString * const kGTLROnDemandScanning_Version_Kind_Maximum = @"MAXIMUM"; NSString * const kGTLROnDemandScanning_Version_Kind_Minimum = @"MINIMUM"; @@ -591,11 +603,12 @@ @implementation GTLROnDemandScanning_DeploymentOccurrence @implementation GTLROnDemandScanning_DiscoveryOccurrence @dynamic analysisCompleted, analysisError, analysisStatus, analysisStatusError, - archiveTime, continuousAnalysis, cpe, lastScanTime, sbomStatus; + archiveTime, continuousAnalysis, cpe, files, lastScanTime, sbomStatus; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"analysisError" : [GTLROnDemandScanning_Status class] + @"analysisError" : [GTLROnDemandScanning_Status class], + @"files" : [GTLROnDemandScanning_File class] }; return map; } @@ -650,6 +663,30 @@ @implementation GTLROnDemandScanning_EnvelopeSignature @end +// ---------------------------------------------------------------------------- +// +// GTLROnDemandScanning_File +// + +@implementation GTLROnDemandScanning_File +@dynamic digest, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROnDemandScanning_File_Digest +// + +@implementation GTLROnDemandScanning_File_Digest + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLROnDemandScanning_FileHashes @@ -742,7 +779,7 @@ @implementation GTLROnDemandScanning_GrafeasV1FileLocation // @implementation GTLROnDemandScanning_GrafeasV1LayerDetails -@dynamic baseImages, command, diffId, index; +@dynamic baseImages, chainId, command, diffId, index; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1023,7 +1060,7 @@ @implementation GTLROnDemandScanning_Layer // @implementation GTLROnDemandScanning_LayerDetails -@dynamic baseImages, command, diffId, index; +@dynamic baseImages, chainId, command, diffId, index; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1169,7 +1206,7 @@ @implementation GTLROnDemandScanning_NonCompliantFile @implementation GTLROnDemandScanning_Occurrence @dynamic attestation, build, compliance, createTime, deployment, discovery, dsseAttestation, envelope, image, kind, name, noteName, package, - remediation, resourceUri, sbomReference, updateTime, upgrade, + remediation, resourceUri, sbomReference, secret, updateTime, upgrade, vulnerability; + (BOOL)isKindValidForClassRegistry { @@ -1553,6 +1590,51 @@ @implementation GTLROnDemandScanning_SBOMStatus @end +// ---------------------------------------------------------------------------- +// +// GTLROnDemandScanning_SecretLocation +// + +@implementation GTLROnDemandScanning_SecretLocation +@dynamic fileLocation; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROnDemandScanning_SecretOccurrence +// + +@implementation GTLROnDemandScanning_SecretOccurrence +@dynamic kind, locations, statuses; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"locations" : [GTLROnDemandScanning_SecretLocation class], + @"statuses" : [GTLROnDemandScanning_SecretStatus 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 + + +// ---------------------------------------------------------------------------- +// +// GTLROnDemandScanning_SecretStatus +// + +@implementation GTLROnDemandScanning_SecretStatus +@dynamic message, status, updateTime; +@end + + // ---------------------------------------------------------------------------- // // GTLROnDemandScanning_Signature diff --git a/Sources/GeneratedServices/OnDemandScanning/Public/GoogleAPIClientForREST/GTLROnDemandScanningObjects.h b/Sources/GeneratedServices/OnDemandScanning/Public/GoogleAPIClientForREST/GTLROnDemandScanningObjects.h index a33d7613f..7ec93d041 100644 --- a/Sources/GeneratedServices/OnDemandScanning/Public/GoogleAPIClientForREST/GTLROnDemandScanningObjects.h +++ b/Sources/GeneratedServices/OnDemandScanning/Public/GoogleAPIClientForREST/GTLROnDemandScanningObjects.h @@ -40,6 +40,8 @@ @class GTLROnDemandScanning_DSSEAttestationOccurrence; @class GTLROnDemandScanning_Envelope; @class GTLROnDemandScanning_EnvelopeSignature; +@class GTLROnDemandScanning_File; +@class GTLROnDemandScanning_File_Digest; @class GTLROnDemandScanning_FileHashes; @class GTLROnDemandScanning_FileLocation; @class GTLROnDemandScanning_Fingerprint; @@ -102,6 +104,9 @@ @class GTLROnDemandScanning_SbomReferenceIntotoPredicate_Digest; @class GTLROnDemandScanning_SBOMReferenceOccurrence; @class GTLROnDemandScanning_SBOMStatus; +@class GTLROnDemandScanning_SecretLocation; +@class GTLROnDemandScanning_SecretOccurrence; +@class GTLROnDemandScanning_SecretStatus; @class GTLROnDemandScanning_Signature; @class GTLROnDemandScanning_SlsaBuilder; @class GTLROnDemandScanning_SlsaCompleteness; @@ -492,6 +497,12 @@ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_Occurrence_Kind_Package * Value: "SBOM_REFERENCE" */ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_Occurrence_Kind_SbomReference; +/** + * This represents a secret. + * + * Value: "SECRET" + */ +FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_Occurrence_Kind_Secret; /** * This represents an available package upgrade. * @@ -571,7 +582,7 @@ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_PackageData_PackageType */ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_PackageData_PackageType_Rubygems; /** - * Rust packages from Cargo (Github ecosystem is `RUST`). + * Rust packages from Cargo (GitHub ecosystem is `RUST`). * * Value: "RUST" */ @@ -707,6 +718,57 @@ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_SBOMStatus_SbomState_Pe */ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_SBOMStatus_SbomState_SbomStateUnspecified; +// ---------------------------------------------------------------------------- +// GTLROnDemandScanning_SecretOccurrence.kind + +/** + * A GCP service account key per: + * https://cloud.google.com/iam/docs/creating-managing-service-account-keys + * + * Value: "SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY" + */ +FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_SecretOccurrence_Kind_SecretKindGcpServiceAccountKey; +/** + * The secret kind is unknown. + * + * Value: "SECRET_KIND_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_SecretOccurrence_Kind_SecretKindUnknown; +/** + * Unspecified + * + * Value: "SECRET_KIND_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_SecretOccurrence_Kind_SecretKindUnspecified; + +// ---------------------------------------------------------------------------- +// GTLROnDemandScanning_SecretStatus.status + +/** + * The secret is invalid. + * + * Value: "INVALID" + */ +FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_SecretStatus_Status_Invalid; +/** + * Unspecified + * + * Value: "STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_SecretStatus_Status_StatusUnspecified; +/** + * The status of the secret is unknown. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_SecretStatus_Status_Unknown; +/** + * The secret is valid. + * + * Value: "VALID" + */ +FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_SecretStatus_Status_Valid; + // ---------------------------------------------------------------------------- // GTLROnDemandScanning_Version.kind @@ -1709,6 +1771,9 @@ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_VulnerabilityOccurrence /** The CPE of the resource being scanned. */ @property(nonatomic, copy, nullable) NSString *cpe; +/** Files that make up the resource described by the occurrence. */ +@property(nonatomic, strong, nullable) NSArray *files; + /** The last time this resource was scanned. */ @property(nonatomic, strong, nullable) GTLRDateTime *lastScanTime; @@ -1784,6 +1849,29 @@ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_VulnerabilityOccurrence @end +/** + * GTLROnDemandScanning_File + */ +@interface GTLROnDemandScanning_File : GTLRObject + +@property(nonatomic, strong, nullable) GTLROnDemandScanning_File_Digest *digest; +@property(nonatomic, copy, nullable) NSString *name; + +@end + + +/** + * GTLROnDemandScanning_File_Digest + * + * @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 GTLROnDemandScanning_File_Digest : GTLRObject +@end + + /** * Container message for hashes of byte content of files, used in source * messages to verify integrity of source input to the build. @@ -1924,6 +2012,12 @@ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_VulnerabilityOccurrence /** The base images the layer is found within. */ @property(nonatomic, strong, nullable) NSArray *baseImages; +/** + * The layer chain ID (sha256 hash) of the layer in the container image. + * https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid + */ +@property(nonatomic, copy, nullable) NSString *chainId; + /** * The layer build command that was used to build the layer. This may not be * found in all layers depending on how the container image is built. @@ -2330,6 +2424,12 @@ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_VulnerabilityOccurrence /** The base images the layer is found within. */ @property(nonatomic, strong, nullable) NSArray *baseImages; +/** + * The layer chain ID (sha256 hash) of the layer in the container image. + * https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid + */ +@property(nonatomic, copy, nullable) NSString *chainId; + /** * The layer build command that was used to build the layer. This may not be * found in all layers depending on how the container image is built. @@ -2592,6 +2692,8 @@ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_VulnerabilityOccurrence * package installed via a package manager. (Value: "PACKAGE") * @arg @c kGTLROnDemandScanning_Occurrence_Kind_SbomReference This * represents an SBOM Reference. (Value: "SBOM_REFERENCE") + * @arg @c kGTLROnDemandScanning_Occurrence_Kind_Secret This represents a + * secret. (Value: "SECRET") * @arg @c kGTLROnDemandScanning_Occurrence_Kind_Upgrade This represents an * available package upgrade. (Value: "UPGRADE") * @arg @c kGTLROnDemandScanning_Occurrence_Kind_Vulnerability The note and @@ -2631,6 +2733,9 @@ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_VulnerabilityOccurrence /** Describes a specific SBOM reference occurrences. */ @property(nonatomic, strong, nullable) GTLROnDemandScanning_SBOMReferenceOccurrence *sbomReference; +/** Describes a secret. */ +@property(nonatomic, strong, nullable) GTLROnDemandScanning_SecretOccurrence *secret; + /** Output only. The time this occurrence was last updated. */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @@ -2811,7 +2916,7 @@ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_VulnerabilityOccurrence * @arg @c kGTLROnDemandScanning_PackageData_PackageType_Rubygems Ruby * packges (from RubyGems package manager). (Value: "RUBYGEMS") * @arg @c kGTLROnDemandScanning_PackageData_PackageType_Rust Rust packages - * from Cargo (Github ecosystem is `RUST`). (Value: "RUST") + * from Cargo (GitHub ecosystem is `RUST`). (Value: "RUST") * @arg @c kGTLROnDemandScanning_PackageData_PackageType_Swift Swift packages * from Swift Package Manager (SwiftPM). (Value: "SWIFT") */ @@ -3332,6 +3437,75 @@ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_VulnerabilityOccurrence @end +/** + * The location of the secret. + */ +@interface GTLROnDemandScanning_SecretLocation : GTLRObject + +/** The secret is found from a file. */ +@property(nonatomic, strong, nullable) GTLROnDemandScanning_GrafeasV1FileLocation *fileLocation; + +@end + + +/** + * The occurrence provides details of a secret. + */ +@interface GTLROnDemandScanning_SecretOccurrence : GTLRObject + +/** + * Required. Type of secret. + * + * Likely values: + * @arg @c kGTLROnDemandScanning_SecretOccurrence_Kind_SecretKindGcpServiceAccountKey + * A GCP service account key per: + * https://cloud.google.com/iam/docs/creating-managing-service-account-keys + * (Value: "SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY") + * @arg @c kGTLROnDemandScanning_SecretOccurrence_Kind_SecretKindUnknown The + * secret kind is unknown. (Value: "SECRET_KIND_UNKNOWN") + * @arg @c kGTLROnDemandScanning_SecretOccurrence_Kind_SecretKindUnspecified + * Unspecified (Value: "SECRET_KIND_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *kind; + +/** Optional. Locations where the secret is detected. */ +@property(nonatomic, strong, nullable) NSArray *locations; + +/** Optional. Status of the secret. */ +@property(nonatomic, strong, nullable) NSArray *statuses; + +@end + + +/** + * The status of the secret with a timestamp. + */ +@interface GTLROnDemandScanning_SecretStatus : GTLRObject + +/** Optional. Optional message about the status code. */ +@property(nonatomic, copy, nullable) NSString *message; + +/** + * Optional. The status of the secret. + * + * Likely values: + * @arg @c kGTLROnDemandScanning_SecretStatus_Status_Invalid The secret is + * invalid. (Value: "INVALID") + * @arg @c kGTLROnDemandScanning_SecretStatus_Status_StatusUnspecified + * Unspecified (Value: "STATUS_UNSPECIFIED") + * @arg @c kGTLROnDemandScanning_SecretStatus_Status_Unknown The status of + * the secret is unknown. (Value: "UNKNOWN") + * @arg @c kGTLROnDemandScanning_SecretStatus_Status_Valid The secret is + * valid. (Value: "VALID") + */ +@property(nonatomic, copy, nullable) NSString *status; + +/** Optional. The time the secret status was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * Verifiers (e.g. Kritis implementations) MUST verify signatures with respect * to the trust anchors defined in policy (e.g. a Kritis policy). Typically diff --git a/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseQuery.m b/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseQuery.m index 6133ee76a..5ec332b63 100644 --- a/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseQuery.m +++ b/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseQuery.m @@ -585,7 +585,7 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLROracleDatabaseQuery_ProjectsLocationsGiVersionsList -@dynamic pageSize, pageToken, parent; +@dynamic filter, pageSize, pageToken, parent; + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; diff --git a/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseObjects.h b/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseObjects.h index 1c8c2ea96..14f9f676e 100644 --- a/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseObjects.h +++ b/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseObjects.h @@ -1645,7 +1645,7 @@ FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_ScheduledOperationDetails /** Optional. The password for the default ADMIN user. */ @property(nonatomic, copy, nullable) NSString *adminPassword; -/** Optional. The subnet CIDR range for the Autonmous Database. */ +/** Optional. The subnet CIDR range for the Autonomous Database. */ @property(nonatomic, copy, nullable) NSString *cidr; /** @@ -4563,7 +4563,7 @@ FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_ScheduledOperationDetails /** - * The source configuration for the standby Autonomnous Database. + * The source configuration for the standby Autonomous Database. */ @interface GTLROracleDatabase_SourceConfig : GTLRObject diff --git a/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseQuery.h b/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseQuery.h index 13ebc579b..b8ac0d545 100644 --- a/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseQuery.h +++ b/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseQuery.h @@ -876,7 +876,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The parent value for database node in the following format: - * projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}. + * projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}. . */ @property(nonatomic, copy, nullable) NSString *parent; @@ -888,6 +888,7 @@ NS_ASSUME_NONNULL_BEGIN * @param parent Required. The parent value for database node in the following * format: * projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}. + * . * * @return GTLROracleDatabaseQuery_ProjectsLocationsCloudVmClustersDbNodesList * @@ -1153,6 +1154,12 @@ NS_ASSUME_NONNULL_BEGIN */ @interface GTLROracleDatabaseQuery_ProjectsLocationsGiVersionsList : GTLROracleDatabaseQuery +/** + * Optional. An expression for filtering the results of the request. Only the + * shape and gi_version fields are supported in this format: `shape="{shape}"`. + */ +@property(nonatomic, copy, nullable) NSString *filter; + /** * Optional. The maximum number of items to return. If unspecified, a maximum * of 50 Oracle Grid Infrastructure (GI) versions will be returned. The maximum diff --git a/Sources/GeneratedServices/PeopleService/Public/GoogleAPIClientForREST/GTLRPeopleServiceQuery.h b/Sources/GeneratedServices/PeopleService/Public/GoogleAPIClientForREST/GTLRPeopleServiceQuery.h index ea87f4bee..554232a42 100644 --- a/Sources/GeneratedServices/PeopleService/Public/GoogleAPIClientForREST/GTLRPeopleServiceQuery.h +++ b/Sources/GeneratedServices/PeopleService/Public/GoogleAPIClientForREST/GTLRPeopleServiceQuery.h @@ -1515,13 +1515,15 @@ FOUNDATION_EXTERN NSString * const kGTLRPeopleServiceSourcesReadSourceTypeUnspec * returns a 400 error with reason `"failedPrecondition"` if * `person.metadata.sources.etag` is different than the contact's etag, which * indicates the contact has changed since its data was read. Clients should - * get the latest person and merge their updates into the latest person. The - * server returns a 400 error if `memberships` are being updated and there are - * no contact group memberships specified on the person. The server returns a - * 400 error if more than one field is specified on a field that is a singleton - * for contact sources: * biographies * birthdays * genders * names Mutate - * requests for the same user should be sent sequentially to avoid increased - * latency and failures. + * get the latest person and merge their updates into the latest person. If + * making sequential updates to the same person, the etag from the + * `updateContact` response should be used to avoid failures. The server + * returns a 400 error if `memberships` are being updated and there are no + * contact group memberships specified on the person. The server returns a 400 + * error if more than one field is specified on a field that is a singleton for + * contact sources: * biographies * birthdays * genders * names Mutate requests + * for the same user should be sent sequentially to avoid increased latency and + * failures. * * Method: people.people.updateContact * @@ -1593,13 +1595,15 @@ FOUNDATION_EXTERN NSString * const kGTLRPeopleServiceSourcesReadSourceTypeUnspec * returns a 400 error with reason `"failedPrecondition"` if * `person.metadata.sources.etag` is different than the contact's etag, which * indicates the contact has changed since its data was read. Clients should - * get the latest person and merge their updates into the latest person. The - * server returns a 400 error if `memberships` are being updated and there are - * no contact group memberships specified on the person. The server returns a - * 400 error if more than one field is specified on a field that is a singleton - * for contact sources: * biographies * birthdays * genders * names Mutate - * requests for the same user should be sent sequentially to avoid increased - * latency and failures. + * get the latest person and merge their updates into the latest person. If + * making sequential updates to the same person, the etag from the + * `updateContact` response should be used to avoid failures. The server + * returns a 400 error if `memberships` are being updated and there are no + * contact group memberships specified on the person. The server returns a 400 + * error if more than one field is specified on a field that is a singleton for + * contact sources: * biographies * birthdays * genders * names Mutate requests + * for the same user should be sent sequentially to avoid increased latency and + * failures. * * @param object The @c GTLRPeopleService_Person to include in the query. * @param resourceName The resource name for the person, assigned by the diff --git a/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m b/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m index a69ffad56..87a62967e 100644 --- a/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m +++ b/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m @@ -70,6 +70,10 @@ NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_PossibleRisk = @"POSSIBLE_RISK"; NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_Unevaluated = @"UNEVALUATED"; +// GTLRPlayIntegrity_PcDeviceIntegrity.deviceRecognitionVerdict +NSString * const kGTLRPlayIntegrity_PcDeviceIntegrity_DeviceRecognitionVerdict_DeviceRecognitionVerdictUnspecified = @"DEVICE_RECOGNITION_VERDICT_UNSPECIFIED"; +NSString * const kGTLRPlayIntegrity_PcDeviceIntegrity_DeviceRecognitionVerdict_MeetsPcIntegrity = @"MEETS_PC_INTEGRITY"; + // GTLRPlayIntegrity_RecentDeviceActivity.deviceActivityLevel NSString * const kGTLRPlayIntegrity_RecentDeviceActivity_DeviceActivityLevel_DeviceActivityLevelUnspecified = @"DEVICE_ACTIVITY_LEVEL_UNSPECIFIED"; NSString * const kGTLRPlayIntegrity_RecentDeviceActivity_DeviceActivityLevel_Level1 = @"LEVEL_1"; @@ -155,6 +159,26 @@ @implementation GTLRPlayIntegrity_DecodeIntegrityTokenResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRPlayIntegrity_DecodePcIntegrityTokenRequest +// + +@implementation GTLRPlayIntegrity_DecodePcIntegrityTokenRequest +@dynamic integrityToken; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRPlayIntegrity_DecodePcIntegrityTokenResponse +// + +@implementation GTLRPlayIntegrity_DecodePcIntegrityTokenResponse +@dynamic tokenPayloadExternal; +@end + + // ---------------------------------------------------------------------------- // // GTLRPlayIntegrity_DeviceAttributes @@ -205,6 +229,44 @@ @implementation GTLRPlayIntegrity_EnvironmentDetails @end +// ---------------------------------------------------------------------------- +// +// GTLRPlayIntegrity_PcDeviceIntegrity +// + +@implementation GTLRPlayIntegrity_PcDeviceIntegrity +@dynamic deviceRecognitionVerdict; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"deviceRecognitionVerdict" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRPlayIntegrity_PcRequestDetails +// + +@implementation GTLRPlayIntegrity_PcRequestDetails +@dynamic requestHash, requestPackageName, requestTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRPlayIntegrity_PcTokenPayloadExternal +// + +@implementation GTLRPlayIntegrity_PcTokenPayloadExternal +@dynamic deviceIntegrity, requestDetails; +@end + + // ---------------------------------------------------------------------------- // // GTLRPlayIntegrity_RecentDeviceActivity diff --git a/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityQuery.m b/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityQuery.m index 155ff4b87..214201bd8 100644 --- a/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityQuery.m +++ b/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityQuery.m @@ -72,3 +72,30 @@ + (instancetype)queryWithObject:(GTLRPlayIntegrity_DecodeIntegrityTokenRequest * } @end + +@implementation GTLRPlayIntegrityQuery_V1DecodePcIntegrityToken + +@dynamic packageName; + ++ (instancetype)queryWithObject:(GTLRPlayIntegrity_DecodePcIntegrityTokenRequest *)object + packageName:(NSString *)packageName { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"packageName" ]; + NSString *pathURITemplate = @"v1/{+packageName}:decodePcIntegrityToken"; + GTLRPlayIntegrityQuery_V1DecodePcIntegrityToken *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.packageName = packageName; + query.expectedObjectClass = [GTLRPlayIntegrity_DecodePcIntegrityTokenResponse class]; + query.loggingName = @"playintegrity.decodePcIntegrityToken"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h b/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h index 54282272e..ced1709a5 100644 --- a/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h +++ b/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h @@ -25,6 +25,9 @@ @class GTLRPlayIntegrity_DeviceIntegrity; @class GTLRPlayIntegrity_DeviceRecall; @class GTLRPlayIntegrity_EnvironmentDetails; +@class GTLRPlayIntegrity_PcDeviceIntegrity; +@class GTLRPlayIntegrity_PcRequestDetails; +@class GTLRPlayIntegrity_PcTokenPayloadExternal; @class GTLRPlayIntegrity_RecentDeviceActivity; @class GTLRPlayIntegrity_RequestDetails; @class GTLRPlayIntegrity_TestingDetails; @@ -336,6 +339,22 @@ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayPro */ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_Unevaluated; +// ---------------------------------------------------------------------------- +// GTLRPlayIntegrity_PcDeviceIntegrity.deviceRecognitionVerdict + +/** + * Unspecified device integrity. + * + * Value: "DEVICE_RECOGNITION_VERDICT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_PcDeviceIntegrity_DeviceRecognitionVerdict_DeviceRecognitionVerdictUnspecified; +/** + * App is running on Windows Device with Google Desktop Services. + * + * Value: "MEETS_PC_INTEGRITY" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_PcDeviceIntegrity_DeviceRecognitionVerdict_MeetsPcIntegrity; + // ---------------------------------------------------------------------------- // GTLRPlayIntegrity_RecentDeviceActivity.deviceActivityLevel @@ -526,6 +545,28 @@ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_RecentDeviceActivity_Devic @end +/** + * Request to decode the PC integrity token. + */ +@interface GTLRPlayIntegrity_DecodePcIntegrityTokenRequest : GTLRObject + +/** Encoded integrity token. */ +@property(nonatomic, copy, nullable) NSString *integrityToken; + +@end + + +/** + * Response containing the decoded PC integrity payload. + */ +@interface GTLRPlayIntegrity_DecodePcIntegrityTokenResponse : GTLRObject + +/** Plain token payload generated from the decoded integrity token. */ +@property(nonatomic, strong, nullable) GTLRPlayIntegrity_PcTokenPayloadExternal *tokenPayloadExternal; + +@end + + /** * Contains information about the device for which the integrity token was * generated, e.g. Android SDK version. @@ -626,6 +667,51 @@ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_RecentDeviceActivity_Devic @end +/** + * Contains the device attestation information. + */ +@interface GTLRPlayIntegrity_PcDeviceIntegrity : GTLRObject + +/** Details about the integrity of the device the app is running on. */ +@property(nonatomic, strong, nullable) NSArray *deviceRecognitionVerdict; + +@end + + +/** + * Contains the integrity request information. + */ +@interface GTLRPlayIntegrity_PcRequestDetails : GTLRObject + +/** Request hash that was provided in the request. */ +@property(nonatomic, copy, nullable) NSString *requestHash; + +/** + * Required. Application package name this attestation was requested for. Note: + * This field makes no guarantees or promises on the caller integrity. + */ +@property(nonatomic, copy, nullable) NSString *requestPackageName; + +/** Required. Timestamp, of the integrity application request. */ +@property(nonatomic, strong, nullable) GTLRDateTime *requestTime; + +@end + + +/** + * Contains PC device attestation details. + */ +@interface GTLRPlayIntegrity_PcTokenPayloadExternal : GTLRObject + +/** Required. Details about the device integrity. */ +@property(nonatomic, strong, nullable) GTLRPlayIntegrity_PcDeviceIntegrity *deviceIntegrity; + +/** Required. Details about the integrity request. */ +@property(nonatomic, strong, nullable) GTLRPlayIntegrity_PcRequestDetails *requestDetails; + +@end + + /** * Recent device activity can help developers identify devices that have * exhibited hyperactive attestation activity, which could be a sign of an diff --git a/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityQuery.h b/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityQuery.h index f9d841dcb..c8c0c53e2 100644 --- a/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityQuery.h +++ b/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityQuery.h @@ -102,6 +102,36 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Decodes the PC integrity token and returns the PC token payload. + * + * Method: playintegrity.decodePcIntegrityToken + * + * Authorization scope(s): + * @c kGTLRAuthScopePlayIntegrity + */ +@interface GTLRPlayIntegrityQuery_V1DecodePcIntegrityToken : GTLRPlayIntegrityQuery + +/** Package name of the app the attached integrity token belongs to. */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Fetches a @c GTLRPlayIntegrity_DecodePcIntegrityTokenResponse. + * + * Decodes the PC integrity token and returns the PC token payload. + * + * @param object The @c GTLRPlayIntegrity_DecodePcIntegrityTokenRequest to + * include in the query. + * @param packageName Package name of the app the attached integrity token + * belongs to. + * + * @return GTLRPlayIntegrityQuery_V1DecodePcIntegrityToken + */ ++ (instancetype)queryWithObject:(GTLRPlayIntegrity_DecodePcIntegrityTokenRequest *)object + packageName:(NSString *)packageName; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/RealTimeBidding/Public/GoogleAPIClientForREST/GTLRRealTimeBiddingObjects.h b/Sources/GeneratedServices/RealTimeBidding/Public/GoogleAPIClientForREST/GTLRRealTimeBiddingObjects.h index d784ff201..2b4d25f45 100644 --- a/Sources/GeneratedServices/RealTimeBidding/Public/GoogleAPIClientForREST/GTLRRealTimeBiddingObjects.h +++ b/Sources/GeneratedServices/RealTimeBidding/Public/GoogleAPIClientForREST/GTLRRealTimeBiddingObjects.h @@ -879,7 +879,7 @@ FOUNDATION_EXTERN NSString * const kGTLRRealTimeBidding_Endpoint_BidProtocol_Bid * * Value: "GOOGLE_RTB" */ -FOUNDATION_EXTERN NSString * const kGTLRRealTimeBidding_Endpoint_BidProtocol_GoogleRtb; +FOUNDATION_EXTERN NSString * const kGTLRRealTimeBidding_Endpoint_BidProtocol_GoogleRtb GTLR_DEPRECATED; /** * OpenRTB / JSON encoding (unversioned/latest). * diff --git a/Sources/GeneratedServices/RecaptchaEnterprise/GTLRRecaptchaEnterpriseObjects.m b/Sources/GeneratedServices/RecaptchaEnterprise/GTLRRecaptchaEnterpriseObjects.m index e54a39d2f..8c28d7cde 100644 --- a/Sources/GeneratedServices/RecaptchaEnterprise/GTLRRecaptchaEnterpriseObjects.m +++ b/Sources/GeneratedServices/RecaptchaEnterprise/GTLRRecaptchaEnterpriseObjects.m @@ -68,6 +68,14 @@ NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1Event_FraudPrevention_Enabled = @"ENABLED"; NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1Event_FraudPrevention_FraudPreventionUnspecified = @"FRAUD_PREVENTION_UNSPECIFIED"; +// GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason.reason +NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason_Reason_AssociatedWithFraudCluster = @"ASSOCIATED_WITH_FRAUD_CLUSTER"; +NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason_Reason_ExcessiveEnumerationPattern = @"EXCESSIVE_ENUMERATION_PATTERN"; +NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason_Reason_GeolocationDiscrepancy = @"GEOLOCATION_DISCREPANCY"; +NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason_Reason_HighTransactionVelocity = @"HIGH_TRANSACTION_VELOCITY"; +NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason_Reason_ReasonUnspecified = @"REASON_UNSPECIFIED"; +NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason_Reason_ShortIdentityHistory = @"SHORT_IDENTITY_HISTORY"; + // GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals.cardLabels NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals_CardLabels_CardLabelUnspecified = @"CARD_LABEL_UNSPECIFIED"; NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals_CardLabels_Prepaid = @"PREPAID"; @@ -457,8 +465,16 @@ @implementation GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1Firewall // @implementation GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment -@dynamic behavioralTrustVerdict, cardTestingVerdict, stolenInstrumentVerdict, - transactionRisk; +@dynamic behavioralTrustVerdict, cardTestingVerdict, riskReasons, + stolenInstrumentVerdict, transactionRisk; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"riskReasons" : [GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason class] + }; + return map; +} + @end @@ -482,6 +498,16 @@ @implementation GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPre @end +// ---------------------------------------------------------------------------- +// +// GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason +// + +@implementation GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason +@dynamic reason; +@end + + // ---------------------------------------------------------------------------- // // GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict diff --git a/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h b/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h index d83da9a5f..88892203b 100644 --- a/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h +++ b/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h @@ -37,6 +37,7 @@ @class GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment; @class GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict; @class GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict; +@class GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason; @class GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict; @class GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudSignals; @class GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals; @@ -393,6 +394,51 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha */ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1Event_FraudPrevention_FraudPreventionUnspecified; +// ---------------------------------------------------------------------------- +// GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason.reason + +/** + * This transaction is linked to a cluster of known fraudulent activity. + * + * Value: "ASSOCIATED_WITH_FRAUD_CLUSTER" + */ +FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason_Reason_AssociatedWithFraudCluster; +/** + * User is cycling through a suspiciously large number of identifiers, + * suggesting enumeration or validation attacks within a potential fraud + * network. + * + * Value: "EXCESSIVE_ENUMERATION_PATTERN" + */ +FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason_Reason_ExcessiveEnumerationPattern; +/** + * Identifiers used in this transaction originate from an unusual or + * conflicting set of geolocations. + * + * Value: "GEOLOCATION_DISCREPANCY" + */ +FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason_Reason_GeolocationDiscrepancy; +/** + * A suspiciously high number of recent transactions have used identifiers + * present in this transaction. + * + * Value: "HIGH_TRANSACTION_VELOCITY" + */ +FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason_Reason_HighTransactionVelocity; +/** + * Default unspecified type. + * + * Value: "REASON_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason_Reason_ReasonUnspecified; +/** + * User has a short history or no history in the reCAPTCHA network, suggesting + * the possibility of synthetic identity generation. + * + * Value: "SHORT_IDENTITY_HISTORY" + */ +FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason_Reason_ShortIdentityHistory; + // ---------------------------------------------------------------------------- // GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudSignalsCardSignals.cardLabels @@ -779,12 +825,11 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha */ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WafSettings_WafFeature_ChallengePage; /** - * Use reCAPTCHA WAF express protection to protect any content other than web - * pages, like APIs and IoT devices. + * Deprecated: Use `express_settings` instead. * * Value: "EXPRESS" */ -FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WafSettings_WafFeature_Express; +FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WafSettings_WafFeature_Express GTLR_DEPRECATED; /** * Use reCAPTCHA session-tokens to protect the whole user session on the site's * domain. @@ -1635,6 +1680,12 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha */ @property(nonatomic, strong, nullable) GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict *cardTestingVerdict; +/** + * Output only. Reasons why the transaction is probably fraudulent and received + * a high transaction risk score. + */ +@property(nonatomic, strong, nullable) NSArray *riskReasons; + /** * Output only. Assessment of this transaction for risk of a stolen instrument. */ @@ -1685,6 +1736,41 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha @end +/** + * Risk reasons applicable to the Fraud Prevention assessment. + */ +@interface GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason : GTLRObject + +/** + * Output only. Risk reasons applicable to the Fraud Prevention assessment. + * + * Likely values: + * @arg @c kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason_Reason_AssociatedWithFraudCluster + * This transaction is linked to a cluster of known fraudulent activity. + * (Value: "ASSOCIATED_WITH_FRAUD_CLUSTER") + * @arg @c kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason_Reason_ExcessiveEnumerationPattern + * User is cycling through a suspiciously large number of identifiers, + * suggesting enumeration or validation attacks within a potential fraud + * network. (Value: "EXCESSIVE_ENUMERATION_PATTERN") + * @arg @c kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason_Reason_GeolocationDiscrepancy + * Identifiers used in this transaction originate from an unusual or + * conflicting set of geolocations. (Value: "GEOLOCATION_DISCREPANCY") + * @arg @c kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason_Reason_HighTransactionVelocity + * A suspiciously high number of recent transactions have used + * identifiers present in this transaction. (Value: + * "HIGH_TRANSACTION_VELOCITY") + * @arg @c kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason_Reason_ReasonUnspecified + * Default unspecified type. (Value: "REASON_UNSPECIFIED") + * @arg @c kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason_Reason_ShortIdentityHistory + * User has a short history or no history in the reCAPTCHA network, + * suggesting the possibility of synthetic identity generation. (Value: + * "SHORT_IDENTITY_HISTORY") + */ +@property(nonatomic, copy, nullable) NSString *reason; + +@end + + /** * Information about stolen instrument fraud, where the user is not the * legitimate owner of the instrument being used for the purchase. @@ -2945,8 +3031,7 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha * @arg @c kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WafSettings_WafFeature_ChallengePage * Redirects suspicious traffic to reCAPTCHA. (Value: "CHALLENGE_PAGE") * @arg @c kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WafSettings_WafFeature_Express - * Use reCAPTCHA WAF express protection to protect any content other than - * web pages, like APIs and IoT devices. (Value: "EXPRESS") + * Deprecated: Use `express_settings` instead. (Value: "EXPRESS") * @arg @c kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WafSettings_WafFeature_SessionToken * Use reCAPTCHA session-tokens to protect the whole user session on the * site's domain. (Value: "SESSION_TOKEN") diff --git a/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsQuery.h b/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsQuery.h index 636030287..afb530619 100644 --- a/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsQuery.h +++ b/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsQuery.h @@ -902,9 +902,9 @@ FOUNDATION_EXTERN NSString * const kGTLRReportsEntityTypeGplusCommunities; * The `parameters` query string is a comma-separated list of event parameters * that refine a report's results. The parameter is associated with a specific * application. The application values for the Customers usage report include - * `accounts`, `app_maker`, `apps_scripts`, `calendar`, `classroom`, `cros`, - * `docs`, `gmail`, `gplus`, `device_management`, `meet`, and `sites`. A - * `parameters` query string is in the CSV form of `app_name1:param_name1, + * `accounts`, `app_maker`, `apps_scripts`, `calendar`, `chat`, `classroom`, + * `cros`, `docs`, `gmail`, `gplus`, `device_management`, `meet`, and `sites`. + * A `parameters` query string is in the CSV form of `app_name1:param_name1, * app_name2:param_name2`. *Note:* The API doesn't accept multiple values of a * parameter. If a particular parameter is supplied more than once in the API * request, the API only accepts the last value of that request parameter. In @@ -1089,8 +1089,8 @@ FOUNDATION_EXTERN NSString * const kGTLRReportsEntityTypeGplusCommunities; * event parameters where the parameter's value is manipulated by a relational * operator. The `filters` query string includes the name of the application * whose usage is returned in the report. The application values for the Users - * Usage Report include `accounts`, `docs`, and `gmail`. Filters are in the - * form `[application name]:parameter name[parameter value],...`. In this + * Usage Report include `accounts`, `chat`, `docs`, and `gmail`. Filters are in + * the form `[application name]:parameter name[parameter value],...`. In this * example, the `<>` 'not equal to' operator is URL-encoded in the request's * query string (%3C%3E): GET * https://www.googleapis.com/admin/reports/v1/usage/users/all/dates/2013-03-03 @@ -1143,9 +1143,9 @@ FOUNDATION_EXTERN NSString * const kGTLRReportsEntityTypeGplusCommunities; * The `parameters` query string is a comma-separated list of event parameters * that refine a report's results. The parameter is associated with a specific * application. The application values for the Customers Usage report include - * `accounts`, `app_maker`, `apps_scripts`, `calendar`, `classroom`, `cros`, - * `docs`, `gmail`, `gplus`, `device_management`, `meet`, and `sites`. A - * `parameters` query string is in the CSV form of `app_name1:param_name1, + * `accounts`, `app_maker`, `apps_scripts`, `calendar`, `chat`, `classroom`, + * `cros`, `docs`, `gmail`, `gplus`, `device_management`, `meet`, and `sites`. + * A `parameters` query string is in the CSV form of `app_name1:param_name1, * app_name2:param_name2`. *Note:* The API doesn't accept multiple values of a * parameter. If a particular parameter is supplied more than once in the API * request, the API only accepts the last value of that request parameter. In diff --git a/Sources/GeneratedServices/Reseller/Public/GoogleAPIClientForREST/GTLRResellerQuery.h b/Sources/GeneratedServices/Reseller/Public/GoogleAPIClientForREST/GTLRResellerQuery.h index 4587f15e6..a87bae512 100644 --- a/Sources/GeneratedServices/Reseller/Public/GoogleAPIClientForREST/GTLRResellerQuery.h +++ b/Sources/GeneratedServices/Reseller/Public/GoogleAPIClientForREST/GTLRResellerQuery.h @@ -776,11 +776,8 @@ FOUNDATION_EXTERN NSString * const kGTLRResellerDeletionTypeTransferToDirect; @interface GTLRResellerQuery_SubscriptionsInsert : GTLRResellerQuery /** - * The intented insert action. The usage of this field is governed by certain - * policies which are being developed & tested currently. Hence, these might - * not work as intended. Once this is fully tested & available to consume, we - * will share more information about its usage, limitations and policy - * documentation. + * The intented insert action. Advised to set this when the customer already + * has a subscription for a different SKU in the same product. * * Likely values: * @arg @c kGTLRResellerActionActionUnspecified Auto determines whether to @@ -812,11 +809,7 @@ FOUNDATION_EXTERN NSString * const kGTLRResellerDeletionTypeTransferToDirect; /** * The sku_id of the existing subscription to be upgraded or downgraded. This - * is required when action is SWITCH. The usage of this field is governed by - * certain policies which are being developed & tested currently. Hence, these - * might not work as intended. Once this is fully tested & available to - * consume, we will share more information about its usage, limitations and - * policy documentation. + * is required when action is SWITCH. */ @property(nonatomic, copy, nullable) NSString *sourceSkuId; diff --git a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m index d7e9d848c..34bb9147e 100644 --- a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m +++ b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m @@ -2114,7 +2114,8 @@ @implementation GTLRSQLAdmin_PscAutoConnectionConfig // @implementation GTLRSQLAdmin_PscConfig -@dynamic allowedConsumerProjects, pscAutoConnections, pscEnabled; +@dynamic allowedConsumerProjects, networkAttachmentUri, pscAutoConnections, + pscEnabled; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h index ac3e7956d..9f241f2a4 100644 --- a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h +++ b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h @@ -4721,7 +4721,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; */ @property(nonatomic, strong, nullable) NSNumber *connectionPoolingEnabled; -/** Optional. List of connection pool configuration flags */ +/** Optional. List of connection pool configuration flags. */ @property(nonatomic, strong, nullable) NSArray *flags; @end @@ -6654,9 +6654,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; /** * Maximum query length stored in bytes. Default value: 1024 bytes. Range: - * 256-4500 bytes. Query length more than this field value will be truncated to - * this value. When unset, query length will be the default value. Changing - * query length will restart the database. + * 256-4500 bytes. Query lengths greater than this field value will be + * truncated to this value. When unset, query length will be the default value. + * Changing query length will restart the database. * * Uses NSNumber of intValue. */ @@ -7941,10 +7941,11 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @interface GTLRSQLAdmin_PscAutoConnectionConfig : GTLRObject /** - * The consumer network of this consumer endpoint. This must be a resource path - * that includes both the host project and the network name. For example, - * `projects/project1/global/networks/network1`. The consumer host project of - * this network might be different from the consumer service project. + * Optional. The consumer network of this consumer endpoint. This must be a + * resource path that includes both the host project and the network name. For + * example, `projects/project1/global/networks/network1`. The consumer host + * project of this network might be different from the consumer service + * project. */ @property(nonatomic, copy, nullable) NSString *consumerNetwork; @@ -7952,9 +7953,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @property(nonatomic, copy, nullable) NSString *consumerNetworkStatus; /** - * This is the project ID of consumer service project of this consumer - * endpoint. Optional. This is only applicable if consumer_network is a shared - * vpc network. + * Optional. This is the project ID of consumer service project of this + * consumer endpoint. Optional. This is only applicable if consumer_network is + * a shared vpc network. */ @property(nonatomic, copy, nullable) NSString *consumerProject; @@ -7981,6 +7982,13 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; */ @property(nonatomic, strong, nullable) NSArray *allowedConsumerProjects; +/** + * Optional. The network attachment of the consumer network that the Private + * Service Connect enabled Cloud SQL instance is authorized to connect via PSC + * interface. format: projects/PROJECT/regions/REGION/networkAttachments/ID + */ +@property(nonatomic, copy, nullable) NSString *networkAttachmentUri; + /** * Optional. The list of settings for requested Private Service Connect * consumer endpoints that can be used to connect to this Cloud SQL instance. diff --git a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminQuery.h b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminQuery.h index 69524487a..2d3e00210 100644 --- a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminQuery.h +++ b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminQuery.h @@ -389,9 +389,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdminFlagScopeSqlFlagScopeUnspecified @end /** - * This API updates the following: 1- retention period and description of - * backup in case of final backups only. 2- gcbdr_soft_delete_status of backup - * in case of GCBDR managed backups only. + * Updates the retention period and description of the backup. You can use this + * API to update final backups only. * * Method: sql.Backups.UpdateBackup * @@ -408,9 +407,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdminFlagScopeSqlFlagScopeUnspecified @property(nonatomic, copy, nullable) NSString *name; /** - * The list of fields that you can update. 1- You can update only the - * description and retention period for a final backup. 2- You can update only - * the gcbdr_soft_delete_status for GCBDR managed backup. + * The list of fields that you can update. You can update only the description + * and retention period of the final backup. * * String format is a comma-separated list of fields. */ @@ -419,9 +417,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdminFlagScopeSqlFlagScopeUnspecified /** * Fetches a @c GTLRSQLAdmin_Operation. * - * This API updates the following: 1- retention period and description of - * backup in case of final backups only. 2- gcbdr_soft_delete_status of backup - * in case of GCBDR managed backups only. + * Updates the retention period and description of the backup. You can use this + * API to update final backups only. * * @param object The @c GTLRSQLAdmin_Backup to include in the query. * @param name Output only. The resource name of the backup. Format: diff --git a/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m index c9c88037b..dc7b8531a 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m +++ b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m @@ -155,6 +155,14 @@ NSString * const kGTLRSecurityCommandCenter_EventThreatDetectionCustomModule_EnablementState_EnablementStateUnspecified = @"ENABLEMENT_STATE_UNSPECIFIED"; NSString * const kGTLRSecurityCommandCenter_EventThreatDetectionCustomModule_EnablementState_Inherited = @"INHERITED"; +// GTLRSecurityCommandCenter_FileOperation.type +NSString * const kGTLRSecurityCommandCenter_FileOperation_Type_Execute = @"EXECUTE"; +NSString * const kGTLRSecurityCommandCenter_FileOperation_Type_Open = @"OPEN"; +NSString * const kGTLRSecurityCommandCenter_FileOperation_Type_OperationTypeUnspecified = @"OPERATION_TYPE_UNSPECIFIED"; +NSString * const kGTLRSecurityCommandCenter_FileOperation_Type_Read = @"READ"; +NSString * const kGTLRSecurityCommandCenter_FileOperation_Type_Rename = @"RENAME"; +NSString * const kGTLRSecurityCommandCenter_FileOperation_Type_Write = @"WRITE"; + // GTLRSecurityCommandCenter_Finding.findingClass NSString * const kGTLRSecurityCommandCenter_Finding_FindingClass_Chokepoint = @"CHOKEPOINT"; NSString * const kGTLRSecurityCommandCenter_Finding_FindingClass_FindingClassUnspecified = @"FINDING_CLASS_UNSPECIFIED"; @@ -378,6 +386,14 @@ NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DataRetentionDeletionEvent_EventType_EventTypeMaxTtlExceeded = @"EVENT_TYPE_MAX_TTL_EXCEEDED"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DataRetentionDeletionEvent_EventType_EventTypeUnspecified = @"EVENT_TYPE_UNSPECIFIED"; +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2FileOperation.type +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2FileOperation_Type_Execute = @"EXECUTE"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2FileOperation_Type_Open = @"OPEN"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2FileOperation_Type_OperationTypeUnspecified = @"OPERATION_TYPE_UNSPECIFIED"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2FileOperation_Type_Read = @"READ"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2FileOperation_Type_Rename = @"RENAME"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2FileOperation_Type_Write = @"WRITE"; + // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Finding.findingClass NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Finding_FindingClass_Chokepoint = @"CHOKEPOINT"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Finding_FindingClass_FindingClassUnspecified = @"FINDING_CLASS_UNSPECIFIED"; @@ -448,6 +464,7 @@ NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_Data = @"DATA"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_DomainCategoryUnspecified = @"DOMAIN_CATEGORY_UNSPECIFIED"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_IdentityAndAccess = @"IDENTITY_AND_ACCESS"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_Threat = @"THREAT"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_Vulnerability = @"VULNERABILITY"; // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueMute.muteState @@ -487,15 +504,19 @@ // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack.additionalTechniques NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_AbuseElevationControlMechanism = @"ABUSE_ELEVATION_CONTROL_MECHANISM"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_AbuseElevationControlMechanismSudoAndSudoCaching = @"ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_AccessTokenManipulation = @"ACCESS_TOKEN_MANIPULATION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_AccountAccessRemoval = @"ACCOUNT_ACCESS_REMOVAL"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_AccountDiscoveryLocalAccount = @"ACCOUNT_DISCOVERY_LOCAL_ACCOUNT"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_AccountManipulation = @"ACCOUNT_MANIPULATION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ActiveScanning = @"ACTIVE_SCANNING"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_AdditionalCloudCredentials = @"ADDITIONAL_CLOUD_CREDENTIALS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_AdditionalCloudRoles = @"ADDITIONAL_CLOUD_ROLES"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_AdditionalContainerClusterRoles = @"ADDITIONAL_CONTAINER_CLUSTER_ROLES"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ApplicationLayerProtocol = @"APPLICATION_LAYER_PROTOCOL"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_AutomatedCollection = @"AUTOMATED_COLLECTION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_AutomatedExfiltration = @"AUTOMATED_EXFILTRATION"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_BashHistory = @"BASH_HISTORY"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_BootOrLogonAutostartExecution = @"BOOT_OR_LOGON_AUTOSTART_EXECUTION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_BootOrLogonInitializationScripts = @"BOOT_OR_LOGON_INITIALIZATION_SCRIPTS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_BruteForce = @"BRUTE_FORCE"; @@ -507,18 +528,27 @@ NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_CommandObfuscation = @"COMMAND_OBFUSCATION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_CompileAfterDelivery = @"COMPILE_AFTER_DELIVERY"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_CompromiseHostSoftwareBinary = @"COMPROMISE_HOST_SOFTWARE_BINARY"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_CompromiseSoftwareDependenciesAndDevelopmentTools = @"COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ContainerAdministrationCommand = @"CONTAINER_ADMINISTRATION_COMMAND"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ContainerAndResourceDiscovery = @"CONTAINER_AND_RESOURCE_DISCOVERY"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ContainerOrchestrationJob = @"CONTAINER_ORCHESTRATION_JOB"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_CreateAccount = @"CREATE_ACCOUNT"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_CreateOrModifySystemProcess = @"CREATE_OR_MODIFY_SYSTEM_PROCESS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_CreateSnapshot = @"CREATE_SNAPSHOT"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_CredentialsFromPasswordStores = @"CREDENTIALS_FROM_PASSWORD_STORES"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_CredentialsInFiles = @"CREDENTIALS_IN_FILES"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_DataDestruction = @"DATA_DESTRUCTION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_DataEncoding = @"DATA_ENCODING"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_DataEncryptedForImpact = @"DATA_ENCRYPTED_FOR_IMPACT"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_DataFromLocalSystem = @"DATA_FROM_LOCAL_SYSTEM"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_DataObfuscation = @"DATA_OBFUSCATION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_DataObfuscationSteganography = @"DATA_OBFUSCATION_STEGANOGRAPHY"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_DefaultAccounts = @"DEFAULT_ACCOUNTS"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_DeobfuscateDecodeFilesOrInfo = @"DEOBFUSCATE_DECODE_FILES_OR_INFO"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_DeployContainer = @"DEPLOY_CONTAINER"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_DevelopCapabilities = @"DEVELOP_CAPABILITIES"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_DevelopCapabilitiesMalware = @"DEVELOP_CAPABILITIES_MALWARE"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_DisableOrModifyLinuxAuditSystem = @"DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_DisableOrModifyTools = @"DISABLE_OR_MODIFY_TOOLS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_Dns = @"DNS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_DomainPolicyModification = @"DOMAIN_POLICY_MODIFICATION"; @@ -530,14 +560,27 @@ NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ExploitationForPrivilegeEscalation = @"EXPLOITATION_FOR_PRIVILEGE_ESCALATION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ExploitPublicFacingApplication = @"EXPLOIT_PUBLIC_FACING_APPLICATION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ExternalProxy = @"EXTERNAL_PROXY"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_FileAndDirectoryDiscovery = @"FILE_AND_DIRECTORY_DISCOVERY"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_FinancialTheft = @"FINANCIAL_THEFT"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_FirmwareCorruption = @"FIRMWARE_CORRUPTION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_HiddenFilesAndDirectories = @"HIDDEN_FILES_AND_DIRECTORIES"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_HiddenUsers = @"HIDDEN_USERS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_HideArtifacts = @"HIDE_ARTIFACTS"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_HijackExecutionFlow = @"HIJACK_EXECUTION_FLOW"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_HijackExecutionFlowDynamicLinkerHijacking = @"HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ImpairDefenses = @"IMPAIR_DEFENSES"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_IndicatorBlocking = @"INDICATOR_BLOCKING"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_IndicatorRemoval = @"INDICATOR_REMOVAL"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_IndicatorRemovalClearCommandHistory = @"INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_IndicatorRemovalClearLinuxOrMacSystemLogs = @"INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_IndicatorRemovalClearMailboxData = @"INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_IndicatorRemovalFileDeletion = @"INDICATOR_REMOVAL_FILE_DELETION"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_IndicatorRemovalTimestomp = @"INDICATOR_REMOVAL_TIMESTOMP"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_IngressToolTransfer = @"INGRESS_TOOL_TRANSFER"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_InhibitSystemRecovery = @"INHIBIT_SYSTEM_RECOVERY"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_InputCapture = @"INPUT_CAPTURE"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_InputCaptureKeylogging = @"INPUT_CAPTURE_KEYLOGGING"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_InstallRootCertificate = @"INSTALL_ROOT_CERTIFICATE"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_KernelModulesAndExtensions = @"KERNEL_MODULES_AND_EXTENSIONS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_LateralToolTransfer = @"LATERAL_TOOL_TRANSFER"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_LocalAccount = @"LOCAL_ACCOUNT"; @@ -553,15 +596,27 @@ NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_NetworkServiceDiscovery = @"NETWORK_SERVICE_DISCOVERY"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ObfuscatedFilesOrInfo = @"OBFUSCATED_FILES_OR_INFO"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ObtainCapabilities = @"OBTAIN_CAPABILITIES"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ObtainCapabilitiesMalware = @"OBTAIN_CAPABILITIES_MALWARE"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ObtainCapabilitiesVulnerabilities = @"OBTAIN_CAPABILITIES_VULNERABILITIES"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_OsCredentialDumping = @"OS_CREDENTIAL_DUMPING"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_OsCredentialDumpingEtcPasswordAndEtcShadow = @"OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_OsCredentialDumpingProcFilesystem = @"OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_PermissionGroupsDiscovery = @"PERMISSION_GROUPS_DISCOVERY"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_PluggableAuthenticationModules = @"PLUGGABLE_AUTHENTICATION_MODULES"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_PrivateKeys = @"PRIVATE_KEYS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ProcessDiscovery = @"PROCESS_DISCOVERY"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ProcessInjection = @"PROCESS_INJECTION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_Proxy = @"PROXY"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_Python = @"PYTHON"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ReflectiveCodeLoading = @"REFLECTIVE_CODE_LOADING"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ResourceHijacking = @"RESOURCE_HIJACKING"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ScanningIpBlocks = @"SCANNING_IP_BLOCKS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ScheduledTaskJob = @"SCHEDULED_TASK_JOB"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ScheduledTaskJobCron = @"SCHEDULED_TASK_JOB_CRON"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ScheduledTransfer = @"SCHEDULED_TRANSFER"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ServiceStop = @"SERVICE_STOP"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_SharedModules = @"SHARED_MODULES"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ShortcutModification = @"SHORTCUT_MODIFICATION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_SoftwareDeploymentTools = @"SOFTWARE_DEPLOYMENT_TOOLS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_SshAuthorizedKeys = @"SSH_AUTHORIZED_KEYS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_StageCapabilities = @"STAGE_CAPABILITIES"; @@ -571,11 +626,15 @@ NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_StealOrForgeAuthenticationCertificates = @"STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_StealWebSessionCookie = @"STEAL_WEB_SESSION_COOKIE"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_Steganography = @"STEGANOGRAPHY"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_SubvertTrustControl = @"SUBVERT_TRUST_CONTROL"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_SupplyChainCompromise = @"SUPPLY_CHAIN_COMPROMISE"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_SystemOwnerUserDiscovery = @"SYSTEM_OWNER_USER_DISCOVERY"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_TechniqueUnspecified = @"TECHNIQUE_UNSPECIFIED"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_TokenImpersonationOrTheft = @"TOKEN_IMPERSONATION_OR_THEFT"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_TransferDataToCloudAccount = @"TRANSFER_DATA_TO_CLOUD_ACCOUNT"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_UnixShell = @"UNIX_SHELL"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_UnsecuredCredentials = @"UNSECURED_CREDENTIALS"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_UploadMalware = @"UPLOAD_MALWARE"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_UserExecution = @"USER_EXECUTION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ValidAccounts = @"VALID_ACCOUNTS"; @@ -598,15 +657,19 @@ // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack.primaryTechniques NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_AbuseElevationControlMechanism = @"ABUSE_ELEVATION_CONTROL_MECHANISM"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_AbuseElevationControlMechanismSudoAndSudoCaching = @"ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_AccessTokenManipulation = @"ACCESS_TOKEN_MANIPULATION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_AccountAccessRemoval = @"ACCOUNT_ACCESS_REMOVAL"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_AccountDiscoveryLocalAccount = @"ACCOUNT_DISCOVERY_LOCAL_ACCOUNT"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_AccountManipulation = @"ACCOUNT_MANIPULATION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ActiveScanning = @"ACTIVE_SCANNING"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_AdditionalCloudCredentials = @"ADDITIONAL_CLOUD_CREDENTIALS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_AdditionalCloudRoles = @"ADDITIONAL_CLOUD_ROLES"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_AdditionalContainerClusterRoles = @"ADDITIONAL_CONTAINER_CLUSTER_ROLES"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ApplicationLayerProtocol = @"APPLICATION_LAYER_PROTOCOL"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_AutomatedCollection = @"AUTOMATED_COLLECTION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_AutomatedExfiltration = @"AUTOMATED_EXFILTRATION"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_BashHistory = @"BASH_HISTORY"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_BootOrLogonAutostartExecution = @"BOOT_OR_LOGON_AUTOSTART_EXECUTION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_BootOrLogonInitializationScripts = @"BOOT_OR_LOGON_INITIALIZATION_SCRIPTS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_BruteForce = @"BRUTE_FORCE"; @@ -618,18 +681,27 @@ NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_CommandObfuscation = @"COMMAND_OBFUSCATION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_CompileAfterDelivery = @"COMPILE_AFTER_DELIVERY"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_CompromiseHostSoftwareBinary = @"COMPROMISE_HOST_SOFTWARE_BINARY"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_CompromiseSoftwareDependenciesAndDevelopmentTools = @"COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ContainerAdministrationCommand = @"CONTAINER_ADMINISTRATION_COMMAND"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ContainerAndResourceDiscovery = @"CONTAINER_AND_RESOURCE_DISCOVERY"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ContainerOrchestrationJob = @"CONTAINER_ORCHESTRATION_JOB"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_CreateAccount = @"CREATE_ACCOUNT"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_CreateOrModifySystemProcess = @"CREATE_OR_MODIFY_SYSTEM_PROCESS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_CreateSnapshot = @"CREATE_SNAPSHOT"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_CredentialsFromPasswordStores = @"CREDENTIALS_FROM_PASSWORD_STORES"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_CredentialsInFiles = @"CREDENTIALS_IN_FILES"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_DataDestruction = @"DATA_DESTRUCTION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_DataEncoding = @"DATA_ENCODING"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_DataEncryptedForImpact = @"DATA_ENCRYPTED_FOR_IMPACT"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_DataFromLocalSystem = @"DATA_FROM_LOCAL_SYSTEM"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_DataObfuscation = @"DATA_OBFUSCATION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_DataObfuscationSteganography = @"DATA_OBFUSCATION_STEGANOGRAPHY"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_DefaultAccounts = @"DEFAULT_ACCOUNTS"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_DeobfuscateDecodeFilesOrInfo = @"DEOBFUSCATE_DECODE_FILES_OR_INFO"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_DeployContainer = @"DEPLOY_CONTAINER"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_DevelopCapabilities = @"DEVELOP_CAPABILITIES"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_DevelopCapabilitiesMalware = @"DEVELOP_CAPABILITIES_MALWARE"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_DisableOrModifyLinuxAuditSystem = @"DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_DisableOrModifyTools = @"DISABLE_OR_MODIFY_TOOLS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_Dns = @"DNS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_DomainPolicyModification = @"DOMAIN_POLICY_MODIFICATION"; @@ -641,14 +713,27 @@ NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ExploitationForPrivilegeEscalation = @"EXPLOITATION_FOR_PRIVILEGE_ESCALATION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ExploitPublicFacingApplication = @"EXPLOIT_PUBLIC_FACING_APPLICATION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ExternalProxy = @"EXTERNAL_PROXY"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_FileAndDirectoryDiscovery = @"FILE_AND_DIRECTORY_DISCOVERY"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_FinancialTheft = @"FINANCIAL_THEFT"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_FirmwareCorruption = @"FIRMWARE_CORRUPTION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_HiddenFilesAndDirectories = @"HIDDEN_FILES_AND_DIRECTORIES"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_HiddenUsers = @"HIDDEN_USERS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_HideArtifacts = @"HIDE_ARTIFACTS"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_HijackExecutionFlow = @"HIJACK_EXECUTION_FLOW"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_HijackExecutionFlowDynamicLinkerHijacking = @"HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ImpairDefenses = @"IMPAIR_DEFENSES"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_IndicatorBlocking = @"INDICATOR_BLOCKING"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_IndicatorRemoval = @"INDICATOR_REMOVAL"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_IndicatorRemovalClearCommandHistory = @"INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_IndicatorRemovalClearLinuxOrMacSystemLogs = @"INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_IndicatorRemovalClearMailboxData = @"INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_IndicatorRemovalFileDeletion = @"INDICATOR_REMOVAL_FILE_DELETION"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_IndicatorRemovalTimestomp = @"INDICATOR_REMOVAL_TIMESTOMP"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_IngressToolTransfer = @"INGRESS_TOOL_TRANSFER"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_InhibitSystemRecovery = @"INHIBIT_SYSTEM_RECOVERY"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_InputCapture = @"INPUT_CAPTURE"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_InputCaptureKeylogging = @"INPUT_CAPTURE_KEYLOGGING"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_InstallRootCertificate = @"INSTALL_ROOT_CERTIFICATE"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_KernelModulesAndExtensions = @"KERNEL_MODULES_AND_EXTENSIONS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_LateralToolTransfer = @"LATERAL_TOOL_TRANSFER"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_LocalAccount = @"LOCAL_ACCOUNT"; @@ -664,15 +749,27 @@ NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_NetworkServiceDiscovery = @"NETWORK_SERVICE_DISCOVERY"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ObfuscatedFilesOrInfo = @"OBFUSCATED_FILES_OR_INFO"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ObtainCapabilities = @"OBTAIN_CAPABILITIES"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ObtainCapabilitiesMalware = @"OBTAIN_CAPABILITIES_MALWARE"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ObtainCapabilitiesVulnerabilities = @"OBTAIN_CAPABILITIES_VULNERABILITIES"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_OsCredentialDumping = @"OS_CREDENTIAL_DUMPING"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_OsCredentialDumpingEtcPasswordAndEtcShadow = @"OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_OsCredentialDumpingProcFilesystem = @"OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_PermissionGroupsDiscovery = @"PERMISSION_GROUPS_DISCOVERY"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_PluggableAuthenticationModules = @"PLUGGABLE_AUTHENTICATION_MODULES"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_PrivateKeys = @"PRIVATE_KEYS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ProcessDiscovery = @"PROCESS_DISCOVERY"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ProcessInjection = @"PROCESS_INJECTION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_Proxy = @"PROXY"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_Python = @"PYTHON"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ReflectiveCodeLoading = @"REFLECTIVE_CODE_LOADING"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ResourceHijacking = @"RESOURCE_HIJACKING"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ScanningIpBlocks = @"SCANNING_IP_BLOCKS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ScheduledTaskJob = @"SCHEDULED_TASK_JOB"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ScheduledTaskJobCron = @"SCHEDULED_TASK_JOB_CRON"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ScheduledTransfer = @"SCHEDULED_TRANSFER"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ServiceStop = @"SERVICE_STOP"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_SharedModules = @"SHARED_MODULES"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ShortcutModification = @"SHORTCUT_MODIFICATION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_SoftwareDeploymentTools = @"SOFTWARE_DEPLOYMENT_TOOLS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_SshAuthorizedKeys = @"SSH_AUTHORIZED_KEYS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_StageCapabilities = @"STAGE_CAPABILITIES"; @@ -682,11 +779,15 @@ NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_StealOrForgeAuthenticationCertificates = @"STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_StealWebSessionCookie = @"STEAL_WEB_SESSION_COOKIE"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_Steganography = @"STEGANOGRAPHY"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_SubvertTrustControl = @"SUBVERT_TRUST_CONTROL"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_SupplyChainCompromise = @"SUPPLY_CHAIN_COMPROMISE"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_SystemOwnerUserDiscovery = @"SYSTEM_OWNER_USER_DISCOVERY"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_TechniqueUnspecified = @"TECHNIQUE_UNSPECIFIED"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_TokenImpersonationOrTheft = @"TOKEN_IMPERSONATION_OR_THEFT"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_TransferDataToCloudAccount = @"TRANSFER_DATA_TO_CLOUD_ACCOUNT"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_UnixShell = @"UNIX_SHELL"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_UnsecuredCredentials = @"UNSECURED_CREDENTIALS"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_UploadMalware = @"UPLOAD_MALWARE"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_UserExecution = @"USER_EXECUTION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ValidAccounts = @"VALID_ACCOUNTS"; @@ -816,15 +917,19 @@ // GTLRSecurityCommandCenter_MitreAttack.additionalTechniques NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_AbuseElevationControlMechanism = @"ABUSE_ELEVATION_CONTROL_MECHANISM"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_AbuseElevationControlMechanismSudoAndSudoCaching = @"ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_AccessTokenManipulation = @"ACCESS_TOKEN_MANIPULATION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_AccountAccessRemoval = @"ACCOUNT_ACCESS_REMOVAL"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_AccountDiscoveryLocalAccount = @"ACCOUNT_DISCOVERY_LOCAL_ACCOUNT"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_AccountManipulation = @"ACCOUNT_MANIPULATION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ActiveScanning = @"ACTIVE_SCANNING"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_AdditionalCloudCredentials = @"ADDITIONAL_CLOUD_CREDENTIALS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_AdditionalCloudRoles = @"ADDITIONAL_CLOUD_ROLES"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_AdditionalContainerClusterRoles = @"ADDITIONAL_CONTAINER_CLUSTER_ROLES"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ApplicationLayerProtocol = @"APPLICATION_LAYER_PROTOCOL"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_AutomatedCollection = @"AUTOMATED_COLLECTION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_AutomatedExfiltration = @"AUTOMATED_EXFILTRATION"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_BashHistory = @"BASH_HISTORY"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_BootOrLogonAutostartExecution = @"BOOT_OR_LOGON_AUTOSTART_EXECUTION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_BootOrLogonInitializationScripts = @"BOOT_OR_LOGON_INITIALIZATION_SCRIPTS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_BruteForce = @"BRUTE_FORCE"; @@ -836,18 +941,27 @@ NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_CommandObfuscation = @"COMMAND_OBFUSCATION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_CompileAfterDelivery = @"COMPILE_AFTER_DELIVERY"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_CompromiseHostSoftwareBinary = @"COMPROMISE_HOST_SOFTWARE_BINARY"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_CompromiseSoftwareDependenciesAndDevelopmentTools = @"COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ContainerAdministrationCommand = @"CONTAINER_ADMINISTRATION_COMMAND"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ContainerAndResourceDiscovery = @"CONTAINER_AND_RESOURCE_DISCOVERY"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ContainerOrchestrationJob = @"CONTAINER_ORCHESTRATION_JOB"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_CreateAccount = @"CREATE_ACCOUNT"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_CreateOrModifySystemProcess = @"CREATE_OR_MODIFY_SYSTEM_PROCESS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_CreateSnapshot = @"CREATE_SNAPSHOT"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_CredentialsFromPasswordStores = @"CREDENTIALS_FROM_PASSWORD_STORES"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_CredentialsInFiles = @"CREDENTIALS_IN_FILES"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_DataDestruction = @"DATA_DESTRUCTION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_DataEncoding = @"DATA_ENCODING"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_DataEncryptedForImpact = @"DATA_ENCRYPTED_FOR_IMPACT"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_DataFromLocalSystem = @"DATA_FROM_LOCAL_SYSTEM"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_DataObfuscation = @"DATA_OBFUSCATION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_DataObfuscationSteganography = @"DATA_OBFUSCATION_STEGANOGRAPHY"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_DefaultAccounts = @"DEFAULT_ACCOUNTS"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_DeobfuscateDecodeFilesOrInfo = @"DEOBFUSCATE_DECODE_FILES_OR_INFO"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_DeployContainer = @"DEPLOY_CONTAINER"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_DevelopCapabilities = @"DEVELOP_CAPABILITIES"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_DevelopCapabilitiesMalware = @"DEVELOP_CAPABILITIES_MALWARE"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_DisableOrModifyLinuxAuditSystem = @"DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_DisableOrModifyTools = @"DISABLE_OR_MODIFY_TOOLS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_Dns = @"DNS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_DomainPolicyModification = @"DOMAIN_POLICY_MODIFICATION"; @@ -859,14 +973,27 @@ NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ExploitationForPrivilegeEscalation = @"EXPLOITATION_FOR_PRIVILEGE_ESCALATION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ExploitPublicFacingApplication = @"EXPLOIT_PUBLIC_FACING_APPLICATION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ExternalProxy = @"EXTERNAL_PROXY"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_FileAndDirectoryDiscovery = @"FILE_AND_DIRECTORY_DISCOVERY"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_FinancialTheft = @"FINANCIAL_THEFT"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_FirmwareCorruption = @"FIRMWARE_CORRUPTION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_HiddenFilesAndDirectories = @"HIDDEN_FILES_AND_DIRECTORIES"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_HiddenUsers = @"HIDDEN_USERS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_HideArtifacts = @"HIDE_ARTIFACTS"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_HijackExecutionFlow = @"HIJACK_EXECUTION_FLOW"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_HijackExecutionFlowDynamicLinkerHijacking = @"HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ImpairDefenses = @"IMPAIR_DEFENSES"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_IndicatorBlocking = @"INDICATOR_BLOCKING"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_IndicatorRemoval = @"INDICATOR_REMOVAL"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_IndicatorRemovalClearCommandHistory = @"INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_IndicatorRemovalClearLinuxOrMacSystemLogs = @"INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_IndicatorRemovalClearMailboxData = @"INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_IndicatorRemovalFileDeletion = @"INDICATOR_REMOVAL_FILE_DELETION"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_IndicatorRemovalTimestomp = @"INDICATOR_REMOVAL_TIMESTOMP"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_IngressToolTransfer = @"INGRESS_TOOL_TRANSFER"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_InhibitSystemRecovery = @"INHIBIT_SYSTEM_RECOVERY"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_InputCapture = @"INPUT_CAPTURE"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_InputCaptureKeylogging = @"INPUT_CAPTURE_KEYLOGGING"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_InstallRootCertificate = @"INSTALL_ROOT_CERTIFICATE"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_KernelModulesAndExtensions = @"KERNEL_MODULES_AND_EXTENSIONS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_LateralToolTransfer = @"LATERAL_TOOL_TRANSFER"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_LocalAccount = @"LOCAL_ACCOUNT"; @@ -882,15 +1009,27 @@ NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_NetworkServiceDiscovery = @"NETWORK_SERVICE_DISCOVERY"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ObfuscatedFilesOrInfo = @"OBFUSCATED_FILES_OR_INFO"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ObtainCapabilities = @"OBTAIN_CAPABILITIES"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ObtainCapabilitiesMalware = @"OBTAIN_CAPABILITIES_MALWARE"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ObtainCapabilitiesVulnerabilities = @"OBTAIN_CAPABILITIES_VULNERABILITIES"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_OsCredentialDumping = @"OS_CREDENTIAL_DUMPING"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_OsCredentialDumpingEtcPasswordAndEtcShadow = @"OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_OsCredentialDumpingProcFilesystem = @"OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_PermissionGroupsDiscovery = @"PERMISSION_GROUPS_DISCOVERY"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_PluggableAuthenticationModules = @"PLUGGABLE_AUTHENTICATION_MODULES"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_PrivateKeys = @"PRIVATE_KEYS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ProcessDiscovery = @"PROCESS_DISCOVERY"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ProcessInjection = @"PROCESS_INJECTION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_Proxy = @"PROXY"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_Python = @"PYTHON"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ReflectiveCodeLoading = @"REFLECTIVE_CODE_LOADING"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ResourceHijacking = @"RESOURCE_HIJACKING"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ScanningIpBlocks = @"SCANNING_IP_BLOCKS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ScheduledTaskJob = @"SCHEDULED_TASK_JOB"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ScheduledTaskJobCron = @"SCHEDULED_TASK_JOB_CRON"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ScheduledTransfer = @"SCHEDULED_TRANSFER"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ServiceStop = @"SERVICE_STOP"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_SharedModules = @"SHARED_MODULES"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ShortcutModification = @"SHORTCUT_MODIFICATION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_SoftwareDeploymentTools = @"SOFTWARE_DEPLOYMENT_TOOLS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_SshAuthorizedKeys = @"SSH_AUTHORIZED_KEYS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_StageCapabilities = @"STAGE_CAPABILITIES"; @@ -900,11 +1039,15 @@ NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_StealOrForgeAuthenticationCertificates = @"STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_StealWebSessionCookie = @"STEAL_WEB_SESSION_COOKIE"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_Steganography = @"STEGANOGRAPHY"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_SubvertTrustControl = @"SUBVERT_TRUST_CONTROL"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_SupplyChainCompromise = @"SUPPLY_CHAIN_COMPROMISE"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_SystemOwnerUserDiscovery = @"SYSTEM_OWNER_USER_DISCOVERY"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_TechniqueUnspecified = @"TECHNIQUE_UNSPECIFIED"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_TokenImpersonationOrTheft = @"TOKEN_IMPERSONATION_OR_THEFT"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_TransferDataToCloudAccount = @"TRANSFER_DATA_TO_CLOUD_ACCOUNT"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_UnixShell = @"UNIX_SHELL"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_UnsecuredCredentials = @"UNSECURED_CREDENTIALS"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_UploadMalware = @"UPLOAD_MALWARE"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_UserExecution = @"USER_EXECUTION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ValidAccounts = @"VALID_ACCOUNTS"; @@ -927,15 +1070,19 @@ // GTLRSecurityCommandCenter_MitreAttack.primaryTechniques NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_AbuseElevationControlMechanism = @"ABUSE_ELEVATION_CONTROL_MECHANISM"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_AbuseElevationControlMechanismSudoAndSudoCaching = @"ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_AccessTokenManipulation = @"ACCESS_TOKEN_MANIPULATION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_AccountAccessRemoval = @"ACCOUNT_ACCESS_REMOVAL"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_AccountDiscoveryLocalAccount = @"ACCOUNT_DISCOVERY_LOCAL_ACCOUNT"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_AccountManipulation = @"ACCOUNT_MANIPULATION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ActiveScanning = @"ACTIVE_SCANNING"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_AdditionalCloudCredentials = @"ADDITIONAL_CLOUD_CREDENTIALS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_AdditionalCloudRoles = @"ADDITIONAL_CLOUD_ROLES"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_AdditionalContainerClusterRoles = @"ADDITIONAL_CONTAINER_CLUSTER_ROLES"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ApplicationLayerProtocol = @"APPLICATION_LAYER_PROTOCOL"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_AutomatedCollection = @"AUTOMATED_COLLECTION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_AutomatedExfiltration = @"AUTOMATED_EXFILTRATION"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_BashHistory = @"BASH_HISTORY"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_BootOrLogonAutostartExecution = @"BOOT_OR_LOGON_AUTOSTART_EXECUTION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_BootOrLogonInitializationScripts = @"BOOT_OR_LOGON_INITIALIZATION_SCRIPTS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_BruteForce = @"BRUTE_FORCE"; @@ -947,18 +1094,27 @@ NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_CommandObfuscation = @"COMMAND_OBFUSCATION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_CompileAfterDelivery = @"COMPILE_AFTER_DELIVERY"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_CompromiseHostSoftwareBinary = @"COMPROMISE_HOST_SOFTWARE_BINARY"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_CompromiseSoftwareDependenciesAndDevelopmentTools = @"COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ContainerAdministrationCommand = @"CONTAINER_ADMINISTRATION_COMMAND"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ContainerAndResourceDiscovery = @"CONTAINER_AND_RESOURCE_DISCOVERY"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ContainerOrchestrationJob = @"CONTAINER_ORCHESTRATION_JOB"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_CreateAccount = @"CREATE_ACCOUNT"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_CreateOrModifySystemProcess = @"CREATE_OR_MODIFY_SYSTEM_PROCESS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_CreateSnapshot = @"CREATE_SNAPSHOT"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_CredentialsFromPasswordStores = @"CREDENTIALS_FROM_PASSWORD_STORES"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_CredentialsInFiles = @"CREDENTIALS_IN_FILES"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_DataDestruction = @"DATA_DESTRUCTION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_DataEncoding = @"DATA_ENCODING"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_DataEncryptedForImpact = @"DATA_ENCRYPTED_FOR_IMPACT"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_DataFromLocalSystem = @"DATA_FROM_LOCAL_SYSTEM"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_DataObfuscation = @"DATA_OBFUSCATION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_DataObfuscationSteganography = @"DATA_OBFUSCATION_STEGANOGRAPHY"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_DefaultAccounts = @"DEFAULT_ACCOUNTS"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_DeobfuscateDecodeFilesOrInfo = @"DEOBFUSCATE_DECODE_FILES_OR_INFO"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_DeployContainer = @"DEPLOY_CONTAINER"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_DevelopCapabilities = @"DEVELOP_CAPABILITIES"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_DevelopCapabilitiesMalware = @"DEVELOP_CAPABILITIES_MALWARE"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_DisableOrModifyLinuxAuditSystem = @"DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_DisableOrModifyTools = @"DISABLE_OR_MODIFY_TOOLS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_Dns = @"DNS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_DomainPolicyModification = @"DOMAIN_POLICY_MODIFICATION"; @@ -970,14 +1126,27 @@ NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ExploitationForPrivilegeEscalation = @"EXPLOITATION_FOR_PRIVILEGE_ESCALATION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ExploitPublicFacingApplication = @"EXPLOIT_PUBLIC_FACING_APPLICATION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ExternalProxy = @"EXTERNAL_PROXY"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_FileAndDirectoryDiscovery = @"FILE_AND_DIRECTORY_DISCOVERY"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_FinancialTheft = @"FINANCIAL_THEFT"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_FirmwareCorruption = @"FIRMWARE_CORRUPTION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_HiddenFilesAndDirectories = @"HIDDEN_FILES_AND_DIRECTORIES"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_HiddenUsers = @"HIDDEN_USERS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_HideArtifacts = @"HIDE_ARTIFACTS"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_HijackExecutionFlow = @"HIJACK_EXECUTION_FLOW"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_HijackExecutionFlowDynamicLinkerHijacking = @"HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ImpairDefenses = @"IMPAIR_DEFENSES"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_IndicatorBlocking = @"INDICATOR_BLOCKING"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_IndicatorRemoval = @"INDICATOR_REMOVAL"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_IndicatorRemovalClearCommandHistory = @"INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_IndicatorRemovalClearLinuxOrMacSystemLogs = @"INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_IndicatorRemovalClearMailboxData = @"INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_IndicatorRemovalFileDeletion = @"INDICATOR_REMOVAL_FILE_DELETION"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_IndicatorRemovalTimestomp = @"INDICATOR_REMOVAL_TIMESTOMP"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_IngressToolTransfer = @"INGRESS_TOOL_TRANSFER"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_InhibitSystemRecovery = @"INHIBIT_SYSTEM_RECOVERY"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_InputCapture = @"INPUT_CAPTURE"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_InputCaptureKeylogging = @"INPUT_CAPTURE_KEYLOGGING"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_InstallRootCertificate = @"INSTALL_ROOT_CERTIFICATE"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_KernelModulesAndExtensions = @"KERNEL_MODULES_AND_EXTENSIONS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_LateralToolTransfer = @"LATERAL_TOOL_TRANSFER"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_LocalAccount = @"LOCAL_ACCOUNT"; @@ -993,15 +1162,27 @@ NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_NetworkServiceDiscovery = @"NETWORK_SERVICE_DISCOVERY"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ObfuscatedFilesOrInfo = @"OBFUSCATED_FILES_OR_INFO"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ObtainCapabilities = @"OBTAIN_CAPABILITIES"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ObtainCapabilitiesMalware = @"OBTAIN_CAPABILITIES_MALWARE"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ObtainCapabilitiesVulnerabilities = @"OBTAIN_CAPABILITIES_VULNERABILITIES"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_OsCredentialDumping = @"OS_CREDENTIAL_DUMPING"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_OsCredentialDumpingEtcPasswordAndEtcShadow = @"OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_OsCredentialDumpingProcFilesystem = @"OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_PermissionGroupsDiscovery = @"PERMISSION_GROUPS_DISCOVERY"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_PluggableAuthenticationModules = @"PLUGGABLE_AUTHENTICATION_MODULES"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_PrivateKeys = @"PRIVATE_KEYS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ProcessDiscovery = @"PROCESS_DISCOVERY"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ProcessInjection = @"PROCESS_INJECTION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_Proxy = @"PROXY"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_Python = @"PYTHON"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ReflectiveCodeLoading = @"REFLECTIVE_CODE_LOADING"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ResourceHijacking = @"RESOURCE_HIJACKING"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ScanningIpBlocks = @"SCANNING_IP_BLOCKS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ScheduledTaskJob = @"SCHEDULED_TASK_JOB"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ScheduledTaskJobCron = @"SCHEDULED_TASK_JOB_CRON"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ScheduledTransfer = @"SCHEDULED_TRANSFER"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ServiceStop = @"SERVICE_STOP"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_SharedModules = @"SHARED_MODULES"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ShortcutModification = @"SHORTCUT_MODIFICATION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_SoftwareDeploymentTools = @"SOFTWARE_DEPLOYMENT_TOOLS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_SshAuthorizedKeys = @"SSH_AUTHORIZED_KEYS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_StageCapabilities = @"STAGE_CAPABILITIES"; @@ -1011,11 +1192,15 @@ NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_StealOrForgeAuthenticationCertificates = @"STEAL_OR_FORGE_AUTHENTICATION_CERTIFICATES"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_StealWebSessionCookie = @"STEAL_WEB_SESSION_COOKIE"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_Steganography = @"STEGANOGRAPHY"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_SubvertTrustControl = @"SUBVERT_TRUST_CONTROL"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_SupplyChainCompromise = @"SUPPLY_CHAIN_COMPROMISE"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_SystemOwnerUserDiscovery = @"SYSTEM_OWNER_USER_DISCOVERY"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_TechniqueUnspecified = @"TECHNIQUE_UNSPECIFIED"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_TokenImpersonationOrTheft = @"TOKEN_IMPERSONATION_OR_THEFT"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_TransferDataToCloudAccount = @"TRANSFER_DATA_TO_CLOUD_ACCOUNT"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_UnixShell = @"UNIX_SHELL"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_UnsecuredCredentials = @"UNSECURED_CREDENTIALS"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_UploadMalware = @"UPLOAD_MALWARE"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_UserExecution = @"USER_EXECUTION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ValidAccounts = @"VALID_ACCOUNTS"; @@ -2049,7 +2234,26 @@ @implementation GTLRSecurityCommandCenter_Expr // @implementation GTLRSecurityCommandCenter_File -@dynamic contents, diskPath, hashedSize, partiallyHashed, path, sha256, size; +@dynamic contents, diskPath, hashedSize, operations, partiallyHashed, path, + sha256, size; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"operations" : [GTLRSecurityCommandCenter_FileOperation class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_FileOperation +// + +@implementation GTLRSecurityCommandCenter_FileOperation +@dynamic type; @end @@ -3233,7 +3437,26 @@ @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2ExternalSys // @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2File -@dynamic contents, diskPath, hashedSize, partiallyHashed, path, sha256, size; +@dynamic contents, diskPath, hashedSize, operations, partiallyHashed, path, + sha256, size; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"operations" : [GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2FileOperation class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2FileOperation +// + +@implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2FileOperation +@dynamic type; @end diff --git a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h index 69b32ace7..b0443538f 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h +++ b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h @@ -79,6 +79,7 @@ @class GTLRSecurityCommandCenter_Exfiltration; @class GTLRSecurityCommandCenter_Expr; @class GTLRSecurityCommandCenter_File; +@class GTLRSecurityCommandCenter_FileOperation; @class GTLRSecurityCommandCenter_Finding; @class GTLRSecurityCommandCenter_Finding_Contacts; @class GTLRSecurityCommandCenter_Finding_ExternalSystems; @@ -153,6 +154,7 @@ @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Exfiltration; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2ExternalSystem; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2File; +@class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2FileOperation; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Finding; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Finding_Contacts; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Finding_ExternalSystems; @@ -980,6 +982,46 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_EventThreatDetecti */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_EventThreatDetectionCustomModule_EnablementState_Inherited; +// ---------------------------------------------------------------------------- +// GTLRSecurityCommandCenter_FileOperation.type + +/** + * Represents an execute operation. + * + * Value: "EXECUTE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_FileOperation_Type_Execute; +/** + * Represents an open operation. + * + * Value: "OPEN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_FileOperation_Type_Open; +/** + * The operation is unspecified. + * + * Value: "OPERATION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_FileOperation_Type_OperationTypeUnspecified; +/** + * Represents a read operation. + * + * Value: "READ" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_FileOperation_Type_Read; +/** + * Represents a rename operation. + * + * Value: "RENAME" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_FileOperation_Type_Rename; +/** + * Represents a write operation. + * + * Value: "WRITE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_FileOperation_Type_Write; + // ---------------------------------------------------------------------------- // GTLRSecurityCommandCenter_Finding.findingClass @@ -2104,6 +2146,46 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DataRetentionDeletionEvent_EventType_EventTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2FileOperation.type + +/** + * Represents an execute operation. + * + * Value: "EXECUTE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2FileOperation_Type_Execute; +/** + * Represents an open operation. + * + * Value: "OPEN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2FileOperation_Type_Open; +/** + * The operation is unspecified. + * + * Value: "OPERATION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2FileOperation_Type_OperationTypeUnspecified; +/** + * Represents a read operation. + * + * Value: "READ" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2FileOperation_Type_Read; +/** + * Represents a rename operation. + * + * Value: "RENAME" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2FileOperation_Type_Rename; +/** + * Represents a write operation. + * + * Value: "WRITE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2FileOperation_Type_Write; + // ---------------------------------------------------------------------------- // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Finding.findingClass @@ -2476,6 +2558,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "IDENTITY_AND_ACCESS" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_IdentityAndAccess; +/** + * Issues in the threat domain. + * + * Value: "THREAT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_Threat; /** * Issues in the vulnerability domain. * @@ -2670,6 +2758,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "ABUSE_ELEVATION_CONTROL_MECHANISM" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_AbuseElevationControlMechanism; +/** + * T1548.003 + * + * Value: "ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_AbuseElevationControlMechanismSudoAndSudoCaching; /** * T1134 * @@ -2682,6 +2776,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "ACCOUNT_ACCESS_REMOVAL" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_AccountAccessRemoval; +/** + * T1087.001 + * + * Value: "ACCOUNT_DISCOVERY_LOCAL_ACCOUNT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_AccountDiscoveryLocalAccount; /** * T1098 * @@ -2718,12 +2818,24 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "APPLICATION_LAYER_PROTOCOL" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ApplicationLayerProtocol; +/** + * T1119 + * + * Value: "AUTOMATED_COLLECTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_AutomatedCollection; /** * T1020 * * Value: "AUTOMATED_EXFILTRATION" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_AutomatedExfiltration; +/** + * T1552.003 + * + * Value: "BASH_HISTORY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_BashHistory; /** * T1547 * @@ -2790,6 +2902,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "COMPROMISE_HOST_SOFTWARE_BINARY" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_CompromiseHostSoftwareBinary; +/** + * T1195.001 + * + * Value: "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_CompromiseSoftwareDependenciesAndDevelopmentTools; /** * T1609 * @@ -2826,6 +2944,18 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "CREATE_SNAPSHOT" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_CreateSnapshot; +/** + * T1555 + * + * Value: "CREDENTIALS_FROM_PASSWORD_STORES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_CredentialsFromPasswordStores; +/** + * T1552.001 + * + * Value: "CREDENTIALS_IN_FILES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_CredentialsInFiles; /** * T1485 * @@ -2838,6 +2968,18 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "DATA_ENCODING" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_DataEncoding; +/** + * T1486 + * + * Value: "DATA_ENCRYPTED_FOR_IMPACT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_DataEncryptedForImpact; +/** + * T1005 + * + * Value: "DATA_FROM_LOCAL_SYSTEM" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_DataFromLocalSystem; /** * T1001 * @@ -2856,12 +2998,36 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "DEFAULT_ACCOUNTS" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_DefaultAccounts; +/** + * T1140 + * + * Value: "DEOBFUSCATE_DECODE_FILES_OR_INFO" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_DeobfuscateDecodeFilesOrInfo; /** * T1610 * * Value: "DEPLOY_CONTAINER" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_DeployContainer; +/** + * T1587 + * + * Value: "DEVELOP_CAPABILITIES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_DevelopCapabilities; +/** + * T1587.001 + * + * Value: "DEVELOP_CAPABILITIES_MALWARE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_DevelopCapabilitiesMalware; +/** + * T1562.012 + * + * Value: "DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_DisableOrModifyLinuxAuditSystem; /** * T1562.001 * @@ -2928,6 +3094,18 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "EXTERNAL_PROXY" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ExternalProxy; +/** + * T1083 + * + * Value: "FILE_AND_DIRECTORY_DISCOVERY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_FileAndDirectoryDiscovery; +/** + * T1657 + * + * Value: "FINANCIAL_THEFT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_FinancialTheft; /** * T1495 * @@ -2952,18 +3130,66 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "HIDE_ARTIFACTS" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_HideArtifacts; +/** + * T1574 + * + * Value: "HIJACK_EXECUTION_FLOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_HijackExecutionFlow; +/** + * T1574.006 + * + * Value: "HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_HijackExecutionFlowDynamicLinkerHijacking; /** * T1562 * * Value: "IMPAIR_DEFENSES" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ImpairDefenses; +/** + * T1562.006 + * + * Value: "INDICATOR_BLOCKING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_IndicatorBlocking; +/** + * T1070 + * + * Value: "INDICATOR_REMOVAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_IndicatorRemoval; +/** + * T1070.003 + * + * Value: "INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_IndicatorRemovalClearCommandHistory; +/** + * T1070.002 + * + * Value: "INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_IndicatorRemovalClearLinuxOrMacSystemLogs; +/** + * T1070.008 + * + * Value: "INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_IndicatorRemovalClearMailboxData; /** * T1070.004 * * Value: "INDICATOR_REMOVAL_FILE_DELETION" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_IndicatorRemovalFileDeletion; +/** + * T1070.006 + * + * Value: "INDICATOR_REMOVAL_TIMESTOMP" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_IndicatorRemovalTimestomp; /** * T1105 * @@ -2976,6 +3202,24 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "INHIBIT_SYSTEM_RECOVERY" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_InhibitSystemRecovery; +/** + * T1056 + * + * Value: "INPUT_CAPTURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_InputCapture; +/** + * T1056.001 + * + * Value: "INPUT_CAPTURE_KEYLOGGING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_InputCaptureKeylogging; +/** + * T1553.004 + * + * Value: "INSTALL_ROOT_CERTIFICATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_InstallRootCertificate; /** * T1547.006 * @@ -3066,18 +3310,66 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "OBTAIN_CAPABILITIES" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ObtainCapabilities; +/** + * T1588.001 + * + * Value: "OBTAIN_CAPABILITIES_MALWARE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ObtainCapabilitiesMalware; +/** + * T1588.006 + * + * Value: "OBTAIN_CAPABILITIES_VULNERABILITIES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ObtainCapabilitiesVulnerabilities; +/** + * T1003 + * + * Value: "OS_CREDENTIAL_DUMPING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_OsCredentialDumping; +/** + * T1003.008 + * + * Value: "OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_OsCredentialDumpingEtcPasswordAndEtcShadow; +/** + * T1003.007 + * + * Value: "OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_OsCredentialDumpingProcFilesystem; /** * T1069 * * Value: "PERMISSION_GROUPS_DISCOVERY" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_PermissionGroupsDiscovery; +/** + * T1556.003 + * + * Value: "PLUGGABLE_AUTHENTICATION_MODULES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_PluggableAuthenticationModules; +/** + * T1552.004 + * + * Value: "PRIVATE_KEYS" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_PrivateKeys; /** * T1057 * * Value: "PROCESS_DISCOVERY" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ProcessDiscovery; +/** + * T1055 + * + * Value: "PROCESS_INJECTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ProcessInjection; /** * T1090 * @@ -3090,6 +3382,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "PYTHON" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_Python; +/** + * T1620 + * + * Value: "REFLECTIVE_CODE_LOADING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ReflectiveCodeLoading; /** * T1496 * @@ -3108,6 +3406,18 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "SCHEDULED_TASK_JOB" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ScheduledTaskJob; +/** + * T1053.003 + * + * Value: "SCHEDULED_TASK_JOB_CRON" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ScheduledTaskJobCron; +/** + * T1029 + * + * Value: "SCHEDULED_TRANSFER" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ScheduledTransfer; /** * T1489 * @@ -3120,6 +3430,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "SHARED_MODULES" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_SharedModules; +/** + * T1547.009 + * + * Value: "SHORTCUT_MODIFICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ShortcutModification; /** * T1072 * @@ -3174,6 +3490,24 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "STEGANOGRAPHY" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_Steganography; +/** + * T1553 + * + * Value: "SUBVERT_TRUST_CONTROL" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_SubvertTrustControl; +/** + * T1195 + * + * Value: "SUPPLY_CHAIN_COMPROMISE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_SupplyChainCompromise; +/** + * T1033 + * + * Value: "SYSTEM_OWNER_USER_DISCOVERY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_SystemOwnerUserDiscovery; /** * Unspecified value. * @@ -3204,6 +3538,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "UNSECURED_CREDENTIALS" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_UnsecuredCredentials; +/** + * T1608.001 + * + * Value: "UPLOAD_MALWARE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_UploadMalware; /** * T1204 * @@ -3320,6 +3660,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "ABUSE_ELEVATION_CONTROL_MECHANISM" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_AbuseElevationControlMechanism; +/** + * T1548.003 + * + * Value: "ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_AbuseElevationControlMechanismSudoAndSudoCaching; /** * T1134 * @@ -3332,6 +3678,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "ACCOUNT_ACCESS_REMOVAL" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_AccountAccessRemoval; +/** + * T1087.001 + * + * Value: "ACCOUNT_DISCOVERY_LOCAL_ACCOUNT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_AccountDiscoveryLocalAccount; /** * T1098 * @@ -3368,12 +3720,24 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "APPLICATION_LAYER_PROTOCOL" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ApplicationLayerProtocol; +/** + * T1119 + * + * Value: "AUTOMATED_COLLECTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_AutomatedCollection; /** * T1020 * * Value: "AUTOMATED_EXFILTRATION" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_AutomatedExfiltration; +/** + * T1552.003 + * + * Value: "BASH_HISTORY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_BashHistory; /** * T1547 * @@ -3440,6 +3804,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "COMPROMISE_HOST_SOFTWARE_BINARY" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_CompromiseHostSoftwareBinary; +/** + * T1195.001 + * + * Value: "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_CompromiseSoftwareDependenciesAndDevelopmentTools; /** * T1609 * @@ -3476,6 +3846,18 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "CREATE_SNAPSHOT" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_CreateSnapshot; +/** + * T1555 + * + * Value: "CREDENTIALS_FROM_PASSWORD_STORES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_CredentialsFromPasswordStores; +/** + * T1552.001 + * + * Value: "CREDENTIALS_IN_FILES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_CredentialsInFiles; /** * T1485 * @@ -3488,6 +3870,18 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "DATA_ENCODING" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_DataEncoding; +/** + * T1486 + * + * Value: "DATA_ENCRYPTED_FOR_IMPACT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_DataEncryptedForImpact; +/** + * T1005 + * + * Value: "DATA_FROM_LOCAL_SYSTEM" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_DataFromLocalSystem; /** * T1001 * @@ -3506,12 +3900,36 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "DEFAULT_ACCOUNTS" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_DefaultAccounts; +/** + * T1140 + * + * Value: "DEOBFUSCATE_DECODE_FILES_OR_INFO" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_DeobfuscateDecodeFilesOrInfo; /** * T1610 * * Value: "DEPLOY_CONTAINER" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_DeployContainer; +/** + * T1587 + * + * Value: "DEVELOP_CAPABILITIES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_DevelopCapabilities; +/** + * T1587.001 + * + * Value: "DEVELOP_CAPABILITIES_MALWARE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_DevelopCapabilitiesMalware; +/** + * T1562.012 + * + * Value: "DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_DisableOrModifyLinuxAuditSystem; /** * T1562.001 * @@ -3578,6 +3996,18 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "EXTERNAL_PROXY" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ExternalProxy; +/** + * T1083 + * + * Value: "FILE_AND_DIRECTORY_DISCOVERY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_FileAndDirectoryDiscovery; +/** + * T1657 + * + * Value: "FINANCIAL_THEFT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_FinancialTheft; /** * T1495 * @@ -3602,18 +4032,66 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "HIDE_ARTIFACTS" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_HideArtifacts; +/** + * T1574 + * + * Value: "HIJACK_EXECUTION_FLOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_HijackExecutionFlow; +/** + * T1574.006 + * + * Value: "HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_HijackExecutionFlowDynamicLinkerHijacking; /** * T1562 * * Value: "IMPAIR_DEFENSES" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ImpairDefenses; +/** + * T1562.006 + * + * Value: "INDICATOR_BLOCKING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_IndicatorBlocking; +/** + * T1070 + * + * Value: "INDICATOR_REMOVAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_IndicatorRemoval; +/** + * T1070.003 + * + * Value: "INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_IndicatorRemovalClearCommandHistory; +/** + * T1070.002 + * + * Value: "INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_IndicatorRemovalClearLinuxOrMacSystemLogs; +/** + * T1070.008 + * + * Value: "INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_IndicatorRemovalClearMailboxData; /** * T1070.004 * * Value: "INDICATOR_REMOVAL_FILE_DELETION" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_IndicatorRemovalFileDeletion; +/** + * T1070.006 + * + * Value: "INDICATOR_REMOVAL_TIMESTOMP" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_IndicatorRemovalTimestomp; /** * T1105 * @@ -3626,6 +4104,24 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "INHIBIT_SYSTEM_RECOVERY" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_InhibitSystemRecovery; +/** + * T1056 + * + * Value: "INPUT_CAPTURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_InputCapture; +/** + * T1056.001 + * + * Value: "INPUT_CAPTURE_KEYLOGGING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_InputCaptureKeylogging; +/** + * T1553.004 + * + * Value: "INSTALL_ROOT_CERTIFICATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_InstallRootCertificate; /** * T1547.006 * @@ -3716,18 +4212,66 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "OBTAIN_CAPABILITIES" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ObtainCapabilities; +/** + * T1588.001 + * + * Value: "OBTAIN_CAPABILITIES_MALWARE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ObtainCapabilitiesMalware; +/** + * T1588.006 + * + * Value: "OBTAIN_CAPABILITIES_VULNERABILITIES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ObtainCapabilitiesVulnerabilities; +/** + * T1003 + * + * Value: "OS_CREDENTIAL_DUMPING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_OsCredentialDumping; +/** + * T1003.008 + * + * Value: "OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_OsCredentialDumpingEtcPasswordAndEtcShadow; +/** + * T1003.007 + * + * Value: "OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_OsCredentialDumpingProcFilesystem; /** * T1069 * * Value: "PERMISSION_GROUPS_DISCOVERY" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_PermissionGroupsDiscovery; +/** + * T1556.003 + * + * Value: "PLUGGABLE_AUTHENTICATION_MODULES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_PluggableAuthenticationModules; +/** + * T1552.004 + * + * Value: "PRIVATE_KEYS" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_PrivateKeys; /** * T1057 * * Value: "PROCESS_DISCOVERY" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ProcessDiscovery; +/** + * T1055 + * + * Value: "PROCESS_INJECTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ProcessInjection; /** * T1090 * @@ -3740,6 +4284,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "PYTHON" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_Python; +/** + * T1620 + * + * Value: "REFLECTIVE_CODE_LOADING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ReflectiveCodeLoading; /** * T1496 * @@ -3758,6 +4308,18 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "SCHEDULED_TASK_JOB" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ScheduledTaskJob; +/** + * T1053.003 + * + * Value: "SCHEDULED_TASK_JOB_CRON" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ScheduledTaskJobCron; +/** + * T1029 + * + * Value: "SCHEDULED_TRANSFER" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ScheduledTransfer; /** * T1489 * @@ -3770,6 +4332,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "SHARED_MODULES" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_SharedModules; +/** + * T1547.009 + * + * Value: "SHORTCUT_MODIFICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ShortcutModification; /** * T1072 * @@ -3824,6 +4392,24 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "STEGANOGRAPHY" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_Steganography; +/** + * T1553 + * + * Value: "SUBVERT_TRUST_CONTROL" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_SubvertTrustControl; +/** + * T1195 + * + * Value: "SUPPLY_CHAIN_COMPROMISE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_SupplyChainCompromise; +/** + * T1033 + * + * Value: "SYSTEM_OWNER_USER_DISCOVERY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_SystemOwnerUserDiscovery; /** * Unspecified value. * @@ -3854,6 +4440,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "UNSECURED_CREDENTIALS" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_UnsecuredCredentials; +/** + * T1608.001 + * + * Value: "UPLOAD_MALWARE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_UploadMalware; /** * T1204 * @@ -4486,6 +5078,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Additi * Value: "ABUSE_ELEVATION_CONTROL_MECHANISM" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_AbuseElevationControlMechanism; +/** + * T1548.003 + * + * Value: "ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_AbuseElevationControlMechanismSudoAndSudoCaching; /** * T1134 * @@ -4498,6 +5096,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Additi * Value: "ACCOUNT_ACCESS_REMOVAL" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_AccountAccessRemoval; +/** + * T1087.001 + * + * Value: "ACCOUNT_DISCOVERY_LOCAL_ACCOUNT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_AccountDiscoveryLocalAccount; /** * T1098 * @@ -4534,12 +5138,24 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Additi * Value: "APPLICATION_LAYER_PROTOCOL" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ApplicationLayerProtocol; +/** + * T1119 + * + * Value: "AUTOMATED_COLLECTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_AutomatedCollection; /** * T1020 * * Value: "AUTOMATED_EXFILTRATION" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_AutomatedExfiltration; +/** + * T1552.003 + * + * Value: "BASH_HISTORY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_BashHistory; /** * T1547 * @@ -4606,6 +5222,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Additi * Value: "COMPROMISE_HOST_SOFTWARE_BINARY" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_CompromiseHostSoftwareBinary; +/** + * T1195.001 + * + * Value: "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_CompromiseSoftwareDependenciesAndDevelopmentTools; /** * T1609 * @@ -4642,18 +5264,42 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Additi * Value: "CREATE_SNAPSHOT" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_CreateSnapshot; +/** + * T1555 + * + * Value: "CREDENTIALS_FROM_PASSWORD_STORES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_CredentialsFromPasswordStores; +/** + * T1552.001 + * + * Value: "CREDENTIALS_IN_FILES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_CredentialsInFiles; /** * T1485 * * Value: "DATA_DESTRUCTION" */ -FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_DataDestruction; +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_DataDestruction; +/** + * T1132 + * + * Value: "DATA_ENCODING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_DataEncoding; +/** + * T1486 + * + * Value: "DATA_ENCRYPTED_FOR_IMPACT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_DataEncryptedForImpact; /** - * T1132 + * T1005 * - * Value: "DATA_ENCODING" + * Value: "DATA_FROM_LOCAL_SYSTEM" */ -FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_DataEncoding; +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_DataFromLocalSystem; /** * T1001 * @@ -4672,12 +5318,36 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Additi * Value: "DEFAULT_ACCOUNTS" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_DefaultAccounts; +/** + * T1140 + * + * Value: "DEOBFUSCATE_DECODE_FILES_OR_INFO" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_DeobfuscateDecodeFilesOrInfo; /** * T1610 * * Value: "DEPLOY_CONTAINER" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_DeployContainer; +/** + * T1587 + * + * Value: "DEVELOP_CAPABILITIES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_DevelopCapabilities; +/** + * T1587.001 + * + * Value: "DEVELOP_CAPABILITIES_MALWARE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_DevelopCapabilitiesMalware; +/** + * T1562.012 + * + * Value: "DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_DisableOrModifyLinuxAuditSystem; /** * T1562.001 * @@ -4744,6 +5414,18 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Additi * Value: "EXTERNAL_PROXY" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ExternalProxy; +/** + * T1083 + * + * Value: "FILE_AND_DIRECTORY_DISCOVERY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_FileAndDirectoryDiscovery; +/** + * T1657 + * + * Value: "FINANCIAL_THEFT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_FinancialTheft; /** * T1495 * @@ -4768,18 +5450,66 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Additi * Value: "HIDE_ARTIFACTS" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_HideArtifacts; +/** + * T1574 + * + * Value: "HIJACK_EXECUTION_FLOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_HijackExecutionFlow; +/** + * T1574.006 + * + * Value: "HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_HijackExecutionFlowDynamicLinkerHijacking; /** * T1562 * * Value: "IMPAIR_DEFENSES" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ImpairDefenses; +/** + * T1562.006 + * + * Value: "INDICATOR_BLOCKING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_IndicatorBlocking; +/** + * T1070 + * + * Value: "INDICATOR_REMOVAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_IndicatorRemoval; +/** + * T1070.003 + * + * Value: "INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_IndicatorRemovalClearCommandHistory; +/** + * T1070.002 + * + * Value: "INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_IndicatorRemovalClearLinuxOrMacSystemLogs; +/** + * T1070.008 + * + * Value: "INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_IndicatorRemovalClearMailboxData; /** * T1070.004 * * Value: "INDICATOR_REMOVAL_FILE_DELETION" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_IndicatorRemovalFileDeletion; +/** + * T1070.006 + * + * Value: "INDICATOR_REMOVAL_TIMESTOMP" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_IndicatorRemovalTimestomp; /** * T1105 * @@ -4792,6 +5522,24 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Additi * Value: "INHIBIT_SYSTEM_RECOVERY" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_InhibitSystemRecovery; +/** + * T1056 + * + * Value: "INPUT_CAPTURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_InputCapture; +/** + * T1056.001 + * + * Value: "INPUT_CAPTURE_KEYLOGGING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_InputCaptureKeylogging; +/** + * T1553.004 + * + * Value: "INSTALL_ROOT_CERTIFICATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_InstallRootCertificate; /** * T1547.006 * @@ -4882,18 +5630,66 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Additi * Value: "OBTAIN_CAPABILITIES" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ObtainCapabilities; +/** + * T1588.001 + * + * Value: "OBTAIN_CAPABILITIES_MALWARE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ObtainCapabilitiesMalware; +/** + * T1588.006 + * + * Value: "OBTAIN_CAPABILITIES_VULNERABILITIES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ObtainCapabilitiesVulnerabilities; +/** + * T1003 + * + * Value: "OS_CREDENTIAL_DUMPING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_OsCredentialDumping; +/** + * T1003.008 + * + * Value: "OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_OsCredentialDumpingEtcPasswordAndEtcShadow; +/** + * T1003.007 + * + * Value: "OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_OsCredentialDumpingProcFilesystem; /** * T1069 * * Value: "PERMISSION_GROUPS_DISCOVERY" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_PermissionGroupsDiscovery; +/** + * T1556.003 + * + * Value: "PLUGGABLE_AUTHENTICATION_MODULES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_PluggableAuthenticationModules; +/** + * T1552.004 + * + * Value: "PRIVATE_KEYS" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_PrivateKeys; /** * T1057 * * Value: "PROCESS_DISCOVERY" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ProcessDiscovery; +/** + * T1055 + * + * Value: "PROCESS_INJECTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ProcessInjection; /** * T1090 * @@ -4906,6 +5702,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Additi * Value: "PYTHON" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_Python; +/** + * T1620 + * + * Value: "REFLECTIVE_CODE_LOADING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ReflectiveCodeLoading; /** * T1496 * @@ -4924,6 +5726,18 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Additi * Value: "SCHEDULED_TASK_JOB" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ScheduledTaskJob; +/** + * T1053.003 + * + * Value: "SCHEDULED_TASK_JOB_CRON" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ScheduledTaskJobCron; +/** + * T1029 + * + * Value: "SCHEDULED_TRANSFER" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ScheduledTransfer; /** * T1489 * @@ -4936,6 +5750,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Additi * Value: "SHARED_MODULES" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_SharedModules; +/** + * T1547.009 + * + * Value: "SHORTCUT_MODIFICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ShortcutModification; /** * T1072 * @@ -4990,6 +5810,24 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Additi * Value: "STEGANOGRAPHY" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_Steganography; +/** + * T1553 + * + * Value: "SUBVERT_TRUST_CONTROL" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_SubvertTrustControl; +/** + * T1195 + * + * Value: "SUPPLY_CHAIN_COMPROMISE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_SupplyChainCompromise; +/** + * T1033 + * + * Value: "SYSTEM_OWNER_USER_DISCOVERY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_SystemOwnerUserDiscovery; /** * Unspecified value. * @@ -5020,6 +5858,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Additi * Value: "UNSECURED_CREDENTIALS" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_UnsecuredCredentials; +/** + * T1608.001 + * + * Value: "UPLOAD_MALWARE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_UploadMalware; /** * T1204 * @@ -5136,6 +5980,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Primar * Value: "ABUSE_ELEVATION_CONTROL_MECHANISM" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_AbuseElevationControlMechanism; +/** + * T1548.003 + * + * Value: "ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_AbuseElevationControlMechanismSudoAndSudoCaching; /** * T1134 * @@ -5148,6 +5998,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Primar * Value: "ACCOUNT_ACCESS_REMOVAL" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_AccountAccessRemoval; +/** + * T1087.001 + * + * Value: "ACCOUNT_DISCOVERY_LOCAL_ACCOUNT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_AccountDiscoveryLocalAccount; /** * T1098 * @@ -5184,12 +6040,24 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Primar * Value: "APPLICATION_LAYER_PROTOCOL" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ApplicationLayerProtocol; +/** + * T1119 + * + * Value: "AUTOMATED_COLLECTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_AutomatedCollection; /** * T1020 * * Value: "AUTOMATED_EXFILTRATION" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_AutomatedExfiltration; +/** + * T1552.003 + * + * Value: "BASH_HISTORY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_BashHistory; /** * T1547 * @@ -5256,6 +6124,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Primar * Value: "COMPROMISE_HOST_SOFTWARE_BINARY" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_CompromiseHostSoftwareBinary; +/** + * T1195.001 + * + * Value: "COMPROMISE_SOFTWARE_DEPENDENCIES_AND_DEVELOPMENT_TOOLS" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_CompromiseSoftwareDependenciesAndDevelopmentTools; /** * T1609 * @@ -5292,6 +6166,18 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Primar * Value: "CREATE_SNAPSHOT" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_CreateSnapshot; +/** + * T1555 + * + * Value: "CREDENTIALS_FROM_PASSWORD_STORES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_CredentialsFromPasswordStores; +/** + * T1552.001 + * + * Value: "CREDENTIALS_IN_FILES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_CredentialsInFiles; /** * T1485 * @@ -5304,6 +6190,18 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Primar * Value: "DATA_ENCODING" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_DataEncoding; +/** + * T1486 + * + * Value: "DATA_ENCRYPTED_FOR_IMPACT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_DataEncryptedForImpact; +/** + * T1005 + * + * Value: "DATA_FROM_LOCAL_SYSTEM" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_DataFromLocalSystem; /** * T1001 * @@ -5322,12 +6220,36 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Primar * Value: "DEFAULT_ACCOUNTS" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_DefaultAccounts; +/** + * T1140 + * + * Value: "DEOBFUSCATE_DECODE_FILES_OR_INFO" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_DeobfuscateDecodeFilesOrInfo; /** * T1610 * * Value: "DEPLOY_CONTAINER" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_DeployContainer; +/** + * T1587 + * + * Value: "DEVELOP_CAPABILITIES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_DevelopCapabilities; +/** + * T1587.001 + * + * Value: "DEVELOP_CAPABILITIES_MALWARE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_DevelopCapabilitiesMalware; +/** + * T1562.012 + * + * Value: "DISABLE_OR_MODIFY_LINUX_AUDIT_SYSTEM" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_DisableOrModifyLinuxAuditSystem; /** * T1562.001 * @@ -5394,6 +6316,18 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Primar * Value: "EXTERNAL_PROXY" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ExternalProxy; +/** + * T1083 + * + * Value: "FILE_AND_DIRECTORY_DISCOVERY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_FileAndDirectoryDiscovery; +/** + * T1657 + * + * Value: "FINANCIAL_THEFT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_FinancialTheft; /** * T1495 * @@ -5418,18 +6352,66 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Primar * Value: "HIDE_ARTIFACTS" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_HideArtifacts; +/** + * T1574 + * + * Value: "HIJACK_EXECUTION_FLOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_HijackExecutionFlow; +/** + * T1574.006 + * + * Value: "HIJACK_EXECUTION_FLOW_DYNAMIC_LINKER_HIJACKING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_HijackExecutionFlowDynamicLinkerHijacking; /** * T1562 * * Value: "IMPAIR_DEFENSES" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ImpairDefenses; +/** + * T1562.006 + * + * Value: "INDICATOR_BLOCKING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_IndicatorBlocking; +/** + * T1070 + * + * Value: "INDICATOR_REMOVAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_IndicatorRemoval; +/** + * T1070.003 + * + * Value: "INDICATOR_REMOVAL_CLEAR_COMMAND_HISTORY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_IndicatorRemovalClearCommandHistory; +/** + * T1070.002 + * + * Value: "INDICATOR_REMOVAL_CLEAR_LINUX_OR_MAC_SYSTEM_LOGS" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_IndicatorRemovalClearLinuxOrMacSystemLogs; +/** + * T1070.008 + * + * Value: "INDICATOR_REMOVAL_CLEAR_MAILBOX_DATA" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_IndicatorRemovalClearMailboxData; /** * T1070.004 * * Value: "INDICATOR_REMOVAL_FILE_DELETION" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_IndicatorRemovalFileDeletion; +/** + * T1070.006 + * + * Value: "INDICATOR_REMOVAL_TIMESTOMP" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_IndicatorRemovalTimestomp; /** * T1105 * @@ -5442,6 +6424,24 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Primar * Value: "INHIBIT_SYSTEM_RECOVERY" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_InhibitSystemRecovery; +/** + * T1056 + * + * Value: "INPUT_CAPTURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_InputCapture; +/** + * T1056.001 + * + * Value: "INPUT_CAPTURE_KEYLOGGING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_InputCaptureKeylogging; +/** + * T1553.004 + * + * Value: "INSTALL_ROOT_CERTIFICATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_InstallRootCertificate; /** * T1547.006 * @@ -5532,18 +6532,66 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Primar * Value: "OBTAIN_CAPABILITIES" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ObtainCapabilities; +/** + * T1588.001 + * + * Value: "OBTAIN_CAPABILITIES_MALWARE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ObtainCapabilitiesMalware; +/** + * T1588.006 + * + * Value: "OBTAIN_CAPABILITIES_VULNERABILITIES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ObtainCapabilitiesVulnerabilities; +/** + * T1003 + * + * Value: "OS_CREDENTIAL_DUMPING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_OsCredentialDumping; +/** + * T1003.008 + * + * Value: "OS_CREDENTIAL_DUMPING_ETC_PASSWORD_AND_ETC_SHADOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_OsCredentialDumpingEtcPasswordAndEtcShadow; +/** + * T1003.007 + * + * Value: "OS_CREDENTIAL_DUMPING_PROC_FILESYSTEM" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_OsCredentialDumpingProcFilesystem; /** * T1069 * * Value: "PERMISSION_GROUPS_DISCOVERY" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_PermissionGroupsDiscovery; +/** + * T1556.003 + * + * Value: "PLUGGABLE_AUTHENTICATION_MODULES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_PluggableAuthenticationModules; +/** + * T1552.004 + * + * Value: "PRIVATE_KEYS" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_PrivateKeys; /** * T1057 * * Value: "PROCESS_DISCOVERY" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ProcessDiscovery; +/** + * T1055 + * + * Value: "PROCESS_INJECTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ProcessInjection; /** * T1090 * @@ -5556,6 +6604,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Primar * Value: "PYTHON" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_Python; +/** + * T1620 + * + * Value: "REFLECTIVE_CODE_LOADING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ReflectiveCodeLoading; /** * T1496 * @@ -5574,6 +6628,18 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Primar * Value: "SCHEDULED_TASK_JOB" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ScheduledTaskJob; +/** + * T1053.003 + * + * Value: "SCHEDULED_TASK_JOB_CRON" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ScheduledTaskJobCron; +/** + * T1029 + * + * Value: "SCHEDULED_TRANSFER" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ScheduledTransfer; /** * T1489 * @@ -5586,6 +6652,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Primar * Value: "SHARED_MODULES" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_SharedModules; +/** + * T1547.009 + * + * Value: "SHORTCUT_MODIFICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ShortcutModification; /** * T1072 * @@ -5640,6 +6712,24 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Primar * Value: "STEGANOGRAPHY" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_Steganography; +/** + * T1553 + * + * Value: "SUBVERT_TRUST_CONTROL" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_SubvertTrustControl; +/** + * T1195 + * + * Value: "SUPPLY_CHAIN_COMPROMISE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_SupplyChainCompromise; +/** + * T1033 + * + * Value: "SYSTEM_OWNER_USER_DISCOVERY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_SystemOwnerUserDiscovery; /** * Unspecified value. * @@ -5670,6 +6760,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Primar * Value: "UNSECURED_CREDENTIALS" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_UnsecuredCredentials; +/** + * T1608.001 + * + * Value: "UPLOAD_MALWARE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_UploadMalware; /** * T1204 * @@ -7324,7 +8420,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps /** * The end position of the error in the uploaded text version of the module. * This field may be omitted if no specific position applies, or if one could - * not be computed.. + * not be computed. */ @property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_Position *end; @@ -7350,6 +8446,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps */ @interface GTLRSecurityCommandCenter_CustomModuleValidationErrors : GTLRObject +/** The list of errors. */ @property(nonatomic, strong, nullable) NSArray *errors; @end @@ -8239,6 +9336,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps */ @property(nonatomic, strong, nullable) NSNumber *hashedSize; +/** Operation(s) performed on a file. */ +@property(nonatomic, strong, nullable) NSArray *operations; + /** * True when the hash covers only a prefix of the file. * @@ -8266,6 +9366,33 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps @end +/** + * Operation(s) performed on a file. + */ +@interface GTLRSecurityCommandCenter_FileOperation : GTLRObject + +/** + * The type of the operation + * + * Likely values: + * @arg @c kGTLRSecurityCommandCenter_FileOperation_Type_Execute Represents + * an execute operation. (Value: "EXECUTE") + * @arg @c kGTLRSecurityCommandCenter_FileOperation_Type_Open Represents an + * open operation. (Value: "OPEN") + * @arg @c kGTLRSecurityCommandCenter_FileOperation_Type_OperationTypeUnspecified + * The operation is unspecified. (Value: "OPERATION_TYPE_UNSPECIFIED") + * @arg @c kGTLRSecurityCommandCenter_FileOperation_Type_Read Represents a + * read operation. (Value: "READ") + * @arg @c kGTLRSecurityCommandCenter_FileOperation_Type_Rename Represents a + * rename operation. (Value: "RENAME") + * @arg @c kGTLRSecurityCommandCenter_FileOperation_Type_Write Represents a + * write operation. (Value: "WRITE") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + /** * Security Command Center finding. A finding is a record of assessment data * like security, risk, health, or privacy, that is ingested into Security @@ -11606,6 +12733,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps */ @property(nonatomic, strong, nullable) NSNumber *hashedSize; +/** Operation(s) performed on a file. */ +@property(nonatomic, strong, nullable) NSArray *operations; + /** * True when the hash covers only a prefix of the file. * @@ -11633,6 +12763,33 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps @end +/** + * Operation(s) performed on a file. + */ +@interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2FileOperation : GTLRObject + +/** + * The type of the operation + * + * Likely values: + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2FileOperation_Type_Execute + * Represents an execute operation. (Value: "EXECUTE") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2FileOperation_Type_Open + * Represents an open operation. (Value: "OPEN") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2FileOperation_Type_OperationTypeUnspecified + * The operation is unspecified. (Value: "OPERATION_TYPE_UNSPECIFIED") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2FileOperation_Type_Read + * Represents a read operation. (Value: "READ") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2FileOperation_Type_Rename + * Represents a rename operation. (Value: "RENAME") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2FileOperation_Type_Write + * Represents a write operation. (Value: "WRITE") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + /** * Security Command Center finding. A finding is a record of assessment data * like security, risk, health, or privacy, that is ingested into Security @@ -12425,6 +13582,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_IdentityAndAccess * Issues in the identity and access domain. (Value: * "IDENTITY_AND_ACCESS") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_Threat + * Issues in the threat domain. (Value: "THREAT") * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IssueDomain_DomainCategory_Vulnerability * Issues in the vulnerability domain. (Value: "VULNERABILITY") */ @@ -15921,14 +17080,14 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps @interface GTLRSecurityCommandCenter_Position : GTLRObject /** - * columnNumber + * The column number. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *columnNumber; /** - * lineNumber + * The line number. * * Uses NSNumber of intValue. */ diff --git a/Sources/GeneratedServices/ServiceConsumerManagement/GTLRServiceConsumerManagementObjects.m b/Sources/GeneratedServices/ServiceConsumerManagement/GTLRServiceConsumerManagementObjects.m index ac22eeca6..ec7e29c8c 100644 --- a/Sources/GeneratedServices/ServiceConsumerManagement/GTLRServiceConsumerManagementObjects.m +++ b/Sources/GeneratedServices/ServiceConsumerManagement/GTLRServiceConsumerManagementObjects.m @@ -23,6 +23,12 @@ NSString * const kGTLRServiceConsumerManagement_BackendRule_PathTranslation_ConstantAddress = @"CONSTANT_ADDRESS"; NSString * const kGTLRServiceConsumerManagement_BackendRule_PathTranslation_PathTranslationUnspecified = @"PATH_TRANSLATION_UNSPECIFIED"; +// GTLRServiceConsumerManagement_BatchingSettingsProto.flowControlLimitExceededBehavior +NSString * const kGTLRServiceConsumerManagement_BatchingSettingsProto_FlowControlLimitExceededBehavior_Block = @"BLOCK"; +NSString * const kGTLRServiceConsumerManagement_BatchingSettingsProto_FlowControlLimitExceededBehavior_Ignore = @"IGNORE"; +NSString * const kGTLRServiceConsumerManagement_BatchingSettingsProto_FlowControlLimitExceededBehavior_ThrowException = @"THROW_EXCEPTION"; +NSString * const kGTLRServiceConsumerManagement_BatchingSettingsProto_FlowControlLimitExceededBehavior_UnsetBehavior = @"UNSET_BEHAVIOR"; + // GTLRServiceConsumerManagement_ClientLibrarySettings.launchStage NSString * const kGTLRServiceConsumerManagement_ClientLibrarySettings_LaunchStage_Alpha = @"ALPHA"; NSString * const kGTLRServiceConsumerManagement_ClientLibrarySettings_LaunchStage_Beta = @"BETA"; @@ -355,6 +361,47 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRServiceConsumerManagement_BatchingConfigProto +// + +@implementation GTLRServiceConsumerManagement_BatchingConfigProto +@dynamic batchDescriptor, thresholds; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRServiceConsumerManagement_BatchingDescriptorProto +// + +@implementation GTLRServiceConsumerManagement_BatchingDescriptorProto +@dynamic batchedField, discriminatorFields, subresponseField; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"discriminatorFields" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRServiceConsumerManagement_BatchingSettingsProto +// + +@implementation GTLRServiceConsumerManagement_BatchingSettingsProto +@dynamic delayThreshold, elementCountLimit, elementCountThreshold, + flowControlByteLimit, flowControlElementLimit, + flowControlLimitExceededBehavior, requestByteLimit, + requestByteThreshold; +@end + + // ---------------------------------------------------------------------------- // // GTLRServiceConsumerManagement_Billing @@ -1040,7 +1087,7 @@ @implementation GTLRServiceConsumerManagement_MethodPolicy // @implementation GTLRServiceConsumerManagement_MethodSettings -@dynamic autoPopulatedFields, longRunning, selector; +@dynamic autoPopulatedFields, batching, longRunning, selector; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/ServiceConsumerManagement/Public/GoogleAPIClientForREST/GTLRServiceConsumerManagementObjects.h b/Sources/GeneratedServices/ServiceConsumerManagement/Public/GoogleAPIClientForREST/GTLRServiceConsumerManagementObjects.h index fbc69a2ac..e545f92d8 100644 --- a/Sources/GeneratedServices/ServiceConsumerManagement/Public/GoogleAPIClientForREST/GTLRServiceConsumerManagementObjects.h +++ b/Sources/GeneratedServices/ServiceConsumerManagement/Public/GoogleAPIClientForREST/GTLRServiceConsumerManagementObjects.h @@ -24,6 +24,9 @@ @class GTLRServiceConsumerManagement_Backend; @class GTLRServiceConsumerManagement_BackendRule; @class GTLRServiceConsumerManagement_BackendRule_OverridesByRequestProtocol; +@class GTLRServiceConsumerManagement_BatchingConfigProto; +@class GTLRServiceConsumerManagement_BatchingDescriptorProto; +@class GTLRServiceConsumerManagement_BatchingSettingsProto; @class GTLRServiceConsumerManagement_Billing; @class GTLRServiceConsumerManagement_BillingConfig; @class GTLRServiceConsumerManagement_BillingDestination; @@ -180,6 +183,34 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_BackendRule_Pa /** Value: "PATH_TRANSLATION_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_BackendRule_PathTranslation_PathTranslationUnspecified; +// ---------------------------------------------------------------------------- +// GTLRServiceConsumerManagement_BatchingSettingsProto.flowControlLimitExceededBehavior + +/** + * Pause operation until limit clears. + * + * Value: "BLOCK" + */ +FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_BatchingSettingsProto_FlowControlLimitExceededBehavior_Block; +/** + * Continue operation, disregard limit. + * + * Value: "IGNORE" + */ +FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_BatchingSettingsProto_FlowControlLimitExceededBehavior_Ignore; +/** + * Stop operation, raise error. + * + * Value: "THROW_EXCEPTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_BatchingSettingsProto_FlowControlLimitExceededBehavior_ThrowException; +/** + * Default behavior, system-defined. + * + * Value: "UNSET_BEHAVIOR" + */ +FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_BatchingSettingsProto_FlowControlLimitExceededBehavior_UnsetBehavior; + // ---------------------------------------------------------------------------- // GTLRServiceConsumerManagement_ClientLibrarySettings.launchStage @@ -1078,7 +1109,7 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_V1GenerateDefa /** * Content of the configuration. The underlying schema should be defined by - * Aspect owners as protobuf message under `apiserving/configaspects/proto`. + * Aspect owners as protobuf message under `google/api/configaspects/proto`. */ @property(nonatomic, strong, nullable) GTLRServiceConsumerManagement_Aspect_Spec *spec; @@ -1087,7 +1118,7 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_V1GenerateDefa /** * Content of the configuration. The underlying schema should be defined by - * Aspect owners as protobuf message under `apiserving/configaspects/proto`. + * Aspect owners as protobuf message under `google/api/configaspects/proto`. * * @note This class is documented as having more properties of any valid JSON * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to @@ -1434,6 +1465,125 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_V1GenerateDefa @end +/** + * `BatchingConfigProto` defines the batching configuration for an API method. + */ +@interface GTLRServiceConsumerManagement_BatchingConfigProto : GTLRObject + +/** The request and response fields used in batching. */ +@property(nonatomic, strong, nullable) GTLRServiceConsumerManagement_BatchingDescriptorProto *batchDescriptor; + +/** The thresholds which trigger a batched request to be sent. */ +@property(nonatomic, strong, nullable) GTLRServiceConsumerManagement_BatchingSettingsProto *thresholds; + +@end + + +/** + * `BatchingDescriptorProto` specifies the fields of the request message to be + * used for batching, and, optionally, the fields of the response message to be + * used for demultiplexing. + */ +@interface GTLRServiceConsumerManagement_BatchingDescriptorProto : GTLRObject + +/** The repeated field in the request message to be aggregated by batching. */ +@property(nonatomic, copy, nullable) NSString *batchedField; + +/** + * A list of the fields in the request message. Two requests will be batched + * together only if the values of every field specified in + * `request_discriminator_fields` is equal between the two requests. + */ +@property(nonatomic, strong, nullable) NSArray *discriminatorFields; + +/** + * Optional. When present, indicates the field in the response message to be + * used to demultiplex the response into multiple response messages, in + * correspondence with the multiple request messages originally batched + * together. + */ +@property(nonatomic, copy, nullable) NSString *subresponseField; + +@end + + +/** + * `BatchingSettingsProto` specifies a set of batching thresholds, each of + * which acts as a trigger to send a batch of messages as a request. At least + * one threshold must be positive nonzero. + */ +@interface GTLRServiceConsumerManagement_BatchingSettingsProto : GTLRObject + +/** + * The duration after which a batch should be sent, starting from the addition + * of the first message to that batch. + */ +@property(nonatomic, strong, nullable) GTLRDuration *delayThreshold; + +/** + * The maximum number of elements collected in a batch that could be accepted + * by server. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *elementCountLimit; + +/** + * The number of elements of a field collected into a batch which, if exceeded, + * causes the batch to be sent. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *elementCountThreshold; + +/** + * The maximum size of data allowed by flow control. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *flowControlByteLimit; + +/** + * The maximum number of elements allowed by flow control. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *flowControlElementLimit; + +/** + * The behavior to take when the flow control limit is exceeded. + * + * Likely values: + * @arg @c kGTLRServiceConsumerManagement_BatchingSettingsProto_FlowControlLimitExceededBehavior_Block + * Pause operation until limit clears. (Value: "BLOCK") + * @arg @c kGTLRServiceConsumerManagement_BatchingSettingsProto_FlowControlLimitExceededBehavior_Ignore + * Continue operation, disregard limit. (Value: "IGNORE") + * @arg @c kGTLRServiceConsumerManagement_BatchingSettingsProto_FlowControlLimitExceededBehavior_ThrowException + * Stop operation, raise error. (Value: "THROW_EXCEPTION") + * @arg @c kGTLRServiceConsumerManagement_BatchingSettingsProto_FlowControlLimitExceededBehavior_UnsetBehavior + * Default behavior, system-defined. (Value: "UNSET_BEHAVIOR") + */ +@property(nonatomic, copy, nullable) NSString *flowControlLimitExceededBehavior; + +/** + * The maximum size of the request that could be accepted by server. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requestByteLimit; + +/** + * The aggregated size of the batched field which, if exceeded, causes the + * batch to be sent. This size is computed by aggregating the sizes of the + * request field to be batched, not of the entire request message. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requestByteThreshold; + +@end + + /** * Billing related configuration of the service. The following example shows * how to configure monitored resources and metrics for billing, @@ -2938,6 +3088,15 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_V1GenerateDefa */ @property(nonatomic, strong, nullable) NSArray *autoPopulatedFields; +/** + * Batching configuration for an API method in client libraries. Example of a + * YAML configuration: publishing: method_settings: - selector: + * google.example.v1.ExampleService.BatchCreateExample batching: + * element_count_threshold: 1000 request_byte_threshold: 100000000 + * delay_threshold_millis: 10 + */ +@property(nonatomic, strong, nullable) GTLRServiceConsumerManagement_BatchingConfigProto *batching; + /** * Describes settings to use for long-running operations when generating API * methods for RPCs. Complements RPCs that use the annotations in diff --git a/Sources/GeneratedServices/ServiceManagement/Public/GoogleAPIClientForREST/GTLRServiceManagementObjects.h b/Sources/GeneratedServices/ServiceManagement/Public/GoogleAPIClientForREST/GTLRServiceManagementObjects.h index 01f427dff..48855a426 100644 --- a/Sources/GeneratedServices/ServiceManagement/Public/GoogleAPIClientForREST/GTLRServiceManagementObjects.h +++ b/Sources/GeneratedServices/ServiceManagement/Public/GoogleAPIClientForREST/GTLRServiceManagementObjects.h @@ -1197,7 +1197,7 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceManagement_Type_Syntax_SyntaxProt /** * Content of the configuration. The underlying schema should be defined by - * Aspect owners as protobuf message under `apiserving/configaspects/proto`. + * Aspect owners as protobuf message under `google/api/configaspects/proto`. */ @property(nonatomic, strong, nullable) GTLRServiceManagement_Aspect_Spec *spec; @@ -1206,7 +1206,7 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceManagement_Type_Syntax_SyntaxProt /** * Content of the configuration. The underlying schema should be defined by - * Aspect owners as protobuf message under `apiserving/configaspects/proto`. + * Aspect owners as protobuf message under `google/api/configaspects/proto`. * * @note This class is documented as having more properties of any valid JSON * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to diff --git a/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m b/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m index e00beee6b..0b0501cda 100644 --- a/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m +++ b/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m @@ -24,6 +24,12 @@ NSString * const kGTLRServiceNetworking_BackendRule_PathTranslation_ConstantAddress = @"CONSTANT_ADDRESS"; NSString * const kGTLRServiceNetworking_BackendRule_PathTranslation_PathTranslationUnspecified = @"PATH_TRANSLATION_UNSPECIFIED"; +// GTLRServiceNetworking_BatchingSettingsProto.flowControlLimitExceededBehavior +NSString * const kGTLRServiceNetworking_BatchingSettingsProto_FlowControlLimitExceededBehavior_Block = @"BLOCK"; +NSString * const kGTLRServiceNetworking_BatchingSettingsProto_FlowControlLimitExceededBehavior_Ignore = @"IGNORE"; +NSString * const kGTLRServiceNetworking_BatchingSettingsProto_FlowControlLimitExceededBehavior_ThrowException = @"THROW_EXCEPTION"; +NSString * const kGTLRServiceNetworking_BatchingSettingsProto_FlowControlLimitExceededBehavior_UnsetBehavior = @"UNSET_BEHAVIOR"; + // GTLRServiceNetworking_ClientLibrarySettings.launchStage NSString * const kGTLRServiceNetworking_ClientLibrarySettings_LaunchStage_Alpha = @"ALPHA"; NSString * const kGTLRServiceNetworking_ClientLibrarySettings_LaunchStage_Beta = @"BETA"; @@ -457,6 +463,47 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRServiceNetworking_BatchingConfigProto +// + +@implementation GTLRServiceNetworking_BatchingConfigProto +@dynamic batchDescriptor, thresholds; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRServiceNetworking_BatchingDescriptorProto +// + +@implementation GTLRServiceNetworking_BatchingDescriptorProto +@dynamic batchedField, discriminatorFields, subresponseField; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"discriminatorFields" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRServiceNetworking_BatchingSettingsProto +// + +@implementation GTLRServiceNetworking_BatchingSettingsProto +@dynamic delayThreshold, elementCountLimit, elementCountThreshold, + flowControlByteLimit, flowControlElementLimit, + flowControlLimitExceededBehavior, requestByteLimit, + requestByteThreshold; +@end + + // ---------------------------------------------------------------------------- // // GTLRServiceNetworking_Billing @@ -1368,7 +1415,7 @@ @implementation GTLRServiceNetworking_MethodPolicy // @implementation GTLRServiceNetworking_MethodSettings -@dynamic autoPopulatedFields, longRunning, selector; +@dynamic autoPopulatedFields, batching, longRunning, selector; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h b/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h index 92722c8ca..a428b7311 100644 --- a/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h +++ b/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h @@ -25,6 +25,9 @@ @class GTLRServiceNetworking_Backend; @class GTLRServiceNetworking_BackendRule; @class GTLRServiceNetworking_BackendRule_OverridesByRequestProtocol; +@class GTLRServiceNetworking_BatchingConfigProto; +@class GTLRServiceNetworking_BatchingDescriptorProto; +@class GTLRServiceNetworking_BatchingSettingsProto; @class GTLRServiceNetworking_Billing; @class GTLRServiceNetworking_BillingDestination; @class GTLRServiceNetworking_ClientLibrarySettings; @@ -180,6 +183,34 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_BackendRule_PathTransl /** Value: "PATH_TRANSLATION_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_BackendRule_PathTranslation_PathTranslationUnspecified; +// ---------------------------------------------------------------------------- +// GTLRServiceNetworking_BatchingSettingsProto.flowControlLimitExceededBehavior + +/** + * Pause operation until limit clears. + * + * Value: "BLOCK" + */ +FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_BatchingSettingsProto_FlowControlLimitExceededBehavior_Block; +/** + * Continue operation, disregard limit. + * + * Value: "IGNORE" + */ +FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_BatchingSettingsProto_FlowControlLimitExceededBehavior_Ignore; +/** + * Stop operation, raise error. + * + * Value: "THROW_EXCEPTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_BatchingSettingsProto_FlowControlLimitExceededBehavior_ThrowException; +/** + * Default behavior, system-defined. + * + * Value: "UNSET_BEHAVIOR" + */ +FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_BatchingSettingsProto_FlowControlLimitExceededBehavior_UnsetBehavior; + // ---------------------------------------------------------------------------- // GTLRServiceNetworking_ClientLibrarySettings.launchStage @@ -1372,7 +1403,7 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig /** * Content of the configuration. The underlying schema should be defined by - * Aspect owners as protobuf message under `apiserving/configaspects/proto`. + * Aspect owners as protobuf message under `google/api/configaspects/proto`. */ @property(nonatomic, strong, nullable) GTLRServiceNetworking_Aspect_Spec *spec; @@ -1381,7 +1412,7 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig /** * Content of the configuration. The underlying schema should be defined by - * Aspect owners as protobuf message under `apiserving/configaspects/proto`. + * Aspect owners as protobuf message under `google/api/configaspects/proto`. * * @note This class is documented as having more properties of any valid JSON * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to @@ -1698,6 +1729,125 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig @end +/** + * `BatchingConfigProto` defines the batching configuration for an API method. + */ +@interface GTLRServiceNetworking_BatchingConfigProto : GTLRObject + +/** The request and response fields used in batching. */ +@property(nonatomic, strong, nullable) GTLRServiceNetworking_BatchingDescriptorProto *batchDescriptor; + +/** The thresholds which trigger a batched request to be sent. */ +@property(nonatomic, strong, nullable) GTLRServiceNetworking_BatchingSettingsProto *thresholds; + +@end + + +/** + * `BatchingDescriptorProto` specifies the fields of the request message to be + * used for batching, and, optionally, the fields of the response message to be + * used for demultiplexing. + */ +@interface GTLRServiceNetworking_BatchingDescriptorProto : GTLRObject + +/** The repeated field in the request message to be aggregated by batching. */ +@property(nonatomic, copy, nullable) NSString *batchedField; + +/** + * A list of the fields in the request message. Two requests will be batched + * together only if the values of every field specified in + * `request_discriminator_fields` is equal between the two requests. + */ +@property(nonatomic, strong, nullable) NSArray *discriminatorFields; + +/** + * Optional. When present, indicates the field in the response message to be + * used to demultiplex the response into multiple response messages, in + * correspondence with the multiple request messages originally batched + * together. + */ +@property(nonatomic, copy, nullable) NSString *subresponseField; + +@end + + +/** + * `BatchingSettingsProto` specifies a set of batching thresholds, each of + * which acts as a trigger to send a batch of messages as a request. At least + * one threshold must be positive nonzero. + */ +@interface GTLRServiceNetworking_BatchingSettingsProto : GTLRObject + +/** + * The duration after which a batch should be sent, starting from the addition + * of the first message to that batch. + */ +@property(nonatomic, strong, nullable) GTLRDuration *delayThreshold; + +/** + * The maximum number of elements collected in a batch that could be accepted + * by server. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *elementCountLimit; + +/** + * The number of elements of a field collected into a batch which, if exceeded, + * causes the batch to be sent. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *elementCountThreshold; + +/** + * The maximum size of data allowed by flow control. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *flowControlByteLimit; + +/** + * The maximum number of elements allowed by flow control. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *flowControlElementLimit; + +/** + * The behavior to take when the flow control limit is exceeded. + * + * Likely values: + * @arg @c kGTLRServiceNetworking_BatchingSettingsProto_FlowControlLimitExceededBehavior_Block + * Pause operation until limit clears. (Value: "BLOCK") + * @arg @c kGTLRServiceNetworking_BatchingSettingsProto_FlowControlLimitExceededBehavior_Ignore + * Continue operation, disregard limit. (Value: "IGNORE") + * @arg @c kGTLRServiceNetworking_BatchingSettingsProto_FlowControlLimitExceededBehavior_ThrowException + * Stop operation, raise error. (Value: "THROW_EXCEPTION") + * @arg @c kGTLRServiceNetworking_BatchingSettingsProto_FlowControlLimitExceededBehavior_UnsetBehavior + * Default behavior, system-defined. (Value: "UNSET_BEHAVIOR") + */ +@property(nonatomic, copy, nullable) NSString *flowControlLimitExceededBehavior; + +/** + * The maximum size of the request that could be accepted by server. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requestByteLimit; + +/** + * The aggregated size of the batched field which, if exceeded, causes the + * batch to be sent. This size is computed by aggregating the sizes of the + * request field to be batched, not of the entire request message. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requestByteThreshold; + +@end + + /** * Billing related configuration of the service. The following example shows * how to configure monitored resources and metrics for billing, @@ -3600,6 +3750,15 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig */ @property(nonatomic, strong, nullable) NSArray *autoPopulatedFields; +/** + * Batching configuration for an API method in client libraries. Example of a + * YAML configuration: publishing: method_settings: - selector: + * google.example.v1.ExampleService.BatchCreateExample batching: + * element_count_threshold: 1000 request_byte_threshold: 100000000 + * delay_threshold_millis: 10 + */ +@property(nonatomic, strong, nullable) GTLRServiceNetworking_BatchingConfigProto *batching; + /** * Describes settings to use for long-running operations when generating API * methods for RPCs. Complements RPCs that use the annotations in diff --git a/Sources/GeneratedServices/ServiceUsage/GTLRServiceUsageObjects.m b/Sources/GeneratedServices/ServiceUsage/GTLRServiceUsageObjects.m index bec20d6de..96166c972 100644 --- a/Sources/GeneratedServices/ServiceUsage/GTLRServiceUsageObjects.m +++ b/Sources/GeneratedServices/ServiceUsage/GTLRServiceUsageObjects.m @@ -31,6 +31,12 @@ NSString * const kGTLRServiceUsage_BackendRule_PathTranslation_ConstantAddress = @"CONSTANT_ADDRESS"; NSString * const kGTLRServiceUsage_BackendRule_PathTranslation_PathTranslationUnspecified = @"PATH_TRANSLATION_UNSPECIFIED"; +// GTLRServiceUsage_BatchingSettingsProto.flowControlLimitExceededBehavior +NSString * const kGTLRServiceUsage_BatchingSettingsProto_FlowControlLimitExceededBehavior_Block = @"BLOCK"; +NSString * const kGTLRServiceUsage_BatchingSettingsProto_FlowControlLimitExceededBehavior_Ignore = @"IGNORE"; +NSString * const kGTLRServiceUsage_BatchingSettingsProto_FlowControlLimitExceededBehavior_ThrowException = @"THROW_EXCEPTION"; +NSString * const kGTLRServiceUsage_BatchingSettingsProto_FlowControlLimitExceededBehavior_UnsetBehavior = @"UNSET_BEHAVIOR"; + // GTLRServiceUsage_ClientLibrarySettings.launchStage NSString * const kGTLRServiceUsage_ClientLibrarySettings_LaunchStage_Alpha = @"ALPHA"; NSString * const kGTLRServiceUsage_ClientLibrarySettings_LaunchStage_Beta = @"BETA"; @@ -554,6 +560,47 @@ @implementation GTLRServiceUsage_BatchGetServicesResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRServiceUsage_BatchingConfigProto +// + +@implementation GTLRServiceUsage_BatchingConfigProto +@dynamic batchDescriptor, thresholds; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRServiceUsage_BatchingDescriptorProto +// + +@implementation GTLRServiceUsage_BatchingDescriptorProto +@dynamic batchedField, discriminatorFields, subresponseField; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"discriminatorFields" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRServiceUsage_BatchingSettingsProto +// + +@implementation GTLRServiceUsage_BatchingSettingsProto +@dynamic delayThreshold, elementCountLimit, elementCountThreshold, + flowControlByteLimit, flowControlElementLimit, + flowControlLimitExceededBehavior, requestByteLimit, + requestByteThreshold; +@end + + // ---------------------------------------------------------------------------- // // GTLRServiceUsage_Billing @@ -1737,7 +1784,7 @@ @implementation GTLRServiceUsage_MethodPolicy // @implementation GTLRServiceUsage_MethodSettings -@dynamic autoPopulatedFields, longRunning, selector; +@dynamic autoPopulatedFields, batching, longRunning, selector; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/ServiceUsage/Public/GoogleAPIClientForREST/GTLRServiceUsageObjects.h b/Sources/GeneratedServices/ServiceUsage/Public/GoogleAPIClientForREST/GTLRServiceUsageObjects.h index ada9a0b60..f0bc5520d 100644 --- a/Sources/GeneratedServices/ServiceUsage/Public/GoogleAPIClientForREST/GTLRServiceUsageObjects.h +++ b/Sources/GeneratedServices/ServiceUsage/Public/GoogleAPIClientForREST/GTLRServiceUsageObjects.h @@ -30,6 +30,9 @@ @class GTLRServiceUsage_Backend; @class GTLRServiceUsage_BackendRule; @class GTLRServiceUsage_BackendRule_OverridesByRequestProtocol; +@class GTLRServiceUsage_BatchingConfigProto; +@class GTLRServiceUsage_BatchingDescriptorProto; +@class GTLRServiceUsage_BatchingSettingsProto; @class GTLRServiceUsage_Billing; @class GTLRServiceUsage_BillingDestination; @class GTLRServiceUsage_ClientLibrarySettings; @@ -216,6 +219,34 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_BackendRule_PathTranslation /** Value: "PATH_TRANSLATION_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_BackendRule_PathTranslation_PathTranslationUnspecified; +// ---------------------------------------------------------------------------- +// GTLRServiceUsage_BatchingSettingsProto.flowControlLimitExceededBehavior + +/** + * Pause operation until limit clears. + * + * Value: "BLOCK" + */ +FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_BatchingSettingsProto_FlowControlLimitExceededBehavior_Block; +/** + * Continue operation, disregard limit. + * + * Value: "IGNORE" + */ +FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_BatchingSettingsProto_FlowControlLimitExceededBehavior_Ignore; +/** + * Stop operation, raise error. + * + * Value: "THROW_EXCEPTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_BatchingSettingsProto_FlowControlLimitExceededBehavior_ThrowException; +/** + * Default behavior, system-defined. + * + * Value: "UNSET_BEHAVIOR" + */ +FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_BatchingSettingsProto_FlowControlLimitExceededBehavior_UnsetBehavior; + // ---------------------------------------------------------------------------- // GTLRServiceUsage_ClientLibrarySettings.launchStage @@ -1359,7 +1390,7 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_Type_Syntax_SyntaxProto3; /** * Content of the configuration. The underlying schema should be defined by - * Aspect owners as protobuf message under `apiserving/configaspects/proto`. + * Aspect owners as protobuf message under `google/api/configaspects/proto`. */ @property(nonatomic, strong, nullable) GTLRServiceUsage_Aspect_Spec *spec; @@ -1368,7 +1399,7 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_Type_Syntax_SyntaxProto3; /** * Content of the configuration. The underlying schema should be defined by - * Aspect owners as protobuf message under `apiserving/configaspects/proto`. + * Aspect owners as protobuf message under `google/api/configaspects/proto`. * * @note This class is documented as having more properties of any valid JSON * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to @@ -1755,6 +1786,125 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_Type_Syntax_SyntaxProto3; @end +/** + * `BatchingConfigProto` defines the batching configuration for an API method. + */ +@interface GTLRServiceUsage_BatchingConfigProto : GTLRObject + +/** The request and response fields used in batching. */ +@property(nonatomic, strong, nullable) GTLRServiceUsage_BatchingDescriptorProto *batchDescriptor; + +/** The thresholds which trigger a batched request to be sent. */ +@property(nonatomic, strong, nullable) GTLRServiceUsage_BatchingSettingsProto *thresholds; + +@end + + +/** + * `BatchingDescriptorProto` specifies the fields of the request message to be + * used for batching, and, optionally, the fields of the response message to be + * used for demultiplexing. + */ +@interface GTLRServiceUsage_BatchingDescriptorProto : GTLRObject + +/** The repeated field in the request message to be aggregated by batching. */ +@property(nonatomic, copy, nullable) NSString *batchedField; + +/** + * A list of the fields in the request message. Two requests will be batched + * together only if the values of every field specified in + * `request_discriminator_fields` is equal between the two requests. + */ +@property(nonatomic, strong, nullable) NSArray *discriminatorFields; + +/** + * Optional. When present, indicates the field in the response message to be + * used to demultiplex the response into multiple response messages, in + * correspondence with the multiple request messages originally batched + * together. + */ +@property(nonatomic, copy, nullable) NSString *subresponseField; + +@end + + +/** + * `BatchingSettingsProto` specifies a set of batching thresholds, each of + * which acts as a trigger to send a batch of messages as a request. At least + * one threshold must be positive nonzero. + */ +@interface GTLRServiceUsage_BatchingSettingsProto : GTLRObject + +/** + * The duration after which a batch should be sent, starting from the addition + * of the first message to that batch. + */ +@property(nonatomic, strong, nullable) GTLRDuration *delayThreshold; + +/** + * The maximum number of elements collected in a batch that could be accepted + * by server. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *elementCountLimit; + +/** + * The number of elements of a field collected into a batch which, if exceeded, + * causes the batch to be sent. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *elementCountThreshold; + +/** + * The maximum size of data allowed by flow control. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *flowControlByteLimit; + +/** + * The maximum number of elements allowed by flow control. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *flowControlElementLimit; + +/** + * The behavior to take when the flow control limit is exceeded. + * + * Likely values: + * @arg @c kGTLRServiceUsage_BatchingSettingsProto_FlowControlLimitExceededBehavior_Block + * Pause operation until limit clears. (Value: "BLOCK") + * @arg @c kGTLRServiceUsage_BatchingSettingsProto_FlowControlLimitExceededBehavior_Ignore + * Continue operation, disregard limit. (Value: "IGNORE") + * @arg @c kGTLRServiceUsage_BatchingSettingsProto_FlowControlLimitExceededBehavior_ThrowException + * Stop operation, raise error. (Value: "THROW_EXCEPTION") + * @arg @c kGTLRServiceUsage_BatchingSettingsProto_FlowControlLimitExceededBehavior_UnsetBehavior + * Default behavior, system-defined. (Value: "UNSET_BEHAVIOR") + */ +@property(nonatomic, copy, nullable) NSString *flowControlLimitExceededBehavior; + +/** + * The maximum size of the request that could be accepted by server. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requestByteLimit; + +/** + * The aggregated size of the batched field which, if exceeded, causes the + * batch to be sent. This size is computed by aggregating the sizes of the + * request field to be batched, not of the entire request message. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requestByteThreshold; + +@end + + /** * Billing related configuration of the service. The following example shows * how to configure monitored resources and metrics for billing, @@ -4159,6 +4309,15 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_Type_Syntax_SyntaxProto3; */ @property(nonatomic, strong, nullable) NSArray *autoPopulatedFields; +/** + * Batching configuration for an API method in client libraries. Example of a + * YAML configuration: publishing: method_settings: - selector: + * google.example.v1.ExampleService.BatchCreateExample batching: + * element_count_threshold: 1000 request_byte_threshold: 100000000 + * delay_threshold_millis: 10 + */ +@property(nonatomic, strong, nullable) GTLRServiceUsage_BatchingConfigProto *batching; + /** * Describes settings to use for long-running operations when generating API * methods for RPCs. Complements RPCs that use the annotations in diff --git a/Sources/GeneratedServices/Sheets/GTLRSheetsObjects.m b/Sources/GeneratedServices/Sheets/GTLRSheetsObjects.m index 470b53048..df383aa55 100644 --- a/Sources/GeneratedServices/Sheets/GTLRSheetsObjects.m +++ b/Sources/GeneratedServices/Sheets/GTLRSheetsObjects.m @@ -860,6 +860,16 @@ @implementation GTLRSheets_AddTableRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRSheets_AddTableResponse +// + +@implementation GTLRSheets_AddTableResponse +@dynamic table; +@end + + // ---------------------------------------------------------------------------- // // GTLRSheets_AppendCellsRequest @@ -924,7 +934,8 @@ @implementation GTLRSheets_AutoResizeDimensionsRequest // @implementation GTLRSheets_BandedRange -@dynamic bandedRangeId, columnProperties, range, rowProperties; +@dynamic bandedRangeId, bandedRangeReference, columnProperties, range, + rowProperties; @end @@ -3153,7 +3164,7 @@ @implementation GTLRSheets_Request @implementation GTLRSheets_Response @dynamic addBanding, addChart, addDataSource, addDimensionGroup, addFilterView, - addNamedRange, addProtectedRange, addSheet, addSlicer, + addNamedRange, addProtectedRange, addSheet, addSlicer, addTable, cancelDataSourceRefresh, createDeveloperMetadata, deleteConditionalFormatRule, deleteDeveloperMetadata, deleteDimensionGroup, deleteDuplicates, duplicateFilterView, diff --git a/Sources/GeneratedServices/Sheets/Public/GoogleAPIClientForREST/GTLRSheetsObjects.h b/Sources/GeneratedServices/Sheets/Public/GoogleAPIClientForREST/GTLRSheetsObjects.h index f87b54924..dde88f2e9 100644 --- a/Sources/GeneratedServices/Sheets/Public/GoogleAPIClientForREST/GTLRSheetsObjects.h +++ b/Sources/GeneratedServices/Sheets/Public/GoogleAPIClientForREST/GTLRSheetsObjects.h @@ -34,6 +34,7 @@ @class GTLRSheets_AddSlicerRequest; @class GTLRSheets_AddSlicerResponse; @class GTLRSheets_AddTableRequest; +@class GTLRSheets_AddTableResponse; @class GTLRSheets_AppendCellsRequest; @class GTLRSheets_AppendDimensionRequest; @class GTLRSheets_AutoFillRequest; @@ -3913,6 +3914,17 @@ FOUNDATION_EXTERN NSString * const kGTLRSheets_WaterfallChartSpec_StackedType_Wa @end +/** + * The result of adding a table. + */ +@interface GTLRSheets_AddTableResponse : GTLRObject + +/** Output only. The table that was added. */ +@property(nonatomic, strong, nullable) GTLRSheets_Table *table; + +@end + + /** * Adds new cells after the last row with data in a sheet, inserting new rows * into the sheet if necessary. @@ -4051,12 +4063,18 @@ FOUNDATION_EXTERN NSString * const kGTLRSheets_WaterfallChartSpec_StackedType_Wa @interface GTLRSheets_BandedRange : GTLRObject /** - * The ID of the banded range. + * The ID of the banded range. If unset, refer to banded_range_reference. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *bandedRangeId; +/** + * Output only. The reference of the banded range, used to identify the ID that + * is not supported by the banded_range_id. + */ +@property(nonatomic, copy, nullable) NSString *bandedRangeReference; + /** * Properties for column bands. These properties are applied on a column- * by-column basis throughout all the columns in the range. At least one of @@ -10397,6 +10415,9 @@ GTLR_DEPRECATED /** A reply from adding a slicer. */ @property(nonatomic, strong, nullable) GTLRSheets_AddSlicerResponse *addSlicer; +/** A reply from adding a table. */ +@property(nonatomic, strong, nullable) GTLRSheets_AddTableResponse *addTable; + /** A reply from cancelling data source object refreshes. */ @property(nonatomic, strong, nullable) GTLRSheets_CancelDataSourceRefreshResponse *cancelDataSourceRefresh; diff --git a/Sources/GeneratedServices/StorageTransfer/GTLRStorageTransferObjects.m b/Sources/GeneratedServices/StorageTransfer/GTLRStorageTransferObjects.m index 26efc1834..46e61b849 100644 --- a/Sources/GeneratedServices/StorageTransfer/GTLRStorageTransferObjects.m +++ b/Sources/GeneratedServices/StorageTransfer/GTLRStorageTransferObjects.m @@ -200,7 +200,8 @@ @implementation GTLRStorageTransfer_AwsS3Data // @implementation GTLRStorageTransfer_AzureBlobStorageData -@dynamic azureCredentials, container, credentialsSecret, path, storageAccount; +@dynamic azureCredentials, container, credentialsSecret, + federatedIdentityConfig, path, storageAccount; @end @@ -298,6 +299,16 @@ @implementation GTLRStorageTransfer_EventStream @end +// ---------------------------------------------------------------------------- +// +// GTLRStorageTransfer_FederatedIdentityConfig +// + +@implementation GTLRStorageTransfer_FederatedIdentityConfig +@dynamic clientId, tenantId; +@end + + // ---------------------------------------------------------------------------- // // GTLRStorageTransfer_GcsData @@ -649,8 +660,8 @@ @implementation GTLRStorageTransfer_TransferCounters @implementation GTLRStorageTransfer_TransferJob @dynamic creationTime, deletionTime, descriptionProperty, eventStream, lastModificationTime, latestOperationName, loggingConfig, name, - notificationConfig, projectId, replicationSpec, schedule, status, - transferSpec; + notificationConfig, projectId, replicationSpec, schedule, + serviceAccount, status, transferSpec; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; diff --git a/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h b/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h index 842501b19..ec9b7a5ea 100644 --- a/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h +++ b/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h @@ -26,6 +26,7 @@ @class GTLRStorageTransfer_ErrorLogEntry; @class GTLRStorageTransfer_ErrorSummary; @class GTLRStorageTransfer_EventStream; +@class GTLRStorageTransfer_FederatedIdentityConfig; @class GTLRStorageTransfer_GcsData; @class GTLRStorageTransfer_HdfsData; @class GTLRStorageTransfer_HttpData; @@ -1002,6 +1003,13 @@ FOUNDATION_EXTERN NSString * const kGTLRStorageTransfer_TransferOptions_Overwrit */ @property(nonatomic, copy, nullable) NSString *credentialsSecret; +/** + * Optional. Federated identity config of a user registered Azure application. + * If `federated_identity_config` is specified, do not specify + * azure_credentials or credentials_secret. + */ +@property(nonatomic, strong, nullable) GTLRStorageTransfer_FederatedIdentityConfig *federatedIdentityConfig; + /** * Root path to transfer objects. Must be an empty string or full path name * that ends with a '/'. This field is treated as an object prefix. As such, it @@ -1282,6 +1290,34 @@ FOUNDATION_EXTERN NSString * const kGTLRStorageTransfer_TransferOptions_Overwrit @end +/** + * Identities of a user registered Azure application that enables identity + * federation to trust tokens issued by the user's Google service account. For + * more information about Azure application and identity federation, see + * [Register an application with the Microsoft identity platform] + * (https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app) + * Azure RBAC roles then need be assigned to the Azure application to authorize + * access to the user's Azure data source. For more information about Azure + * RBAC roles for blobs, see [Manage Access Rights with RBAC] + * (https://learn.microsoft.com/en-us/rest/api/storageservices/authorize-with-azure-active-directory#manage-access-rights-with-rbac) + */ +@interface GTLRStorageTransfer_FederatedIdentityConfig : GTLRObject + +/** + * Required. Client (application) ID of the application with federated + * credentials. + */ +@property(nonatomic, copy, nullable) NSString *clientId; + +/** + * Required. Tenant (directory) ID of the application with federated + * credentials. + */ +@property(nonatomic, copy, nullable) NSString *tenantId; + +@end + + /** * In a GcsData resource, an object's name is the Cloud Storage object's name * and its "last modification time" refers to the object's `updated` property @@ -1375,8 +1411,9 @@ FOUNDATION_EXTERN NSString * const kGTLRStorageTransfer_TransferOptions_Overwrit /** * Required. The URL that points to the file that stores the object list - * entries. This file must allow public access. Currently, only URLs with HTTP - * and HTTPS schemes are supported. + * entries. This file must allow public access. The URL is either an HTTP/HTTPS + * address (e.g. `https://example.com/urllist.tsv`) or a Cloud Storage path + * (e.g. `gs://my-bucket/urllist.tsv`). */ @property(nonatomic, copy, nullable) NSString *listUrl; @@ -1715,8 +1752,13 @@ FOUNDATION_EXTERN NSString * const kGTLRStorageTransfer_TransferOptions_Overwrit * modification time" refers to the time of the last change to the object's * content or metadata — specifically, this is the `updated` property of Cloud * Storage objects, the `LastModified` field of S3 objects, and the - * `Last-Modified` header of Azure blobs. Transfers with a PosixFilesystem - * source or destination don't support `ObjectConditions`. + * `Last-Modified` header of Azure blobs. For S3 objects, the `LastModified` + * value is the time the object begins uploading. If the object meets your + * "last modification time" criteria, but has not finished uploading, the + * object is not transferred. See [Transfer from Amazon S3 to Cloud + * Storage](https://cloud.google.com/storage-transfer/docs/create-transfers/agentless/s3#transfer_options) + * for more information. Transfers with a PosixFilesystem source or destination + * don't support `ObjectConditions`. */ @interface GTLRStorageTransfer_ObjectConditions : GTLRObject @@ -2418,6 +2460,20 @@ FOUNDATION_EXTERN NSString * const kGTLRStorageTransfer_TransferOptions_Overwrit */ @property(nonatomic, strong, nullable) GTLRStorageTransfer_Schedule *schedule; +/** + * Optional. The service account to be used to access resources in the consumer + * project in the transfer job. We accept `email` or `uniqueId` for the service + * account. Service account format is + * projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID} See + * https://cloud.google.com/iam/docs/reference/credentials/rest/v1/projects.serviceAccounts/generateAccessToken#path-parameters + * for details. Caller requires the following IAM permission on the specified + * service account: `iam.serviceAccounts.actAs`. + * project-PROJECT_NUMBER\@storage-transfer-service.iam.gserviceaccount.com + * requires the following IAM permission on the specified service account: + * `iam.serviceAccounts.getAccessToken` + */ +@property(nonatomic, copy, nullable) NSString *serviceAccount; + /** * Status of the job. This value MUST be specified for * `CreateTransferJobRequests`. **Note:** The effect of the new job status diff --git a/Sources/GeneratedServices/Tasks/Public/GoogleAPIClientForREST/GTLRTasksQuery.h b/Sources/GeneratedServices/Tasks/Public/GoogleAPIClientForREST/GTLRTasksQuery.h index e28d71352..6f109e67c 100644 --- a/Sources/GeneratedServices/Tasks/Public/GoogleAPIClientForREST/GTLRTasksQuery.h +++ b/Sources/GeneratedServices/Tasks/Public/GoogleAPIClientForREST/GTLRTasksQuery.h @@ -484,10 +484,10 @@ NS_ASSUME_NONNULL_BEGIN /** * Optional. New parent task identifier. If the task is moved to the top level, * this parameter is omitted. The task set as parent must exist in the task - * list and can not be hidden. Exceptions: 1. Assigned tasks can not be set as - * parent task (have subtasks) or be moved under a parent task (become - * subtasks). 2. Tasks that are both completed and hidden cannot be nested, so - * the parent field must be empty. + * list and can not be hidden. Exceptions: 1. Assigned and repeating tasks + * cannot be set as parent tasks (have subtasks), or be moved under a parent + * task (become subtasks). 2. Tasks that are both completed and hidden cannot + * be nested, so the parent field must be empty. */ @property(nonatomic, copy, nullable) NSString *parent; diff --git a/Sources/GeneratedServices/Texttospeech/GTLRTexttospeechObjects.m b/Sources/GeneratedServices/Texttospeech/GTLRTexttospeechObjects.m index 80fc38440..b55cc4595 100644 --- a/Sources/GeneratedServices/Texttospeech/GTLRTexttospeechObjects.m +++ b/Sources/GeneratedServices/Texttospeech/GTLRTexttospeechObjects.m @@ -25,6 +25,8 @@ // GTLRTexttospeech_CustomPronunciationParams.phoneticEncoding NSString * const kGTLRTexttospeech_CustomPronunciationParams_PhoneticEncoding_PhoneticEncodingIpa = @"PHONETIC_ENCODING_IPA"; +NSString * const kGTLRTexttospeech_CustomPronunciationParams_PhoneticEncoding_PhoneticEncodingJapaneseYomigana = @"PHONETIC_ENCODING_JAPANESE_YOMIGANA"; +NSString * const kGTLRTexttospeech_CustomPronunciationParams_PhoneticEncoding_PhoneticEncodingPinyin = @"PHONETIC_ENCODING_PINYIN"; NSString * const kGTLRTexttospeech_CustomPronunciationParams_PhoneticEncoding_PhoneticEncodingUnspecified = @"PHONETIC_ENCODING_UNSPECIFIED"; NSString * const kGTLRTexttospeech_CustomPronunciationParams_PhoneticEncoding_PhoneticEncodingXSampa = @"PHONETIC_ENCODING_X_SAMPA"; @@ -274,7 +276,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRTexttospeech_SynthesisInput -@dynamic customPronunciations, multiSpeakerMarkup, ssml, text; +@dynamic customPronunciations, markup, multiSpeakerMarkup, ssml, text; @end diff --git a/Sources/GeneratedServices/Texttospeech/Public/GoogleAPIClientForREST/GTLRTexttospeechObjects.h b/Sources/GeneratedServices/Texttospeech/Public/GoogleAPIClientForREST/GTLRTexttospeechObjects.h index b982dca31..cd7271981 100644 --- a/Sources/GeneratedServices/Texttospeech/Public/GoogleAPIClientForREST/GTLRTexttospeechObjects.h +++ b/Sources/GeneratedServices/Texttospeech/Public/GoogleAPIClientForREST/GTLRTexttospeechObjects.h @@ -105,6 +105,27 @@ FOUNDATION_EXTERN NSString * const kGTLRTexttospeech_AudioConfig_AudioEncoding_P * Value: "PHONETIC_ENCODING_IPA" */ FOUNDATION_EXTERN NSString * const kGTLRTexttospeech_CustomPronunciationParams_PhoneticEncoding_PhoneticEncodingIpa; +/** + * For reading-to-pron conversion to work well, the `pronunciation` field + * should only contain Kanji, Hiragana, and Katakana. The pronunciation can + * also contain pitch accents. The start of a pitch phrase is specified with + * `^` and the down-pitch position is specified with `!`, for example: phrase:端 + * pronunciation:^はし phrase:箸 pronunciation:^は!し phrase:橋 pronunciation:^はし! We + * currently only support the Tokyo dialect, which allows at most one + * down-pitch per phrase (i.e. at most one `!` between `^`). + * + * Value: "PHONETIC_ENCODING_JAPANESE_YOMIGANA" + */ +FOUNDATION_EXTERN NSString * const kGTLRTexttospeech_CustomPronunciationParams_PhoneticEncoding_PhoneticEncodingJapaneseYomigana; +/** + * Used to specify pronunciations for Mandarin words. See + * https://en.wikipedia.org/wiki/Pinyin. For example: 朝阳, the pronunciation is + * "chao2 yang2". The number represents the tone, and there is a space between + * syllables. Neutral tones are represented by 5, for example 孩子 "hai2 zi5". + * + * Value: "PHONETIC_ENCODING_PINYIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRTexttospeech_CustomPronunciationParams_PhoneticEncoding_PhoneticEncodingPinyin; /** * Not specified. * @@ -334,6 +355,21 @@ FOUNDATION_EXTERN NSString * const kGTLRTexttospeech_VoiceSelectionParams_SsmlGe * IPA, such as apple -> ˈæpəl. * https://en.wikipedia.org/wiki/International_Phonetic_Alphabet (Value: * "PHONETIC_ENCODING_IPA") + * @arg @c kGTLRTexttospeech_CustomPronunciationParams_PhoneticEncoding_PhoneticEncodingJapaneseYomigana + * For reading-to-pron conversion to work well, the `pronunciation` field + * should only contain Kanji, Hiragana, and Katakana. The pronunciation + * can also contain pitch accents. The start of a pitch phrase is + * specified with `^` and the down-pitch position is specified with `!`, + * for example: phrase:端 pronunciation:^はし phrase:箸 pronunciation:^は!し + * phrase:橋 pronunciation:^はし! We currently only support the Tokyo + * dialect, which allows at most one down-pitch per phrase (i.e. at most + * one `!` between `^`). (Value: "PHONETIC_ENCODING_JAPANESE_YOMIGANA") + * @arg @c kGTLRTexttospeech_CustomPronunciationParams_PhoneticEncoding_PhoneticEncodingPinyin + * Used to specify pronunciations for Mandarin words. See + * https://en.wikipedia.org/wiki/Pinyin. For example: 朝阳, the + * pronunciation is "chao2 yang2". The number represents the tone, and + * there is a space between syllables. Neutral tones are represented by + * 5, for example 孩子 "hai2 zi5". (Value: "PHONETIC_ENCODING_PINYIN") * @arg @c kGTLRTexttospeech_CustomPronunciationParams_PhoneticEncoding_PhoneticEncodingUnspecified * Not specified. (Value: "PHONETIC_ENCODING_UNSPECIFIED") * @arg @c kGTLRTexttospeech_CustomPronunciationParams_PhoneticEncoding_PhoneticEncodingXSampa @@ -620,6 +656,12 @@ FOUNDATION_EXTERN NSString * const kGTLRTexttospeech_VoiceSelectionParams_SsmlGe */ @property(nonatomic, strong, nullable) GTLRTexttospeech_CustomPronunciations *customPronunciations; +/** + * Markup for HD voices specifically. This field may not be used with any other + * voices. + */ +@property(nonatomic, copy, nullable) NSString *markup; + /** * The multi-speaker input to be synthesized. Only applicable for multi-speaker * synthesis. diff --git a/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h index 65b7ef9f6..341b7b87e 100644 --- a/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h +++ b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h @@ -681,7 +681,11 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketObject_State_Ex * Value: "inactive" */ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketObject_State_Inactive GTLR_DEPRECATED; -/** Value: "STATE_UNSPECIFIED" */ +/** + * Default value. + * + * Value: "STATE_UNSPECIFIED" + */ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_EventTicketObject_State_StateUnspecified; // ---------------------------------------------------------------------------- @@ -947,7 +951,11 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FlightObject_State_Expired * Value: "inactive" */ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FlightObject_State_Inactive GTLR_DEPRECATED; -/** Value: "STATE_UNSPECIFIED" */ +/** + * Default value. + * + * Value: "STATE_UNSPECIFIED" + */ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_FlightObject_State_StateUnspecified; // ---------------------------------------------------------------------------- @@ -1120,7 +1128,11 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericObject_State_Expire * Value: "inactive" */ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericObject_State_Inactive GTLR_DEPRECATED; -/** Value: "STATE_UNSPECIFIED" */ +/** + * Default value. + * + * Value: "STATE_UNSPECIFIED" + */ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GenericObject_State_StateUnspecified; // ---------------------------------------------------------------------------- @@ -1267,7 +1279,11 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GiftCardObject_State_Expir * Value: "inactive" */ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GiftCardObject_State_Inactive GTLR_DEPRECATED; -/** Value: "STATE_UNSPECIFIED" */ +/** + * Default value. + * + * Value: "STATE_UNSPECIFIED" + */ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_GiftCardObject_State_StateUnspecified; // ---------------------------------------------------------------------------- @@ -1432,7 +1448,11 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_LoyaltyObject_State_Expire * Value: "inactive" */ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_LoyaltyObject_State_Inactive GTLR_DEPRECATED; -/** Value: "STATE_UNSPECIFIED" */ +/** + * Default value. + * + * Value: "STATE_UNSPECIFIED" + */ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_LoyaltyObject_State_StateUnspecified; // ---------------------------------------------------------------------------- @@ -1775,7 +1795,11 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_OfferObject_State_Expired * Value: "inactive" */ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_OfferObject_State_Inactive GTLR_DEPRECATED; -/** Value: "STATE_UNSPECIFIED" */ +/** + * Default value. + * + * Value: "STATE_UNSPECIFIED" + */ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_OfferObject_State_StateUnspecified; // ---------------------------------------------------------------------------- @@ -2235,7 +2259,11 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_State_Expire * Value: "inactive" */ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_State_Inactive GTLR_DEPRECATED; -/** Value: "STATE_UNSPECIFIED" */ +/** + * Default value. + * + * Value: "STATE_UNSPECIFIED" + */ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_State_StateUnspecified; // ---------------------------------------------------------------------------- @@ -4195,8 +4223,8 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri * for `EXPIRED`. Deprecated. (Value: "expired") * @arg @c kGTLRWalletobjects_EventTicketObject_State_Inactive Legacy alias * for `INACTIVE`. Deprecated. (Value: "inactive") - * @arg @c kGTLRWalletobjects_EventTicketObject_State_StateUnspecified Value - * "STATE_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_EventTicketObject_State_StateUnspecified + * Default value. (Value: "STATE_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *state; @@ -5114,8 +5142,8 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri * `EXPIRED`. Deprecated. (Value: "expired") * @arg @c kGTLRWalletobjects_FlightObject_State_Inactive Legacy alias for * `INACTIVE`. Deprecated. (Value: "inactive") - * @arg @c kGTLRWalletobjects_FlightObject_State_StateUnspecified Value - * "STATE_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_FlightObject_State_StateUnspecified Default + * value. (Value: "STATE_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *state; @@ -5568,8 +5596,8 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri * `EXPIRED`. Deprecated. (Value: "expired") * @arg @c kGTLRWalletobjects_GenericObject_State_Inactive Legacy alias for * `INACTIVE`. Deprecated. (Value: "inactive") - * @arg @c kGTLRWalletobjects_GenericObject_State_StateUnspecified Value - * "STATE_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_GenericObject_State_StateUnspecified Default + * value. (Value: "STATE_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *state; @@ -6183,8 +6211,8 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri * `EXPIRED`. Deprecated. (Value: "expired") * @arg @c kGTLRWalletobjects_GiftCardObject_State_Inactive Legacy alias for * `INACTIVE`. Deprecated. (Value: "inactive") - * @arg @c kGTLRWalletobjects_GiftCardObject_State_StateUnspecified Value - * "STATE_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_GiftCardObject_State_StateUnspecified Default + * value. (Value: "STATE_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *state; @@ -7226,8 +7254,8 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri * `EXPIRED`. Deprecated. (Value: "expired") * @arg @c kGTLRWalletobjects_LoyaltyObject_State_Inactive Legacy alias for * `INACTIVE`. Deprecated. (Value: "inactive") - * @arg @c kGTLRWalletobjects_LoyaltyObject_State_StateUnspecified Value - * "STATE_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_LoyaltyObject_State_StateUnspecified Default + * value. (Value: "STATE_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *state; @@ -8474,8 +8502,8 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri * `EXPIRED`. Deprecated. (Value: "expired") * @arg @c kGTLRWalletobjects_OfferObject_State_Inactive Legacy alias for * `INACTIVE`. Deprecated. (Value: "inactive") - * @arg @c kGTLRWalletobjects_OfferObject_State_StateUnspecified Value - * "STATE_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_OfferObject_State_StateUnspecified Default + * value. (Value: "STATE_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *state; @@ -10129,8 +10157,8 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri * `EXPIRED`. Deprecated. (Value: "expired") * @arg @c kGTLRWalletobjects_TransitObject_State_Inactive Legacy alias for * `INACTIVE`. Deprecated. (Value: "inactive") - * @arg @c kGTLRWalletobjects_TransitObject_State_StateUnspecified Value - * "STATE_UNSPECIFIED" + * @arg @c kGTLRWalletobjects_TransitObject_State_StateUnspecified Default + * value. (Value: "STATE_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *state; From 3de0140c27bf255237ee938c2d8e7d0f783bb5b2 Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Mon, 2 Jun 2025 10:50:52 -0400 Subject: [PATCH 2/7] Auto skip things in listing but not in the cached directory. --- Tools/preferred_paths_from_cache.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Tools/preferred_paths_from_cache.py b/Tools/preferred_paths_from_cache.py index 5d1219056..b5b239e0f 100755 --- a/Tools/preferred_paths_from_cache.py +++ b/Tools/preferred_paths_from_cache.py @@ -35,7 +35,7 @@ def Main(args): with open(index_path, 'r') as fp: services = json.load(fp).get('items') - file_names = [] + cached_paths = [] for x in services: if not x.get("preferred"): continue @@ -43,13 +43,14 @@ def Main(args): if name in opts.skip: continue version = x.get('version') - file_names.append(f'{name}.{version}.json') + file_name = f'{name}.{version}.json' + cached_path = os.path.join(opts.cache_dir, file_name) + if os.path.isfile(cached_path): + cached_paths.append(cached_path) + else: + print(f'WARNING: {file_name} not found, skipping', file=sys.stderr) - perferred_paths = [ - os.path.join(opts.cache_dir, x) - for x in file_names - ] - print(" ".join(perferred_paths)) + print(" ".join(cached_paths)) if __name__ == '__main__': sys.exit(Main(sys.argv[1:])) From d4f41bf477288ee35409784150d0ccae478a4275 Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Mon, 2 Jun 2025 10:54:01 -0400 Subject: [PATCH 3/7] Generate current sources. --- .../APIManagement/GTLRAPIManagementQuery.m | 9 +- .../GTLRAPIManagementQuery.h | 10 +- .../GTLRAPIhubObjects.h | 6 +- .../GoogleAPIClientForREST/GTLRAPIhubQuery.h | 4 +- .../Aiplatform/GTLRAiplatformObjects.m | 30 +- .../Aiplatform/GTLRAiplatformQuery.m | 268 +++ .../GTLRAiplatformObjects.h | 94 +- .../GTLRAiplatformQuery.h | 401 +++ .../GTLRAndroidManagementObjects.m | 151 +- .../GTLRAndroidManagementQuery.m | 1 + .../GTLRAndroidManagementObjects.h | 875 +++++++ .../GTLRAndroidManagementQuery.h | 14 + .../GTLRAndroidPublisherObjects.m | 6 +- .../GTLRAndroidPublisherObjects.h | 41 +- .../GTLRAndroidPublisherQuery.h | 70 +- .../GTLRAreaInsightsObjects.h | 9 +- .../GTLRAssuredworkloadsObjects.m | 36 + .../GTLRAssuredworkloadsObjects.h | 314 +++ .../GTLRBackupdrObjects.h | 11 +- .../GTLRBareMetalSolutionObjects.h | 2 +- .../GTLRBareMetalSolutionQuery.h | 4 +- .../GTLRBigQueryReservationObjects.m | 8 +- .../GTLRBigQueryReservationQuery.m | 77 + .../GTLRBigQueryReservationObjects.h | 50 + .../GTLRBigQueryReservationQuery.h | 154 +- .../BigtableAdmin/GTLRBigtableAdminQuery.m | 57 + .../GTLRBigtableAdminQuery.h | 116 + .../GTLRBloggerObjects.h | 4 +- .../GTLRChromeManagementObjects.m | 27 +- .../GTLRChromeManagementObjects.h | 104 + .../Classroom/GTLRClassroomObjects.m | 32 +- .../GTLRClassroomObjects.h | 52 +- .../GTLRCloudAlloyDBAdminObjects.h | 2 +- .../GTLRCloudBatchObjects.h | 4 +- .../CloudDataplex/GTLRCloudDataplexObjects.m | 51 +- .../GTLRCloudDataplexObjects.h | 198 +- .../GTLRCloudDataplexQuery.h | 219 +- .../CloudIAP/GTLRCloudIAPObjects.m | 11 +- .../GTLRCloudIAPObjects.h | 32 +- .../CloudKMS/GTLRCloudKMSObjects.m | 47 +- .../CloudKMS/GTLRCloudKMSQuery.m | 176 ++ .../GTLRCloudKMSObjects.h | 99 +- .../GTLRCloudKMSQuery.h | 291 +++ .../GTLRCloudOSLoginQuery.h | 7 +- .../GTLRCloudRedisObjects.h | 11 +- .../GTLRCloudResourceManagerObjects.m | 53 + .../GTLRCloudResourceManagerQuery.m | 65 + .../GTLRCloudResourceManagerObjects.h | 101 +- .../GTLRCloudResourceManagerQuery.h | 124 + .../GTLRCloudSecurityTokenObjects.h | 7 +- .../GTLRCloudSupportObjects.h | 6 +- .../GTLRCloudSupportQuery.h | 4 +- .../GTLRCloudVideoIntelligenceObjects.m | 90 +- .../GTLRCloudVideoIntelligenceObjects.h | 265 ++ .../Connectors/GTLRConnectorsQuery.m | 5 +- .../GTLRConnectorsQuery.h | 3 + .../GTLRContactcenterinsightsObjects.m | 185 +- .../GTLRContactcenterinsightsQuery.m | 625 +++++ .../GTLRContactcenterinsightsObjects.h | 395 ++- .../GTLRContactcenterinsightsQuery.h | 2140 ++++++++++++----- .../Container/GTLRContainerObjects.m | 56 +- .../GTLRContainerObjects.h | 84 + .../GeneratedServices/DLP/GTLRDLPObjects.m | 20 +- .../GoogleAPIClientForREST/GTLRDLPObjects.h | 45 + .../GTLRDataCatalogQuery.h | 6 +- .../GTLRDatabaseMigrationServiceObjects.m | 34 +- .../GTLRDatabaseMigrationServiceObjects.h | 44 + .../Dataform/GTLRDataformObjects.m | 2 +- .../GTLRDataformObjects.h | 8 + .../Dataproc/GTLRDataprocObjects.m | 139 +- .../Dataproc/GTLRDataprocQuery.m | 141 +- .../GTLRDataprocObjects.h | 241 +- .../GTLRDataprocQuery.h | 272 +-- .../GTLRDirectoryObjects.h | 64 +- .../GTLRDiscoveryEngineObjects.m | 101 +- .../GTLRDiscoveryEngineObjects.h | 196 +- .../Document/GTLRDocumentObjects.m | 11 +- .../GTLRDocumentObjects.h | 51 +- .../GTLREssentialcontactsObjects.h | 4 +- .../GKEHub/GTLRGKEHubObjects.m | 1 - .../GTLRGKEHubObjects.h | 8 - .../GKEOnPrem/GTLRGKEOnPremObjects.m | 16 +- .../GTLRGKEOnPremObjects.h | 27 + .../Kmsinventory/GTLRKmsinventoryObjects.m | 2 + .../GTLRKmsinventoryObjects.h | 22 + .../GoogleAPIClientForREST/GTLRLoggingQuery.h | 60 +- .../GTLRMonitoringObjects.h | 8 +- .../GTLRNetAppFilesObjects.h | 19 +- .../GTLRNetworkManagementObjects.m | 16 +- .../GTLRNetworkManagementObjects.h | 125 +- .../GTLRNetworkManagementQuery.h | 24 +- .../GTLRNetworkSecurityObjects.m | 3 +- .../GTLRNetworkSecurityObjects.h | 7 - .../GTLRNetworkServicesObjects.h | 3 +- .../GTLRNetworkconnectivityObjects.m | 1 + .../GTLRNetworkconnectivityObjects.h | 54 +- .../GTLRNetworkconnectivityQuery.h | 4 +- .../GTLRPaymentsResellerSubscriptionObjects.m | 1 + .../GTLRPaymentsResellerSubscriptionObjects.h | 21 +- .../GTLRPaymentsResellerSubscriptionQuery.h | 6 +- .../SQLAdmin/GTLRSQLAdminObjects.m | 22 +- .../GTLRSQLAdminObjects.h | 57 + .../Safebrowsing/GTLRSafebrowsingObjects.m | 136 ++ .../Safebrowsing/GTLRSafebrowsingQuery.m | 79 + .../GTLRSafebrowsingObjects.h | 502 ++++ .../GTLRSafebrowsingQuery.h | 172 ++ .../Script/GTLRScriptObjects.m | 90 - .../GTLRScriptObjects.h | 145 -- .../GTLRServiceManagementObjects.m | 49 +- .../GTLRServiceManagementObjects.h | 159 ++ .../GTLRServiceNetworkingQuery.h | 26 +- .../Spanner/GTLRSpannerObjects.m | 38 +- .../GTLRSpannerObjects.h | 288 ++- .../GoogleAPIClientForREST/GTLRSpannerQuery.h | 13 +- .../Storage/GTLRStorageObjects.m | 2 +- .../GTLRStorageObjects.h | 7 + .../GTLRStorageTransferObjects.h | 40 +- .../GTLRTrafficDirectorServiceObjects.h | 26 +- .../GTLRVMMigrationServiceObjects.m | 27 +- .../GTLRVMMigrationServiceQuery.m | 27 + .../GTLRVMMigrationServiceObjects.h | 61 + .../GTLRVMMigrationServiceQuery.h | 29 + .../Vault/GTLRVaultObjects.m | 8 +- .../GoogleAPIClientForREST/GTLRVaultObjects.h | 52 +- 124 files changed, 10151 insertions(+), 2104 deletions(-) diff --git a/Sources/GeneratedServices/APIManagement/GTLRAPIManagementQuery.m b/Sources/GeneratedServices/APIManagement/GTLRAPIManagementQuery.m index c42e048aa..625a6c766 100644 --- a/Sources/GeneratedServices/APIManagement/GTLRAPIManagementQuery.m +++ b/Sources/GeneratedServices/APIManagement/GTLRAPIManagementQuery.m @@ -38,7 +38,14 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRAPIManagementQuery_ProjectsLocationsList -@dynamic filter, name, pageSize, pageToken; +@dynamic extraLocationTypes, filter, name, pageSize, pageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"extraLocationTypes" : [NSString class] + }; + return map; +} + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; diff --git a/Sources/GeneratedServices/APIManagement/Public/GoogleAPIClientForREST/GTLRAPIManagementQuery.h b/Sources/GeneratedServices/APIManagement/Public/GoogleAPIClientForREST/GTLRAPIManagementQuery.h index 370a3c71f..e5e9bdad6 100644 --- a/Sources/GeneratedServices/APIManagement/Public/GoogleAPIClientForREST/GTLRAPIManagementQuery.h +++ b/Sources/GeneratedServices/APIManagement/Public/GoogleAPIClientForREST/GTLRAPIManagementQuery.h @@ -70,6 +70,12 @@ NS_ASSUME_NONNULL_BEGIN */ @interface GTLRAPIManagementQuery_ProjectsLocationsList : GTLRAPIManagementQuery +/** + * Optional. A list of extra location types that should be used as conditions + * for controlling the visibility of the locations. + */ +@property(nonatomic, strong, nullable) NSArray *extraLocationTypes; + /** * A filter to narrow down results to a preferred subset. The filtering * language accepts strings like `"displayName=tokyo"`, and is documented in @@ -775,7 +781,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * Method: apim.projects.locations.operations.cancel @@ -798,7 +804,7 @@ NS_ASSUME_NONNULL_BEGIN * 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 + * Operation.error value with a google.rpc.Status.code of `1`, corresponding to * `Code.CANCELLED`. * * @param object The @c GTLRAPIManagement_CancelOperationRequest to include in diff --git a/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubObjects.h b/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubObjects.h index a0e3e03f9..ff3690c49 100644 --- a/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubObjects.h +++ b/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubObjects.h @@ -2593,9 +2593,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S @property(nonatomic, copy, nullable) NSString *name; /** - * Required. A URI to the runtime resource. This URI can be used to manage the - * resource. For example, if the runtime resource is of type APIGEE_PROXY, then - * this field will contain the URI to the management UI of the proxy. + * Required. A uri that uniquely identfies the deployment within a particular + * gateway. For example, if the runtime resource is of type APIGEE_PROXY, then + * this field will be a combination of org, proxy name and environment. */ @property(nonatomic, copy, nullable) NSString *resourceUri; diff --git a/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubQuery.h b/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubQuery.h index 1cb6f6a20..81147c583 100644 --- a/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubQuery.h +++ b/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubQuery.h @@ -3087,7 +3087,7 @@ NS_ASSUME_NONNULL_BEGIN * provided, the same will be used. The service will throw an error if the * specified id is already used by another Plugin resource in the API hub * instance. * If not provided, a system generated id will be used. This value - * should be 4-500 characters, overall resource name which will be of format + * should be 4-63 characters, overall resource name which will be of format * `projects/{project}/locations/{location}/plugins/{plugin}`, its length is * limited to 1000 characters and valid characters are /a-z[0-9]-_/. */ @@ -3291,7 +3291,7 @@ NS_ASSUME_NONNULL_BEGIN * If provided, the same will be used. The service will throw an error if the * specified id is already used by another plugin instance in the plugin * resource. * If not provided, a system generated id will be used. This value - * should be 4-500 characters, and valid characters are /a-z[0-9]-_/. + * should be 4-63 characters, and valid characters are /a-z[0-9]-_/. */ @property(nonatomic, copy, nullable) NSString *pluginInstanceId; diff --git a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m index 9fc2b70b5..0e11ef8c3 100644 --- a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m +++ b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m @@ -88,6 +88,7 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_Safety = @"SAFETY"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_Spii = @"SPII"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_Stop = @"STOP"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_UnexpectedToolCall = @"UNEXPECTED_TOOL_CALL"; // GTLRAiplatform_GoogleCloudAiplatformV1CodeExecutionResult.outcome NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1CodeExecutionResult_Outcome_OutcomeDeadlineExceeded = @"OUTCOME_DEADLINE_EXCEEDED"; @@ -2469,6 +2470,21 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1CoherenceSpec @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ColabImage +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ColabImage +@dynamic descriptionProperty, releaseName; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1CometInput @@ -5849,11 +5865,11 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateVideoResponseVideo // @implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig -@dynamic audioTimestamp, candidateCount, frequencyPenalty, logprobs, - maxOutputTokens, mediaResolution, presencePenalty, responseLogprobs, - responseMimeType, responseModalities, responseSchema, routingConfig, - seed, speechConfig, stopSequences, temperature, thinkingConfig, topK, - topP; +@dynamic audioTimestamp, candidateCount, enableAffectiveDialog, + frequencyPenalty, logprobs, maxOutputTokens, mediaResolution, + presencePenalty, responseLogprobs, responseMimeType, + responseModalities, responseSchema, routingConfig, seed, speechConfig, + stopSequences, temperature, thinkingConfig, topK, topP; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -9328,7 +9344,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1NotebookRuntimeTemplateRef // @implementation GTLRAiplatform_GoogleCloudAiplatformV1NotebookSoftwareConfig -@dynamic env, postStartupScriptConfig; +@dynamic colabImage, env, postStartupScriptConfig; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -10093,7 +10109,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1PscAutomatedEndpoints // @implementation GTLRAiplatform_GoogleCloudAiplatformV1PSCAutomationConfig -@dynamic network, projectId; +@dynamic forwardingRule, ipAddress, network, projectId; @end diff --git a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m index f0a22ff5b..dfa933d96 100644 --- a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m +++ b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m @@ -410,6 +410,33 @@ + (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1CountToke @end +@implementation GTLRAiplatformQuery_EndpointsFetchPredictOperation + +@dynamic endpoint; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1FetchPredictOperationRequest *)object + endpoint:(NSString *)endpoint { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"endpoint" ]; + NSString *pathURITemplate = @"v1/{+endpoint}:fetchPredictOperation"; + GTLRAiplatformQuery_EndpointsFetchPredictOperation *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.endpoint = endpoint; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.endpoints.fetchPredictOperation"; + return query; +} + +@end + @implementation GTLRAiplatformQuery_EndpointsGenerateContent @dynamic model; @@ -464,6 +491,33 @@ + (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1PredictRe @end +@implementation GTLRAiplatformQuery_EndpointsPredictLongRunning + +@dynamic endpoint; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1PredictLongRunningRequest *)object + endpoint:(NSString *)endpoint { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"endpoint" ]; + NSString *pathURITemplate = @"v1/{+endpoint}:predictLongRunning"; + GTLRAiplatformQuery_EndpointsPredictLongRunning *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.endpoint = endpoint; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.endpoints.predictLongRunning"; + return query; +} + +@end + @implementation GTLRAiplatformQuery_EndpointsStreamGenerateContent @dynamic model; @@ -13367,6 +13421,33 @@ + (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1CountToke @end +@implementation GTLRAiplatformQuery_PublishersModelsFetchPredictOperation + +@dynamic endpoint; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1FetchPredictOperationRequest *)object + endpoint:(NSString *)endpoint { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"endpoint" ]; + NSString *pathURITemplate = @"v1/{+endpoint}:fetchPredictOperation"; + GTLRAiplatformQuery_PublishersModelsFetchPredictOperation *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.endpoint = endpoint; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.publishers.models.fetchPredictOperation"; + return query; +} + +@end + @implementation GTLRAiplatformQuery_PublishersModelsGenerateContent @dynamic model; @@ -13440,6 +13521,33 @@ + (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1PredictRe @end +@implementation GTLRAiplatformQuery_PublishersModelsPredictLongRunning + +@dynamic endpoint; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1PredictLongRunningRequest *)object + endpoint:(NSString *)endpoint { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"endpoint" ]; + NSString *pathURITemplate = @"v1/{+endpoint}:predictLongRunning"; + GTLRAiplatformQuery_PublishersModelsPredictLongRunning *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.endpoint = endpoint; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.publishers.models.predictLongRunning"; + return query; +} + +@end + @implementation GTLRAiplatformQuery_PublishersModelsStreamGenerateContent @dynamic model; @@ -13466,3 +13574,163 @@ + (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1GenerateC } @end + +@implementation GTLRAiplatformQuery_ReasoningEnginesCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngine *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"v1/reasoningEngines"; + GTLRAiplatformQuery_ReasoningEnginesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.reasoningEngines.create"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ReasoningEnginesDelete + +@dynamic force, name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ReasoningEnginesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.reasoningEngines.delete"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ReasoningEnginesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ReasoningEnginesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngine class]; + query.loggingName = @"aiplatform.reasoningEngines.get"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ReasoningEnginesList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)query { + NSString *pathURITemplate = @"v1/reasoningEngines"; + GTLRAiplatformQuery_ReasoningEnginesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1ListReasoningEnginesResponse class]; + query.loggingName = @"aiplatform.reasoningEngines.list"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ReasoningEnginesPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngine *)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}"; + GTLRAiplatformQuery_ReasoningEnginesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.reasoningEngines.patch"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ReasoningEnginesQuery + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1QueryReasoningEngineRequest *)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}:query"; + GTLRAiplatformQuery_ReasoningEnginesQuery *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1QueryReasoningEngineResponse class]; + query.loggingName = @"aiplatform.reasoningEngines.query"; + return query; +} + +@end + +@implementation GTLRAiplatformQuery_ReasoningEnginesStreamQuery + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest *)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}:streamQuery"; + GTLRAiplatformQuery_ReasoningEnginesStreamQuery *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleApiHttpBody class]; + query.loggingName = @"aiplatform.reasoningEngines.streamQuery"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h index 3038f4668..2b235fce0 100644 --- a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h +++ b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h @@ -82,6 +82,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1CoherenceInstance; @class GTLRAiplatform_GoogleCloudAiplatformV1CoherenceResult; @class GTLRAiplatform_GoogleCloudAiplatformV1CoherenceSpec; +@class GTLRAiplatform_GoogleCloudAiplatformV1ColabImage; @class GTLRAiplatform_GoogleCloudAiplatformV1CometInput; @class GTLRAiplatform_GoogleCloudAiplatformV1CometInstance; @class GTLRAiplatform_GoogleCloudAiplatformV1CometResult; @@ -1295,6 +1296,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candid * Value: "STOP" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_Stop; +/** + * The tool call generated by the model is invalid. + * + * Value: "UNEXPECTED_TOOL_CALL" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_UnexpectedToolCall; // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1CodeExecutionResult.outcome @@ -2800,25 +2807,25 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Metada */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Metric_AggregationMetrics_AggregationMetricUnspecified; /** - * Average aggregation metric. + * Average aggregation metric. Not supported for Pairwise metric. * * Value: "AVERAGE" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Metric_AggregationMetrics_Average; /** - * Maximum aggregation metric. + * Maximum aggregation metric. Not supported for pairwise metric. * * Value: "MAXIMUM" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Metric_AggregationMetrics_Maximum; /** - * Median aggregation metric. + * Median aggregation metric. Not supported for pairwise metric. * * Value: "MEDIAN" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Metric_AggregationMetrics_Median; /** - * Minimum aggregation metric. + * Minimum aggregation metric. Not supported for pairwise metric. * * Value: "MINIMUM" */ @@ -2830,31 +2837,31 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Metric */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Metric_AggregationMetrics_Mode; /** - * 90th percentile aggregation metric. + * 90th percentile aggregation metric. Not supported for pairwise metric. * * Value: "PERCENTILE_P90" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Metric_AggregationMetrics_PercentileP90; /** - * 95th percentile aggregation metric. + * 95th percentile aggregation metric. Not supported for pairwise metric. * * Value: "PERCENTILE_P95" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Metric_AggregationMetrics_PercentileP95; /** - * 99th percentile aggregation metric. + * 99th percentile aggregation metric. Not supported for pairwise metric. * * Value: "PERCENTILE_P99" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Metric_AggregationMetrics_PercentileP99; /** - * Standard deviation aggregation metric. + * Standard deviation aggregation metric. Not supported for pairwise metric. * * Value: "STANDARD_DEVIATION" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Metric_AggregationMetrics_StandardDeviation; /** - * Variance aggregation metric. + * Variance aggregation metric. Not supported for pairwise metric. * * Value: "VARIANCE" */ @@ -8455,6 +8462,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_Stop * Token generation reached a natural stopping point or a configured stop * sequence. (Value: "STOP") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_UnexpectedToolCall + * The tool call generated by the model is invalid. (Value: + * "UNEXPECTED_TOOL_CALL") */ @property(nonatomic, copy, nullable) NSString *finishReason; @@ -8643,8 +8653,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning /** - * Result of executing the [ExecutableCode]. Always follows a `part` containing - * the [ExecutableCode]. + * Result of executing the [ExecutableCode]. Only generated when using the + * [CodeExecution] tool, and always follows a `part` containing the + * [ExecutableCode]. */ @interface GTLRAiplatform_GoogleCloudAiplatformV1CodeExecutionResult : GTLRObject @@ -8740,6 +8751,29 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning @end +/** + * Colab image of the runtime. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ColabImage : GTLRObject + +/** + * Output only. A human-readable description of the specified colab image + * release, populated by the system. Example: "Python 3.10", "Latest - current + * Python 3.11" + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Optional. The release name of the NotebookRuntime Colab image, e.g. "py310". + * If not specified, detault to the latest release. + */ +@property(nonatomic, copy, nullable) NSString *releaseName; + +@end + + /** * Input for Comet metric. */ @@ -12570,8 +12604,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning /** * Code generated by the model that is meant to be executed, and the result - * returned to the model. Generated when using the [FunctionDeclaration] tool - * and [FunctionCallingConfig] mode is set to [Mode.CODE]. + * returned to the model. Generated when using the [CodeExecution] tool, in + * which the code will be automatically executed, and a corresponding + * [CodeExecutionResult] will also be generated. */ @interface GTLRAiplatform_GoogleCloudAiplatformV1ExecutableCode : GTLRObject @@ -16566,6 +16601,14 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @property(nonatomic, strong, nullable) NSNumber *candidateCount; +/** + * Optional. If enabled, the model will detect emotions and adapt its responses + * accordingly. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableAffectiveDialog; + /** * Optional. Frequency penalties. * @@ -23868,6 +23911,9 @@ GTLR_DEPRECATED */ @interface GTLRAiplatform_GoogleCloudAiplatformV1NotebookSoftwareConfig : GTLRObject +/** Optional. Google-managed NotebookRuntime colab image. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ColabImage *colabImage; + /** * Optional. Environment variables to be passed to the container. Maximum limit * is 100. @@ -25659,6 +25705,18 @@ GTLR_DEPRECATED */ @interface GTLRAiplatform_GoogleCloudAiplatformV1PSCAutomationConfig : GTLRObject +/** + * Output only. Forwarding rule created by the PSC service automation. Note for + * Vector search, use IndexPrivateEndpoint instead. + */ +@property(nonatomic, copy, nullable) NSString *forwardingRule; + +/** + * Output only. IP address rule created by the PSC service automation. Note for + * Vector search, use IndexPrivateEndpoint instead. + */ +@property(nonatomic, copy, nullable) NSString *ipAddress; + /** * Required. The full name of the Google Compute Engine * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). @@ -36697,14 +36755,16 @@ GTLR_DEPRECATED @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1SupervisedHyperParameters *hyperParameters; /** - * Required. Cloud Storage path to file containing training dataset for tuning. - * The dataset must be formatted as a JSONL file. + * Required. Training dataset used for tuning. The dataset can be specified as + * either a Cloud Storage path to a JSONL file or as the resource name of a + * Vertex Multimodal Dataset. */ @property(nonatomic, copy, nullable) NSString *trainingDatasetUri; /** - * Optional. Cloud Storage path to file containing validation dataset for - * tuning. The dataset must be formatted as a JSONL file. + * Optional. Validation dataset used for tuning. The dataset can be specified + * as either a Cloud Storage path to a JSONL file or as the resource name of a + * Vertex Multimodal Dataset. */ @property(nonatomic, copy, nullable) NSString *validationDatasetUri; diff --git a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h index 1ae4855bb..22da060e7 100644 --- a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h +++ b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h @@ -748,6 +748,44 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @end +/** + * Fetch an asynchronous online prediction operation. + * + * Method: aiplatform.endpoints.fetchPredictOperation + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + * @c kGTLRAuthScopeAiplatformCloudPlatformReadOnly + */ +@interface GTLRAiplatformQuery_EndpointsFetchPredictOperation : GTLRAiplatformQuery + +/** + * Required. The name of the Endpoint requested to serve the prediction. + * Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` or + * `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` + */ +@property(nonatomic, copy, nullable) NSString *endpoint; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Fetch an asynchronous online prediction operation. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1FetchPredictOperationRequest to + * include in the query. + * @param endpoint Required. The name of the Endpoint requested to serve the + * prediction. Format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}` or + * `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` + * + * @return GTLRAiplatformQuery_EndpointsFetchPredictOperation + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1FetchPredictOperationRequest *)object + endpoint:(NSString *)endpoint; + +@end + /** * Generate content with multimodal inputs. * @@ -824,6 +862,42 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @end +/** + * GTLRAiplatformQuery_EndpointsPredictLongRunning + * + * Method: aiplatform.endpoints.predictLongRunning + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + * @c kGTLRAuthScopeAiplatformCloudPlatformReadOnly + */ +@interface GTLRAiplatformQuery_EndpointsPredictLongRunning : GTLRAiplatformQuery + +/** + * Required. The name of the Endpoint requested to serve the prediction. + * Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` or + * `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` + */ +@property(nonatomic, copy, nullable) NSString *endpoint; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1PredictLongRunningRequest to include + * in the query. + * @param endpoint Required. The name of the Endpoint requested to serve the + * prediction. Format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}` or + * `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` + * + * @return GTLRAiplatformQuery_EndpointsPredictLongRunning + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1PredictLongRunningRequest *)object + endpoint:(NSString *)endpoint; + +@end + /** * Generate content with multimodal inputs with streaming support. * @@ -24919,6 +24993,44 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @end +/** + * Fetch an asynchronous online prediction operation. + * + * Method: aiplatform.publishers.models.fetchPredictOperation + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + * @c kGTLRAuthScopeAiplatformCloudPlatformReadOnly + */ +@interface GTLRAiplatformQuery_PublishersModelsFetchPredictOperation : GTLRAiplatformQuery + +/** + * Required. The name of the Endpoint requested to serve the prediction. + * Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` or + * `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` + */ +@property(nonatomic, copy, nullable) NSString *endpoint; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Fetch an asynchronous online prediction operation. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1FetchPredictOperationRequest to + * include in the query. + * @param endpoint Required. The name of the Endpoint requested to serve the + * prediction. Format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}` or + * `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` + * + * @return GTLRAiplatformQuery_PublishersModelsFetchPredictOperation + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1FetchPredictOperationRequest *)object + endpoint:(NSString *)endpoint; + +@end + /** * Generate content with multimodal inputs. * @@ -25058,6 +25170,42 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @end +/** + * GTLRAiplatformQuery_PublishersModelsPredictLongRunning + * + * Method: aiplatform.publishers.models.predictLongRunning + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + * @c kGTLRAuthScopeAiplatformCloudPlatformReadOnly + */ +@interface GTLRAiplatformQuery_PublishersModelsPredictLongRunning : GTLRAiplatformQuery + +/** + * Required. The name of the Endpoint requested to serve the prediction. + * Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` or + * `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` + */ +@property(nonatomic, copy, nullable) NSString *endpoint; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1PredictLongRunningRequest to include + * in the query. + * @param endpoint Required. The name of the Endpoint requested to serve the + * prediction. Format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}` or + * `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` + * + * @return GTLRAiplatformQuery_PublishersModelsPredictLongRunning + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1PredictLongRunningRequest *)object + endpoint:(NSString *)endpoint; + +@end + /** * Generate content with multimodal inputs with streaming support. * @@ -25099,6 +25247,259 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @end +/** + * Creates a reasoning engine. + * + * Method: aiplatform.reasoningEngines.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ReasoningEnginesCreate : GTLRAiplatformQuery + +/** + * Required. The resource name of the Location to create the ReasoningEngine + * in. Format: `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Creates a reasoning engine. + * + * @param object The @c GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngine + * to include in the query. + * + * @return GTLRAiplatformQuery_ReasoningEnginesCreate + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngine *)object; + +@end + +/** + * Deletes a reasoning engine. + * + * Method: aiplatform.reasoningEngines.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ReasoningEnginesDelete : GTLRAiplatformQuery + +/** + * Optional. If set to true, child resources of this reasoning engine will also + * be deleted. Otherwise, the request will fail with FAILED_PRECONDITION error + * when the reasoning engine has undeleted child resources. + */ +@property(nonatomic, assign) BOOL force; + +/** + * Required. The name of the ReasoningEngine resource to be deleted. Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Deletes a reasoning engine. + * + * @param name Required. The name of the ReasoningEngine resource to be + * deleted. Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + * + * @return GTLRAiplatformQuery_ReasoningEnginesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets a reasoning engine. + * + * Method: aiplatform.reasoningEngines.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ReasoningEnginesGet : GTLRAiplatformQuery + +/** + * Required. The name of the ReasoningEngine resource. Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngine. + * + * Gets a reasoning engine. + * + * @param name Required. The name of the ReasoningEngine resource. Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + * + * @return GTLRAiplatformQuery_ReasoningEnginesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists reasoning engines in a location. + * + * Method: aiplatform.reasoningEngines.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ReasoningEnginesList : GTLRAiplatformQuery + +/** + * Optional. The standard list filter. More detail in + * [AIP-160](https://google.aip.dev/160). + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Optional. The standard list page size. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** Optional. The standard list page token. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The resource name of the Location to list the ReasoningEngines + * from. Format: `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRAiplatform_GoogleCloudAiplatformV1ListReasoningEnginesResponse. + * + * Lists reasoning engines in a location. + * + * @return GTLRAiplatformQuery_ReasoningEnginesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)query; + +@end + +/** + * Updates a reasoning engine. + * + * Method: aiplatform.reasoningEngines.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ReasoningEnginesPatch : GTLRAiplatformQuery + +/** + * Identifier. The resource name of the ReasoningEngine. Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Mask specifying which fields to update. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Updates a reasoning engine. + * + * @param object The @c GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngine + * to include in the query. + * @param name Identifier. The resource name of the ReasoningEngine. Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + * + * @return GTLRAiplatformQuery_ReasoningEnginesPatch + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngine *)object + name:(NSString *)name; + +@end + +/** + * Queries using a reasoning engine. + * + * Method: aiplatform.reasoningEngines.query + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ReasoningEnginesQuery : GTLRAiplatformQuery + +/** + * Required. The name of the ReasoningEngine resource to use. Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c + * GTLRAiplatform_GoogleCloudAiplatformV1QueryReasoningEngineResponse. + * + * Queries using a reasoning engine. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1QueryReasoningEngineRequest to + * include in the query. + * @param name Required. The name of the ReasoningEngine resource to use. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + * + * @return GTLRAiplatformQuery_ReasoningEnginesQuery + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1QueryReasoningEngineRequest *)object + name:(NSString *)name; + +@end + +/** + * Streams queries using a reasoning engine. + * + * Method: aiplatform.reasoningEngines.streamQuery + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ReasoningEnginesStreamQuery : GTLRAiplatformQuery + +/** + * Required. The name of the ReasoningEngine resource to use. Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleApiHttpBody. + * + * Streams queries using a reasoning engine. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest to + * include in the query. + * @param name Required. The name of the ReasoningEngine resource to use. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + * + * @return GTLRAiplatformQuery_ReasoningEnginesStreamQuery + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest *)object + name:(NSString *)name; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m index 43405591a..d5da47cc4 100644 --- a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m +++ b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m @@ -14,6 +14,11 @@ // ---------------------------------------------------------------------------- // Constants +// GTLRAndroidManagement_AddEsimParams.activationState +NSString * const kGTLRAndroidManagement_AddEsimParams_ActivationState_Activated = @"ACTIVATED"; +NSString * const kGTLRAndroidManagement_AddEsimParams_ActivationState_ActivationStateUnspecified = @"ACTIVATION_STATE_UNSPECIFIED"; +NSString * const kGTLRAndroidManagement_AddEsimParams_ActivationState_NotActivated = @"NOT_ACTIVATED"; + // GTLRAndroidManagement_AdvancedSecurityOverrides.commonCriteriaMode NSString * const kGTLRAndroidManagement_AdvancedSecurityOverrides_CommonCriteriaMode_CommonCriteriaModeDisabled = @"COMMON_CRITERIA_MODE_DISABLED"; NSString * const kGTLRAndroidManagement_AdvancedSecurityOverrides_CommonCriteriaMode_CommonCriteriaModeEnabled = @"COMMON_CRITERIA_MODE_ENABLED"; @@ -265,11 +270,13 @@ NSString * const kGTLRAndroidManagement_Command_ResetPasswordFlags_ResetPasswordFlagUnspecified = @"RESET_PASSWORD_FLAG_UNSPECIFIED"; // GTLRAndroidManagement_Command.type +NSString * const kGTLRAndroidManagement_Command_Type_AddEsim = @"ADD_ESIM"; NSString * const kGTLRAndroidManagement_Command_Type_ClearAppData = @"CLEAR_APP_DATA"; NSString * const kGTLRAndroidManagement_Command_Type_CommandTypeUnspecified = @"COMMAND_TYPE_UNSPECIFIED"; NSString * const kGTLRAndroidManagement_Command_Type_Lock = @"LOCK"; NSString * const kGTLRAndroidManagement_Command_Type_Reboot = @"REBOOT"; NSString * const kGTLRAndroidManagement_Command_Type_RelinquishOwnership = @"RELINQUISH_OWNERSHIP"; +NSString * const kGTLRAndroidManagement_Command_Type_RemoveEsim = @"REMOVE_ESIM"; NSString * const kGTLRAndroidManagement_Command_Type_RequestDeviceInfo = @"REQUEST_DEVICE_INFO"; NSString * const kGTLRAndroidManagement_Command_Type_ResetPassword = @"RESET_PASSWORD"; NSString * const kGTLRAndroidManagement_Command_Type_StartLostMode = @"START_LOST_MODE"; @@ -445,6 +452,17 @@ NSString * const kGTLRAndroidManagement_EnterpriseUpgradeEvent_UpgradeState_UpgradeStateSucceeded = @"UPGRADE_STATE_SUCCEEDED"; NSString * const kGTLRAndroidManagement_EnterpriseUpgradeEvent_UpgradeState_UpgradeStateUnspecified = @"UPGRADE_STATE_UNSPECIFIED"; +// GTLRAndroidManagement_EsimCommandStatus.status +NSString * const kGTLRAndroidManagement_EsimCommandStatus_Status_ErrorIccIdNotFound = @"ERROR_ICC_ID_NOT_FOUND"; +NSString * const kGTLRAndroidManagement_EsimCommandStatus_Status_ErrorMultipleActiveEsimsNoAvailableSlot = @"ERROR_MULTIPLE_ACTIVE_ESIMS_NO_AVAILABLE_SLOT"; +NSString * const kGTLRAndroidManagement_EsimCommandStatus_Status_ErrorSetupInProgress = @"ERROR_SETUP_IN_PROGRESS"; +NSString * const kGTLRAndroidManagement_EsimCommandStatus_Status_ErrorUserDenied = @"ERROR_USER_DENIED"; +NSString * const kGTLRAndroidManagement_EsimCommandStatus_Status_InProgress = @"IN_PROGRESS"; +NSString * const kGTLRAndroidManagement_EsimCommandStatus_Status_InternalError = @"INTERNAL_ERROR"; +NSString * const kGTLRAndroidManagement_EsimCommandStatus_Status_PendingUserAction = @"PENDING_USER_ACTION"; +NSString * const kGTLRAndroidManagement_EsimCommandStatus_Status_StatusUnspecified = @"STATUS_UNSPECIFIED"; +NSString * const kGTLRAndroidManagement_EsimCommandStatus_Status_Success = @"SUCCESS"; + // GTLRAndroidManagement_GoogleAuthenticationSettings.googleAuthenticationRequired NSString * const kGTLRAndroidManagement_GoogleAuthenticationSettings_GoogleAuthenticationRequired_GoogleAuthenticationRequiredUnspecified = @"GOOGLE_AUTHENTICATION_REQUIRED_UNSPECIFIED"; NSString * const kGTLRAndroidManagement_GoogleAuthenticationSettings_GoogleAuthenticationRequired_NotRequired = @"NOT_REQUIRED"; @@ -465,6 +483,41 @@ NSString * const kGTLRAndroidManagement_InstallConstraint_NetworkTypeConstraint_InstallOnlyOnUnmeteredNetwork = @"INSTALL_ONLY_ON_UNMETERED_NETWORK"; NSString * const kGTLRAndroidManagement_InstallConstraint_NetworkTypeConstraint_NetworkTypeConstraintUnspecified = @"NETWORK_TYPE_CONSTRAINT_UNSPECIFIED"; +// GTLRAndroidManagement_InternalErrorDetails.errorCodeDetail +NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorAddressMissing = @"ERROR_ADDRESS_MISSING"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorCarrierLocked = @"ERROR_CARRIER_LOCKED"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorCertificateError = @"ERROR_CERTIFICATE_ERROR"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorCodeDetailUnspecified = @"ERROR_CODE_DETAIL_UNSPECIFIED"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorConnectionError = @"ERROR_CONNECTION_ERROR"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorDisallowedByPpr = @"ERROR_DISALLOWED_BY_PPR"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorEuiccInsufficientMemory = @"ERROR_EUICC_INSUFFICIENT_MEMORY"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorEuiccMissing = @"ERROR_EUICC_MISSING"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorIncompatibleCarrier = @"ERROR_INCOMPATIBLE_CARRIER"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorInstallProfile = @"ERROR_INSTALL_PROFILE"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorInvalidActivationCode = @"ERROR_INVALID_ACTIVATION_CODE"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorInvalidConfirmationCode = @"ERROR_INVALID_CONFIRMATION_CODE"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorInvalidPort = @"ERROR_INVALID_PORT"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorInvalidResponse = @"ERROR_INVALID_RESPONSE"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorNoProfilesAvailable = @"ERROR_NO_PROFILES_AVAILABLE"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorOperationBusy = @"ERROR_OPERATION_BUSY"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorSimMissing = @"ERROR_SIM_MISSING"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorTimeOut = @"ERROR_TIME_OUT"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorUnsupportedVersion = @"ERROR_UNSUPPORTED_VERSION"; + +// GTLRAndroidManagement_InternalErrorDetails.operationCodeDetail +NSString * const kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationApdu = @"OPERATION_APDU"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationCodeDetailUnspecified = @"OPERATION_CODE_DETAIL_UNSPECIFIED"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationDownload = @"OPERATION_DOWNLOAD"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationEuiccCard = @"OPERATION_EUICC_CARD"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationEuiccGsma = @"OPERATION_EUICC_GSMA"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationHttp = @"OPERATION_HTTP"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationMetadata = @"OPERATION_METADATA"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationSimSlot = @"OPERATION_SIM_SLOT"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationSmdx = @"OPERATION_SMDX"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationSmdxSubjectReasonCode = @"OPERATION_SMDX_SUBJECT_REASON_CODE"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationSwitch = @"OPERATION_SWITCH"; +NSString * const kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationSystem = @"OPERATION_SYSTEM"; + // GTLRAndroidManagement_KeyedAppState.severity NSString * const kGTLRAndroidManagement_KeyedAppState_Severity_Error = @"ERROR"; NSString * const kGTLRAndroidManagement_KeyedAppState_Severity_Info = @"INFO"; @@ -553,6 +606,7 @@ NSString * const kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_UserAction = @"USER_ACTION"; // GTLRAndroidManagement_NonComplianceDetail.specificNonComplianceReason +NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_NewAccountNotInEnterprise = @"NEW_ACCOUNT_NOT_IN_ENTERPRISE"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_OncWifiApiLevel = @"ONC_WIFI_API_LEVEL"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_OncWifiInvalidEnterpriseConfig = @"ONC_WIFI_INVALID_ENTERPRISE_CONFIG"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_OncWifiInvalidValue = @"ONC_WIFI_INVALID_VALUE"; @@ -562,6 +616,7 @@ NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_PasswordPoliciesPasswordNotSufficient = @"PASSWORD_POLICIES_PASSWORD_NOT_SUFFICIENT"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_PasswordPoliciesUserCredentialsConfirmationRequired = @"PASSWORD_POLICIES_USER_CREDENTIALS_CONFIRMATION_REQUIRED"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_PermissibleUsageRestriction = @"PERMISSIBLE_USAGE_RESTRICTION"; +NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_RequiredAccountNotInEnterprise = @"REQUIRED_ACCOUNT_NOT_IN_ENTERPRISE"; NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_SpecificNonComplianceReasonUnspecified = @"SPECIFIC_NON_COMPLIANCE_REASON_UNSPECIFIED"; // GTLRAndroidManagement_NonComplianceDetailCondition.nonComplianceReason @@ -758,6 +813,10 @@ NSString * const kGTLRAndroidManagement_Policy_StayOnPluggedModes_Usb = @"USB"; NSString * const kGTLRAndroidManagement_Policy_StayOnPluggedModes_Wireless = @"WIRELESS"; +// GTLRAndroidManagement_Policy.wipeDataFlags +NSString * const kGTLRAndroidManagement_Policy_WipeDataFlags_WipeDataFlagUnspecified = @"WIPE_DATA_FLAG_UNSPECIFIED"; +NSString * const kGTLRAndroidManagement_Policy_WipeDataFlags_WipeEsims = @"WIPE_ESIMS"; + // GTLRAndroidManagement_PostureDetail.securityRisk NSString * const kGTLRAndroidManagement_PostureDetail_SecurityRisk_CompromisedOs = @"COMPROMISED_OS"; NSString * const kGTLRAndroidManagement_PostureDetail_SecurityRisk_HardwareBackedEvaluationFailed = @"HARDWARE_BACKED_EVALUATION_FAILED"; @@ -881,6 +940,16 @@ NSString * const kGTLRAndroidManagement_SystemUpdateInfo_UpdateStatus_UpdateStatusUnknown = @"UPDATE_STATUS_UNKNOWN"; NSString * const kGTLRAndroidManagement_SystemUpdateInfo_UpdateStatus_UpToDate = @"UP_TO_DATE"; +// GTLRAndroidManagement_TelephonyInfo.activationState +NSString * const kGTLRAndroidManagement_TelephonyInfo_ActivationState_Activated = @"ACTIVATED"; +NSString * const kGTLRAndroidManagement_TelephonyInfo_ActivationState_ActivationStateUnspecified = @"ACTIVATION_STATE_UNSPECIFIED"; +NSString * const kGTLRAndroidManagement_TelephonyInfo_ActivationState_NotActivated = @"NOT_ACTIVATED"; + +// GTLRAndroidManagement_TelephonyInfo.configMode +NSString * const kGTLRAndroidManagement_TelephonyInfo_ConfigMode_AdminConfigured = @"ADMIN_CONFIGURED"; +NSString * const kGTLRAndroidManagement_TelephonyInfo_ConfigMode_ConfigModeUnspecified = @"CONFIG_MODE_UNSPECIFIED"; +NSString * const kGTLRAndroidManagement_TelephonyInfo_ConfigMode_UserConfigured = @"USER_CONFIGURED"; + // GTLRAndroidManagement_UsageLog.enabledLogTypes NSString * const kGTLRAndroidManagement_UsageLog_EnabledLogTypes_LogTypeUnspecified = @"LOG_TYPE_UNSPECIFIED"; NSString * const kGTLRAndroidManagement_UsageLog_EnabledLogTypes_NetworkActivityLogs = @"NETWORK_ACTIVITY_LOGS"; @@ -956,6 +1025,11 @@ NSString * const kGTLRAndroidManagement_WifiSsidPolicy_WifiSsidPolicyType_WifiSsidDenylist = @"WIFI_SSID_DENYLIST"; NSString * const kGTLRAndroidManagement_WifiSsidPolicy_WifiSsidPolicyType_WifiSsidPolicyTypeUnspecified = @"WIFI_SSID_POLICY_TYPE_UNSPECIFIED"; +// GTLRAndroidManagement_WorkAccountSetupConfig.authenticationType +NSString * const kGTLRAndroidManagement_WorkAccountSetupConfig_AuthenticationType_AuthenticationTypeNotEnforced = @"AUTHENTICATION_TYPE_NOT_ENFORCED"; +NSString * const kGTLRAndroidManagement_WorkAccountSetupConfig_AuthenticationType_AuthenticationTypeUnspecified = @"AUTHENTICATION_TYPE_UNSPECIFIED"; +NSString * const kGTLRAndroidManagement_WorkAccountSetupConfig_AuthenticationType_GoogleAuthenticated = @"GOOGLE_AUTHENTICATED"; + #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdeprecated-declarations" #pragma clang diagnostic ignored "-Wdeprecated-implementations" @@ -979,6 +1053,16 @@ @implementation GTLRAndroidManagement_AdbShellInteractiveEvent @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidManagement_AddEsimParams +// + +@implementation GTLRAndroidManagement_AddEsimParams +@dynamic activationCode, activationState; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidManagement_AdvancedSecurityOverrides @@ -1380,11 +1464,11 @@ + (Class)classForAdditionalProperties { // @implementation GTLRAndroidManagement_Command -@dynamic clearAppsDataParams, clearAppsDataStatus, createTime, duration, - errorCode, newPassword, requestDeviceInfoParams, - requestDeviceInfoStatus, resetPasswordFlags, startLostModeParams, - startLostModeStatus, stopLostModeParams, stopLostModeStatus, type, - userName; +@dynamic addEsimParams, clearAppsDataParams, clearAppsDataStatus, createTime, + duration, errorCode, esimStatus, newPassword, removeEsimParams, + requestDeviceInfoParams, requestDeviceInfoStatus, resetPasswordFlags, + startLostModeParams, startLostModeStatus, stopLostModeParams, + stopLostModeStatus, type, userName; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1717,6 +1801,26 @@ @implementation GTLRAndroidManagement_EnterpriseUpgradeEvent @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidManagement_EsimCommandStatus +// + +@implementation GTLRAndroidManagement_EsimCommandStatus +@dynamic esimInfo, internalErrorDetails, status; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidManagement_EsimInfo +// + +@implementation GTLRAndroidManagement_EsimInfo +@dynamic iccId; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidManagement_EuiccChipInfo @@ -1888,6 +1992,16 @@ @implementation GTLRAndroidManagement_InstallConstraint @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidManagement_InternalErrorDetails +// + +@implementation GTLRAndroidManagement_InternalErrorDetails +@dynamic errorCode, errorCodeDetail, operationCode, operationCodeDetail; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidManagement_IssueCommandResponse @@ -2593,7 +2707,7 @@ @implementation GTLRAndroidManagement_Policy systemUpdate, tetheringConfigDisabled, uninstallAppsDisabled, unmuteMicrophoneDisabled, usageLog, usbFileTransferDisabled, usbMassStorageEnabled, version, vpnConfigDisabled, wifiConfigDisabled, - wifiConfigsLockdownEnabled; + wifiConfigsLockdownEnabled, wipeDataFlags, workAccountSetupConfig; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -2610,7 +2724,8 @@ @implementation GTLRAndroidManagement_Policy @"persistentPreferredActivities" : [GTLRAndroidManagement_PersistentPreferredActivity class], @"policyEnforcementRules" : [GTLRAndroidManagement_PolicyEnforcementRule class], @"setupActions" : [GTLRAndroidManagement_SetupAction class], - @"stayOnPluggedModes" : [NSString class] + @"stayOnPluggedModes" : [NSString class], + @"wipeDataFlags" : [NSString class] }; return map; } @@ -2738,6 +2853,16 @@ @implementation GTLRAndroidManagement_RemoteLockEvent @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidManagement_RemoveEsimParams +// + +@implementation GTLRAndroidManagement_RemoveEsimParams +@dynamic iccId; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidManagement_RequestDeviceInfoParams @@ -2985,7 +3110,7 @@ @implementation GTLRAndroidManagement_SystemUpdateInfo // @implementation GTLRAndroidManagement_TelephonyInfo -@dynamic carrierName, iccId, phoneNumber; +@dynamic activationState, carrierName, configMode, iccId, phoneNumber; @end @@ -3194,4 +3319,14 @@ @implementation GTLRAndroidManagement_WipeAction @implementation GTLRAndroidManagement_WipeFailureEvent @end + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidManagement_WorkAccountSetupConfig +// + +@implementation GTLRAndroidManagement_WorkAccountSetupConfig +@dynamic authenticationType, requiredAccountEmail; +@end + #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementQuery.m b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementQuery.m index cce4c6b03..58dc08840 100644 --- a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementQuery.m +++ b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementQuery.m @@ -21,6 +21,7 @@ // wipeDataFlags NSString * const kGTLRAndroidManagementWipeDataFlagsPreserveResetProtectionData = @"PRESERVE_RESET_PROTECTION_DATA"; NSString * const kGTLRAndroidManagementWipeDataFlagsWipeDataFlagUnspecified = @"WIPE_DATA_FLAG_UNSPECIFIED"; +NSString * const kGTLRAndroidManagementWipeDataFlagsWipeEsims = @"WIPE_ESIMS"; NSString * const kGTLRAndroidManagementWipeDataFlagsWipeExternalStorage = @"WIPE_EXTERNAL_STORAGE"; // ---------------------------------------------------------------------------- diff --git a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h index 480e61c82..e889d79c1 100644 --- a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h +++ b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h @@ -17,6 +17,7 @@ @class GTLRAndroidManagement_AdbShellCommandEvent; @class GTLRAndroidManagement_AdbShellInteractiveEvent; +@class GTLRAndroidManagement_AddEsimParams; @class GTLRAndroidManagement_AdvancedSecurityOverrides; @class GTLRAndroidManagement_AlwaysOnVpnPackage; @class GTLRAndroidManagement_ApiLevelCondition; @@ -63,6 +64,8 @@ @class GTLRAndroidManagement_EnrollmentCompleteEvent; @class GTLRAndroidManagement_EnrollmentToken; @class GTLRAndroidManagement_Enterprise; +@class GTLRAndroidManagement_EsimCommandStatus; +@class GTLRAndroidManagement_EsimInfo; @class GTLRAndroidManagement_EuiccChipInfo; @class GTLRAndroidManagement_ExtensionConfig; @class GTLRAndroidManagement_ExternalData; @@ -73,6 +76,7 @@ @class GTLRAndroidManagement_HardwareInfo; @class GTLRAndroidManagement_HardwareStatus; @class GTLRAndroidManagement_InstallConstraint; +@class GTLRAndroidManagement_InternalErrorDetails; @class GTLRAndroidManagement_KeyDestructionEvent; @class GTLRAndroidManagement_KeyedAppState; @class GTLRAndroidManagement_KeyGeneratedEvent; @@ -125,6 +129,7 @@ @class GTLRAndroidManagement_PreferentialNetworkServiceSettings; @class GTLRAndroidManagement_ProxyInfo; @class GTLRAndroidManagement_RemoteLockEvent; +@class GTLRAndroidManagement_RemoveEsimParams; @class GTLRAndroidManagement_RequestDeviceInfoParams; @class GTLRAndroidManagement_RequestDeviceInfoStatus; @class GTLRAndroidManagement_ScreenBrightnessSettings; @@ -159,6 +164,7 @@ @class GTLRAndroidManagement_WifiSsidPolicy; @class GTLRAndroidManagement_WipeAction; @class GTLRAndroidManagement_WipeFailureEvent; +@class GTLRAndroidManagement_WorkAccountSetupConfig; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -171,6 +177,33 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the classes' properties below. +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_AddEsimParams.activationState + +/** + * The eSIM is automatically activated after downloading. Setting this as the + * activation state for personally-owned devices will result in the command + * being rejected. + * + * Value: "ACTIVATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_AddEsimParams_ActivationState_Activated; +/** + * eSIM activation state is not specified. This defaults to the eSIM profile + * being NOT_ACTIVATED on personally-owned devices and ACTIVATED on + * company-owned devices. + * + * Value: "ACTIVATION_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_AddEsimParams_ActivationState_ActivationStateUnspecified; +/** + * The eSIM profile is downloaded but not activated. In this case, the user + * will need to activate the eSIM manually on the device. + * + * Value: "NOT_ACTIVATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_AddEsimParams_ActivationState_NotActivated; + // ---------------------------------------------------------------------------- // GTLRAndroidManagement_AdvancedSecurityOverrides.commonCriteriaMode @@ -1550,6 +1583,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Command_ResetPasswordF // ---------------------------------------------------------------------------- // GTLRAndroidManagement_Command.type +/** + * Adds an eSIM profile to the device. This is supported on Android 15 and + * above. See also addEsimParams. + * + * Value: "ADD_ESIM" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Command_Type_AddEsim; /** * Clears the application data of specified apps. This is supported on Android * 9 and above. Note that an application can store data outside of its @@ -1587,6 +1627,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Command_Type_Reboot; * Value: "RELINQUISH_OWNERSHIP" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Command_Type_RelinquishOwnership; +/** + * Removes an eSIM profile from the device. This is supported on Android 15 and + * above. See also removeEsimParams. + * + * Value: "REMOVE_ESIM" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Command_Type_RemoveEsim; /** * Request information related to the device. * @@ -2541,6 +2588,73 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_EnterpriseUpgradeEvent */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_EnterpriseUpgradeEvent_UpgradeState_UpgradeStateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_EsimCommandStatus.status + +/** + * For a REMOVE_ESIM command, the iccId of the eSIM to be removed was not found + * on the device. This could either mean the eSIM does not belong to the + * enterprise or the eSIM corresponding to the iccId is not present on the + * device. + * + * Value: "ERROR_ICC_ID_NOT_FOUND" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_EsimCommandStatus_Status_ErrorIccIdNotFound; +/** + * The ADD_ESIM command failed when attempting to add a new eSIM with its + * activation state set to ACTIVATED since multiple eSIM slots on the device + * contain active eSIM profiles and there is no free eSIM slot available. To + * resolve this, the new eSIM can be added with its activation state as + * NOT_ACTIVATED for later manual activation, or the user must first deactivate + * an existing active eSIM for the operation to proceed. + * + * Value: "ERROR_MULTIPLE_ACTIVE_ESIMS_NO_AVAILABLE_SLOT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_EsimCommandStatus_Status_ErrorMultipleActiveEsimsNoAvailableSlot; +/** + * The eSIM operation cannot be executed when setup is in progress. + * + * Value: "ERROR_SETUP_IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_EsimCommandStatus_Status_ErrorSetupInProgress; +/** + * The user has denied the eSIM operation. + * + * Value: "ERROR_USER_DENIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_EsimCommandStatus_Status_ErrorUserDenied; +/** + * The eSIM operation is in progress. + * + * Value: "IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_EsimCommandStatus_Status_InProgress; +/** + * An error has occurred while trying to add or remove the eSIM on the device, + * see internal_error_details. + * + * Value: "INTERNAL_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_EsimCommandStatus_Status_InternalError; +/** + * The user needs to take an action for the eSIM operation to proceed. + * + * Value: "PENDING_USER_ACTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_EsimCommandStatus_Status_PendingUserAction; +/** + * Unspecified. This value is not used. + * + * Value: "STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_EsimCommandStatus_Status_StatusUnspecified; +/** + * The eSIM operation was successfully performed on the device. + * + * Value: "SUCCESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_EsimCommandStatus_Status_Success; + // ---------------------------------------------------------------------------- // GTLRAndroidManagement_GoogleAuthenticationSettings.googleAuthenticationRequired @@ -2630,6 +2744,268 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InstallConstraint_Netw */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InstallConstraint_NetworkTypeConstraint_NetworkTypeConstraintUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_InternalErrorDetails.errorCodeDetail + +/** + * See EuiccManager.ERROR_ADDRESS_MISSING + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_ADDRESS_MISSING) + * for details. + * + * Value: "ERROR_ADDRESS_MISSING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorAddressMissing; +/** + * See EuiccManager.ERROR_CARRIER_LOCKED + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_CARRIER_LOCKED) + * for details. + * + * Value: "ERROR_CARRIER_LOCKED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorCarrierLocked; +/** + * See EuiccManager.ERROR_CERTIFICATE_ERROR + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_CERTIFICATE_ERROR) + * for details. + * + * Value: "ERROR_CERTIFICATE_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorCertificateError; +/** + * Error code detail is unspecified. The error_code is not recognized by + * Android Management API. However, see error_code + * + * Value: "ERROR_CODE_DETAIL_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorCodeDetailUnspecified; +/** + * See EuiccManager.ERROR_CONNECTION_ERROR + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_CONNECTION_ERROR) + * for details. + * + * Value: "ERROR_CONNECTION_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorConnectionError; +/** + * See EuiccManager.ERROR_DISALLOWED_BY_PPR + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_DISALLOWED_BY_PPR) + * for details. + * + * Value: "ERROR_DISALLOWED_BY_PPR" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorDisallowedByPpr; +/** + * See EuiccManager.ERROR_EUICC_INSUFFICIENT_MEMORY + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_EUICC_INSUFFICIENT_MEMORY) + * for details. + * + * Value: "ERROR_EUICC_INSUFFICIENT_MEMORY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorEuiccInsufficientMemory; +/** + * See EuiccManager.ERROR_EUICC_MISSING + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_EUICC_MISSING) + * for details. + * + * Value: "ERROR_EUICC_MISSING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorEuiccMissing; +/** + * See EuiccManager.ERROR_INCOMPATIBLE_CARRIER + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_INCOMPATIBLE_CARRIER) + * for details. + * + * Value: "ERROR_INCOMPATIBLE_CARRIER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorIncompatibleCarrier; +/** + * See EuiccManager.ERROR_INSTALL_PROFILE + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_INSTALL_PROFILE) + * for details. + * + * Value: "ERROR_INSTALL_PROFILE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorInstallProfile; +/** + * See EuiccManager.ERROR_INVALID_ACTIVATION_CODE + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_INVALID_ACTIVATION_CODE) + * for details. + * + * Value: "ERROR_INVALID_ACTIVATION_CODE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorInvalidActivationCode; +/** + * See EuiccManager.ERROR_INVALID_CONFIRMATION_CODE + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_INVALID_CONFIRMATION_CODE) + * for details. + * + * Value: "ERROR_INVALID_CONFIRMATION_CODE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorInvalidConfirmationCode; +/** + * See EuiccManager.ERROR_INVALID_PORT + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_INVALID_PORT) + * for details. + * + * Value: "ERROR_INVALID_PORT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorInvalidPort; +/** + * See EuiccManager.ERROR_INVALID_RESPONSE + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_INVALID_RESPONSE) + * for details. + * + * Value: "ERROR_INVALID_RESPONSE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorInvalidResponse; +/** + * See EuiccManager.ERROR_NO_PROFILES_AVAILABLE + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_NO_PROFILES_AVAILABLE) + * for details. + * + * Value: "ERROR_NO_PROFILES_AVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorNoProfilesAvailable; +/** + * See EuiccManager.ERROR_OPERATION_BUSY + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_OPERATION_BUSY) + * for details. + * + * Value: "ERROR_OPERATION_BUSY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorOperationBusy; +/** + * See EuiccManager.ERROR_SIM_MISSING + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_SIM_MISSING) + * for details. + * + * Value: "ERROR_SIM_MISSING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorSimMissing; +/** + * See EuiccManager.ERROR_TIME_OUT + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_TIME_OUT) + * for details. + * + * Value: "ERROR_TIME_OUT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorTimeOut; +/** + * See EuiccManager.ERROR_UNSUPPORTED_VERSION + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_UNSUPPORTED_VERSION) + * for details. + * + * Value: "ERROR_UNSUPPORTED_VERSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorUnsupportedVersion; + +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_InternalErrorDetails.operationCodeDetail + +/** + * See EuiccManager.OPERATION_APDU + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_APDU) + * for details. + * + * Value: "OPERATION_APDU" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationApdu; +/** + * Operation code detail is unspecified. The operation_code is not recognized + * by Android Management API. However, see operation_code. + * + * Value: "OPERATION_CODE_DETAIL_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationCodeDetailUnspecified; +/** + * See EuiccManager.OPERATION_DOWNLOAD + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_DOWNLOAD) + * for details. + * + * Value: "OPERATION_DOWNLOAD" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationDownload; +/** + * See EuiccManager.OPERATION_EUICC_CARD + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_EUICC_CARD) + * for details. + * + * Value: "OPERATION_EUICC_CARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationEuiccCard; +/** + * See EuiccManager.OPERATION_EUICC_GSMA + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_EUICC_GSMA) + * for details. + * + * Value: "OPERATION_EUICC_GSMA" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationEuiccGsma; +/** + * See EuiccManager.OPERATION_HTTP + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_HTTP) + * for details. + * + * Value: "OPERATION_HTTP" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationHttp; +/** + * See EuiccManager.OPERATION_METADATA + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_METADATA) + * for details. + * + * Value: "OPERATION_METADATA" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationMetadata; +/** + * See EuiccManager.OPERATION_SIM_SLOT + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_SIM_SLOT) + * for details. + * + * Value: "OPERATION_SIM_SLOT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationSimSlot; +/** + * See EuiccManager.OPERATION_SMDX + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_SMDX) + * for details. + * + * Value: "OPERATION_SMDX" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationSmdx; +/** + * See EuiccManager.OPERATION_SMDX_SUBJECT_REASON_CODE + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_SMDX_SUBJECT_REASON_CODE) + * for details. Note that, in this case, error_code is the least significant 3 + * bytes of the EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE) + * specifying the subject code and the reason code as indicated here + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_SMDX_SUBJECT_REASON_CODE). + * The most significant byte of the integer is zeroed out. For example, a + * Subject Code of 8.11.1 and a Reason Code of 5.1 is represented in error_code + * as 0000 0000 1000 1011 0001 0000 0101 0001 in binary, which is 9113681 in + * decimal. + * + * Value: "OPERATION_SMDX_SUBJECT_REASON_CODE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationSmdxSubjectReasonCode; +/** + * See EuiccManager.OPERATION_SWITCH + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_SWITCH) + * for details. + * + * Value: "OPERATION_SWITCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationSwitch; +/** + * See EuiccManager.OPERATION_SYSTEM + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_SYSTEM) + * for details. + * + * Value: "OPERATION_SYSTEM" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationSystem; + // ---------------------------------------------------------------------------- // GTLRAndroidManagement_KeyedAppState.severity @@ -3100,6 +3476,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetail_No // ---------------------------------------------------------------------------- // GTLRAndroidManagement_NonComplianceDetail.specificNonComplianceReason +/** + * Work account added by the user is not part of the enterprise. + * nonComplianceReason is set to USER_ACTION. + * + * Value: "NEW_ACCOUNT_NOT_IN_ENTERPRISE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_NewAccountNotInEnterprise; /** * The ONC Wi-Fi setting is not supported in the API level of the Android * version running on the device. fieldPath specifies which field value is not @@ -3172,6 +3555,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetail_Sp * Value: "PERMISSIBLE_USAGE_RESTRICTION" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_PermissibleUsageRestriction; +/** + * Work account required by the workAccountSetupConfig policy setting is not + * part of the enterprise anymore. nonComplianceReason is set to USER_ACTION. + * + * Value: "REQUIRED_ACCOUNT_NOT_IN_ENTERPRISE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_RequiredAccountNotInEnterprise; /** * Specific non-compliance reason is not specified. Fields in * specific_non_compliance_context are not set. @@ -4257,6 +4647,27 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_StayOnPluggedMo */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_StayOnPluggedModes_Wireless; +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_Policy.wipeDataFlags + +/** + * This value must not be used. + * + * Value: "WIPE_DATA_FLAG_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_WipeDataFlags_WipeDataFlagUnspecified; +/** + * For company-owned devices, setting this in wipeDataFlags will remove all + * eSIMs on the device when wipe is triggered due to any reason. On + * personally-owned devices, this will remove only managed eSIMs on the device. + * (eSIMs which are added via the ADD_ESIM command). This is supported on + * devices running Android 15 and above. A nonComplianceDetail with API_LEVEL + * is reported if the Android version is less than 15. + * + * Value: "WIPE_ESIMS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_WipeDataFlags_WipeEsims; + // ---------------------------------------------------------------------------- // GTLRAndroidManagement_PostureDetail.securityRisk @@ -4892,6 +5303,50 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_SystemUpdateInfo_Updat */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_SystemUpdateInfo_UpdateStatus_UpToDate; +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_TelephonyInfo.activationState + +/** + * The SIM card is activated. + * + * Value: "ACTIVATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_TelephonyInfo_ActivationState_Activated; +/** + * Activation state is not specified. + * + * Value: "ACTIVATION_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_TelephonyInfo_ActivationState_ActivationStateUnspecified; +/** + * The SIM card is not activated. + * + * Value: "NOT_ACTIVATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_TelephonyInfo_ActivationState_NotActivated; + +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_TelephonyInfo.configMode + +/** + * The admin has configured this SIM. + * + * Value: "ADMIN_CONFIGURED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_TelephonyInfo_ConfigMode_AdminConfigured; +/** + * The configuration mode is unspecified. + * + * Value: "CONFIG_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_TelephonyInfo_ConfigMode_ConfigModeUnspecified; +/** + * The user has configured this SIM. + * + * Value: "USER_CONFIGURED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_TelephonyInfo_ConfigMode_UserConfigured; + // ---------------------------------------------------------------------------- // GTLRAndroidManagement_UsageLog.enabledLogTypes @@ -5325,6 +5780,28 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WifiSsidPolicy_WifiSsi */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WifiSsidPolicy_WifiSsidPolicyType_WifiSsidPolicyTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_WorkAccountSetupConfig.authenticationType + +/** + * Authentication status of user on device is not enforced. + * + * Value: "AUTHENTICATION_TYPE_NOT_ENFORCED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WorkAccountSetupConfig_AuthenticationType_AuthenticationTypeNotEnforced; +/** + * Unspecified. Defaults to AUTHENTICATION_TYPE_NOT_ENFORCED. + * + * Value: "AUTHENTICATION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WorkAccountSetupConfig_AuthenticationType_AuthenticationTypeUnspecified; +/** + * Requires device to be managed with a Google authenticated account. + * + * Value: "GOOGLE_AUTHENTICATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WorkAccountSetupConfig_AuthenticationType_GoogleAuthenticated; + /** * A shell command was issued over ADB via “adb shell command”. */ @@ -5346,6 +5823,37 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WifiSsidPolicy_WifiSsi @end +/** + * Parameters associated with the ADD_ESIM command to add an eSIM profile to + * the device. + */ +@interface GTLRAndroidManagement_AddEsimParams : GTLRObject + +/** Required. The activation code for the eSIM profile. */ +@property(nonatomic, copy, nullable) NSString *activationCode; + +/** + * Required. The activation state of the eSIM profile once it is downloaded. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_AddEsimParams_ActivationState_Activated The + * eSIM is automatically activated after downloading. Setting this as the + * activation state for personally-owned devices will result in the + * command being rejected. (Value: "ACTIVATED") + * @arg @c kGTLRAndroidManagement_AddEsimParams_ActivationState_ActivationStateUnspecified + * eSIM activation state is not specified. This defaults to the eSIM + * profile being NOT_ACTIVATED on personally-owned devices and ACTIVATED + * on company-owned devices. (Value: "ACTIVATION_STATE_UNSPECIFIED") + * @arg @c kGTLRAndroidManagement_AddEsimParams_ActivationState_NotActivated + * The eSIM profile is downloaded but not activated. In this case, the + * user will need to activate the eSIM manually on the device. (Value: + * "NOT_ACTIVATED") + */ +@property(nonatomic, copy, nullable) NSString *activationState; + +@end + + /** * Advanced security settings. In most cases, setting these is not needed. */ @@ -6851,6 +7359,14 @@ GTLR_DEPRECATED */ @interface GTLRAndroidManagement_Command : GTLRObject +/** + * Optional. Parameters for the ADD_ESIM command to add an eSIM profile to the + * device. If this is set, then it is suggested that type should not be set. In + * this case, the server automatically sets it to ADD_ESIM. It is also + * acceptable to explicitly set type to ADD_ESIM. + */ +@property(nonatomic, strong, nullable) GTLRAndroidManagement_AddEsimParams *addEsimParams; + /** * Parameters for the CLEAR_APP_DATA command to clear the data of specified * apps from the device. See ClearAppsDataParams. If this is set, then it is @@ -6905,6 +7421,9 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *errorCode; +/** Output only. Status of an ADD_ESIM or REMOVE_ESIM command. */ +@property(nonatomic, strong, nullable) GTLRAndroidManagement_EsimCommandStatus *esimStatus; + /** * For commands of type RESET_PASSWORD, optionally specifies the new password. * Note: The new password must be at least 6 characters long if it is numeric @@ -6913,6 +7432,14 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *newPassword NS_RETURNS_NOT_RETAINED; +/** + * Optional. Parameters for the REMOVE_ESIM command to remove an eSIM profile + * from the device. If this is set, then it is suggested that type should not + * be set. In this case, the server automatically sets it to REMOVE_ESIM. It is + * also acceptable to explicitly set type to REMOVE_ESIM. + */ +@property(nonatomic, strong, nullable) GTLRAndroidManagement_RemoveEsimParams *removeEsimParams; + /** * Optional. Parameters for the REQUEST_DEVICE_INFO command to get device * related information. If this is set, then it is suggested that type should @@ -6962,6 +7489,9 @@ GTLR_DEPRECATED * The type of the command. * * Likely values: + * @arg @c kGTLRAndroidManagement_Command_Type_AddEsim Adds an eSIM profile + * to the device. This is supported on Android 15 and above. See also + * addEsimParams. (Value: "ADD_ESIM") * @arg @c kGTLRAndroidManagement_Command_Type_ClearAppData Clears the * application data of specified apps. This is supported on Android 9 and * above. Note that an application can store data outside of its @@ -6980,6 +7510,9 @@ GTLR_DEPRECATED * associated with the personal profile(s) are preserved. The device will * be deleted from the server after it acknowledges the command. (Value: * "RELINQUISH_OWNERSHIP") + * @arg @c kGTLRAndroidManagement_Command_Type_RemoveEsim Removes an eSIM + * profile from the device. This is supported on Android 15 and above. + * See also removeEsimParams. (Value: "REMOVE_ESIM") * @arg @c kGTLRAndroidManagement_Command_Type_RequestDeviceInfo Request * information related to the device. (Value: "REQUEST_DEVICE_INFO") * @arg @c kGTLRAndroidManagement_Command_Type_ResetPassword Reset the user's @@ -8464,6 +8997,73 @@ GTLR_DEPRECATED @end +/** + * Status and error details (if present) of an ADD_ESIM or REMOVE_ESIM command. + */ +@interface GTLRAndroidManagement_EsimCommandStatus : GTLRObject + +/** + * Output only. Information about the eSIM added or removed. This is populated + * only when the eSIM operation status is SUCCESS. + */ +@property(nonatomic, strong, nullable) GTLRAndroidManagement_EsimInfo *esimInfo; + +/** + * Output only. Details of the error if the status is set to INTERNAL_ERROR. + */ +@property(nonatomic, strong, nullable) GTLRAndroidManagement_InternalErrorDetails *internalErrorDetails; + +/** + * Output only. Status of an ADD_ESIM or REMOVE_ESIM command. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_EsimCommandStatus_Status_ErrorIccIdNotFound + * For a REMOVE_ESIM command, the iccId of the eSIM to be removed was not + * found on the device. This could either mean the eSIM does not belong + * to the enterprise or the eSIM corresponding to the iccId is not + * present on the device. (Value: "ERROR_ICC_ID_NOT_FOUND") + * @arg @c kGTLRAndroidManagement_EsimCommandStatus_Status_ErrorMultipleActiveEsimsNoAvailableSlot + * The ADD_ESIM command failed when attempting to add a new eSIM with its + * activation state set to ACTIVATED since multiple eSIM slots on the + * device contain active eSIM profiles and there is no free eSIM slot + * available. To resolve this, the new eSIM can be added with its + * activation state as NOT_ACTIVATED for later manual activation, or the + * user must first deactivate an existing active eSIM for the operation + * to proceed. (Value: "ERROR_MULTIPLE_ACTIVE_ESIMS_NO_AVAILABLE_SLOT") + * @arg @c kGTLRAndroidManagement_EsimCommandStatus_Status_ErrorSetupInProgress + * The eSIM operation cannot be executed when setup is in progress. + * (Value: "ERROR_SETUP_IN_PROGRESS") + * @arg @c kGTLRAndroidManagement_EsimCommandStatus_Status_ErrorUserDenied + * The user has denied the eSIM operation. (Value: "ERROR_USER_DENIED") + * @arg @c kGTLRAndroidManagement_EsimCommandStatus_Status_InProgress The + * eSIM operation is in progress. (Value: "IN_PROGRESS") + * @arg @c kGTLRAndroidManagement_EsimCommandStatus_Status_InternalError An + * error has occurred while trying to add or remove the eSIM on the + * device, see internal_error_details. (Value: "INTERNAL_ERROR") + * @arg @c kGTLRAndroidManagement_EsimCommandStatus_Status_PendingUserAction + * The user needs to take an action for the eSIM operation to proceed. + * (Value: "PENDING_USER_ACTION") + * @arg @c kGTLRAndroidManagement_EsimCommandStatus_Status_StatusUnspecified + * Unspecified. This value is not used. (Value: "STATUS_UNSPECIFIED") + * @arg @c kGTLRAndroidManagement_EsimCommandStatus_Status_Success The eSIM + * operation was successfully performed on the device. (Value: "SUCCESS") + */ +@property(nonatomic, copy, nullable) NSString *status; + +@end + + +/** + * Details of the eSIM added or removed. + */ +@interface GTLRAndroidManagement_EsimInfo : GTLRObject + +/** Output only. ICC ID of the eSIM. */ +@property(nonatomic, copy, nullable) NSString *iccId; + +@end + + /** * Information related to the eUICC chip. */ @@ -8881,6 +9481,179 @@ GTLR_DEPRECATED @end +/** + * Internal error details if present for the ADD_ESIM or REMOVE_ESIM command. + */ +@interface GTLRAndroidManagement_InternalErrorDetails : GTLRObject + +/** + * Output only. Integer representation of the error code as specified here + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE). + * See also, OPERATION_SMDX_SUBJECT_REASON_CODE. See error_code_detail for more + * details. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *errorCode; + +/** + * Output only. The error code detail corresponding to the error_code. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorAddressMissing + * See EuiccManager.ERROR_ADDRESS_MISSING + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_ADDRESS_MISSING) + * for details. (Value: "ERROR_ADDRESS_MISSING") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorCarrierLocked + * See EuiccManager.ERROR_CARRIER_LOCKED + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_CARRIER_LOCKED) + * for details. (Value: "ERROR_CARRIER_LOCKED") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorCertificateError + * See EuiccManager.ERROR_CERTIFICATE_ERROR + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_CERTIFICATE_ERROR) + * for details. (Value: "ERROR_CERTIFICATE_ERROR") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorCodeDetailUnspecified + * Error code detail is unspecified. The error_code is not recognized by + * Android Management API. However, see error_code (Value: + * "ERROR_CODE_DETAIL_UNSPECIFIED") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorConnectionError + * See EuiccManager.ERROR_CONNECTION_ERROR + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_CONNECTION_ERROR) + * for details. (Value: "ERROR_CONNECTION_ERROR") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorDisallowedByPpr + * See EuiccManager.ERROR_DISALLOWED_BY_PPR + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_DISALLOWED_BY_PPR) + * for details. (Value: "ERROR_DISALLOWED_BY_PPR") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorEuiccInsufficientMemory + * See EuiccManager.ERROR_EUICC_INSUFFICIENT_MEMORY + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_EUICC_INSUFFICIENT_MEMORY) + * for details. (Value: "ERROR_EUICC_INSUFFICIENT_MEMORY") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorEuiccMissing + * See EuiccManager.ERROR_EUICC_MISSING + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_EUICC_MISSING) + * for details. (Value: "ERROR_EUICC_MISSING") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorIncompatibleCarrier + * See EuiccManager.ERROR_INCOMPATIBLE_CARRIER + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_INCOMPATIBLE_CARRIER) + * for details. (Value: "ERROR_INCOMPATIBLE_CARRIER") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorInstallProfile + * See EuiccManager.ERROR_INSTALL_PROFILE + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_INSTALL_PROFILE) + * for details. (Value: "ERROR_INSTALL_PROFILE") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorInvalidActivationCode + * See EuiccManager.ERROR_INVALID_ACTIVATION_CODE + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_INVALID_ACTIVATION_CODE) + * for details. (Value: "ERROR_INVALID_ACTIVATION_CODE") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorInvalidConfirmationCode + * See EuiccManager.ERROR_INVALID_CONFIRMATION_CODE + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_INVALID_CONFIRMATION_CODE) + * for details. (Value: "ERROR_INVALID_CONFIRMATION_CODE") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorInvalidPort + * See EuiccManager.ERROR_INVALID_PORT + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_INVALID_PORT) + * for details. (Value: "ERROR_INVALID_PORT") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorInvalidResponse + * See EuiccManager.ERROR_INVALID_RESPONSE + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_INVALID_RESPONSE) + * for details. (Value: "ERROR_INVALID_RESPONSE") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorNoProfilesAvailable + * See EuiccManager.ERROR_NO_PROFILES_AVAILABLE + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_NO_PROFILES_AVAILABLE) + * for details. (Value: "ERROR_NO_PROFILES_AVAILABLE") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorOperationBusy + * See EuiccManager.ERROR_OPERATION_BUSY + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_OPERATION_BUSY) + * for details. (Value: "ERROR_OPERATION_BUSY") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorSimMissing + * See EuiccManager.ERROR_SIM_MISSING + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_SIM_MISSING) + * for details. (Value: "ERROR_SIM_MISSING") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorTimeOut + * See EuiccManager.ERROR_TIME_OUT + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_TIME_OUT) + * for details. (Value: "ERROR_TIME_OUT") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_ErrorCodeDetail_ErrorUnsupportedVersion + * See EuiccManager.ERROR_UNSUPPORTED_VERSION + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#ERROR_UNSUPPORTED_VERSION) + * for details. (Value: "ERROR_UNSUPPORTED_VERSION") + */ +@property(nonatomic, copy, nullable) NSString *errorCodeDetail; + +/** + * Output only. Integer representation of the operation code as specified here + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE). + * See operation_code_detail for more details. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *operationCode; + +/** + * Output only. The operation code detail corresponding to the operation_code. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationApdu + * See EuiccManager.OPERATION_APDU + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_APDU) + * for details. (Value: "OPERATION_APDU") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationCodeDetailUnspecified + * Operation code detail is unspecified. The operation_code is not + * recognized by Android Management API. However, see operation_code. + * (Value: "OPERATION_CODE_DETAIL_UNSPECIFIED") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationDownload + * See EuiccManager.OPERATION_DOWNLOAD + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_DOWNLOAD) + * for details. (Value: "OPERATION_DOWNLOAD") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationEuiccCard + * See EuiccManager.OPERATION_EUICC_CARD + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_EUICC_CARD) + * for details. (Value: "OPERATION_EUICC_CARD") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationEuiccGsma + * See EuiccManager.OPERATION_EUICC_GSMA + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_EUICC_GSMA) + * for details. (Value: "OPERATION_EUICC_GSMA") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationHttp + * See EuiccManager.OPERATION_HTTP + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_HTTP) + * for details. (Value: "OPERATION_HTTP") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationMetadata + * See EuiccManager.OPERATION_METADATA + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_METADATA) + * for details. (Value: "OPERATION_METADATA") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationSimSlot + * See EuiccManager.OPERATION_SIM_SLOT + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_SIM_SLOT) + * for details. (Value: "OPERATION_SIM_SLOT") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationSmdx + * See EuiccManager.OPERATION_SMDX + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_SMDX) + * for details. (Value: "OPERATION_SMDX") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationSmdxSubjectReasonCode + * See EuiccManager.OPERATION_SMDX_SUBJECT_REASON_CODE + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_SMDX_SUBJECT_REASON_CODE) + * for details. Note that, in this case, error_code is the least + * significant 3 bytes of the EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE) + * specifying the subject code and the reason code as indicated here + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_SMDX_SUBJECT_REASON_CODE). + * The most significant byte of the integer is zeroed out. For example, a + * Subject Code of 8.11.1 and a Reason Code of 5.1 is represented in + * error_code as 0000 0000 1000 1011 0001 0000 0101 0001 in binary, which + * is 9113681 in decimal. (Value: "OPERATION_SMDX_SUBJECT_REASON_CODE") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationSwitch + * See EuiccManager.OPERATION_SWITCH + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_SWITCH) + * for details. (Value: "OPERATION_SWITCH") + * @arg @c kGTLRAndroidManagement_InternalErrorDetails_OperationCodeDetail_OperationSystem + * See EuiccManager.OPERATION_SYSTEM + * (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#OPERATION_SYSTEM) + * for details. (Value: "OPERATION_SYSTEM") + */ +@property(nonatomic, copy, nullable) NSString *operationCodeDetail; + +@end + + /** * Response on issuing a command. This is currently empty as a placeholder. */ @@ -9920,6 +10693,10 @@ GTLR_DEPRECATED * The policy-specific reason the device is not in compliance with the setting. * * Likely values: + * @arg @c kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_NewAccountNotInEnterprise + * Work account added by the user is not part of the enterprise. + * nonComplianceReason is set to USER_ACTION. (Value: + * "NEW_ACCOUNT_NOT_IN_ENTERPRISE") * @arg @c kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_OncWifiApiLevel * The ONC Wi-Fi setting is not supported in the API level of the Android * version running on the device. fieldPath specifies which field value @@ -9966,6 +10743,10 @@ GTLR_DEPRECATED * (https://developers.google.com/android/management/permissible-usage). * nonComplianceReason is set to PROJECT_NOT_PERMITTED. (Value: * "PERMISSIBLE_USAGE_RESTRICTION") + * @arg @c kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_RequiredAccountNotInEnterprise + * Work account required by the workAccountSetupConfig policy setting is + * not part of the enterprise anymore. nonComplianceReason is set to + * USER_ACTION. (Value: "REQUIRED_ACCOUNT_NOT_IN_ENTERPRISE") * @arg @c kGTLRAndroidManagement_NonComplianceDetail_SpecificNonComplianceReason_SpecificNonComplianceReasonUnspecified * Specific non-compliance reason is not specified. Fields in * specific_non_compliance_context are not set. (Value: @@ -11601,6 +12382,20 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSNumber *wifiConfigsLockdownEnabled GTLR_DEPRECATED; +/** + * Optional. Wipe flags to indicate what data is wiped when a device or profile + * wipe is triggered due to any reason (for example, non-compliance). This does + * not apply to the enterprises.devices.delete method. . This list must not + * have duplicates. + */ +@property(nonatomic, strong, nullable) NSArray *wipeDataFlags; + +/** + * Optional. Controls the work account setup configuration, such as details of + * whether a Google authenticated account is required. + */ +@property(nonatomic, strong, nullable) GTLRAndroidManagement_WorkAccountSetupConfig *workAccountSetupConfig; + @end @@ -12009,6 +12804,18 @@ GTLR_DEPRECATED @end +/** + * Parameters associated with the REMOVE_ESIM command to remove an eSIM profile + * from the device. + */ +@interface GTLRAndroidManagement_RemoveEsimParams : GTLRObject + +/** Required. ICC ID of the eSIM profile to be deleted. */ +@property(nonatomic, copy, nullable) NSString *iccId; + +@end + + /** * Parameters associated with the REQUEST_DEVICE_INFO command to get device * related information. @@ -12777,9 +13584,43 @@ GTLR_DEPRECATED */ @interface GTLRAndroidManagement_TelephonyInfo : GTLRObject +/** + * Output only. Activation state of the SIM card on the device. This is + * applicable for eSIMs only. This is supported on all devices for API level 35 + * and above. This is always ACTIVATION_STATE_UNSPECIFIED for physical SIMs and + * for devices below API level 35. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_TelephonyInfo_ActivationState_Activated The + * SIM card is activated. (Value: "ACTIVATED") + * @arg @c kGTLRAndroidManagement_TelephonyInfo_ActivationState_ActivationStateUnspecified + * Activation state is not specified. (Value: + * "ACTIVATION_STATE_UNSPECIFIED") + * @arg @c kGTLRAndroidManagement_TelephonyInfo_ActivationState_NotActivated + * The SIM card is not activated. (Value: "NOT_ACTIVATED") + */ +@property(nonatomic, copy, nullable) NSString *activationState; + /** The carrier name associated with this SIM card. */ @property(nonatomic, copy, nullable) NSString *carrierName; +/** + * Output only. The configuration mode of the SIM card on the device. This is + * applicable for eSIMs only. This is supported on all devices for API level 35 + * and above. This is always CONFIG_MODE_UNSPECIFIED for physical SIMs and for + * devices below API level 35. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_TelephonyInfo_ConfigMode_AdminConfigured + * The admin has configured this SIM. (Value: "ADMIN_CONFIGURED") + * @arg @c kGTLRAndroidManagement_TelephonyInfo_ConfigMode_ConfigModeUnspecified + * The configuration mode is unspecified. (Value: + * "CONFIG_MODE_UNSPECIFIED") + * @arg @c kGTLRAndroidManagement_TelephonyInfo_ConfigMode_UserConfigured The + * user has configured this SIM. (Value: "USER_CONFIGURED") + */ +@property(nonatomic, copy, nullable) NSString *configMode; + /** Output only. The ICCID associated with this SIM card. */ @property(nonatomic, copy, nullable) NSString *iccId; @@ -13396,6 +14237,40 @@ GTLR_DEPRECATED @interface GTLRAndroidManagement_WipeFailureEvent : GTLRObject @end + +/** + * Controls the work account setup configuration, such as details of whether a + * Google authenticated account is required. + */ +@interface GTLRAndroidManagement_WorkAccountSetupConfig : GTLRObject + +/** + * Optional. The authentication type of the user on the device. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_WorkAccountSetupConfig_AuthenticationType_AuthenticationTypeNotEnforced + * Authentication status of user on device is not enforced. (Value: + * "AUTHENTICATION_TYPE_NOT_ENFORCED") + * @arg @c kGTLRAndroidManagement_WorkAccountSetupConfig_AuthenticationType_AuthenticationTypeUnspecified + * Unspecified. Defaults to AUTHENTICATION_TYPE_NOT_ENFORCED. (Value: + * "AUTHENTICATION_TYPE_UNSPECIFIED") + * @arg @c kGTLRAndroidManagement_WorkAccountSetupConfig_AuthenticationType_GoogleAuthenticated + * Requires device to be managed with a Google authenticated account. + * (Value: "GOOGLE_AUTHENTICATED") + */ +@property(nonatomic, copy, nullable) NSString *authenticationType; + +/** + * Optional. The specific google work account email address to be added. This + * field is only relevant if authenticationType is GOOGLE_AUTHENTICATED. This + * must be an enterprise account and not a consumer account. Once set and a + * Google authenticated account is added to the device, changing this field + * will have no effect, and thus recommended to be set only once. + */ +@property(nonatomic, copy, nullable) NSString *requiredAccountEmail; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h index af145c293..5ad736a86 100644 --- a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h +++ b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h @@ -58,6 +58,15 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagementWipeDataFlagsPreserveRe * Value: "WIPE_DATA_FLAG_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagementWipeDataFlagsWipeDataFlagUnspecified; +/** + * For company-owned devices, this removes all eSIMs from the device when the + * device is wiped. In personally-owned devices, this will remove managed eSIMs + * (eSIMs which are added via the ADD_ESIM command) on the devices and no + * personally owned eSIMs will be removed. + * + * Value: "WIPE_ESIMS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagementWipeDataFlagsWipeEsims; /** * Additionally wipe the device's external storage (such as SD cards). * @@ -239,6 +248,11 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagementWipeDataFlagsWipeExtern * @arg @c kGTLRAndroidManagementWipeDataFlagsWipeExternalStorage * Additionally wipe the device's external storage (such as SD cards). * (Value: "WIPE_EXTERNAL_STORAGE") + * @arg @c kGTLRAndroidManagementWipeDataFlagsWipeEsims For company-owned + * devices, this removes all eSIMs from the device when the device is + * wiped. In personally-owned devices, this will remove managed eSIMs + * (eSIMs which are added via the ADD_ESIM command) on the devices and no + * personally owned eSIMs will be removed. (Value: "WIPE_ESIMS") */ @property(nonatomic, strong, nullable) NSArray *wipeDataFlags; diff --git a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m index 8e367573e..0fc2e5214 100644 --- a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m +++ b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m @@ -253,6 +253,7 @@ // GTLRAndroidPublisher_SubscriptionItemPriceChangeDetails.priceChangeState NSString * const kGTLRAndroidPublisher_SubscriptionItemPriceChangeDetails_PriceChangeState_Applied = @"APPLIED"; +NSString * const kGTLRAndroidPublisher_SubscriptionItemPriceChangeDetails_PriceChangeState_Canceled = @"CANCELED"; NSString * const kGTLRAndroidPublisher_SubscriptionItemPriceChangeDetails_PriceChangeState_Confirmed = @"CONFIRMED"; NSString * const kGTLRAndroidPublisher_SubscriptionItemPriceChangeDetails_PriceChangeState_Outstanding = @"OUTSTANDING"; NSString * const kGTLRAndroidPublisher_SubscriptionItemPriceChangeDetails_PriceChangeState_PriceChangeStateUnspecified = @"PRICE_CHANGE_STATE_UNSPECIFIED"; @@ -3164,8 +3165,9 @@ + (BOOL)isKindValidForClassRegistry { // @implementation GTLRAndroidPublisher_SubscriptionPurchaseLineItem -@dynamic autoRenewingPlan, deferredItemReplacement, expiryTime, offerDetails, - prepaidPlan, productId, signupPromotion; +@dynamic autoRenewingPlan, deferredItemReplacement, expiryTime, + latestSuccessfulOrderId, offerDetails, prepaidPlan, productId, + signupPromotion; @end diff --git a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h index 60eb5b32e..8627da934 100644 --- a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h +++ b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h @@ -1360,6 +1360,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_SubscriptionItemPriceCh * Value: "APPLIED" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_SubscriptionItemPriceChangeDetails_PriceChangeState_Applied; +/** + * The price change was canceled. + * + * Value: "CANCELED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_SubscriptionItemPriceChangeDetails_PriceChangeState_Canceled; /** * The price change is confirmed to happen for the user. * @@ -2515,7 +2521,11 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRAndroidPublisher_SubscriptionItemPriceChangeDetails *priceChangeDetails; -/** The current recurring price of the auto renewing plan. */ +/** + * The current recurring price of the auto renewing plan. Note that the price + * does not take into account discounts and taxes, call orders.get API instead + * if transaction details are needed. + */ @property(nonatomic, strong, nullable) GTLRAndroidPublisher_Money *recurringPrice; @end @@ -6111,14 +6121,14 @@ GTLR_DEPRECATED /** * Required. A string representing the version of available regions being used - * for the specified resource. Regional prices for the resource have to be - * specified according to the information published in [this + * for the specified resource. Regional prices and latest supported version for + * the resource have to be specified according to the information published in + * [this * article](https://support.google.com/googleplay/android-developer/answer/10532353). * Each time the supported locations substantially change, the version will be - * incremented. The latest supported version is available in this article. - * Using this field will ensure that creating and updating the resource with an - * older region's version and set of regional prices and currencies will - * succeed even though a new version is available. + * incremented. Using this field will ensure that creating and updating the + * resource with an older region's version and set of regional prices and + * currencies will succeed even though a new version is available. */ @property(nonatomic, copy, nullable) NSString *version; @@ -6291,7 +6301,7 @@ GTLR_DEPRECATED /** * Optional. Used when a specific item should be refunded in a subscription - * with multiple items. + * with add-on items. */ @property(nonatomic, strong, nullable) GTLRAndroidPublisher_RevocationContextItemBasedRefund *itemBasedRefund; @@ -6319,8 +6329,8 @@ GTLR_DEPRECATED @interface GTLRAndroidPublisher_RevocationContextItemBasedRefund : GTLRObject /** - * Required. If the subscription is a subscription bundle, the product id of - * the subscription to revoke. + * Required. If the subscription is a subscription with add-ons, the product id + * of the subscription item to revoke. */ @property(nonatomic, copy, nullable) NSString *productId; @@ -6742,6 +6752,8 @@ GTLR_DEPRECATED * @arg @c kGTLRAndroidPublisher_SubscriptionItemPriceChangeDetails_PriceChangeState_Applied * The price change is applied, i.e. the user has started being charged * the new price. (Value: "APPLIED") + * @arg @c kGTLRAndroidPublisher_SubscriptionItemPriceChangeDetails_PriceChangeState_Canceled + * The price change was canceled. (Value: "CANCELED") * @arg @c kGTLRAndroidPublisher_SubscriptionItemPriceChangeDetails_PriceChangeState_Confirmed * The price change is confirmed to happen for the user. (Value: * "CONFIRMED") @@ -7199,6 +7211,13 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRDateTime *expiryTime; +/** + * The order id of the latest successful order associated with this item. Not + * present if the item is not owned by the user yet (e.g. the item being + * deferred replaced to). + */ +@property(nonatomic, copy, nullable) NSString *latestSuccessfulOrderId; + /** The offer details for this item. */ @property(nonatomic, strong, nullable) GTLRAndroidPublisher_OfferDetails *offerDetails; @@ -7390,7 +7409,7 @@ GTLR_DEPRECATED /** - * Details about taxation, Google Play policy and legal compliance for + * Details about taxation, Google Play policy, and legal compliance for * subscription products. */ @interface GTLRAndroidPublisher_SubscriptionTaxAndComplianceSettings : GTLRObject diff --git a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h index b7b4d52a5..d0071dd22 100644 --- a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h +++ b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h @@ -3667,14 +3667,14 @@ GTLR_DEPRECATED /** * Required. A string representing the version of available regions being used - * for the specified resource. Regional prices for the resource have to be - * specified according to the information published in [this + * for the specified resource. Regional prices and latest supported version for + * the resource have to be specified according to the information published in + * [this * article](https://support.google.com/googleplay/android-developer/answer/10532353). * Each time the supported locations substantially change, the version will be - * incremented. The latest supported version is available in this article. - * Using this field will ensure that creating and updating the resource with an - * older region's version and set of regional prices and currencies will - * succeed even though a new version is available. + * incremented. Using this field will ensure that creating and updating the + * resource with an older region's version and set of regional prices and + * currencies will succeed even though a new version is available. */ @property(nonatomic, copy, nullable) NSString *regionsVersionVersion; @@ -3979,14 +3979,14 @@ GTLR_DEPRECATED /** * Required. A string representing the version of available regions being used - * for the specified resource. Regional prices for the resource have to be - * specified according to the information published in [this + * for the specified resource. Regional prices and latest supported version for + * the resource have to be specified according to the information published in + * [this * article](https://support.google.com/googleplay/android-developer/answer/10532353). * Each time the supported locations substantially change, the version will be - * incremented. The latest supported version is available in this article. - * Using this field will ensure that creating and updating the resource with an - * older region's version and set of regional prices and currencies will - * succeed even though a new version is available. + * incremented. Using this field will ensure that creating and updating the + * resource with an older region's version and set of regional prices and + * currencies will succeed even though a new version is available. */ @property(nonatomic, copy, nullable) NSString *regionsVersionVersion; @@ -4126,14 +4126,14 @@ GTLR_DEPRECATED /** * Required. A string representing the version of available regions being used - * for the specified resource. Regional prices for the resource have to be - * specified according to the information published in [this + * for the specified resource. Regional prices and latest supported version for + * the resource have to be specified according to the information published in + * [this * article](https://support.google.com/googleplay/android-developer/answer/10532353). * Each time the supported locations substantially change, the version will be - * incremented. The latest supported version is available in this article. - * Using this field will ensure that creating and updating the resource with an - * older region's version and set of regional prices and currencies will - * succeed even though a new version is available. + * incremented. Using this field will ensure that creating and updating the + * resource with an older region's version and set of regional prices and + * currencies will succeed even though a new version is available. */ @property(nonatomic, copy, nullable) NSString *regionsVersionVersion; @@ -4330,14 +4330,14 @@ GTLR_DEPRECATED /** * Required. A string representing the version of available regions being used - * for the specified resource. Regional prices for the resource have to be - * specified according to the information published in [this + * for the specified resource. Regional prices and latest supported version for + * the resource have to be specified according to the information published in + * [this * article](https://support.google.com/googleplay/android-developer/answer/10532353). * Each time the supported locations substantially change, the version will be - * incremented. The latest supported version is available in this article. - * Using this field will ensure that creating and updating the resource with an - * older region's version and set of regional prices and currencies will - * succeed even though a new version is available. + * incremented. Using this field will ensure that creating and updating the + * resource with an older region's version and set of regional prices and + * currencies will succeed even though a new version is available. */ @property(nonatomic, copy, nullable) NSString *regionsVersionVersion; @@ -4655,7 +4655,11 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *packageName; -/** The purchased subscription ID (for example, 'monthly001'). */ +/** + * Note: Since May 21, 2025, subscription_id is not required, and not + * recommended for subscription with add-ons. The purchased subscription ID + * (for example, 'monthly001'). + */ @property(nonatomic, copy, nullable) NSString *subscriptionId; /** @@ -4674,8 +4678,9 @@ GTLR_DEPRECATED * the query. * @param packageName The package name of the application for which this * subscription was purchased (for example, 'com.some.thing'). - * @param subscriptionId The purchased subscription ID (for example, - * 'monthly001'). + * @param subscriptionId Note: Since May 21, 2025, subscription_id is not + * required, and not recommended for subscription with add-ons. The purchased + * subscription ID (for example, 'monthly001'). * @param token The token provided to the user's device when the subscription * was purchased. * @@ -4705,7 +4710,11 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *packageName; -/** The purchased subscription ID (for example, 'monthly001'). */ +/** + * Note: Since May 21, 2025, subscription_id is not required, and not + * recommended for subscription with add-ons. The purchased subscription ID + * (for example, 'monthly001'). + */ @property(nonatomic, copy, nullable) NSString *subscriptionId; /** @@ -4722,8 +4731,9 @@ GTLR_DEPRECATED * * @param packageName The package name of the application for which this * subscription was purchased (for example, 'com.some.thing'). - * @param subscriptionId The purchased subscription ID (for example, - * 'monthly001'). + * @param subscriptionId Note: Since May 21, 2025, subscription_id is not + * required, and not recommended for subscription with add-ons. The purchased + * subscription ID (for example, 'monthly001'). * @param token The token provided to the user's device when the subscription * was purchased. * diff --git a/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsightsObjects.h b/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsightsObjects.h index aa813d385..b131c29b7 100644 --- a/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsightsObjects.h +++ b/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsightsObjects.h @@ -351,7 +351,14 @@ FOUNDATION_EXTERN NSString * const kGTLRAreaInsights_Filter_PriceLevels_PriceLev */ @interface GTLRAreaInsights_Region : GTLRObject -/** The unique identifier of a specific geographic region. */ +/** + * The [place + * ID](https://developers.google.com/maps/documentation/places/web-service/place-id) + * of the geographic region. Not all region types are supported; see + * documentation for details. **Format:** Must be in the format + * `places/PLACE_ID`, where `PLACE_ID` is the unique identifier of a place. For + * example: `places/ChIJPV4oX_65j4ARVW8IJ6IJUYs`. + */ @property(nonatomic, copy, nullable) NSString *place; @end diff --git a/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m b/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m index c1be6aec3..bee3d994f 100644 --- a/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m +++ b/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m @@ -27,11 +27,24 @@ // GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata.complianceRegime NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_AssuredWorkloadsForPartners = @"ASSURED_WORKLOADS_FOR_PARTNERS"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_AuRegionsAndUsSupport = @"AU_REGIONS_AND_US_SUPPORT"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_AustraliaDataBoundaryAndSupport = @"AUSTRALIA_DATA_BOUNDARY_AND_SUPPORT"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_CanadaControlledGoods = @"CANADA_CONTROLLED_GOODS"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_CanadaDataBoundaryAndSupport = @"CANADA_DATA_BOUNDARY_AND_SUPPORT"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_CaProtectedB = @"CA_PROTECTED_B"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_CaRegionsAndSupport = @"CA_REGIONS_AND_SUPPORT"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_Cjis = @"CJIS"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_ComplianceRegimeUnspecified = @"COMPLIANCE_REGIME_UNSPECIFIED"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForCanadaControlledGoods = @"DATA_BOUNDARY_FOR_CANADA_CONTROLLED_GOODS"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForCanadaProtectedB = @"DATA_BOUNDARY_FOR_CANADA_PROTECTED_B"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForCjis = @"DATA_BOUNDARY_FOR_CJIS"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForFedrampHigh = @"DATA_BOUNDARY_FOR_FEDRAMP_HIGH"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForFedrampModerate = @"DATA_BOUNDARY_FOR_FEDRAMP_MODERATE"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForIl2 = @"DATA_BOUNDARY_FOR_IL2"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForIl4 = @"DATA_BOUNDARY_FOR_IL4"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForIl5 = @"DATA_BOUNDARY_FOR_IL5"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForIrsPublication1075 = @"DATA_BOUNDARY_FOR_IRS_PUBLICATION_1075"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForItar = @"DATA_BOUNDARY_FOR_ITAR"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_EuDataBoundaryAndSupport = @"EU_DATA_BOUNDARY_AND_SUPPORT"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_EuRegionsAndSupport = @"EU_REGIONS_AND_SUPPORT"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_FedrampHigh = @"FEDRAMP_HIGH"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_FedrampModerate = @"FEDRAMP_MODERATE"; @@ -43,12 +56,17 @@ 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_IsraelDataBoundaryAndSupport = @"ISRAEL_DATA_BOUNDARY_AND_SUPPORT"; 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"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_JpRegionsAndSupport = @"JP_REGIONS_AND_SUPPORT"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_KsaDataBoundaryWithAccessJustifications = @"KSA_DATA_BOUNDARY_WITH_ACCESS_JUSTIFICATIONS"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_KsaRegionsAndSupportWithSovereigntyControls = @"KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalControls = @"REGIONAL_CONTROLS"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_UsDataBoundaryAndSupport = @"US_DATA_BOUNDARY_AND_SUPPORT"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_UsDataBoundaryForHealthcareAndLifeSciences = @"US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_UsDataBoundaryForHealthcareAndLifeSciencesWithSupport = @"US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES_WITH_SUPPORT"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_UsRegionalAccess = @"US_REGIONAL_ACCESS"; // GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesRequest.restrictionType @@ -80,11 +98,24 @@ // GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload.complianceRegime NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_AssuredWorkloadsForPartners = @"ASSURED_WORKLOADS_FOR_PARTNERS"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_AuRegionsAndUsSupport = @"AU_REGIONS_AND_US_SUPPORT"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_AustraliaDataBoundaryAndSupport = @"AUSTRALIA_DATA_BOUNDARY_AND_SUPPORT"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_CanadaControlledGoods = @"CANADA_CONTROLLED_GOODS"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_CanadaDataBoundaryAndSupport = @"CANADA_DATA_BOUNDARY_AND_SUPPORT"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_CaProtectedB = @"CA_PROTECTED_B"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_CaRegionsAndSupport = @"CA_REGIONS_AND_SUPPORT"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_Cjis = @"CJIS"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_ComplianceRegimeUnspecified = @"COMPLIANCE_REGIME_UNSPECIFIED"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForCanadaControlledGoods = @"DATA_BOUNDARY_FOR_CANADA_CONTROLLED_GOODS"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForCanadaProtectedB = @"DATA_BOUNDARY_FOR_CANADA_PROTECTED_B"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForCjis = @"DATA_BOUNDARY_FOR_CJIS"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForFedrampHigh = @"DATA_BOUNDARY_FOR_FEDRAMP_HIGH"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForFedrampModerate = @"DATA_BOUNDARY_FOR_FEDRAMP_MODERATE"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForIl2 = @"DATA_BOUNDARY_FOR_IL2"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForIl4 = @"DATA_BOUNDARY_FOR_IL4"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForIl5 = @"DATA_BOUNDARY_FOR_IL5"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForIrsPublication1075 = @"DATA_BOUNDARY_FOR_IRS_PUBLICATION_1075"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForItar = @"DATA_BOUNDARY_FOR_ITAR"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_EuDataBoundaryAndSupport = @"EU_DATA_BOUNDARY_AND_SUPPORT"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_EuRegionsAndSupport = @"EU_REGIONS_AND_SUPPORT"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_FedrampHigh = @"FEDRAMP_HIGH"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_FedrampModerate = @"FEDRAMP_MODERATE"; @@ -96,12 +127,17 @@ 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_IsraelDataBoundaryAndSupport = @"ISRAEL_DATA_BOUNDARY_AND_SUPPORT"; 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"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_JpRegionsAndSupport = @"JP_REGIONS_AND_SUPPORT"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_KsaDataBoundaryWithAccessJustifications = @"KSA_DATA_BOUNDARY_WITH_ACCESS_JUSTIFICATIONS"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_KsaRegionsAndSupportWithSovereigntyControls = @"KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalControls = @"REGIONAL_CONTROLS"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_UsDataBoundaryAndSupport = @"US_DATA_BOUNDARY_AND_SUPPORT"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_UsDataBoundaryForHealthcareAndLifeSciences = @"US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_UsDataBoundaryForHealthcareAndLifeSciencesWithSupport = @"US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES_WITH_SUPPORT"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_UsRegionalAccess = @"US_REGIONAL_ACCESS"; // GTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload.kajEnrollmentState diff --git a/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h b/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h index f97a4aef4..7b6c6dff7 100644 --- a/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h +++ b/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h @@ -125,12 +125,24 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * Value: "AU_REGIONS_AND_US_SUPPORT" */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_AuRegionsAndUsSupport; +/** + * Australia Data Boundary and Support + * + * Value: "AUSTRALIA_DATA_BOUNDARY_AND_SUPPORT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_AustraliaDataBoundaryAndSupport; /** * Canada Controlled Goods * * Value: "CANADA_CONTROLLED_GOODS" */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_CanadaControlledGoods; +/** + * Canada Data Boundary and Support + * + * Value: "CANADA_DATA_BOUNDARY_AND_SUPPORT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_CanadaDataBoundaryAndSupport; /** * Assured Workloads for Canada Protected B regime * @@ -155,6 +167,72 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * Value: "COMPLIANCE_REGIME_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_ComplianceRegimeUnspecified; +/** + * Data Boundary for Canada Controlled Goods + * + * Value: "DATA_BOUNDARY_FOR_CANADA_CONTROLLED_GOODS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForCanadaControlledGoods; +/** + * Data Boundary for Canada Protected B + * + * Value: "DATA_BOUNDARY_FOR_CANADA_PROTECTED_B" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForCanadaProtectedB; +/** + * Data Boundary for CJIS + * + * Value: "DATA_BOUNDARY_FOR_CJIS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForCjis; +/** + * Data Boundary for FedRAMP High + * + * Value: "DATA_BOUNDARY_FOR_FEDRAMP_HIGH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForFedrampHigh; +/** + * Data Boundary for FedRAMP Moderate + * + * Value: "DATA_BOUNDARY_FOR_FEDRAMP_MODERATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForFedrampModerate; +/** + * Data Boundary for IL2 + * + * Value: "DATA_BOUNDARY_FOR_IL2" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForIl2; +/** + * Data Boundary for IL4 + * + * Value: "DATA_BOUNDARY_FOR_IL4" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForIl4; +/** + * Data Boundary for IL5 + * + * Value: "DATA_BOUNDARY_FOR_IL5" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForIl5; +/** + * Data Boundary for IRS Publication 1075 + * + * Value: "DATA_BOUNDARY_FOR_IRS_PUBLICATION_1075" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForIrsPublication1075; +/** + * Data Boundary for ITAR + * + * Value: "DATA_BOUNDARY_FOR_ITAR" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForItar; +/** + * Data Boundary for EU Regions and Support + * + * Value: "EU_DATA_BOUNDARY_AND_SUPPORT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_EuDataBoundaryAndSupport; /** * Assured Workloads For EU Regions and Support controls * @@ -221,6 +299,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * Value: "IRS_1075" */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_Irs1075; +/** + * Data Boundary for Israel Regions + * + * Value: "ISRAEL_DATA_BOUNDARY_AND_SUPPORT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_IsraelDataBoundaryAndSupport; /** * Assured Workloads for Israel Regions * @@ -245,6 +329,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * Value: "JP_REGIONS_AND_SUPPORT" */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_JpRegionsAndSupport; +/** + * KSA Data Boundary with Access Justifications + * + * Value: "KSA_DATA_BOUNDARY_WITH_ACCESS_JUSTIFICATIONS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_KsaDataBoundaryWithAccessJustifications; /** * Assured Workloads Sovereign Controls KSA * @@ -257,6 +347,24 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * Value: "REGIONAL_CONTROLS" */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalControls; +/** + * Data Boundary for US Regions and Support + * + * Value: "US_DATA_BOUNDARY_AND_SUPPORT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_UsDataBoundaryAndSupport; +/** + * Data Boundary for US Healthcare and Life Sciences + * + * Value: "US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_UsDataBoundaryForHealthcareAndLifeSciences; +/** + * Data Boundary for US Healthcare and Life Sciences with Support + * + * Value: "US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES_WITH_SUPPORT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_UsDataBoundaryForHealthcareAndLifeSciencesWithSupport; /** * Assured Workloads For US Regions data protection controls * @@ -412,12 +520,24 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * Value: "AU_REGIONS_AND_US_SUPPORT" */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_AuRegionsAndUsSupport; +/** + * Australia Data Boundary and Support + * + * Value: "AUSTRALIA_DATA_BOUNDARY_AND_SUPPORT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_AustraliaDataBoundaryAndSupport; /** * Canada Controlled Goods * * Value: "CANADA_CONTROLLED_GOODS" */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_CanadaControlledGoods; +/** + * Canada Data Boundary and Support + * + * Value: "CANADA_DATA_BOUNDARY_AND_SUPPORT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_CanadaDataBoundaryAndSupport; /** * Assured Workloads for Canada Protected B regime * @@ -442,6 +562,72 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * Value: "COMPLIANCE_REGIME_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_ComplianceRegimeUnspecified; +/** + * Data Boundary for Canada Controlled Goods + * + * Value: "DATA_BOUNDARY_FOR_CANADA_CONTROLLED_GOODS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForCanadaControlledGoods; +/** + * Data Boundary for Canada Protected B + * + * Value: "DATA_BOUNDARY_FOR_CANADA_PROTECTED_B" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForCanadaProtectedB; +/** + * Data Boundary for CJIS + * + * Value: "DATA_BOUNDARY_FOR_CJIS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForCjis; +/** + * Data Boundary for FedRAMP High + * + * Value: "DATA_BOUNDARY_FOR_FEDRAMP_HIGH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForFedrampHigh; +/** + * Data Boundary for FedRAMP Moderate + * + * Value: "DATA_BOUNDARY_FOR_FEDRAMP_MODERATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForFedrampModerate; +/** + * Data Boundary for IL2 + * + * Value: "DATA_BOUNDARY_FOR_IL2" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForIl2; +/** + * Data Boundary for IL4 + * + * Value: "DATA_BOUNDARY_FOR_IL4" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForIl4; +/** + * Data Boundary for IL5 + * + * Value: "DATA_BOUNDARY_FOR_IL5" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForIl5; +/** + * Data Boundary for IRS Publication 1075 + * + * Value: "DATA_BOUNDARY_FOR_IRS_PUBLICATION_1075" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForIrsPublication1075; +/** + * Data Boundary for ITAR + * + * Value: "DATA_BOUNDARY_FOR_ITAR" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForItar; +/** + * Data Boundary for EU Regions and Support + * + * Value: "EU_DATA_BOUNDARY_AND_SUPPORT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_EuDataBoundaryAndSupport; /** * Assured Workloads For EU Regions and Support controls * @@ -508,6 +694,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * Value: "IRS_1075" */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_Irs1075; +/** + * Data Boundary for Israel Regions + * + * Value: "ISRAEL_DATA_BOUNDARY_AND_SUPPORT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_IsraelDataBoundaryAndSupport; /** * Assured Workloads for Israel Regions * @@ -532,6 +724,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * Value: "JP_REGIONS_AND_SUPPORT" */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_JpRegionsAndSupport; +/** + * KSA Data Boundary with Access Justifications + * + * Value: "KSA_DATA_BOUNDARY_WITH_ACCESS_JUSTIFICATIONS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_KsaDataBoundaryWithAccessJustifications; /** * Assured Workloads Sovereign Controls KSA * @@ -544,6 +742,24 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * Value: "REGIONAL_CONTROLS" */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalControls; +/** + * Data Boundary for US Regions and Support + * + * Value: "US_DATA_BOUNDARY_AND_SUPPORT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_UsDataBoundaryAndSupport; +/** + * Data Boundary for US Healthcare and Life Sciences + * + * Value: "US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_UsDataBoundaryForHealthcareAndLifeSciences; +/** + * Data Boundary for US Healthcare and Life Sciences with Support + * + * Value: "US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES_WITH_SUPPORT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_UsDataBoundaryForHealthcareAndLifeSciencesWithSupport; /** * Assured Workloads For US Regions data protection controls * @@ -1048,8 +1264,14 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_AuRegionsAndUsSupport * Assured Workloads for Australia Regions and Support controls (Value: * "AU_REGIONS_AND_US_SUPPORT") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_AustraliaDataBoundaryAndSupport + * Australia Data Boundary and Support (Value: + * "AUSTRALIA_DATA_BOUNDARY_AND_SUPPORT") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_CanadaControlledGoods * Canada Controlled Goods (Value: "CANADA_CONTROLLED_GOODS") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_CanadaDataBoundaryAndSupport + * Canada Data Boundary and Support (Value: + * "CANADA_DATA_BOUNDARY_AND_SUPPORT") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_CaProtectedB * Assured Workloads for Canada Protected B regime (Value: * "CA_PROTECTED_B") @@ -1061,6 +1283,34 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * (Value: "CJIS") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_ComplianceRegimeUnspecified * Unknown compliance regime. (Value: "COMPLIANCE_REGIME_UNSPECIFIED") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForCanadaControlledGoods + * Data Boundary for Canada Controlled Goods (Value: + * "DATA_BOUNDARY_FOR_CANADA_CONTROLLED_GOODS") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForCanadaProtectedB + * Data Boundary for Canada Protected B (Value: + * "DATA_BOUNDARY_FOR_CANADA_PROTECTED_B") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForCjis + * Data Boundary for CJIS (Value: "DATA_BOUNDARY_FOR_CJIS") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForFedrampHigh + * Data Boundary for FedRAMP High (Value: + * "DATA_BOUNDARY_FOR_FEDRAMP_HIGH") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForFedrampModerate + * Data Boundary for FedRAMP Moderate (Value: + * "DATA_BOUNDARY_FOR_FEDRAMP_MODERATE") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForIl2 + * Data Boundary for IL2 (Value: "DATA_BOUNDARY_FOR_IL2") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForIl4 + * Data Boundary for IL4 (Value: "DATA_BOUNDARY_FOR_IL4") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForIl5 + * Data Boundary for IL5 (Value: "DATA_BOUNDARY_FOR_IL5") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForIrsPublication1075 + * Data Boundary for IRS Publication 1075 (Value: + * "DATA_BOUNDARY_FOR_IRS_PUBLICATION_1075") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_DataBoundaryForItar + * Data Boundary for ITAR (Value: "DATA_BOUNDARY_FOR_ITAR") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_EuDataBoundaryAndSupport + * Data Boundary for EU Regions and Support (Value: + * "EU_DATA_BOUNDARY_AND_SUPPORT") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_EuRegionsAndSupport * Assured Workloads For EU Regions and Support controls (Value: * "EU_REGIONS_AND_SUPPORT") @@ -1088,6 +1338,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * 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_IsraelDataBoundaryAndSupport + * Data Boundary for Israel Regions (Value: + * "ISRAEL_DATA_BOUNDARY_AND_SUPPORT") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_IsrRegions * Assured Workloads for Israel Regions (Value: "ISR_REGIONS") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_IsrRegionsAndSupport @@ -1097,11 +1350,23 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * International Traffic in Arms Regulations (Value: "ITAR") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_JpRegionsAndSupport * Assured Workloads for Japan Regions (Value: "JP_REGIONS_AND_SUPPORT") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_KsaDataBoundaryWithAccessJustifications + * KSA Data Boundary with Access Justifications (Value: + * "KSA_DATA_BOUNDARY_WITH_ACCESS_JUSTIFICATIONS") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_KsaRegionsAndSupportWithSovereigntyControls * Assured Workloads Sovereign Controls KSA (Value: * "KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalControls * Assured Workloads for Regional Controls (Value: "REGIONAL_CONTROLS") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_UsDataBoundaryAndSupport + * Data Boundary for US Regions and Support (Value: + * "US_DATA_BOUNDARY_AND_SUPPORT") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_UsDataBoundaryForHealthcareAndLifeSciences + * Data Boundary for US Healthcare and Life Sciences (Value: + * "US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_UsDataBoundaryForHealthcareAndLifeSciencesWithSupport + * Data Boundary for US Healthcare and Life Sciences with Support (Value: + * "US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES_WITH_SUPPORT") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_UsRegionalAccess * Assured Workloads For US Regions data protection controls (Value: * "US_REGIONAL_ACCESS") @@ -1721,8 +1986,14 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_AuRegionsAndUsSupport * Assured Workloads for Australia Regions and Support controls (Value: * "AU_REGIONS_AND_US_SUPPORT") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_AustraliaDataBoundaryAndSupport + * Australia Data Boundary and Support (Value: + * "AUSTRALIA_DATA_BOUNDARY_AND_SUPPORT") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_CanadaControlledGoods * Canada Controlled Goods (Value: "CANADA_CONTROLLED_GOODS") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_CanadaDataBoundaryAndSupport + * Canada Data Boundary and Support (Value: + * "CANADA_DATA_BOUNDARY_AND_SUPPORT") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_CaProtectedB * Assured Workloads for Canada Protected B regime (Value: * "CA_PROTECTED_B") @@ -1734,6 +2005,34 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * (Value: "CJIS") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_ComplianceRegimeUnspecified * Unknown compliance regime. (Value: "COMPLIANCE_REGIME_UNSPECIFIED") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForCanadaControlledGoods + * Data Boundary for Canada Controlled Goods (Value: + * "DATA_BOUNDARY_FOR_CANADA_CONTROLLED_GOODS") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForCanadaProtectedB + * Data Boundary for Canada Protected B (Value: + * "DATA_BOUNDARY_FOR_CANADA_PROTECTED_B") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForCjis + * Data Boundary for CJIS (Value: "DATA_BOUNDARY_FOR_CJIS") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForFedrampHigh + * Data Boundary for FedRAMP High (Value: + * "DATA_BOUNDARY_FOR_FEDRAMP_HIGH") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForFedrampModerate + * Data Boundary for FedRAMP Moderate (Value: + * "DATA_BOUNDARY_FOR_FEDRAMP_MODERATE") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForIl2 + * Data Boundary for IL2 (Value: "DATA_BOUNDARY_FOR_IL2") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForIl4 + * Data Boundary for IL4 (Value: "DATA_BOUNDARY_FOR_IL4") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForIl5 + * Data Boundary for IL5 (Value: "DATA_BOUNDARY_FOR_IL5") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForIrsPublication1075 + * Data Boundary for IRS Publication 1075 (Value: + * "DATA_BOUNDARY_FOR_IRS_PUBLICATION_1075") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_DataBoundaryForItar + * Data Boundary for ITAR (Value: "DATA_BOUNDARY_FOR_ITAR") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_EuDataBoundaryAndSupport + * Data Boundary for EU Regions and Support (Value: + * "EU_DATA_BOUNDARY_AND_SUPPORT") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_EuRegionsAndSupport * Assured Workloads For EU Regions and Support controls (Value: * "EU_REGIONS_AND_SUPPORT") @@ -1761,6 +2060,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * 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_IsraelDataBoundaryAndSupport + * Data Boundary for Israel Regions (Value: + * "ISRAEL_DATA_BOUNDARY_AND_SUPPORT") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_IsrRegions * Assured Workloads for Israel Regions (Value: "ISR_REGIONS") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_IsrRegionsAndSupport @@ -1770,11 +2072,23 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * International Traffic in Arms Regulations (Value: "ITAR") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_JpRegionsAndSupport * Assured Workloads for Japan Regions (Value: "JP_REGIONS_AND_SUPPORT") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_KsaDataBoundaryWithAccessJustifications + * KSA Data Boundary with Access Justifications (Value: + * "KSA_DATA_BOUNDARY_WITH_ACCESS_JUSTIFICATIONS") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_KsaRegionsAndSupportWithSovereigntyControls * Assured Workloads Sovereign Controls KSA (Value: * "KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalControls * Assured Workloads for Regional Controls (Value: "REGIONAL_CONTROLS") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_UsDataBoundaryAndSupport + * Data Boundary for US Regions and Support (Value: + * "US_DATA_BOUNDARY_AND_SUPPORT") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_UsDataBoundaryForHealthcareAndLifeSciences + * Data Boundary for US Healthcare and Life Sciences (Value: + * "US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_UsDataBoundaryForHealthcareAndLifeSciencesWithSupport + * Data Boundary for US Healthcare and Life Sciences with Support (Value: + * "US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES_WITH_SUPPORT") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_UsRegionalAccess * Assured Workloads For US Regions data protection controls (Value: * "US_REGIONAL_ACCESS") diff --git a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h index 4e9680506..1dcf0428d 100644 --- a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h +++ b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h @@ -2647,10 +2647,11 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week * Required. Configures the duration for which backup data will be kept. It is * defined in “days”. The value should be greater than or equal to minimum * enforced retention of the backup vault. Minimum value is 1 and maximum value - * is 90 for hourly backups. Minimum value is 1 and maximum value is 186 for - * daily backups. Minimum value is 7 and maximum value is 366 for weekly - * backups. Minimum value is 30 and maximum value is 732 for monthly backups. - * Minimum value is 365 and maximum value is 36159 for yearly backups. + * is 36159 for custom retention on-demand backup. Minimum value is 1 and + * maximum value is 90 for hourly backups. Minimum value is 1 and maximum value + * is 186 for daily backups. Minimum value is 7 and maximum value is 366 for + * weekly backups. Minimum value is 30 and maximum value is 732 for monthly + * backups. Minimum value is 365 and maximum value is 36159 for yearly backups. * * Uses NSNumber of intValue. */ @@ -2665,7 +2666,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week @property(nonatomic, copy, nullable) NSString *ruleId; /** - * Required. Defines a schedule that runs within the confines of a defined + * Optional. Defines a schedule that runs within the confines of a defined * window of time. */ @property(nonatomic, strong, nullable) GTLRBackupdr_StandardSchedule *standardSchedule; diff --git a/Sources/GeneratedServices/BareMetalSolution/Public/GoogleAPIClientForREST/GTLRBareMetalSolutionObjects.h b/Sources/GeneratedServices/BareMetalSolution/Public/GoogleAPIClientForREST/GTLRBareMetalSolutionObjects.h index 1fe0ca64c..a4b925a6f 100644 --- a/Sources/GeneratedServices/BareMetalSolution/Public/GoogleAPIClientForREST/GTLRBareMetalSolutionObjects.h +++ b/Sources/GeneratedServices/BareMetalSolution/Public/GoogleAPIClientForREST/GTLRBareMetalSolutionObjects.h @@ -1303,7 +1303,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBareMetalSolution_VRF_State_StateUnspeci @property(nonatomic, strong, nullable) NSNumber *hyperthreading; /** - * A transient unique identifier to idenfity an instance within an + * A transient unique identifier to identify an instance within an * ProvisioningConfig request. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). diff --git a/Sources/GeneratedServices/BareMetalSolution/Public/GoogleAPIClientForREST/GTLRBareMetalSolutionQuery.h b/Sources/GeneratedServices/BareMetalSolution/Public/GoogleAPIClientForREST/GTLRBareMetalSolutionQuery.h index a650f1fb1..f68596c38 100644 --- a/Sources/GeneratedServices/BareMetalSolution/Public/GoogleAPIClientForREST/GTLRBareMetalSolutionQuery.h +++ b/Sources/GeneratedServices/BareMetalSolution/Public/GoogleAPIClientForREST/GTLRBareMetalSolutionQuery.h @@ -1135,7 +1135,7 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Submit a provisiong configuration for a given project. + * Submit a provisioning configuration for a given project. * * Method: baremetalsolution.projects.locations.provisioningConfigs.submit * @@ -1152,7 +1152,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRBareMetalSolution_SubmitProvisioningConfigResponse. * - * Submit a provisiong configuration for a given project. + * Submit a provisioning configuration for a given project. * * @param object The @c GTLRBareMetalSolution_SubmitProvisioningConfigRequest * to include in the query. diff --git a/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationObjects.m b/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationObjects.m index 7a99cbcbc..522441903 100644 --- a/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationObjects.m +++ b/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationObjects.m @@ -68,6 +68,11 @@ NSString * const kGTLRBigQueryReservation_CapacityCommitment_State_Pending = @"PENDING"; NSString * const kGTLRBigQueryReservation_CapacityCommitment_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRBigQueryReservation_FailoverReservationRequest.failoverMode +NSString * const kGTLRBigQueryReservation_FailoverReservationRequest_FailoverMode_FailoverModeUnspecified = @"FAILOVER_MODE_UNSPECIFIED"; +NSString * const kGTLRBigQueryReservation_FailoverReservationRequest_FailoverMode_Hard = @"HARD"; +NSString * const kGTLRBigQueryReservation_FailoverReservationRequest_FailoverMode_Soft = @"SOFT"; + // GTLRBigQueryReservation_Reservation.edition NSString * const kGTLRBigQueryReservation_Reservation_Edition_EditionUnspecified = @"EDITION_UNSPECIFIED"; NSString * const kGTLRBigQueryReservation_Reservation_Edition_Enterprise = @"ENTERPRISE"; @@ -214,6 +219,7 @@ @implementation GTLRBigQueryReservation_Expr // @implementation GTLRBigQueryReservation_FailoverReservationRequest +@dynamic failoverMode; @end @@ -340,7 +346,7 @@ @implementation GTLRBigQueryReservation_Policy // @implementation GTLRBigQueryReservation_ReplicationStatus -@dynamic error, lastErrorTime, lastReplicationTime; +@dynamic error, lastErrorTime, lastReplicationTime, softFailoverStartTime; @end diff --git a/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationQuery.m b/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationQuery.m index dd8027c37..c7aa56460 100644 --- a/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationQuery.m +++ b/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationQuery.m @@ -249,6 +249,29 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRBigQueryReservationQuery_ProjectsLocationsReservationsAssignmentsGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; + GTLRBigQueryReservationQuery_ProjectsLocationsReservationsAssignmentsGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLRBigQueryReservation_Policy class]; + query.loggingName = @"bigqueryreservation.projects.locations.reservations.assignments.getIamPolicy"; + return query; +} + +@end + @implementation GTLRBigQueryReservationQuery_ProjectsLocationsReservationsAssignmentsList @dynamic pageSize, pageToken, parent; @@ -322,6 +345,60 @@ + (instancetype)queryWithObject:(GTLRBigQueryReservation_Assignment *)object @end +@implementation GTLRBigQueryReservationQuery_ProjectsLocationsReservationsAssignmentsSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRBigQueryReservation_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"; + GTLRBigQueryReservationQuery_ProjectsLocationsReservationsAssignmentsSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRBigQueryReservation_Policy class]; + query.loggingName = @"bigqueryreservation.projects.locations.reservations.assignments.setIamPolicy"; + return query; +} + +@end + +@implementation GTLRBigQueryReservationQuery_ProjectsLocationsReservationsAssignmentsTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRBigQueryReservation_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"; + GTLRBigQueryReservationQuery_ProjectsLocationsReservationsAssignmentsTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRBigQueryReservation_TestIamPermissionsResponse class]; + query.loggingName = @"bigqueryreservation.projects.locations.reservations.assignments.testIamPermissions"; + return query; +} + +@end + @implementation GTLRBigQueryReservationQuery_ProjectsLocationsReservationsCreate @dynamic parent, reservationId; diff --git a/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationObjects.h b/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationObjects.h index 9957f0cb4..7d4afd31e 100644 --- a/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationObjects.h +++ b/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationObjects.h @@ -359,6 +359,31 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_CapacityCommitment_S */ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_CapacityCommitment_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRBigQueryReservation_FailoverReservationRequest.failoverMode + +/** + * Invalid value. + * + * Value: "FAILOVER_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_FailoverReservationRequest_FailoverMode_FailoverModeUnspecified; +/** + * When customers initiate a hard failover, BigQuery will not wait until all + * committed writes are replicated to the secondary. There can be data loss for + * hard failover. + * + * Value: "HARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_FailoverReservationRequest_FailoverMode_Hard; +/** + * When customers initiate a soft failover, BigQuery will wait until all + * committed writes are replicated to the secondary. + * + * Value: "SOFT" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_FailoverReservationRequest_FailoverMode_Soft; + // ---------------------------------------------------------------------------- // GTLRBigQueryReservation_Reservation.edition @@ -999,6 +1024,23 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Reservation_ScalingM * The request for ReservationService.FailoverReservation. */ @interface GTLRBigQueryReservation_FailoverReservationRequest : GTLRObject + +/** + * Optional. failover mode for the failover operation. + * + * Likely values: + * @arg @c kGTLRBigQueryReservation_FailoverReservationRequest_FailoverMode_FailoverModeUnspecified + * Invalid value. (Value: "FAILOVER_MODE_UNSPECIFIED") + * @arg @c kGTLRBigQueryReservation_FailoverReservationRequest_FailoverMode_Hard + * When customers initiate a hard failover, BigQuery will not wait until + * all committed writes are replicated to the secondary. There can be + * data loss for hard failover. (Value: "HARD") + * @arg @c kGTLRBigQueryReservation_FailoverReservationRequest_FailoverMode_Soft + * When customers initiate a soft failover, BigQuery will wait until all + * committed writes are replicated to the secondary. (Value: "SOFT") + */ +@property(nonatomic, copy, nullable) NSString *failoverMode; + @end @@ -1248,6 +1290,14 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Reservation_ScalingM */ @property(nonatomic, strong, nullable) GTLRDateTime *lastReplicationTime; +/** + * Output only. The time at which a soft failover for the reservation and its + * associated datasets was initiated. After this field is set, all subsequent + * changes to the reservation will be rejected unless a hard failover overrides + * this operation. This field will be cleared once the failover is complete. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *softFailoverStartTime; + @end diff --git a/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationQuery.h b/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationQuery.h index 8887bf38c..220681081 100644 --- a/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationQuery.h +++ b/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationQuery.h @@ -492,6 +492,66 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Gets the access control policy for a resource. May return: * A`NOT_FOUND` + * error if the resource doesn't exist or you don't have the permission to view + * it. * An empty policy if the resource exists but doesn't have a set policy. + * Supported resources are: - Reservations - ReservationAssignments To call + * this method, you must have the following Google IAM permissions: - + * `bigqueryreservation.reservations.getIamPolicy` to get policies on + * reservations. + * + * Method: bigqueryreservation.projects.locations.reservations.assignments.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigQueryReservationBigquery + * @c kGTLRAuthScopeBigQueryReservationCloudPlatform + */ +@interface GTLRBigQueryReservationQuery_ProjectsLocationsReservationsAssignmentsGetIamPolicy : GTLRBigQueryReservationQuery + +/** + * 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 GTLRBigQueryReservation_Policy. + * + * Gets the access control policy for a resource. May return: * A`NOT_FOUND` + * error if the resource doesn't exist or you don't have the permission to view + * it. * An empty policy if the resource exists but doesn't have a set policy. + * Supported resources are: - Reservations - ReservationAssignments To call + * this method, you must have the following Google IAM permissions: - + * `bigqueryreservation.reservations.getIamPolicy` to get policies on + * reservations. + * + * @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 GTLRBigQueryReservationQuery_ProjectsLocationsReservationsAssignmentsGetIamPolicy + */ ++ (instancetype)queryWithResource:(NSString *)resource; + +@end + /** * Lists assignments. Only explicitly created assignments will be returned. * Example: * Organization `organizationA` contains two projects, `project1` @@ -638,6 +698,92 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Sets an access control policy for a resource. Replaces any existing policy. + * Supported resources are: - Reservations To call this method, you must have + * the following Google IAM permissions: - + * `bigqueryreservation.reservations.setIamPolicy` to set policies on + * reservations. + * + * Method: bigqueryreservation.projects.locations.reservations.assignments.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigQueryReservationBigquery + * @c kGTLRAuthScopeBigQueryReservationCloudPlatform + */ +@interface GTLRBigQueryReservationQuery_ProjectsLocationsReservationsAssignmentsSetIamPolicy : GTLRBigQueryReservationQuery + +/** + * 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 GTLRBigQueryReservation_Policy. + * + * Sets an access control policy for a resource. Replaces any existing policy. + * Supported resources are: - Reservations To call this method, you must have + * the following Google IAM permissions: - + * `bigqueryreservation.reservations.setIamPolicy` to set policies on + * reservations. + * + * @param object The @c GTLRBigQueryReservation_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 GTLRBigQueryReservationQuery_ProjectsLocationsReservationsAssignmentsSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRBigQueryReservation_SetIamPolicyRequest *)object + resource:(NSString *)resource; + +@end + +/** + * Gets your permissions on a resource. Returns an empty set of permissions if + * the resource doesn't exist. Supported resources are: - Reservations No + * Google IAM permissions are required to call this method. + * + * Method: bigqueryreservation.projects.locations.reservations.assignments.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigQueryReservationBigquery + * @c kGTLRAuthScopeBigQueryReservationCloudPlatform + */ +@interface GTLRBigQueryReservationQuery_ProjectsLocationsReservationsAssignmentsTestIamPermissions : GTLRBigQueryReservationQuery + +/** + * 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 GTLRBigQueryReservation_TestIamPermissionsResponse. + * + * Gets your permissions on a resource. Returns an empty set of permissions if + * the resource doesn't exist. Supported resources are: - Reservations No + * Google IAM permissions are required to call this method. + * + * @param object The @c GTLRBigQueryReservation_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 GTLRBigQueryReservationQuery_ProjectsLocationsReservationsAssignmentsTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRBigQueryReservation_TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + /** * Creates a new reservation resource. * @@ -786,8 +932,8 @@ NS_ASSUME_NONNULL_BEGIN * Gets the access control policy for a resource. May return: * A`NOT_FOUND` * error if the resource doesn't exist or you don't have the permission to view * it. * An empty policy if the resource exists but doesn't have a set policy. - * Supported resources are: - Reservations To call this method, you must have - * the following Google IAM permissions: - + * Supported resources are: - Reservations - ReservationAssignments To call + * this method, you must have the following Google IAM permissions: - * `bigqueryreservation.reservations.getIamPolicy` to get policies on * reservations. * @@ -826,8 +972,8 @@ NS_ASSUME_NONNULL_BEGIN * Gets the access control policy for a resource. May return: * A`NOT_FOUND` * error if the resource doesn't exist or you don't have the permission to view * it. * An empty policy if the resource exists but doesn't have a set policy. - * Supported resources are: - Reservations To call this method, you must have - * the following Google IAM permissions: - + * Supported resources are: - Reservations - ReservationAssignments To call + * this method, you must have the following Google IAM permissions: - * `bigqueryreservation.reservations.getIamPolicy` to get policies on * reservations. * diff --git a/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminQuery.m b/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminQuery.m index d5fe8f614..c7bc67ab9 100644 --- a/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminQuery.m +++ b/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminQuery.m @@ -34,6 +34,44 @@ @implementation GTLRBigtableAdminQuery @end +@implementation GTLRBigtableAdminQuery_OperationsCancel + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2/{+name}:cancel"; + GTLRBigtableAdminQuery_OperationsCancel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRBigtableAdmin_Empty class]; + query.loggingName = @"bigtableadmin.operations.cancel"; + return query; +} + +@end + +@implementation GTLRBigtableAdminQuery_OperationsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2/{+name}"; + GTLRBigtableAdminQuery_OperationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRBigtableAdmin_Empty class]; + query.loggingName = @"bigtableadmin.operations.delete"; + return query; +} + +@end + @implementation GTLRBigtableAdminQuery_OperationsGet @dynamic name; @@ -1720,6 +1758,25 @@ + (instancetype)queryWithObject:(GTLRBigtableAdmin_Instance *)object @end +@implementation GTLRBigtableAdminQuery_ProjectsLocationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2/{+name}"; + GTLRBigtableAdminQuery_ProjectsLocationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRBigtableAdmin_Location class]; + query.loggingName = @"bigtableadmin.projects.locations.get"; + return query; +} + +@end + @implementation GTLRBigtableAdminQuery_ProjectsLocationsList @dynamic extraLocationTypes, filter, name, pageSize, pageToken; diff --git a/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminQuery.h b/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminQuery.h index 1f3b733ab..3eedf25bc 100644 --- a/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminQuery.h +++ b/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminQuery.h @@ -96,6 +96,90 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdminViewViewUnspecified; @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: bigtableadmin.operations.cancel + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigtableAdminBigtableAdmin + * @c kGTLRAuthScopeBigtableAdminBigtableAdminCluster + * @c kGTLRAuthScopeBigtableAdminBigtableAdminInstance + * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdmin + * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdminCluster + * @c kGTLRAuthScopeBigtableAdminCloudPlatform + */ +@interface GTLRBigtableAdminQuery_OperationsCancel : GTLRBigtableAdminQuery + +/** The name of the operation resource to be cancelled. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRBigtableAdmin_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 name The name of the operation resource to be cancelled. + * + * @return GTLRBigtableAdminQuery_OperationsCancel + */ ++ (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: bigtableadmin.operations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigtableAdminBigtableAdmin + * @c kGTLRAuthScopeBigtableAdminBigtableAdminCluster + * @c kGTLRAuthScopeBigtableAdminBigtableAdminInstance + * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdmin + * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdminCluster + * @c kGTLRAuthScopeBigtableAdminCloudPlatform + */ +@interface GTLRBigtableAdminQuery_OperationsDelete : GTLRBigtableAdminQuery + +/** The name of the operation resource to be deleted. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRBigtableAdmin_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 GTLRBigtableAdminQuery_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 @@ -3313,6 +3397,38 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdminViewViewUnspecified; @end +/** + * Gets information about a location. + * + * Method: bigtableadmin.projects.locations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigtableAdminBigtableAdmin + * @c kGTLRAuthScopeBigtableAdminBigtableAdminCluster + * @c kGTLRAuthScopeBigtableAdminBigtableAdminInstance + * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdmin + * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdminCluster + * @c kGTLRAuthScopeBigtableAdminCloudPlatform + * @c kGTLRAuthScopeBigtableAdminCloudPlatformReadOnly + */ +@interface GTLRBigtableAdminQuery_ProjectsLocationsGet : GTLRBigtableAdminQuery + +/** Resource name for the location. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRBigtableAdmin_Location. + * + * Gets information about a location. + * + * @param name Resource name for the location. + * + * @return GTLRBigtableAdminQuery_ProjectsLocationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Lists information about the supported locations for this service. * diff --git a/Sources/GeneratedServices/Blogger/Public/GoogleAPIClientForREST/GTLRBloggerObjects.h b/Sources/GeneratedServices/Blogger/Public/GoogleAPIClientForREST/GTLRBloggerObjects.h index c24c074cb..21298ae4e 100644 --- a/Sources/GeneratedServices/Blogger/Public/GoogleAPIClientForREST/GTLRBloggerObjects.h +++ b/Sources/GeneratedServices/Blogger/Public/GoogleAPIClientForREST/GTLRBloggerObjects.h @@ -134,7 +134,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBlogger_Post_Status_SoftTrashed; @interface GTLRBlogger_Blog : GTLRObject /** The JSON custom meta-data for the Blog. */ -@property(nonatomic, copy, nullable) NSString *customMetaData; +@property(nonatomic, copy, nullable) NSString *customMetaData GTLR_DEPRECATED; /** * The description of this blog. This is displayed underneath the title. @@ -702,7 +702,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBlogger_Post_Status_SoftTrashed; @property(nonatomic, copy, nullable) NSString *content; /** The JSON meta-data for the Post. */ -@property(nonatomic, copy, nullable) NSString *customMetaData; +@property(nonatomic, copy, nullable) NSString *customMetaData GTLR_DEPRECATED; /** Etag of the resource. */ @property(nonatomic, copy, nullable) NSString *ETag; diff --git a/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m b/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m index 7d901c3cd..3b21d3b55 100644 --- a/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m +++ b/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m @@ -372,6 +372,18 @@ NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent_ConnectionState_Online = @"ONLINE"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent_ConnectionState_Portal = @"PORTAL"; +// GTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent.crashType +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent_CrashType_CrashTypeEmbeddedController = @"CRASH_TYPE_EMBEDDED_CONTROLLER"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent_CrashType_CrashTypeKernel = @"CRASH_TYPE_KERNEL"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent_CrashType_CrashTypeUnspecified = @"CRASH_TYPE_UNSPECIFIED"; + +// GTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent.sessionType +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent_SessionType_SessionTypeActiveDirectory = @"SESSION_TYPE_ACTIVE_DIRECTORY"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent_SessionType_SessionTypeKiosk = @"SESSION_TYPE_KIOSK"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent_SessionType_SessionTypeManagedGuest = @"SESSION_TYPE_MANAGED_GUEST"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent_SessionType_SessionTypeSignedInUser = @"SESSION_TYPE_SIGNED_IN_USER"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent_SessionType_SessionTypeUnspecified = @"SESSION_TYPE_UNSPECIFIED"; + // GTLRChromeManagement_GoogleChromeManagementV1ThunderboltInfo.securityLevel NSString * const kGTLRChromeManagement_GoogleChromeManagementV1ThunderboltInfo_SecurityLevel_ThunderboltSecurityDpOnlyLevel = @"THUNDERBOLT_SECURITY_DP_ONLY_LEVEL"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1ThunderboltInfo_SecurityLevel_ThunderboltSecurityLevelUnspecified = @"THUNDERBOLT_SECURITY_LEVEL_UNSPECIFIED"; @@ -1594,8 +1606,9 @@ @implementation GTLRChromeManagement_GoogleChromeManagementV1TelemetryDeviceInfo @implementation GTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent @dynamic appInstallEvent, appLaunchEvent, appUninstallEvent, audioSevereUnderrunEvent, device, eventType, httpsLatencyChangeEvent, - name, networkStateChangeEvent, reportTime, usbPeripheralsEvent, user, - vpnConnectionStateChangeEvent, wifiSignalStrengthEvent; + name, networkStateChangeEvent, osCrashEvent, reportTime, + usbPeripheralsEvent, user, vpnConnectionStateChangeEvent, + wifiSignalStrengthEvent; @end @@ -1668,6 +1681,16 @@ @implementation GTLRChromeManagement_GoogleChromeManagementV1TelemetryNotificati @end +// ---------------------------------------------------------------------------- +// +// GTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent +// + +@implementation GTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent +@dynamic crashId, crashType, sessionType; +@end + + // ---------------------------------------------------------------------------- // // GTLRChromeManagement_GoogleChromeManagementV1TelemetryUsbPeripheralsEvent diff --git a/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h b/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h index 4c7d57858..8001c0d00 100644 --- a/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h +++ b/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h @@ -80,6 +80,7 @@ @class GTLRChromeManagement_GoogleChromeManagementV1TelemetryNetworkSignalStrengthEvent; @class GTLRChromeManagement_GoogleChromeManagementV1TelemetryNotificationConfig; @class GTLRChromeManagement_GoogleChromeManagementV1TelemetryNotificationFilter; +@class GTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent; @class GTLRChromeManagement_GoogleChromeManagementV1TelemetryUsbPeripheralsEvent; @class GTLRChromeManagement_GoogleChromeManagementV1TelemetryUser; @class GTLRChromeManagement_GoogleChromeManagementV1TelemetryUserDevice; @@ -1991,6 +1992,62 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent_ConnectionState_Portal; +// ---------------------------------------------------------------------------- +// GTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent.crashType + +/** + * Embedded controller crash. + * + * Value: "CRASH_TYPE_EMBEDDED_CONTROLLER" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent_CrashType_CrashTypeEmbeddedController; +/** + * Kernel crash. + * + * Value: "CRASH_TYPE_KERNEL" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent_CrashType_CrashTypeKernel; +/** + * Crash type unknown. + * + * Value: "CRASH_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent_CrashType_CrashTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent.sessionType + +/** + * Active directory session. + * + * Value: "SESSION_TYPE_ACTIVE_DIRECTORY" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent_SessionType_SessionTypeActiveDirectory; +/** + * Kiosk. + * + * Value: "SESSION_TYPE_KIOSK" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent_SessionType_SessionTypeKiosk; +/** + * Managed guest session. + * + * Value: "SESSION_TYPE_MANAGED_GUEST" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent_SessionType_SessionTypeManagedGuest; +/** + * Signed in user. + * + * Value: "SESSION_TYPE_SIGNED_IN_USER" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent_SessionType_SessionTypeSignedInUser; +/** + * Session type unknown. + * + * Value: "SESSION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent_SessionType_SessionTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRChromeManagement_GoogleChromeManagementV1ThunderboltInfo.securityLevel @@ -5804,6 +5861,12 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV */ @property(nonatomic, strong, nullable) GTLRChromeManagement_GoogleChromeManagementV1TelemetryNetworkConnectionStateChangeEvent *networkStateChangeEvent; +/** + * Output only. Payload for OS crash event. Present only when `event_type` is + * `OS_CRASH`. + */ +@property(nonatomic, strong, nullable) GTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent *osCrashEvent; + /** Timestamp that represents when the event was reported. */ @property(nonatomic, strong, nullable) GTLRDateTime *reportTime; @@ -5982,6 +6045,47 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV @end +/** + * OS crash data. + */ +@interface GTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent : GTLRObject + +/** Crash id. */ +@property(nonatomic, copy, nullable) NSString *crashId; + +/** + * Crash type. + * + * Likely values: + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent_CrashType_CrashTypeEmbeddedController + * Embedded controller crash. (Value: "CRASH_TYPE_EMBEDDED_CONTROLLER") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent_CrashType_CrashTypeKernel + * Kernel crash. (Value: "CRASH_TYPE_KERNEL") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent_CrashType_CrashTypeUnspecified + * Crash type unknown. (Value: "CRASH_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *crashType; + +/** + * Session type. + * + * Likely values: + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent_SessionType_SessionTypeActiveDirectory + * Active directory session. (Value: "SESSION_TYPE_ACTIVE_DIRECTORY") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent_SessionType_SessionTypeKiosk + * Kiosk. (Value: "SESSION_TYPE_KIOSK") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent_SessionType_SessionTypeManagedGuest + * Managed guest session. (Value: "SESSION_TYPE_MANAGED_GUEST") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent_SessionType_SessionTypeSignedInUser + * Signed in user. (Value: "SESSION_TYPE_SIGNED_IN_USER") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryOsCrashEvent_SessionType_SessionTypeUnspecified + * Session type unknown. (Value: "SESSION_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *sessionType; + +@end + + /** * `TelemetryUsbPeripheralsEvent` is triggered USB devices are either added or * removed. * Granular permission needed: TELEMETRY_API_PERIPHERALS_REPORT diff --git a/Sources/GeneratedServices/Classroom/GTLRClassroomObjects.m b/Sources/GeneratedServices/Classroom/GTLRClassroomObjects.m index 6b93835b4..f5e9db212 100644 --- a/Sources/GeneratedServices/Classroom/GTLRClassroomObjects.m +++ b/Sources/GeneratedServices/Classroom/GTLRClassroomObjects.m @@ -526,6 +526,21 @@ @implementation GTLRClassroom_Form @end +// ---------------------------------------------------------------------------- +// +// GTLRClassroom_GeminiGem +// + +@implementation GTLRClassroom_GeminiGem +@dynamic identifier, title, url; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRClassroom_GlobalPermission @@ -1008,7 +1023,7 @@ + (NSString *)collectionItemsKey { // @implementation GTLRClassroom_Material -@dynamic driveFile, form, link, youtubeVideo; +@dynamic driveFile, form, gem, link, notebook, youtubeVideo; @end @@ -1107,6 +1122,21 @@ @implementation GTLRClassroom_Name @end +// ---------------------------------------------------------------------------- +// +// GTLRClassroom_NotebookLmNotebook +// + +@implementation GTLRClassroom_NotebookLmNotebook +@dynamic identifier, title, url; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRClassroom_ReclaimStudentSubmissionRequest diff --git a/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomObjects.h b/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomObjects.h index 78a2ed4fa..5ed63a26b 100644 --- a/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomObjects.h +++ b/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomObjects.h @@ -36,6 +36,7 @@ @class GTLRClassroom_EmbedUri; @class GTLRClassroom_Feed; @class GTLRClassroom_Form; +@class GTLRClassroom_GeminiGem; @class GTLRClassroom_GlobalPermission; @class GTLRClassroom_GradebookSettings; @class GTLRClassroom_GradeCategory; @@ -52,6 +53,7 @@ @class GTLRClassroom_MultipleChoiceQuestion; @class GTLRClassroom_MultipleChoiceSubmission; @class GTLRClassroom_Name; +@class GTLRClassroom_NotebookLmNotebook; @class GTLRClassroom_Rubric; @class GTLRClassroom_RubricGrade; @class GTLRClassroom_SharedDriveFile; @@ -1885,6 +1887,27 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroom_StudentSubmission_State_Turned @end +/** + * Gemini Gem link. + */ +@interface GTLRClassroom_GeminiGem : GTLRObject + +/** + * Gems resource id. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** Title of the Gem. Read-only. */ +@property(nonatomic, copy, nullable) NSString *title; + +/** URL that can be used to access the Gem. Read-only. */ +@property(nonatomic, copy, nullable) NSString *url; + +@end + + /** * Global user permission description. */ @@ -2650,7 +2673,7 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroom_StudentSubmission_State_Turned /** * Material attached to course work. When creating attachments, setting the - * `form` field is not supported. + * `form`, `gem`, or `notebook` field is not supported. */ @interface GTLRClassroom_Material : GTLRObject @@ -2660,12 +2683,18 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroom_StudentSubmission_State_Turned /** Google Forms material. Read-only. */ @property(nonatomic, strong, nullable) GTLRClassroom_Form *form; +/** Gemini Gem material. Read-only. */ +@property(nonatomic, strong, nullable) GTLRClassroom_GeminiGem *gem; + /** * Link material. On creation, this is upgraded to a more appropriate type if * possible, and this is reflected in the response. */ @property(nonatomic, strong, nullable) GTLRClassroom_Link *link; +/** NotebookLM Notebook material. Read-only. */ +@property(nonatomic, strong, nullable) GTLRClassroom_NotebookLmNotebook *notebook; + /** YouTube video material. */ @property(nonatomic, strong, nullable) GTLRClassroom_YouTubeVideo *youtubeVideo; @@ -2811,6 +2840,27 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroom_StudentSubmission_State_Turned @end +/** + * NotebookLM Notebook link. + */ +@interface GTLRClassroom_NotebookLmNotebook : GTLRObject + +/** + * Notebook resource id. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** Title of the Notebook. Read-only. */ +@property(nonatomic, copy, nullable) NSString *title; + +/** URL that can be used to access the Notebook. Read-only. */ +@property(nonatomic, copy, nullable) NSString *url; + +@end + + /** * Request to reclaim a student submission. */ diff --git a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h index 198ac6b49..5787bfc99 100644 --- a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h +++ b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h @@ -5466,7 +5466,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW /** - * Details regarding the upgrade of instaces associated with a cluster. + * Details regarding the upgrade of instances associated with a cluster. */ @interface GTLRCloudAlloyDBAdmin_InstanceUpgradeDetails : GTLRObject diff --git a/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h b/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h index 9e62964c8..8903b1f12 100644 --- a/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h +++ b/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h @@ -190,7 +190,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_AgentTask_TaskSource_User; * * Value: "PREEMPTIBLE" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_InstancePolicy_ProvisioningModel_Preemptible; +FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_InstancePolicy_ProvisioningModel_Preemptible GTLR_DEPRECATED; /** * Unspecified. * @@ -221,7 +221,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_InstancePolicy_ProvisioningMo * * Value: "PREEMPTIBLE" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_InstanceStatus_ProvisioningModel_Preemptible; +FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_InstanceStatus_ProvisioningModel_Preemptible GTLR_DEPRECATED; /** * Unspecified. * diff --git a/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m b/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m index 52da70fb1..13a3a4fa5 100644 --- a/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m +++ b/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m @@ -147,6 +147,11 @@ NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DataScan_Type_DataQuality = @"DATA_QUALITY"; NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DataScan_Type_DataScanTypeUnspecified = @"DATA_SCAN_TYPE_UNSPECIFIED"; +// GTLRCloudDataplex_GoogleCloudDataplexV1DataScanCatalogPublishingStatus.state +NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DataScanCatalogPublishingStatus_State_Failed = @"FAILED"; +NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DataScanCatalogPublishingStatus_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DataScanCatalogPublishingStatus_State_Succeeded = @"SUCCEEDED"; + // GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEvent.scope NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DataScanEvent_Scope_Full = @"FULL"; NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DataScanEvent_Scope_Incremental = @"INCREMENTAL"; @@ -1140,7 +1145,7 @@ @implementation GTLRCloudDataplex_GoogleCloudDataplexV1DataDiscoverySpec // @implementation GTLRCloudDataplex_GoogleCloudDataplexV1DataDiscoverySpecBigQueryPublishingConfig -@dynamic connection, location, tableType; +@dynamic connection, location, project, tableType; @end @@ -1371,7 +1376,15 @@ @implementation GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileSpecSelectedFi // @implementation GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityColumnResult -@dynamic column, score; +@dynamic column, dimensions, passed, score; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dimensions" : [GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityDimensionResult class] + }; + return map; +} + @end @@ -1401,8 +1414,8 @@ @implementation GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityDimensionResul // @implementation GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityResult -@dynamic columns, dimensions, passed, postScanActionsResult, rowCount, rules, - scannedData, score; +@dynamic catalogPublishingStatus, columns, dimensions, passed, + postScanActionsResult, rowCount, rules, scannedData, score; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1580,7 +1593,8 @@ @implementation GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityScanRuleResult // @implementation GTLRCloudDataplex_GoogleCloudDataplexV1DataQualitySpec -@dynamic postScanActions, rowFilter, rules, samplingPercent; +@dynamic catalogPublishingEnabled, postScanActions, rowFilter, rules, + samplingPercent; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1700,14 +1714,24 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudDataplex_GoogleCloudDataplexV1DataScanCatalogPublishingStatus +// + +@implementation GTLRCloudDataplex_GoogleCloudDataplexV1DataScanCatalogPublishingStatus +@dynamic state; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEvent // @implementation GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEvent -@dynamic createTime, dataProfile, dataProfileConfigs, dataQuality, - dataQualityConfigs, dataSource, endTime, jobId, message, +@dynamic catalogPublishingStatus, createTime, dataProfile, dataProfileConfigs, + dataQuality, dataQualityConfigs, dataSource, endTime, jobId, message, postScanActionsResult, scope, specVersion, startTime, state, trigger, type; @end @@ -2510,7 +2534,7 @@ @implementation GTLRCloudDataplex_GoogleCloudDataplexV1GovernanceEventEntity // @implementation GTLRCloudDataplex_GoogleCloudDataplexV1ImportItem -@dynamic aspectKeys, entry, updateMask; +@dynamic aspectKeys, entry, entryLink, updateMask; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -3245,7 +3269,8 @@ @implementation GTLRCloudDataplex_GoogleCloudDataplexV1MetadataJobExportJobSpecE // @implementation GTLRCloudDataplex_GoogleCloudDataplexV1MetadataJobImportJobResult -@dynamic createdEntries, deletedEntries, recreatedEntries, unchangedEntries, +@dynamic createdEntries, createdEntryLinks, deletedEntries, deletedEntryLinks, + recreatedEntries, unchangedEntries, unchangedEntryLinks, updatedEntries, updateTime; @end @@ -3267,13 +3292,17 @@ @implementation GTLRCloudDataplex_GoogleCloudDataplexV1MetadataJobImportJobSpec // @implementation GTLRCloudDataplex_GoogleCloudDataplexV1MetadataJobImportJobSpecImportJobScope -@dynamic aspectTypes, entryGroups, entryTypes; +@dynamic aspectTypes, entryGroups, entryLinkTypes, entryTypes, glossaries, + referencedEntryScopes; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"aspectTypes" : [NSString class], @"entryGroups" : [NSString class], - @"entryTypes" : [NSString class] + @"entryLinkTypes" : [NSString class], + @"entryTypes" : [NSString class], + @"glossaries" : [NSString class], + @"referencedEntryScopes" : [NSString class] }; return map; } diff --git a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h index ccd19a6ec..c3a691613 100644 --- a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h +++ b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h @@ -103,6 +103,7 @@ @class GTLRCloudDataplex_GoogleCloudDataplexV1DataQualitySpecPostScanActionsScoreThresholdTrigger; @class GTLRCloudDataplex_GoogleCloudDataplexV1DataScan; @class GTLRCloudDataplex_GoogleCloudDataplexV1DataScan_Labels; +@class GTLRCloudDataplex_GoogleCloudDataplexV1DataScanCatalogPublishingStatus; @class GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEventDataProfileAppliedConfigs; @class GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEventDataProfileResult; @class GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEventDataQualityAppliedConfigs; @@ -133,6 +134,7 @@ @class GTLRCloudDataplex_GoogleCloudDataplexV1Entry_Aspects; @class GTLRCloudDataplex_GoogleCloudDataplexV1EntryGroup; @class GTLRCloudDataplex_GoogleCloudDataplexV1EntryGroup_Labels; +@class GTLRCloudDataplex_GoogleCloudDataplexV1EntryLink; @class GTLRCloudDataplex_GoogleCloudDataplexV1EntryLinkEntryReference; @class GTLRCloudDataplex_GoogleCloudDataplexV1EntrySource; @class GTLRCloudDataplex_GoogleCloudDataplexV1EntrySource_Labels; @@ -875,6 +877,28 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DataS */ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DataScan_Type_DataScanTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRCloudDataplex_GoogleCloudDataplexV1DataScanCatalogPublishingStatus.state + +/** + * Publish to catalog failed. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DataScanCatalogPublishingStatus_State_Failed; +/** + * The publishing state is unspecified. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DataScanCatalogPublishingStatus_State_StateUnspecified; +/** + * Publish to catalog completed successfully. + * + * Value: "SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1DataScanCatalogPublishingStatus_State_Succeeded; + // ---------------------------------------------------------------------------- // GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEvent.scope @@ -4127,6 +4151,14 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *location; +/** + * Optional. The project of the BigQuery dataset to publish BigLake external or + * non-BigLake external tables to. If not specified, the project of the Cloud + * Storage bucket will be used. The format is + * "projects/{project_id_or_number}". + */ +@property(nonatomic, copy, nullable) NSString *project; + /** * Optional. Determines whether to publish discovered tables as BigLake * external tables or non-BigLake external tables. @@ -4643,6 +4675,16 @@ GTLR_DEPRECATED /** Output only. The column specified in the DataQualityRule. */ @property(nonatomic, copy, nullable) NSString *column; +/** Output only. The dimension-level results for this column. */ +@property(nonatomic, strong, nullable) NSArray *dimensions; + +/** + * Output only. Whether the column passed or failed. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *passed; + /** * Output only. The column-level data quality score for this data scan job if * and only if the 'column' field is set.The score ranges between between 0, @@ -4705,6 +4747,9 @@ GTLR_DEPRECATED */ @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityResult : GTLRObject +/** Output only. The status of publishing the data scan to Catalog. */ +@property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1DataScanCatalogPublishingStatus *catalogPublishingStatus; + /** * Output only. A list of results at the column level.A column will have a * corresponding DataQualityColumnResult if and only if there is at least one @@ -5269,6 +5314,14 @@ GTLR_DEPRECATED */ @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataQualitySpec : GTLRObject +/** + * Optional. If set, the latest DataScan job result will be published to + * Dataplex Catalog. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *catalogPublishingEnabled; + /** Optional. Actions to take upon job completion. */ @property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1DataQualitySpecPostScanActions *postScanActions; @@ -5528,12 +5581,36 @@ GTLR_DEPRECATED @end +/** + * The status of publishing the data scan result to Catalog. + */ +@interface GTLRCloudDataplex_GoogleCloudDataplexV1DataScanCatalogPublishingStatus : GTLRObject + +/** + * Output only. Execution state for catalog publishing. + * + * Likely values: + * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1DataScanCatalogPublishingStatus_State_Failed + * Publish to catalog failed. (Value: "FAILED") + * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1DataScanCatalogPublishingStatus_State_StateUnspecified + * The publishing state is unspecified. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1DataScanCatalogPublishingStatus_State_Succeeded + * Publish to catalog completed successfully. (Value: "SUCCEEDED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + /** * These messages contain information about the execution of a datascan. The * monitored resource is 'DataScan' */ @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEvent : GTLRObject +/** The status of publishing the data scan to Catalog. */ +@property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1DataScanCatalogPublishingStatus *catalogPublishingStatus; + /** The time when the data scan job was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; @@ -7238,32 +7315,32 @@ GTLR_DEPRECATED /** - * A Glossary represents a collection of categories and terms defined by the - * user. Glossary is a top level resource and is the GCP parent resource of all - * the categories and terms within it. + * A Glossary represents a collection of GlossaryCategories and GlossaryTerms + * defined by the user. Glossary is a top level resource and is the GCP parent + * resource of all the GlossaryCategories and GlossaryTerms within it. */ @interface GTLRCloudDataplex_GoogleCloudDataplexV1Glossary : GTLRObject /** - * Output only. The number of categories in the glossary. + * Output only. The number of GlossaryCategories in the Glossary. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *categoryCount; -/** Output only. The time at which the glossary was created. */ +/** Output only. The time at which the Glossary was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Optional. The user-mutable description of the glossary. + * Optional. The user-mutable description of the Glossary. * * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; /** - * Optional. User friendly display name of the glossary. This is user-mutable. - * This will be same as the glossaryId, if not specified. + * Optional. User friendly display name of the Glossary. This is user-mutable. + * This will be same as the GlossaryId, if not specified. */ @property(nonatomic, copy, nullable) NSString *displayName; @@ -7280,12 +7357,12 @@ GTLR_DEPRECATED /** * Output only. Identifier. The resource name of the Glossary. Format: - * projects/{projectId}/locations/{locationId}/glossaries/{glossaryId} + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} */ @property(nonatomic, copy, nullable) NSString *name; /** - * Output only. The number of terms in the glossary. + * Output only. The number of GlossaryTerms in the Glossary. * * Uses NSNumber of intValue. */ @@ -7297,7 +7374,7 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *uid; -/** Output only. The time at which the glossary was last updated. */ +/** Output only. The time at which the Glossary was last updated. */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @end @@ -7316,8 +7393,8 @@ GTLR_DEPRECATED /** - * A GlossaryCategory represents a collection of categories and terms within a - * Glossary that are related to each other. + * A GlossaryCategory represents a collection of GlossaryCategories and + * GlossaryTerms within a Glossary that are related to each other. */ @interface GTLRCloudDataplex_GoogleCloudDataplexV1GlossaryCategory : GTLRObject @@ -7333,7 +7410,7 @@ GTLR_DEPRECATED /** * Optional. User friendly display name of the GlossaryCategory. This is - * user-mutable. This will be same as the categoryId, if not specified. + * user-mutable. This will be same as the GlossaryCategoryId, if not specified. */ @property(nonatomic, copy, nullable) NSString *displayName; @@ -7342,15 +7419,17 @@ GTLR_DEPRECATED /** * Output only. Identifier. The resource name of the GlossaryCategory. Format: - * projects/{projectId}/locations/{locationId}/glossaries/{glossaryId}/categories/{categoryId} + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id} */ @property(nonatomic, copy, nullable) NSString *name; /** * Required. The immediate parent of the GlossaryCategory in the - * resource-hierarchy. It can either be a Glossary or a Category. Format: - * projects/{projectId}/locations/{locationId}/glossaries/{glossaryId} OR - * projects/{projectId}/locations/{locationId}/glossaries/{glossaryId}/categories/{categoryId} + * resource-hierarchy. It can either be a Glossary or a GlossaryCategory. + * Format: + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} + * OR + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id} */ @property(nonatomic, copy, nullable) NSString *parent; @@ -7380,8 +7459,8 @@ GTLR_DEPRECATED /** - * GlossaryTerms are the core of glossary. A GlossaryTerm holds a rich text - * description that can be attached to entries or specific columns to enrich + * GlossaryTerms are the core of Glossary. A GlossaryTerm holds a rich text + * description that can be attached to Entries or specific columns to enrich * them. */ @interface GTLRCloudDataplex_GoogleCloudDataplexV1GlossaryTerm : GTLRObject @@ -7398,7 +7477,7 @@ GTLR_DEPRECATED /** * Optional. User friendly display name of the GlossaryTerm. This is - * user-mutable. This will be same as the termId, if not specified. + * user-mutable. This will be same as the GlossaryTermId, if not specified. */ @property(nonatomic, copy, nullable) NSString *displayName; @@ -7407,15 +7486,17 @@ GTLR_DEPRECATED /** * Output only. Identifier. The resource name of the GlossaryTerm. Format: - * projects/{projectId}/locations/{locationId}/glossaries/{glossaryId}/terms/{termId} + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/terms/{term_id} */ @property(nonatomic, copy, nullable) NSString *name; /** * Required. The immediate parent of the GlossaryTerm in the - * resource-hierarchy. It can either be a Glossary or a Category. Format: - * projects/{projectId}/locations/{locationId}/glossaries/{glossaryId} OR - * projects/{projectId}/locations/{locationId}/glossaries/{glossaryId}/categories/{categoryId} + * resource-hierarchy. It can either be a Glossary or a GlossaryCategory. + * Format: + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} + * OR + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id} */ @property(nonatomic, copy, nullable) NSString *parent; @@ -7566,6 +7647,13 @@ GTLR_DEPRECATED /** Information about an entry and its attached aspects. */ @property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1Entry *entry; +/** + * Information about the entry link. User should provide either one of the + * entry or entry_link. While providing entry_link, user should not provide + * update_mask and aspect_keys. + */ +@property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1EntryLink *entryLink; + /** * The fields to update, in paths that are relative to the Entry resource. * Separate each field with a comma.In FULL entry sync mode, Dataplex includes @@ -8368,7 +8456,7 @@ GTLR_DEPRECATED @interface GTLRCloudDataplex_GoogleCloudDataplexV1ListGlossariesResponse : GTLRCollectionObject /** - * Lists the glossaries in the specified parent. + * Lists the Glossaries in the specified parent. * * @note This property is used to support NSFastEnumeration and indexed * subscripting on this class. @@ -8398,7 +8486,7 @@ GTLR_DEPRECATED @interface GTLRCloudDataplex_GoogleCloudDataplexV1ListGlossaryCategoriesResponse : GTLRCollectionObject /** - * Lists the glossaryCategories in the specified parent. + * Lists the GlossaryCategories in the specified parent. * * @note This property is used to support NSFastEnumeration and indexed * subscripting on this class. @@ -8434,7 +8522,7 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *nextPageToken; /** - * Lists the terms in the specified parent. + * Lists the GlossaryTerms in the specified parent. * * @note This property is used to support NSFastEnumeration and indexed * subscripting on this class. @@ -8830,6 +8918,13 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSNumber *createdEntries; +/** + * Output only. The total number of entry links that were successfully created. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *createdEntryLinks; + /** * Output only. The total number of entries that were deleted. * @@ -8837,6 +8932,13 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSNumber *deletedEntries; +/** + * Output only. The total number of entry links that were successfully deleted. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *deletedEntryLinks; + /** * Output only. The total number of entries that were recreated. * @@ -8851,6 +8953,13 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSNumber *unchangedEntries; +/** + * Output only. The total number of entry links that were left unchanged. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *unchangedEntryLinks; + /** * Output only. The total number of entries that were updated. * @@ -9010,6 +9119,17 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSArray *entryGroups; +/** + * Optional. The entry link types that are in scope for the import job, + * specified as relative resource names in the format + * projects/{project_number_or_id}/locations/{location_id}/entryLinkTypes/{entry_link_type_id}. + * The job modifies only the entryLinks that belong to these entry link + * types.If the metadata import file attempts to create or delete an entry link + * whose entry link type isn't included in this list, the import job will skip + * those entry links. + */ +@property(nonatomic, strong, nullable) NSArray *entryLinkTypes; + /** * Required. The entry types that are in scope for the import job, specified as * relative resource names in the format @@ -9022,6 +9142,28 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSArray *entryTypes; +/** + * Optional. The glossaries that are in scope for the import job, specified as + * relative resource names in the format + * projects/{project_number_or_id}/locations/{location_id}/glossaries/{glossary_id}.While + * importing Business Glossary entries, the user must provide glossaries. While + * importing entries, the user does not have to provide glossaries. If the + * metadata import file attempts to modify Business Glossary entries whose + * glossary isn't included in this list, the import job will skip those + * entries.The location of a glossary must either match the location of the + * job, or the glossary must be global. + */ +@property(nonatomic, strong, nullable) NSArray *glossaries; + +/** + * Optional. Defines the scope of entries that can be referenced in the entry + * links.Currently, projects are supported as valid scopes. Format: + * projects/{project_number_or_id}If the metadata import file attempts to + * create an entry link which references an entry that is not in the scope, the + * import job will skip that entry link. + */ +@property(nonatomic, strong, nullable) NSArray *referencedEntryScopes; + @end diff --git a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h index 7a1bf1e41..03987b84d 100644 --- a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h +++ b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h @@ -3881,8 +3881,7 @@ GTLR_DEPRECATED @end /** - * GlossaryCategory APIs are CCFE passthrough APIs. Creates a new - * GlossaryCategory resource. + * Creates a new GlossaryCategory resource. * * Method: dataplex.projects.locations.glossaries.categories.create * @@ -3891,12 +3890,13 @@ GTLR_DEPRECATED */ @interface GTLRCloudDataplexQuery_ProjectsLocationsGlossariesCategoriesCreate : GTLRCloudDataplexQuery -/** Required. Category ID: GlossaryCategory identifier. */ +/** Required. GlossaryCategory identifier. */ @property(nonatomic, copy, nullable) NSString *categoryId; /** * Required. The parent resource where this GlossaryCategory will be created. - * Format: projects/{projectId}/locations/{locationId}/glossaries/{glossaryId} + * Format: + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} * where locationId refers to a GCP region. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -3904,15 +3904,14 @@ GTLR_DEPRECATED /** * Fetches a @c GTLRCloudDataplex_GoogleCloudDataplexV1GlossaryCategory. * - * GlossaryCategory APIs are CCFE passthrough APIs. Creates a new - * GlossaryCategory resource. + * Creates a new GlossaryCategory resource. * * @param object The @c GTLRCloudDataplex_GoogleCloudDataplexV1GlossaryCategory * to include in the query. * @param parent Required. The parent resource where this GlossaryCategory will * be created. Format: - * projects/{projectId}/locations/{locationId}/glossaries/{glossaryId} where - * locationId refers to a GCP region. + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} + * where locationId refers to a GCP region. * * @return GTLRCloudDataplexQuery_ProjectsLocationsGlossariesCategoriesCreate */ @@ -3922,9 +3921,9 @@ GTLR_DEPRECATED @end /** - * Deletes a GlossaryCategory resource. All the categories and terms nested - * directly under the category will be moved one level up to the parent in the - * hierarchy. + * Deletes a GlossaryCategory resource. All the GlossaryCategories and + * GlossaryTerms nested directly under the specified GlossaryCategory will be + * moved one level up to the parent in the hierarchy. * * Method: dataplex.projects.locations.glossaries.categories.delete * @@ -3935,19 +3934,19 @@ GTLR_DEPRECATED /** * Required. The name of the GlossaryCategory to delete. Format: - * projects/{project}/locations/{location}/glossary/{glossary}/categories/{glossary_category} + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id} */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRCloudDataplex_Empty. * - * Deletes a GlossaryCategory resource. All the categories and terms nested - * directly under the category will be moved one level up to the parent in the - * hierarchy. + * Deletes a GlossaryCategory resource. All the GlossaryCategories and + * GlossaryTerms nested directly under the specified GlossaryCategory will be + * moved one level up to the parent in the hierarchy. * * @param name Required. The name of the GlossaryCategory to delete. Format: - * projects/{project}/locations/{location}/glossary/{glossary}/categories/{glossary_category} + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id} * * @return GTLRCloudDataplexQuery_ProjectsLocationsGlossariesCategoriesDelete */ @@ -3956,7 +3955,7 @@ GTLR_DEPRECATED @end /** - * Retrieves a specified GlossaryCategory resource. + * Gets a GlossaryCategory resource. * * Method: dataplex.projects.locations.glossaries.categories.get * @@ -3967,17 +3966,17 @@ GTLR_DEPRECATED /** * Required. The name of the GlossaryCategory to retrieve. Format: - * projects/{project}/locations/{location}/glossaries/{glossary}/categories/{glossary_category} + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id} */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRCloudDataplex_GoogleCloudDataplexV1GlossaryCategory. * - * Retrieves a specified GlossaryCategory resource. + * Gets a GlossaryCategory resource. * * @param name Required. The name of the GlossaryCategory to retrieve. Format: - * projects/{project}/locations/{location}/glossaries/{glossary}/categories/{glossary_category} + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id} * * @return GTLRCloudDataplexQuery_ProjectsLocationsGlossariesCategoriesGet */ @@ -4036,7 +4035,7 @@ GTLR_DEPRECATED @end /** - * Lists GlossaryCategory resources in a glossary. + * Lists GlossaryCategory resources in a Glossary. * * Method: dataplex.projects.locations.glossaries.categories.list * @@ -4046,26 +4045,29 @@ GTLR_DEPRECATED @interface GTLRCloudDataplexQuery_ProjectsLocationsGlossariesCategoriesList : GTLRCloudDataplexQuery /** - * Optional. Filter expression that filters categories listed in the response. - * Filters supported: List GlossaryCategories based on immediate parent in the - * resource hierarchy. This will only return the GlossaryCategories nested - * directly under the parent and no other subsequent nested categories will be - * returned. + * Optional. Filter expression that filters GlossaryCategories listed in the + * response. Filters are supported on the following fields: - + * immediate_parentExamples of using a filter are: - + * immediate_parent="projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}" + * - + * immediate_parent="projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id}"This + * will only return the GlossaryCategories that are directly nested under the + * specified parent. */ @property(nonatomic, copy, nullable) NSString *filter; /** - * Optional. Order by expression that orders categories listed in the response. - * Order by fields are: name or create_time for the result. If not specified, - * the ordering is undefined. + * Optional. Order by expression that orders GlossaryCategories listed in the + * response. Order by fields are: name or create_time for the result. If not + * specified, the ordering is undefined. */ @property(nonatomic, copy, nullable) NSString *orderBy; /** - * Optional. The maximum number of categories to return. The service may return - * fewer than this value. If unspecified, at most 50 categories will be - * returned. The maximum value is 1000; values above 1000 will be coerced to - * 1000. + * Optional. The maximum number of GlossaryCategories to return. The service + * may return fewer than this value. If unspecified, at most 50 + * GlossaryCategories will be returned. The maximum value is 1000; values above + * 1000 will be coerced to 1000. */ @property(nonatomic, assign) NSInteger pageSize; @@ -4078,9 +4080,10 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. The parent, which has this collection of categories. Format: - * projects/{project}/locations/{location}/glossaries/{glossary} Location is - * the GCP region. + * Required. The parent, which has this collection of GlossaryCategories. + * Format: + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} + * Location is the GCP region. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -4088,10 +4091,11 @@ GTLR_DEPRECATED * Fetches a @c * GTLRCloudDataplex_GoogleCloudDataplexV1ListGlossaryCategoriesResponse. * - * Lists GlossaryCategory resources in a glossary. + * Lists GlossaryCategory resources in a Glossary. * - * @param parent Required. The parent, which has this collection of categories. - * Format: projects/{project}/locations/{location}/glossaries/{glossary} + * @param parent Required. The parent, which has this collection of + * GlossaryCategories. Format: + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} * Location is the GCP region. * * @return GTLRCloudDataplexQuery_ProjectsLocationsGlossariesCategoriesList @@ -4116,7 +4120,7 @@ GTLR_DEPRECATED /** * Output only. Identifier. The resource name of the GlossaryCategory. Format: - * projects/{projectId}/locations/{locationId}/glossaries/{glossaryId}/categories/{categoryId} + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id} */ @property(nonatomic, copy, nullable) NSString *name; @@ -4136,7 +4140,7 @@ GTLR_DEPRECATED * to include in the query. * @param name Output only. Identifier. The resource name of the * GlossaryCategory. Format: - * projects/{projectId}/locations/{locationId}/glossaries/{glossaryId}/categories/{categoryId} + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id} * * @return GTLRCloudDataplexQuery_ProjectsLocationsGlossariesCategoriesPatch */ @@ -4244,13 +4248,13 @@ GTLR_DEPRECATED /** * Required. The parent resource where this Glossary will be created. Format: - * projects/{projectId}/locations/{locationId} where locationId refers to a GCP - * region. + * projects/{project_id_or_number}/locations/{location_id} where location_id + * refers to a GCP region. */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Optional. Validates the request without actually creating the glossary. + * Optional. Validates the request without actually creating the Glossary. * Default: false. */ @property(nonatomic, assign) BOOL validateOnly; @@ -4263,8 +4267,8 @@ GTLR_DEPRECATED * @param object The @c GTLRCloudDataplex_GoogleCloudDataplexV1Glossary to * include in the query. * @param parent Required. The parent resource where this Glossary will be - * created. Format: projects/{projectId}/locations/{locationId} where - * locationId refers to a GCP region. + * created. Format: projects/{project_id_or_number}/locations/{location_id} + * where location_id refers to a GCP region. * * @return GTLRCloudDataplexQuery_ProjectsLocationsGlossariesCreate */ @@ -4275,7 +4279,7 @@ GTLR_DEPRECATED /** * Deletes a Glossary resource. All the categories and terms within the - * glossary must be deleted before a glossary can be deleted. + * Glossary must be deleted before the Glossary can be deleted. * * Method: dataplex.projects.locations.glossaries.delete * @@ -4293,7 +4297,7 @@ GTLR_DEPRECATED /** * Required. The name of the Glossary to delete. Format: - * projects/{project}/locations/{location}/glossary/{glossary} + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} */ @property(nonatomic, copy, nullable) NSString *name; @@ -4301,10 +4305,10 @@ GTLR_DEPRECATED * Fetches a @c GTLRCloudDataplex_GoogleLongrunningOperation. * * Deletes a Glossary resource. All the categories and terms within the - * glossary must be deleted before a glossary can be deleted. + * Glossary must be deleted before the Glossary can be deleted. * * @param name Required. The name of the Glossary to delete. Format: - * projects/{project}/locations/{location}/glossary/{glossary} + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} * * @return GTLRCloudDataplexQuery_ProjectsLocationsGlossariesDelete */ @@ -4313,7 +4317,7 @@ GTLR_DEPRECATED @end /** - * Retrieves a specified Glossary resource. + * Gets a Glossary resource. * * Method: dataplex.projects.locations.glossaries.get * @@ -4324,17 +4328,17 @@ GTLR_DEPRECATED /** * Required. The name of the Glossary to retrieve. Format: - * projects/{project}/locations/{location}/glossaries/{glossary} + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRCloudDataplex_GoogleCloudDataplexV1Glossary. * - * Retrieves a specified Glossary resource. + * Gets a Glossary resource. * * @param name Required. The name of the Glossary to retrieve. Format: - * projects/{project}/locations/{location}/glossaries/{glossary} + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} * * @return GTLRCloudDataplexQuery_ProjectsLocationsGlossariesGet */ @@ -4403,21 +4407,22 @@ GTLR_DEPRECATED @interface GTLRCloudDataplexQuery_ProjectsLocationsGlossariesList : GTLRCloudDataplexQuery /** - * Optional. Filter expression that filters glossaries listed in the response. - * Initially, no filter is supported. + * Optional. Filter expression that filters Glossaries listed in the response. + * Filters on proto fields of Glossary are supported. Examples of using a + * filter are: - display_name="my-glossary" - categoryCount=1 - termCount=0 */ @property(nonatomic, copy, nullable) NSString *filter; /** - * Optional. Order by expression that orders glossaries listed in the response. + * Optional. Order by expression that orders Glossaries listed in the response. * Order by fields are: name or create_time for the result. If not specified, * the ordering is undefined. */ @property(nonatomic, copy, nullable) NSString *orderBy; /** - * Optional. The maximum number of glossaries to return. The service may return - * fewer than this value. If unspecified, at most 50 glossaries will be + * Optional. The maximum number of Glossaries to return. The service may return + * fewer than this value. If unspecified, at most 50 Glossaries will be * returned. The maximum value is 1000; values above 1000 will be coerced to * 1000. */ @@ -4432,8 +4437,9 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. The parent, which has this collection of glossaries. Format: - * projects/{project}/locations/{location} Location is the GCP region. + * Required. The parent, which has this collection of Glossaries. Format: + * projects/{project_id_or_number}/locations/{location_id} where location_id + * refers to a GCP region. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -4442,9 +4448,9 @@ GTLR_DEPRECATED * * Lists Glossary resources in a project and location. * - * @param parent Required. The parent, which has this collection of glossaries. - * Format: projects/{project}/locations/{location} Location is the GCP - * region. + * @param parent Required. The parent, which has this collection of Glossaries. + * Format: projects/{project_id_or_number}/locations/{location_id} where + * location_id refers to a GCP region. * * @return GTLRCloudDataplexQuery_ProjectsLocationsGlossariesList * @@ -4468,7 +4474,7 @@ GTLR_DEPRECATED /** * Output only. Identifier. The resource name of the Glossary. Format: - * projects/{projectId}/locations/{locationId}/glossaries/{glossaryId} + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} */ @property(nonatomic, copy, nullable) NSString *name; @@ -4480,7 +4486,7 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *updateMask; /** - * Optional. Validates the request without actually updating the glossary. + * Optional. Validates the request without actually updating the Glossary. * Default: false. */ @property(nonatomic, assign) BOOL validateOnly; @@ -4494,7 +4500,7 @@ GTLR_DEPRECATED * include in the query. * @param name Output only. Identifier. The resource name of the Glossary. * Format: - * projects/{projectId}/locations/{locationId}/glossaries/{glossaryId} + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} * * @return GTLRCloudDataplexQuery_ProjectsLocationsGlossariesPatch */ @@ -4544,8 +4550,7 @@ GTLR_DEPRECATED @end /** - * GlossaryTerm APIs are CCFE passthrough APIs. Creates a new GlossaryTerm - * resource. + * Creates a new GlossaryTerm resource. * * Method: dataplex.projects.locations.glossaries.terms.create * @@ -4555,27 +4560,27 @@ GTLR_DEPRECATED @interface GTLRCloudDataplexQuery_ProjectsLocationsGlossariesTermsCreate : GTLRCloudDataplexQuery /** - * Required. The parent resource where this GlossaryTerm will be created. - * Format: projects/{projectId}/locations/{locationId}/glossaries/{glossaryId} - * where locationId refers to a GCP region. + * Required. The parent resource where the GlossaryTerm will be created. + * Format: + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} + * where location_id refers to a GCP region. */ @property(nonatomic, copy, nullable) NSString *parent; -/** Required. Term ID: GlossaryTerm identifier. */ +/** Required. GlossaryTerm identifier. */ @property(nonatomic, copy, nullable) NSString *termId; /** * Fetches a @c GTLRCloudDataplex_GoogleCloudDataplexV1GlossaryTerm. * - * GlossaryTerm APIs are CCFE passthrough APIs. Creates a new GlossaryTerm - * resource. + * Creates a new GlossaryTerm resource. * * @param object The @c GTLRCloudDataplex_GoogleCloudDataplexV1GlossaryTerm to * include in the query. - * @param parent Required. The parent resource where this GlossaryTerm will be + * @param parent Required. The parent resource where the GlossaryTerm will be * created. Format: - * projects/{projectId}/locations/{locationId}/glossaries/{glossaryId} where - * locationId refers to a GCP region. + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} + * where location_id refers to a GCP region. * * @return GTLRCloudDataplexQuery_ProjectsLocationsGlossariesTermsCreate */ @@ -4596,7 +4601,7 @@ GTLR_DEPRECATED /** * Required. The name of the GlossaryTerm to delete. Format: - * projects/{project}/locations/{location}/glossary/{glossary}/terms/{glossary_term} + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/terms/{term_id} */ @property(nonatomic, copy, nullable) NSString *name; @@ -4606,7 +4611,7 @@ GTLR_DEPRECATED * Deletes a GlossaryTerm resource. * * @param name Required. The name of the GlossaryTerm to delete. Format: - * projects/{project}/locations/{location}/glossary/{glossary}/terms/{glossary_term} + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/terms/{term_id} * * @return GTLRCloudDataplexQuery_ProjectsLocationsGlossariesTermsDelete */ @@ -4615,7 +4620,7 @@ GTLR_DEPRECATED @end /** - * Retrieves a specified GlossaryTerm resource. + * Gets a GlossaryTerm resource. * * Method: dataplex.projects.locations.glossaries.terms.get * @@ -4626,17 +4631,17 @@ GTLR_DEPRECATED /** * Required. The name of the GlossaryTerm to retrieve. Format: - * projects/{project}/locations/{location}/glossaries/{glossary}/terms/{glossary_term} + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/terms/{term_id} */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRCloudDataplex_GoogleCloudDataplexV1GlossaryTerm. * - * Retrieves a specified GlossaryTerm resource. + * Gets a GlossaryTerm resource. * * @param name Required. The name of the GlossaryTerm to retrieve. Format: - * projects/{project}/locations/{location}/glossaries/{glossary}/terms/{glossary_term} + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/terms/{term_id} * * @return GTLRCloudDataplexQuery_ProjectsLocationsGlossariesTermsGet */ @@ -4695,7 +4700,7 @@ GTLR_DEPRECATED @end /** - * Lists GlossaryTerm resources in a glossary. + * Lists GlossaryTerm resources in a Glossary. * * Method: dataplex.projects.locations.glossaries.terms.list * @@ -4705,24 +4710,29 @@ GTLR_DEPRECATED @interface GTLRCloudDataplexQuery_ProjectsLocationsGlossariesTermsList : GTLRCloudDataplexQuery /** - * Optional. Filter expression that filters terms listed in the response. - * Filters supported: List GlossaryTerms based on immediate parent in the - * resource hierarchy. This will only return the terms nested directly under - * the parent and no other subsequent nested terms will be returned. + * Optional. Filter expression that filters GlossaryTerms listed in the + * response. Filters are supported on the following fields: - + * immediate_parentExamples of using a filter are: - + * immediate_parent="projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}" + * - + * immediate_parent="projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id}"This + * will only return the GlossaryTerms that are directly nested under the + * specified parent. */ @property(nonatomic, copy, nullable) NSString *filter; /** - * Optional. Order by expression that orders terms listed in the response. - * Order by fields are: name or create_time for the result. If not specified, - * the ordering is undefined. + * Optional. Order by expression that orders GlossaryTerms listed in the + * response. Order by fields are: name or create_time for the result. If not + * specified, the ordering is undefined. */ @property(nonatomic, copy, nullable) NSString *orderBy; /** - * Optional. The maximum number of terms to return. The service may return - * fewer than this value. If unspecified, at most 50 terms will be returned. - * The maximum value is 1000; values above 1000 will be coerced to 1000. + * Optional. The maximum number of GlossaryTerms to return. The service may + * return fewer than this value. If unspecified, at most 50 GlossaryTerms will + * be returned. The maximum value is 1000; values above 1000 will be coerced to + * 1000. */ @property(nonatomic, assign) NSInteger pageSize; @@ -4735,9 +4745,9 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. The parent, which has this collection of terms. Format: - * projects/{project}/locations/{location}/glossaries/{glossary} Location is - * the GCP region. + * Required. The parent, which has this collection of GlossaryTerms. Format: + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} + * where location_id refers to a GCP region. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -4745,11 +4755,12 @@ GTLR_DEPRECATED * Fetches a @c * GTLRCloudDataplex_GoogleCloudDataplexV1ListGlossaryTermsResponse. * - * Lists GlossaryTerm resources in a glossary. + * Lists GlossaryTerm resources in a Glossary. * - * @param parent Required. The parent, which has this collection of terms. - * Format: projects/{project}/locations/{location}/glossaries/{glossary} - * Location is the GCP region. + * @param parent Required. The parent, which has this collection of + * GlossaryTerms. Format: + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} + * where location_id refers to a GCP region. * * @return GTLRCloudDataplexQuery_ProjectsLocationsGlossariesTermsList * @@ -4773,7 +4784,7 @@ GTLR_DEPRECATED /** * Output only. Identifier. The resource name of the GlossaryTerm. Format: - * projects/{projectId}/locations/{locationId}/glossaries/{glossaryId}/terms/{termId} + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/terms/{term_id} */ @property(nonatomic, copy, nullable) NSString *name; @@ -4793,7 +4804,7 @@ GTLR_DEPRECATED * include in the query. * @param name Output only. Identifier. The resource name of the GlossaryTerm. * Format: - * projects/{projectId}/locations/{locationId}/glossaries/{glossaryId}/terms/{termId} + * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/terms/{term_id} * * @return GTLRCloudDataplexQuery_ProjectsLocationsGlossariesTermsPatch */ diff --git a/Sources/GeneratedServices/CloudIAP/GTLRCloudIAPObjects.m b/Sources/GeneratedServices/CloudIAP/GTLRCloudIAPObjects.m index df37c44f7..230308c9a 100644 --- a/Sources/GeneratedServices/CloudIAP/GTLRCloudIAPObjects.m +++ b/Sources/GeneratedServices/CloudIAP/GTLRCloudIAPObjects.m @@ -415,7 +415,16 @@ @implementation GTLRCloudIAP_ResetIdentityAwareProxyClientSecretRequest // @implementation GTLRCloudIAP_Resource -@dynamic expectedNextState, labels, name, nextStateOfTags, service, type; +@dynamic expectedNextState, labels, locations, name, nextStateOfTags, service, + type; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"locations" : [NSString class] + }; + return map; +} + @end diff --git a/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPObjects.h b/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPObjects.h index 162f237e1..10ab0cb48 100644 --- a/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPObjects.h +++ b/Sources/GeneratedServices/CloudIAP/Public/GoogleAPIClientForREST/GTLRCloudIAPObjects.h @@ -433,14 +433,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic /** - * Allows customers to configure HTTP request paths that'll allow HTTP OPTIONS - * call to bypass authentication and authorization. + * Allows customers to configure HTTP request paths that'll allow HTTP + * `OPTIONS` call to bypass authentication and authorization. */ @interface GTLRCloudIAP_CorsSettings : GTLRObject /** - * Configuration to allow HTTP OPTIONS calls to skip authorization. If - * undefined, IAP will not apply any special logic to OPTIONS requests. + * Configuration to allow HTTP `OPTIONS` calls to skip authentication and + * authorization. If undefined, IAP will not apply any special logic to + * `OPTIONS` requests. * * Uses NSNumber of boolValue. */ @@ -526,7 +527,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic /** - * Allows customers to configure tenant_id for GCIP instance per-app. + * Allows customers to configure tenant IDs for a Cloud Identity Platform + * (GCIP) instance for each application. */ @interface GTLRCloudIAP_GcipSettings : GTLRObject @@ -538,11 +540,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic @property(nonatomic, copy, nullable) NSString *loginPageUri; /** - * Optional. GCIP tenant ids that are linked to the IAP resource. tenant_ids + * Optional. GCIP tenant IDs that are linked to the IAP resource. `tenant_ids` * could be a string beginning with a number character to indicate - * authenticating with GCIP tenant flow, or in the format of _ to indicate - * authenticating with GCIP agent flow. If agent flow is used, tenant_ids - * should only contain one single element, while for tenant flow, tenant_ids + * authenticating with GCIP tenant flow, or in the format of `_` to indicate + * authenticating with GCIP agent flow. If agent flow is used, `tenant_ids` + * should only contain one single element, while for tenant flow, `tenant_ids` * can contain multiple elements. */ @property(nonatomic, strong, nullable) NSArray *tenantIds; @@ -990,6 +992,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIAP_ReauthSettings_PolicyType_Polic */ @property(nonatomic, strong, nullable) GTLRCloudIAP_Resource_Labels *labels; +/** + * The locations of the resource. This field is used to determine whether the + * request is compliant with Trust Boundaries. Usage: - If unset or empty, the + * location of authorization is used as the target location. - For global + * resources: use a single value of "global". - For regional/multi-regional + * resources: use name of the GCP region(s) where the resource exists (e.g., + * ["us-east1", "us-west1"]). For multi-regional resources specify the name of + * each GCP region in the resource's multi-region. NOTE: Only GCP cloud region + * names are supported - go/cloud-region-names. + */ +@property(nonatomic, strong, nullable) NSArray *locations; + /** * The **relative** name of the resource, which is the URI path of the resource * without the leading "/". See diff --git a/Sources/GeneratedServices/CloudKMS/GTLRCloudKMSObjects.m b/Sources/GeneratedServices/CloudKMS/GTLRCloudKMSObjects.m index 732054821..52586d896 100644 --- a/Sources/GeneratedServices/CloudKMS/GTLRCloudKMSObjects.m +++ b/Sources/GeneratedServices/CloudKMS/GTLRCloudKMSObjects.m @@ -425,7 +425,12 @@ @implementation GTLRCloudKMS_AuditLogConfig // @implementation GTLRCloudKMS_AutokeyConfig -@dynamic keyProject, name, state; +@dynamic ETag, keyProject, name, state; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + @end @@ -706,6 +711,16 @@ @implementation GTLRCloudKMS_ImportJob @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudKMS_KeyAccessJustificationsEnrollmentConfig +// + +@implementation GTLRCloudKMS_KeyAccessJustificationsEnrollmentConfig +@dynamic auditLogging, policyEnforcement; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudKMS_KeyAccessJustificationsPolicy @@ -724,6 +739,16 @@ @implementation GTLRCloudKMS_KeyAccessJustificationsPolicy @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudKMS_KeyAccessJustificationsPolicyConfig +// + +@implementation GTLRCloudKMS_KeyAccessJustificationsPolicyConfig +@dynamic defaultKeyAccessJustificationPolicy, name; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudKMS_KeyHandle @@ -1165,6 +1190,26 @@ @implementation GTLRCloudKMS_ShowEffectiveAutokeyConfigResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudKMS_ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse +// + +@implementation GTLRCloudKMS_ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse +@dynamic externalConfig, hardwareConfig, softwareConfig; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudKMS_ShowEffectiveKeyAccessJustificationsPolicyConfigResponse +// + +@implementation GTLRCloudKMS_ShowEffectiveKeyAccessJustificationsPolicyConfigResponse +@dynamic effectiveKajPolicy; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudKMS_Status diff --git a/Sources/GeneratedServices/CloudKMS/GTLRCloudKMSQuery.m b/Sources/GeneratedServices/CloudKMS/GTLRCloudKMSQuery.m index 09ee6c945..558466b48 100644 --- a/Sources/GeneratedServices/CloudKMS/GTLRCloudKMSQuery.m +++ b/Sources/GeneratedServices/CloudKMS/GTLRCloudKMSQuery.m @@ -56,6 +56,25 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRCloudKMSQuery_FoldersGetKajPolicyConfig + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRCloudKMSQuery_FoldersGetKajPolicyConfig *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudKMS_KeyAccessJustificationsPolicyConfig class]; + query.loggingName = @"cloudkms.folders.getKajPolicyConfig"; + return query; +} + +@end + @implementation GTLRCloudKMSQuery_FoldersUpdateAutokeyConfig @dynamic name, updateMask; @@ -83,6 +102,98 @@ + (instancetype)queryWithObject:(GTLRCloudKMS_AutokeyConfig *)object @end +@implementation GTLRCloudKMSQuery_FoldersUpdateKajPolicyConfig + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRCloudKMS_KeyAccessJustificationsPolicyConfig *)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}"; + GTLRCloudKMSQuery_FoldersUpdateKajPolicyConfig *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudKMS_KeyAccessJustificationsPolicyConfig class]; + query.loggingName = @"cloudkms.folders.updateKajPolicyConfig"; + return query; +} + +@end + +@implementation GTLRCloudKMSQuery_OrganizationsGetKajPolicyConfig + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRCloudKMSQuery_OrganizationsGetKajPolicyConfig *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudKMS_KeyAccessJustificationsPolicyConfig class]; + query.loggingName = @"cloudkms.organizations.getKajPolicyConfig"; + return query; +} + +@end + +@implementation GTLRCloudKMSQuery_OrganizationsUpdateKajPolicyConfig + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRCloudKMS_KeyAccessJustificationsPolicyConfig *)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}"; + GTLRCloudKMSQuery_OrganizationsUpdateKajPolicyConfig *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudKMS_KeyAccessJustificationsPolicyConfig class]; + query.loggingName = @"cloudkms.organizations.updateKajPolicyConfig"; + return query; +} + +@end + +@implementation GTLRCloudKMSQuery_ProjectsGetKajPolicyConfig + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRCloudKMSQuery_ProjectsGetKajPolicyConfig *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudKMS_KeyAccessJustificationsPolicyConfig class]; + query.loggingName = @"cloudkms.projects.getKajPolicyConfig"; + return query; +} + +@end + @implementation GTLRCloudKMSQuery_ProjectsLocationsEkmConfigGetIamPolicy @dynamic optionsRequestedPolicyVersion, resource; @@ -1456,3 +1567,68 @@ + (instancetype)queryWithParent:(NSString *)parent { } @end + +@implementation GTLRCloudKMSQuery_ProjectsShowEffectiveKeyAccessJustificationsEnrollmentConfig + +@dynamic project; + ++ (instancetype)queryWithProject:(NSString *)project { + NSArray *pathParams = @[ @"project" ]; + NSString *pathURITemplate = @"v1/{+project}:showEffectiveKeyAccessJustificationsEnrollmentConfig"; + GTLRCloudKMSQuery_ProjectsShowEffectiveKeyAccessJustificationsEnrollmentConfig *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.project = project; + query.expectedObjectClass = [GTLRCloudKMS_ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse class]; + query.loggingName = @"cloudkms.projects.showEffectiveKeyAccessJustificationsEnrollmentConfig"; + return query; +} + +@end + +@implementation GTLRCloudKMSQuery_ProjectsShowEffectiveKeyAccessJustificationsPolicyConfig + +@dynamic project; + ++ (instancetype)queryWithProject:(NSString *)project { + NSArray *pathParams = @[ @"project" ]; + NSString *pathURITemplate = @"v1/{+project}:showEffectiveKeyAccessJustificationsPolicyConfig"; + GTLRCloudKMSQuery_ProjectsShowEffectiveKeyAccessJustificationsPolicyConfig *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.project = project; + query.expectedObjectClass = [GTLRCloudKMS_ShowEffectiveKeyAccessJustificationsPolicyConfigResponse class]; + query.loggingName = @"cloudkms.projects.showEffectiveKeyAccessJustificationsPolicyConfig"; + return query; +} + +@end + +@implementation GTLRCloudKMSQuery_ProjectsUpdateKajPolicyConfig + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRCloudKMS_KeyAccessJustificationsPolicyConfig *)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}"; + GTLRCloudKMSQuery_ProjectsUpdateKajPolicyConfig *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudKMS_KeyAccessJustificationsPolicyConfig class]; + query.loggingName = @"cloudkms.projects.updateKajPolicyConfig"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h b/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h index dfbea4180..3ccdf6ea6 100644 --- a/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h +++ b/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h @@ -30,7 +30,9 @@ @class GTLRCloudKMS_Expr; @class GTLRCloudKMS_ExternalProtectionLevelOptions; @class GTLRCloudKMS_ImportJob; +@class GTLRCloudKMS_KeyAccessJustificationsEnrollmentConfig; @class GTLRCloudKMS_KeyAccessJustificationsPolicy; +@class GTLRCloudKMS_KeyAccessJustificationsPolicyConfig; @class GTLRCloudKMS_KeyHandle; @class GTLRCloudKMS_KeyOperationAttestation; @class GTLRCloudKMS_KeyRing; @@ -509,7 +511,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersion_ProtectionLeve */ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersion_State_CryptoKeyVersionStateUnspecified; /** - * This key material of this version is destroyed and no longer stored. This + * The key material of this version is destroyed and no longer stored. This * version may only become ENABLED again if this version is reimport_eligible * and the original key material is reimported with a call to * KeyManagementService.ImportCryptoKeyVersion. @@ -2244,6 +2246,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe */ @interface GTLRCloudKMS_AutokeyConfig : GTLRObject +/** + * Optional. A checksum computed by the server based on the value of other + * fields. This may be sent on update requests to ensure that the client has an + * up-to-date value before proceeding. The request will be rejected with an + * ABORTED error on a mismatched etag. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + /** * Optional. Name of the key project, e.g. `projects/{PROJECT_ID}` or * `projects/{PROJECT_NUMBER}`, where Cloud KMS Autokey will provision a new @@ -2856,9 +2866,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe * Likely values: * @arg @c kGTLRCloudKMS_CryptoKeyVersion_State_CryptoKeyVersionStateUnspecified * Not specified. (Value: "CRYPTO_KEY_VERSION_STATE_UNSPECIFIED") - * @arg @c kGTLRCloudKMS_CryptoKeyVersion_State_Destroyed This key material - * of this version is destroyed and no longer stored. This version may - * only become ENABLED again if this version is reimport_eligible and the + * @arg @c kGTLRCloudKMS_CryptoKeyVersion_State_Destroyed The key material of + * this version is destroyed and no longer stored. This version may only + * become ENABLED again if this version is reimport_eligible and the * original key material is reimported with a call to * KeyManagementService.ImportCryptoKeyVersion. (Value: "DESTROYED") * @arg @c kGTLRCloudKMS_CryptoKeyVersion_State_DestroyScheduled This version @@ -3927,6 +3937,29 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe @end +/** + * The configuration of a protection level for a project's Key Access + * Justifications enrollment. + */ +@interface GTLRCloudKMS_KeyAccessJustificationsEnrollmentConfig : GTLRObject + +/** + * Whether the project has KAJ logging enabled. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *auditLogging; + +/** + * Whether the project is enrolled in KAJ policy enforcement. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *policyEnforcement; + +@end + + /** * A KeyAccessJustificationsPolicy specifies zero or more allowed AccessReason * values for encrypt, decrypt, and sign operations on a CryptoKey. @@ -3943,6 +3976,28 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe @end +/** + * A singleton configuration for Key Access Justifications policies. + */ +@interface GTLRCloudKMS_KeyAccessJustificationsPolicyConfig : GTLRObject + +/** + * Optional. The default key access justification policy used when a CryptoKey + * is created in this folder. This is only used when a Key Access + * Justifications policy is not provided in the CreateCryptoKeyRequest. This + * overrides any default policies in its ancestry. + */ +@property(nonatomic, strong, nullable) GTLRCloudKMS_KeyAccessJustificationsPolicy *defaultKeyAccessJustificationPolicy; + +/** + * Identifier. The resource name for this KeyAccessJustificationsPolicyConfig + * in the format of "{organizations|folders|projects}/ * /kajPolicyConfig". + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * Resource-oriented representation of a request to Cloud KMS Autokey and the * resulting provisioning of a CryptoKey. @@ -5458,6 +5513,42 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe @end +/** + * Response message for + * KeyAccessJustificationsConfig.ShowEffectiveKeyAccessJustificationsEnrollmentConfig + */ +@interface GTLRCloudKMS_ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse : GTLRObject + +/** + * The effective KeyAccessJustificationsEnrollmentConfig for external keys. + */ +@property(nonatomic, strong, nullable) GTLRCloudKMS_KeyAccessJustificationsEnrollmentConfig *externalConfig; + +/** + * The effective KeyAccessJustificationsEnrollmentConfig for hardware keys. + */ +@property(nonatomic, strong, nullable) GTLRCloudKMS_KeyAccessJustificationsEnrollmentConfig *hardwareConfig; + +/** + * The effective KeyAccessJustificationsEnrollmentConfig for software keys. + */ +@property(nonatomic, strong, nullable) GTLRCloudKMS_KeyAccessJustificationsEnrollmentConfig *softwareConfig; + +@end + + +/** + * Response message for + * KeyAccessJustificationsConfig.ShowEffectiveKeyAccessJustificationsPolicyConfig. + */ +@interface GTLRCloudKMS_ShowEffectiveKeyAccessJustificationsPolicyConfigResponse : GTLRObject + +/** The effective KeyAccessJustificationsPolicyConfig. */ +@property(nonatomic, strong, nullable) GTLRCloudKMS_KeyAccessJustificationsPolicyConfig *effectiveKajPolicy; + +@end + + /** * The `Status` type defines a logical error model that is suitable for * different programming environments, including REST APIs and RPC APIs. It is diff --git a/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSQuery.h b/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSQuery.h index 8cb834fbb..3ee717477 100644 --- a/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSQuery.h +++ b/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSQuery.h @@ -136,6 +136,36 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMSViewFull; @end +/** + * Gets the KeyAccessJustificationsPolicyConfig for a given + * organization/folder/projects. + * + * Method: cloudkms.folders.getKajPolicyConfig + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudKMS + * @c kGTLRAuthScopeCloudKMSCloudPlatform + */ +@interface GTLRCloudKMSQuery_FoldersGetKajPolicyConfig : GTLRCloudKMSQuery + +/** Required. The name of the KeyAccessJustificationsPolicyConfig to get. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudKMS_KeyAccessJustificationsPolicyConfig. + * + * Gets the KeyAccessJustificationsPolicyConfig for a given + * organization/folder/projects. + * + * @param name Required. The name of the KeyAccessJustificationsPolicyConfig to + * get. + * + * @return GTLRCloudKMSQuery_FoldersGetKajPolicyConfig + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Updates the AutokeyConfig for a folder. The caller must have both * `cloudkms.autokeyConfigs.update` permission on the parent folder and @@ -185,6 +215,154 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMSViewFull; @end +/** + * Updates the KeyAccessJustificationsPolicyConfig for a given + * organization/folder/projects. + * + * Method: cloudkms.folders.updateKajPolicyConfig + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudKMS + * @c kGTLRAuthScopeCloudKMSCloudPlatform + */ +@interface GTLRCloudKMSQuery_FoldersUpdateKajPolicyConfig : GTLRCloudKMSQuery + +/** + * Identifier. The resource name for this KeyAccessJustificationsPolicyConfig + * in the format of "{organizations|folders|projects}/ * /kajPolicyConfig". + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The list of fields to update. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRCloudKMS_KeyAccessJustificationsPolicyConfig. + * + * Updates the KeyAccessJustificationsPolicyConfig for a given + * organization/folder/projects. + * + * @param object The @c GTLRCloudKMS_KeyAccessJustificationsPolicyConfig to + * include in the query. + * @param name Identifier. The resource name for this + * KeyAccessJustificationsPolicyConfig in the format of + * "{organizations|folders|projects}/ * /kajPolicyConfig". + * + * @return GTLRCloudKMSQuery_FoldersUpdateKajPolicyConfig + */ ++ (instancetype)queryWithObject:(GTLRCloudKMS_KeyAccessJustificationsPolicyConfig *)object + name:(NSString *)name; + +@end + +/** + * Gets the KeyAccessJustificationsPolicyConfig for a given + * organization/folder/projects. + * + * Method: cloudkms.organizations.getKajPolicyConfig + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudKMS + * @c kGTLRAuthScopeCloudKMSCloudPlatform + */ +@interface GTLRCloudKMSQuery_OrganizationsGetKajPolicyConfig : GTLRCloudKMSQuery + +/** Required. The name of the KeyAccessJustificationsPolicyConfig to get. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudKMS_KeyAccessJustificationsPolicyConfig. + * + * Gets the KeyAccessJustificationsPolicyConfig for a given + * organization/folder/projects. + * + * @param name Required. The name of the KeyAccessJustificationsPolicyConfig to + * get. + * + * @return GTLRCloudKMSQuery_OrganizationsGetKajPolicyConfig + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Updates the KeyAccessJustificationsPolicyConfig for a given + * organization/folder/projects. + * + * Method: cloudkms.organizations.updateKajPolicyConfig + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudKMS + * @c kGTLRAuthScopeCloudKMSCloudPlatform + */ +@interface GTLRCloudKMSQuery_OrganizationsUpdateKajPolicyConfig : GTLRCloudKMSQuery + +/** + * Identifier. The resource name for this KeyAccessJustificationsPolicyConfig + * in the format of "{organizations|folders|projects}/ * /kajPolicyConfig". + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The list of fields to update. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRCloudKMS_KeyAccessJustificationsPolicyConfig. + * + * Updates the KeyAccessJustificationsPolicyConfig for a given + * organization/folder/projects. + * + * @param object The @c GTLRCloudKMS_KeyAccessJustificationsPolicyConfig to + * include in the query. + * @param name Identifier. The resource name for this + * KeyAccessJustificationsPolicyConfig in the format of + * "{organizations|folders|projects}/ * /kajPolicyConfig". + * + * @return GTLRCloudKMSQuery_OrganizationsUpdateKajPolicyConfig + */ ++ (instancetype)queryWithObject:(GTLRCloudKMS_KeyAccessJustificationsPolicyConfig *)object + name:(NSString *)name; + +@end + +/** + * Gets the KeyAccessJustificationsPolicyConfig for a given + * organization/folder/projects. + * + * Method: cloudkms.projects.getKajPolicyConfig + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudKMS + * @c kGTLRAuthScopeCloudKMSCloudPlatform + */ +@interface GTLRCloudKMSQuery_ProjectsGetKajPolicyConfig : GTLRCloudKMSQuery + +/** Required. The name of the KeyAccessJustificationsPolicyConfig to get. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudKMS_KeyAccessJustificationsPolicyConfig. + * + * Gets the KeyAccessJustificationsPolicyConfig for a given + * organization/folder/projects. + * + * @param name Required. The name of the KeyAccessJustificationsPolicyConfig to + * get. + * + * @return GTLRCloudKMSQuery_ProjectsGetKajPolicyConfig + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Gets the access control policy for a resource. Returns an empty policy if * the resource exists and does not have a policy set. @@ -2572,6 +2750,119 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMSViewFull; @end +/** + * Returns the KeyAccessJustificationsEnrollmentConfig of the resource closest + * to the given project in hierarchy. + * + * Method: cloudkms.projects.showEffectiveKeyAccessJustificationsEnrollmentConfig + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudKMS + * @c kGTLRAuthScopeCloudKMSCloudPlatform + */ +@interface GTLRCloudKMSQuery_ProjectsShowEffectiveKeyAccessJustificationsEnrollmentConfig : GTLRCloudKMSQuery + +/** + * Required. The number or id of the project to get the effective + * KeyAccessJustificationsEnrollmentConfig for. + */ +@property(nonatomic, copy, nullable) NSString *project; + +/** + * Fetches a @c + * GTLRCloudKMS_ShowEffectiveKeyAccessJustificationsEnrollmentConfigResponse. + * + * Returns the KeyAccessJustificationsEnrollmentConfig of the resource closest + * to the given project in hierarchy. + * + * @param project Required. The number or id of the project to get the + * effective KeyAccessJustificationsEnrollmentConfig for. + * + * @return GTLRCloudKMSQuery_ProjectsShowEffectiveKeyAccessJustificationsEnrollmentConfig + */ ++ (instancetype)queryWithProject:(NSString *)project; + +@end + +/** + * Returns the KeyAccessJustificationsPolicyConfig of the resource closest to + * the given project in hierarchy. + * + * Method: cloudkms.projects.showEffectiveKeyAccessJustificationsPolicyConfig + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudKMS + * @c kGTLRAuthScopeCloudKMSCloudPlatform + */ +@interface GTLRCloudKMSQuery_ProjectsShowEffectiveKeyAccessJustificationsPolicyConfig : GTLRCloudKMSQuery + +/** + * Required. The number or id of the project to get the effective + * KeyAccessJustificationsPolicyConfig. In the format of "projects/{|}" + */ +@property(nonatomic, copy, nullable) NSString *project; + +/** + * Fetches a @c + * GTLRCloudKMS_ShowEffectiveKeyAccessJustificationsPolicyConfigResponse. + * + * Returns the KeyAccessJustificationsPolicyConfig of the resource closest to + * the given project in hierarchy. + * + * @param project Required. The number or id of the project to get the + * effective KeyAccessJustificationsPolicyConfig. In the format of + * "projects/{|}" + * + * @return GTLRCloudKMSQuery_ProjectsShowEffectiveKeyAccessJustificationsPolicyConfig + */ ++ (instancetype)queryWithProject:(NSString *)project; + +@end + +/** + * Updates the KeyAccessJustificationsPolicyConfig for a given + * organization/folder/projects. + * + * Method: cloudkms.projects.updateKajPolicyConfig + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudKMS + * @c kGTLRAuthScopeCloudKMSCloudPlatform + */ +@interface GTLRCloudKMSQuery_ProjectsUpdateKajPolicyConfig : GTLRCloudKMSQuery + +/** + * Identifier. The resource name for this KeyAccessJustificationsPolicyConfig + * in the format of "{organizations|folders|projects}/ * /kajPolicyConfig". + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The list of fields to update. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRCloudKMS_KeyAccessJustificationsPolicyConfig. + * + * Updates the KeyAccessJustificationsPolicyConfig for a given + * organization/folder/projects. + * + * @param object The @c GTLRCloudKMS_KeyAccessJustificationsPolicyConfig to + * include in the query. + * @param name Identifier. The resource name for this + * KeyAccessJustificationsPolicyConfig in the format of + * "{organizations|folders|projects}/ * /kajPolicyConfig". + * + * @return GTLRCloudKMSQuery_ProjectsUpdateKajPolicyConfig + */ ++ (instancetype)queryWithObject:(GTLRCloudKMS_KeyAccessJustificationsPolicyConfig *)object + name:(NSString *)name; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/CloudOSLogin/Public/GoogleAPIClientForREST/GTLRCloudOSLoginQuery.h b/Sources/GeneratedServices/CloudOSLogin/Public/GoogleAPIClientForREST/GTLRCloudOSLoginQuery.h index ec4ff7315..396a6e91a 100644 --- a/Sources/GeneratedServices/CloudOSLogin/Public/GoogleAPIClientForREST/GTLRCloudOSLoginQuery.h +++ b/Sources/GeneratedServices/CloudOSLogin/Public/GoogleAPIClientForREST/GTLRCloudOSLoginQuery.h @@ -50,10 +50,10 @@ NS_ASSUME_NONNULL_BEGIN /** Required. The unique ID for the user in format `users/{user}`. */ @property(nonatomic, copy, nullable) NSString *name; -/** The project ID of the Google Cloud Platform project. */ +/** Required. The project ID of the Google Cloud Platform project. */ @property(nonatomic, copy, nullable) NSString *projectId; -/** A system ID for filtering the results of the request. */ +/** Optional. A system ID for filtering the results of the request. */ @property(nonatomic, copy, nullable) NSString *systemId; /** @@ -262,7 +262,8 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *name; /** - * Mask to control which fields get updated. Updates all if not present. + * Optional. Mask to control which fields get updated. Updates all if not + * present. * * String format is a comma-separated list of fields. */ diff --git a/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h b/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h index 7afcb7872..65560893c 100644 --- a/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h +++ b/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h @@ -986,7 +986,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalD * * Value: "SIGNAL_TYPE_NO_PROMOTABLE_REPLICA" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeNoPromotableReplica; +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeNoPromotableReplica GTLR_DEPRECATED; /** * Represents if a Cloud SQL database has a password configured for the root * account or not. @@ -1937,7 +1937,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendatio * * Value: "SIGNAL_TYPE_NO_PROMOTABLE_REPLICA" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeNoPromotableReplica; +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeNoPromotableReplica GTLR_DEPRECATED; /** * Represents if a Cloud SQL database has a password configured for the root * account or not. @@ -3854,7 +3854,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z * * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *ondemandMaintenance; +@property(nonatomic, strong, nullable) NSNumber *ondemandMaintenance GTLR_DEPRECATED; /** Optional. Persistence config (RDB, AOF) for the cluster. */ @property(nonatomic, strong, nullable) GTLRCloudRedis_ClusterPersistenceConfig *persistenceConfig; @@ -4804,7 +4804,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z * spanner.googleapis.com/Instance, spanner.googleapis.com/Database, * firestore.googleapis.com/Database, sqladmin.googleapis.com/Instance, * bigtableadmin.googleapis.com/Cluster, bigtableadmin.googleapis.com/Instance - * REQUIRED Please refer go/condor-common-datamodel + * oracledatabase.googleapis.com/cloudExadataInfrastructures + * oracledatabase.googleapis.com/cloudVmClusters + * oracledatabase.googleapis.com/autonomousDatabases REQUIRED Please refer + * go/condor-common-datamodel */ @property(nonatomic, copy, nullable) NSString *resourceType; diff --git a/Sources/GeneratedServices/CloudResourceManager/GTLRCloudResourceManagerObjects.m b/Sources/GeneratedServices/CloudResourceManager/GTLRCloudResourceManagerObjects.m index 9f7c289cb..07eb6d218 100644 --- a/Sources/GeneratedServices/CloudResourceManager/GTLRCloudResourceManagerObjects.m +++ b/Sources/GeneratedServices/CloudResourceManager/GTLRCloudResourceManagerObjects.m @@ -243,6 +243,30 @@ @implementation GTLRCloudResourceManager_EffectiveTag @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudResourceManager_EffectiveTagBindingCollection +// + +@implementation GTLRCloudResourceManager_EffectiveTagBindingCollection +@dynamic effectiveTags, fullResourceName, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudResourceManager_EffectiveTagBindingCollection_EffectiveTags +// + +@implementation GTLRCloudResourceManager_EffectiveTagBindingCollection_EffectiveTags + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudResourceManager_Empty @@ -846,6 +870,35 @@ @implementation GTLRCloudResourceManager_TagBinding @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudResourceManager_TagBindingCollection +// + +@implementation GTLRCloudResourceManager_TagBindingCollection +@dynamic ETag, fullResourceName, name, tags; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudResourceManager_TagBindingCollection_Tags +// + +@implementation GTLRCloudResourceManager_TagBindingCollection_Tags + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudResourceManager_TagHold diff --git a/Sources/GeneratedServices/CloudResourceManager/GTLRCloudResourceManagerQuery.m b/Sources/GeneratedServices/CloudResourceManager/GTLRCloudResourceManagerQuery.m index d7071dcec..1401688db 100644 --- a/Sources/GeneratedServices/CloudResourceManager/GTLRCloudResourceManagerQuery.m +++ b/Sources/GeneratedServices/CloudResourceManager/GTLRCloudResourceManagerQuery.m @@ -413,6 +413,71 @@ + (instancetype)query { @end +@implementation GTLRCloudResourceManagerQuery_LocationsEffectiveTagBindingCollectionsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v3/{+name}"; + GTLRCloudResourceManagerQuery_LocationsEffectiveTagBindingCollectionsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudResourceManager_EffectiveTagBindingCollection class]; + query.loggingName = @"cloudresourcemanager.locations.effectiveTagBindingCollections.get"; + return query; +} + +@end + +@implementation GTLRCloudResourceManagerQuery_LocationsTagBindingCollectionsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v3/{+name}"; + GTLRCloudResourceManagerQuery_LocationsTagBindingCollectionsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudResourceManager_TagBindingCollection class]; + query.loggingName = @"cloudresourcemanager.locations.tagBindingCollections.get"; + return query; +} + +@end + +@implementation GTLRCloudResourceManagerQuery_LocationsTagBindingCollectionsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRCloudResourceManager_TagBindingCollection *)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 = @"v3/{+name}"; + GTLRCloudResourceManagerQuery_LocationsTagBindingCollectionsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudResourceManager_Operation class]; + query.loggingName = @"cloudresourcemanager.locations.tagBindingCollections.patch"; + return query; +} + +@end + @implementation GTLRCloudResourceManagerQuery_OperationsGet @dynamic name; diff --git a/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerObjects.h b/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerObjects.h index 8bfd3848e..b8c6fc816 100644 --- a/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerObjects.h +++ b/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerObjects.h @@ -19,6 +19,7 @@ @class GTLRCloudResourceManager_AuditLogConfig; @class GTLRCloudResourceManager_Binding; @class GTLRCloudResourceManager_EffectiveTag; +@class GTLRCloudResourceManager_EffectiveTagBindingCollection_EffectiveTags; @class GTLRCloudResourceManager_Expr; @class GTLRCloudResourceManager_Folder; @class GTLRCloudResourceManager_Folder_Tags; @@ -34,6 +35,7 @@ @class GTLRCloudResourceManager_Status; @class GTLRCloudResourceManager_Status_Details_Item; @class GTLRCloudResourceManager_TagBinding; +@class GTLRCloudResourceManager_TagBindingCollection_Tags; @class GTLRCloudResourceManager_TagHold; @class GTLRCloudResourceManager_TagKey; @class GTLRCloudResourceManager_TagKey_PurposeData; @@ -645,6 +647,49 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudResourceManager_TagKey_Purpose_Purp @end +/** + * Represents a collection of effective tag bindings for a GCP resource. + */ +@interface GTLRCloudResourceManager_EffectiveTagBindingCollection : GTLRObject + +/** + * Tag keys/values effectively bound to this resource, specified in namespaced + * format. For example: "123/environment": "production" + */ +@property(nonatomic, strong, nullable) GTLRCloudResourceManager_EffectiveTagBindingCollection_EffectiveTags *effectiveTags; + +/** + * The full resource name of the resource the TagBindings are bound to. E.g. + * `//cloudresourcemanager.googleapis.com/projects/123` + */ +@property(nonatomic, copy, nullable) NSString *fullResourceName; + +/** + * Identifier. The name of the EffectiveTagBindingCollection, following the + * convention: + * `locations/{location}/effectiveTagBindingCollections/{encoded-full-resource-name}` + * where the encoded-full-resource-name is the UTF-8 encoded name of the GCP + * resource the TagBindings are bound to. E.g. + * "locations/global/effectiveTagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f123" + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + +/** + * Tag keys/values effectively bound to this resource, specified in namespaced + * format. For example: "123/environment": "production" + * + * @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 GTLRCloudResourceManager_EffectiveTagBindingCollection_EffectiveTags : 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 @@ -1916,6 +1961,54 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudResourceManager_TagKey_Purpose_Purp @end +/** + * Represents a collection of tags directly bound to a GCP resource. + */ +@interface GTLRCloudResourceManager_TagBindingCollection : GTLRObject + +/** + * Optional. A checksum based on the current bindings which can be passed to + * prevent race conditions. This field is always set in server responses. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * The full resource name of the resource the TagBindings are bound to. E.g. + * `//cloudresourcemanager.googleapis.com/projects/123` + */ +@property(nonatomic, copy, nullable) NSString *fullResourceName; + +/** + * Identifier. The name of the TagBindingCollection, following the convention: + * `locations/{location}/tagBindingCollections/{encoded-full-resource-name}` + * where the encoded-full-resource-name is the UTF-8 encoded name of the GCP + * resource the TagBindings are bound to. + * "locations/global/tagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f123" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Tag keys/values directly bound to this resource, specified in namespaced + * format. For example: "123/environment": "production" + */ +@property(nonatomic, strong, nullable) GTLRCloudResourceManager_TagBindingCollection_Tags *tags; + +@end + + +/** + * Tag keys/values directly bound to this resource, specified in namespaced + * format. For example: "123/environment": "production" + * + * @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 GTLRCloudResourceManager_TagBindingCollection_Tags : GTLRObject +@end + + /** * A TagHold represents the use of a TagValue that is not captured by * TagBindings. If a TagValue has any TagHolds, deletion will be blocked. This @@ -2037,9 +2130,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudResourceManager_TagKey_Purpose_Purp /** * Required. Immutable. The user friendly name for a TagKey. The short name * should be unique for TagKeys within the same tag namespace. The short name - * must be 1-63 characters, beginning and ending with an alphanumeric character - * ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics - * between. + * must be 1-256 characters, beginning and ending with an alphanumeric + * character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and + * alphanumerics between. */ @property(nonatomic, copy, nullable) NSString *shortName; @@ -2107,7 +2200,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudResourceManager_TagKey_Purpose_Purp /** * Required. Immutable. User-assigned short name for TagValue. The short name * should be unique for TagValues within the same parent TagKey. The short name - * must be 63 characters or less, beginning and ending with an alphanumeric + * must be 256 characters or less, beginning and ending with an alphanumeric * character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and * alphanumerics between. */ diff --git a/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerQuery.h b/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerQuery.h index 425ad945e..aa00ccca4 100644 --- a/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerQuery.h +++ b/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerQuery.h @@ -858,6 +858,130 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Returns effective tag bindings on a GCP resource. + * + * Method: cloudresourcemanager.locations.effectiveTagBindingCollections.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudResourceManagerCloudPlatform + * @c kGTLRAuthScopeCloudResourceManagerCloudPlatformReadOnly + */ +@interface GTLRCloudResourceManagerQuery_LocationsEffectiveTagBindingCollectionsGet : GTLRCloudResourceManagerQuery + +/** + * Required. The full name of the EffectiveTagBindingCollection in format: + * `locations/{location}/effectiveTagBindingCollections/{encoded-full-resource-name}` + * where the encoded-full-resource-name is the UTF-8 encoded name of the + * resource the TagBindings are bound to. E.g. + * "locations/global/effectiveTagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f123" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudResourceManager_EffectiveTagBindingCollection. + * + * Returns effective tag bindings on a GCP resource. + * + * @param name Required. The full name of the EffectiveTagBindingCollection in + * format: + * `locations/{location}/effectiveTagBindingCollections/{encoded-full-resource-name}` + * where the encoded-full-resource-name is the UTF-8 encoded name of the + * resource the TagBindings are bound to. E.g. + * "locations/global/effectiveTagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f123" + * + * @return GTLRCloudResourceManagerQuery_LocationsEffectiveTagBindingCollectionsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Returns tag bindings directly attached to a GCP resource. + * + * Method: cloudresourcemanager.locations.tagBindingCollections.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudResourceManagerCloudPlatform + * @c kGTLRAuthScopeCloudResourceManagerCloudPlatformReadOnly + */ +@interface GTLRCloudResourceManagerQuery_LocationsTagBindingCollectionsGet : GTLRCloudResourceManagerQuery + +/** + * Required. The full name of the TagBindingCollection in format: + * `locations/{location}/tagBindingCollections/{encoded-full-resource-name}` + * where the enoded-full-resource-name is the UTF-8 encoded name of the + * resource the TagBindings are bound to. E.g. + * "locations/global/tagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f123" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudResourceManager_TagBindingCollection. + * + * Returns tag bindings directly attached to a GCP resource. + * + * @param name Required. The full name of the TagBindingCollection in format: + * `locations/{location}/tagBindingCollections/{encoded-full-resource-name}` + * where the enoded-full-resource-name is the UTF-8 encoded name of the + * resource the TagBindings are bound to. E.g. + * "locations/global/tagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f123" + * + * @return GTLRCloudResourceManagerQuery_LocationsTagBindingCollectionsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Updates tag bindings directly attached to a GCP resource. Update_mask can be + * kept empty or "*". + * + * Method: cloudresourcemanager.locations.tagBindingCollections.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudResourceManagerCloudPlatform + */ +@interface GTLRCloudResourceManagerQuery_LocationsTagBindingCollectionsPatch : GTLRCloudResourceManagerQuery + +/** + * Identifier. The name of the TagBindingCollection, following the convention: + * `locations/{location}/tagBindingCollections/{encoded-full-resource-name}` + * where the encoded-full-resource-name is the UTF-8 encoded name of the GCP + * resource the TagBindings are bound to. + * "locations/global/tagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f123" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An update mask to selectively update fields. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRCloudResourceManager_Operation. + * + * Updates tag bindings directly attached to a GCP resource. Update_mask can be + * kept empty or "*". + * + * @param object The @c GTLRCloudResourceManager_TagBindingCollection to + * include in the query. + * @param name Identifier. The name of the TagBindingCollection, following the + * convention: + * `locations/{location}/tagBindingCollections/{encoded-full-resource-name}` + * where the encoded-full-resource-name is the UTF-8 encoded name of the GCP + * resource the TagBindings are bound to. + * "locations/global/tagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f123" + * + * @return GTLRCloudResourceManagerQuery_LocationsTagBindingCollectionsPatch + */ ++ (instancetype)queryWithObject:(GTLRCloudResourceManager_TagBindingCollection *)object + name:(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 diff --git a/Sources/GeneratedServices/CloudSecurityToken/Public/GoogleAPIClientForREST/GTLRCloudSecurityTokenObjects.h b/Sources/GeneratedServices/CloudSecurityToken/Public/GoogleAPIClientForREST/GTLRCloudSecurityTokenObjects.h index ee1aac3b4..fe690a06a 100644 --- a/Sources/GeneratedServices/CloudSecurityToken/Public/GoogleAPIClientForREST/GTLRCloudSecurityTokenObjects.h +++ b/Sources/GeneratedServices/CloudSecurityToken/Public/GoogleAPIClientForREST/GTLRCloudSecurityTokenObjects.h @@ -300,8 +300,11 @@ NS_ASSUME_NONNULL_BEGIN /** * The OAuth 2.0 scopes to include on the resulting access token, formatted as - * a list of space-delimited, case-sensitive strings. Required when exchanging - * an external credential for a Google access token. + * a list of space-delimited, case-sensitive strings; for example, + * `https://www.googleapis.com/auth/cloud-platform`. Required when exchanging + * an external credential for a Google access token. For a list of OAuth 2.0 + * scopes, see [OAuth 2.0 Scopes for Google + * APIs](https://developers.google.com/identity/protocols/oauth2/scopes). */ @property(nonatomic, copy, nullable) NSString *scope; diff --git a/Sources/GeneratedServices/CloudSupport/Public/GoogleAPIClientForREST/GTLRCloudSupportObjects.h b/Sources/GeneratedServices/CloudSupport/Public/GoogleAPIClientForREST/GTLRCloudSupportObjects.h index 6b7619e19..baeef2715 100644 --- a/Sources/GeneratedServices/CloudSupport/Public/GoogleAPIClientForREST/GTLRCloudSupportObjects.h +++ b/Sources/GeneratedServices/CloudSupport/Public/GoogleAPIClientForREST/GTLRCloudSupportObjects.h @@ -339,7 +339,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudSupport_WorkflowOperationMetadata_W * The email address of the actor. If not provided, it is inferred from the * credentials supplied during case creation. When a name is provided, an email * must also be provided. If the user is a Google Support agent, this is - * obfuscated. This field is deprecated. Use **username** field instead. + * obfuscated. This field is deprecated. Use `username` instead. */ @property(nonatomic, copy, nullable) NSString *email GTLR_DEPRECATED; @@ -385,7 +385,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudSupport_WorkflowOperationMetadata_W /** Output only. The MIME type of the attachment (e.g. text/plain). */ @property(nonatomic, copy, nullable) NSString *mimeType; -/** Output only. The resource name of the attachment. */ +/** Output only. Identifier. The resource name of the attachment. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -496,7 +496,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudSupport_WorkflowOperationMetadata_W */ @property(nonatomic, copy, nullable) NSString *languageCode; -/** The resource name for the case. */ +/** Identifier. The resource name for the case. */ @property(nonatomic, copy, nullable) NSString *name; /** diff --git a/Sources/GeneratedServices/CloudSupport/Public/GoogleAPIClientForREST/GTLRCloudSupportQuery.h b/Sources/GeneratedServices/CloudSupport/Public/GoogleAPIClientForREST/GTLRCloudSupportQuery.h index 4c7e99d4b..02240ff46 100644 --- a/Sources/GeneratedServices/CloudSupport/Public/GoogleAPIClientForREST/GTLRCloudSupportQuery.h +++ b/Sources/GeneratedServices/CloudSupport/Public/GoogleAPIClientForREST/GTLRCloudSupportQuery.h @@ -607,7 +607,7 @@ NS_ASSUME_NONNULL_BEGIN */ @interface GTLRCloudSupportQuery_CasesPatch : GTLRCloudSupportQuery -/** The resource name for the case. */ +/** Identifier. The resource name for the case. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -640,7 +640,7 @@ NS_ASSUME_NONNULL_BEGIN * Now a New Title", "priority": "P2", }, ) print(request.execute()) ``` * * @param object The @c GTLRCloudSupport_Case to include in the query. - * @param name The resource name for the case. + * @param name Identifier. The resource name for the case. * * @return GTLRCloudSupportQuery_CasesPatch */ diff --git a/Sources/GeneratedServices/CloudVideoIntelligence/GTLRCloudVideoIntelligenceObjects.m b/Sources/GeneratedServices/CloudVideoIntelligence/GTLRCloudVideoIntelligenceObjects.m index dc6b7cc23..c3921d7a3 100644 --- a/Sources/GeneratedServices/CloudVideoIntelligence/GTLRCloudVideoIntelligenceObjects.m +++ b/Sources/GeneratedServices/CloudVideoIntelligence/GTLRCloudVideoIntelligenceObjects.m @@ -35,6 +35,11 @@ NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ExplicitContentFrame_PornographyLikelihood_VeryLikely = @"VERY_LIKELY"; NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ExplicitContentFrame_PornographyLikelihood_VeryUnlikely = @"VERY_UNLIKELY"; +// GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus.state +NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus_State_Failed = @"FAILED"; +NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus_State_Succeeded = @"SUCCEEDED"; + // GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress.feature NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress_Feature_ExplicitContentDetection = @"EXPLICIT_CONTENT_DETECTION"; NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress_Feature_FaceDetection = @"FACE_DETECTION"; @@ -55,6 +60,11 @@ NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1ExplicitContentFrame_PornographyLikelihood_VeryLikely = @"VERY_LIKELY"; NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1ExplicitContentFrame_PornographyLikelihood_VeryUnlikely = @"VERY_UNLIKELY"; +// GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1ExportToOutputUriStatus.state +NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1ExportToOutputUriStatus_State_Failed = @"FAILED"; +NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1ExportToOutputUriStatus_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1ExportToOutputUriStatus_State_Succeeded = @"SUCCEEDED"; + // GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1LabelDetectionConfig.labelDetectionMode NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1LabelDetectionConfig_LabelDetectionMode_FrameMode = @"FRAME_MODE"; NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1LabelDetectionConfig_LabelDetectionMode_LabelDetectionModeUnspecified = @"LABEL_DETECTION_MODE_UNSPECIFIED"; @@ -69,6 +79,11 @@ NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame_PornographyLikelihood_VeryLikely = @"VERY_LIKELY"; NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame_PornographyLikelihood_VeryUnlikely = @"VERY_UNLIKELY"; +// GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus.state +NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus_State_Failed = @"FAILED"; +NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus_State_Succeeded = @"SUCCEEDED"; + // GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress.feature NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress_Feature_ExplicitContentDetection = @"EXPLICIT_CONTENT_DETECTION"; NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress_Feature_FaceDetection = @"FACE_DETECTION"; @@ -89,6 +104,11 @@ NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame_PornographyLikelihood_VeryLikely = @"VERY_LIKELY"; NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame_PornographyLikelihood_VeryUnlikely = @"VERY_UNLIKELY"; +// GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus.state +NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus_State_Failed = @"FAILED"; +NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus_State_Succeeded = @"SUCCEEDED"; + // GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress.feature NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress_Feature_ExplicitContentDetection = @"EXPLICIT_CONTENT_DETECTION"; NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress_Feature_FaceDetection = @"FACE_DETECTION"; @@ -109,6 +129,11 @@ NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1ExplicitContentFrame_PornographyLikelihood_VeryLikely = @"VERY_LIKELY"; NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1ExplicitContentFrame_PornographyLikelihood_VeryUnlikely = @"VERY_UNLIKELY"; +// GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus.state +NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus_State_Failed = @"FAILED"; +NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus_State_Succeeded = @"SUCCEEDED"; + // GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress.feature NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress_Feature_CelebrityRecognition = @"CELEBRITY_RECOGNITION"; NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress_Feature_ExplicitContentDetection = @"EXPLICIT_CONTENT_DETECTION"; @@ -291,6 +316,16 @@ @implementation GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2Ex @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus +// + +@implementation GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus +@dynamic state, status; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2FaceAnnotation @@ -625,7 +660,8 @@ @implementation GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2Tr // @implementation GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress -@dynamic feature, inputUri, progressPercent, segment, startTime, updateTime; +@dynamic exportStatus, feature, inputUri, progressPercent, segment, startTime, + updateTime; @end @@ -757,6 +793,16 @@ @implementation GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1Explici @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1ExportToOutputUriStatus +// + +@implementation GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1ExportToOutputUriStatus +@dynamic state, status; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1FaceAnnotation @@ -1077,6 +1123,16 @@ @implementation GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1 @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus +// + +@implementation GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus +@dynamic state, status; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1FaceAnnotation @@ -1411,7 +1467,8 @@ @implementation GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1 // @implementation GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress -@dynamic feature, inputUri, progressPercent, segment, startTime, updateTime; +@dynamic exportStatus, feature, inputUri, progressPercent, segment, startTime, + updateTime; @end @@ -1569,6 +1626,16 @@ @implementation GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1 @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus +// + +@implementation GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus +@dynamic state, status; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1FaceAnnotation @@ -1903,7 +1970,8 @@ @implementation GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1 // @implementation GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress -@dynamic feature, inputUri, progressPercent, segment, startTime, updateTime; +@dynamic exportStatus, feature, inputUri, progressPercent, segment, startTime, + updateTime; @end @@ -2112,6 +2180,16 @@ @implementation GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1 @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus +// + +@implementation GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus +@dynamic state, status; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1FaceAnnotation @@ -2487,7 +2565,8 @@ @implementation GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1 // @implementation GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress -@dynamic feature, inputUri, progressPercent, segment, startTime, updateTime; +@dynamic exportStatus, feature, inputUri, progressPercent, segment, startTime, + updateTime; @end @@ -2767,7 +2846,8 @@ @implementation GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1Track // @implementation GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1VideoAnnotationProgress -@dynamic feature, inputUri, progressPercent, segment, startTime, updateTime; +@dynamic exportStatus, feature, inputUri, progressPercent, segment, startTime, + updateTime; @end diff --git a/Sources/GeneratedServices/CloudVideoIntelligence/Public/GoogleAPIClientForREST/GTLRCloudVideoIntelligenceObjects.h b/Sources/GeneratedServices/CloudVideoIntelligence/Public/GoogleAPIClientForREST/GTLRCloudVideoIntelligenceObjects.h index adf2bf872..c42685951 100644 --- a/Sources/GeneratedServices/CloudVideoIntelligence/Public/GoogleAPIClientForREST/GTLRCloudVideoIntelligenceObjects.h +++ b/Sources/GeneratedServices/CloudVideoIntelligence/Public/GoogleAPIClientForREST/GTLRCloudVideoIntelligenceObjects.h @@ -21,6 +21,7 @@ @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2Entity; @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation; @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ExplicitContentFrame; +@class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus; @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2FaceAnnotation; @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation; @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2FaceFrame; @@ -52,6 +53,7 @@ @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1ExplicitContentAnnotation; @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1ExplicitContentDetectionConfig; @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1ExplicitContentFrame; +@class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1ExportToOutputUriStatus; @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1FaceAnnotation; @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1FaceDetectionAnnotation; @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1FaceDetectionConfig; @@ -73,6 +75,7 @@ @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1Entity; @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation; @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame; +@class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus; @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1FaceAnnotation; @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation; @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1FaceFrame; @@ -103,6 +106,7 @@ @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1Entity; @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation; @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame; +@class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus; @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1FaceAnnotation; @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation; @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1FaceFrame; @@ -136,6 +140,7 @@ @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1Entity; @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation; @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1ExplicitContentFrame; +@class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus; @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1FaceAnnotation; @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation; @class GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1FaceFrame; @@ -302,6 +307,28 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideoi */ FOUNDATION_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ExplicitContentFrame_PornographyLikelihood_VeryUnlikely; +// ---------------------------------------------------------------------------- +// GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus.state + +/** + * Export failed. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus_State_Failed; +/** + * Default value. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus_State_StateUnspecified; +/** + * Export succeeded. + * + * Value: "SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus_State_Succeeded; + // ---------------------------------------------------------------------------- // GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress.feature @@ -406,6 +433,28 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideoi */ FOUNDATION_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1ExplicitContentFrame_PornographyLikelihood_VeryUnlikely; +// ---------------------------------------------------------------------------- +// GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1ExportToOutputUriStatus.state + +/** + * Export failed. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1ExportToOutputUriStatus_State_Failed; +/** + * Default value. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1ExportToOutputUriStatus_State_StateUnspecified; +/** + * Export succeeded. + * + * Value: "SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1ExportToOutputUriStatus_State_Succeeded; + // ---------------------------------------------------------------------------- // GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1LabelDetectionConfig.labelDetectionMode @@ -474,6 +523,28 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideoi */ FOUNDATION_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame_PornographyLikelihood_VeryUnlikely; +// ---------------------------------------------------------------------------- +// GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus.state + +/** + * Export failed. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus_State_Failed; +/** + * Default value. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus_State_StateUnspecified; +/** + * Export succeeded. + * + * Value: "SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus_State_Succeeded; + // ---------------------------------------------------------------------------- // GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress.feature @@ -578,6 +649,28 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideoi */ FOUNDATION_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1ExplicitContentFrame_PornographyLikelihood_VeryUnlikely; +// ---------------------------------------------------------------------------- +// GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus.state + +/** + * Export failed. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus_State_Failed; +/** + * Default value. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus_State_StateUnspecified; +/** + * Export succeeded. + * + * Value: "SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus_State_Succeeded; + // ---------------------------------------------------------------------------- // GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress.feature @@ -682,6 +775,28 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideoi */ FOUNDATION_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1ExplicitContentFrame_PornographyLikelihood_VeryUnlikely; +// ---------------------------------------------------------------------------- +// GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus.state + +/** + * Export failed. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus_State_Failed; +/** + * Default value. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus_State_StateUnspecified; +/** + * Export succeeded. + * + * Value: "SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus_State_Succeeded; + // ---------------------------------------------------------------------------- // GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress.feature @@ -1047,6 +1162,30 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideoi @end +/** + * Status of exporting annotation response to user specified `output_uri`. + */ +@interface GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus : GTLRObject + +/** + * Output only. State of the `output_uri` export. + * + * Likely values: + * @arg @c kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus_State_Failed + * Export failed. (Value: "FAILED") + * @arg @c kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus_State_StateUnspecified + * Default value. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus_State_Succeeded + * Export succeeded. (Value: "SUCCEEDED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. Only set if state is FAILED. */ +@property(nonatomic, strong, nullable) GTLRCloudVideoIntelligence_GoogleRpcStatus *status; + +@end + + /** * Deprecated. No effect. */ @@ -1534,6 +1673,12 @@ GTLR_DEPRECATED */ @interface GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress : GTLRObject +/** + * Status of exporting annotation response to user specified `output_uri`. Only + * set if `output_uri` is set in the request. + */ +@property(nonatomic, strong, nullable) GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ExportToOutputUriStatus *exportStatus; + /** * Specifies which feature is being tracked if the request contains more than * one feature. @@ -1892,6 +2037,30 @@ GTLR_DEPRECATED @end +/** + * Status of exporting annotation response to user specified `output_uri`. + */ +@interface GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1ExportToOutputUriStatus : GTLRObject + +/** + * Output only. State of the `output_uri` export. + * + * Likely values: + * @arg @c kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1ExportToOutputUriStatus_State_Failed + * Export failed. (Value: "FAILED") + * @arg @c kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1ExportToOutputUriStatus_State_StateUnspecified + * Default value. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1ExportToOutputUriStatus_State_Succeeded + * Export succeeded. (Value: "SUCCEEDED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. Only set if state is FAILED. */ +@property(nonatomic, strong, nullable) GTLRCloudVideoIntelligence_GoogleRpcStatus *status; + +@end + + /** * Deprecated. No effect. */ @@ -2459,6 +2628,30 @@ GTLR_DEPRECATED @end +/** + * Status of exporting annotation response to user specified `output_uri`. + */ +@interface GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus : GTLRObject + +/** + * Output only. State of the `output_uri` export. + * + * Likely values: + * @arg @c kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus_State_Failed + * Export failed. (Value: "FAILED") + * @arg @c kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus_State_StateUnspecified + * Default value. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus_State_Succeeded + * Export succeeded. (Value: "SUCCEEDED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. Only set if state is FAILED. */ +@property(nonatomic, strong, nullable) GTLRCloudVideoIntelligence_GoogleRpcStatus *status; + +@end + + /** * Deprecated. No effect. */ @@ -2946,6 +3139,12 @@ GTLR_DEPRECATED */ @interface GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress : GTLRObject +/** + * Status of exporting annotation response to user specified `output_uri`. Only + * set if `output_uri` is set in the request. + */ +@property(nonatomic, strong, nullable) GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1ExportToOutputUriStatus *exportStatus; + /** * Specifies which feature is being tracked if the request contains more than * one feature. @@ -3316,6 +3515,30 @@ GTLR_DEPRECATED @end +/** + * Status of exporting annotation response to user specified `output_uri`. + */ +@interface GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus : GTLRObject + +/** + * Output only. State of the `output_uri` export. + * + * Likely values: + * @arg @c kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus_State_Failed + * Export failed. (Value: "FAILED") + * @arg @c kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus_State_StateUnspecified + * Default value. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus_State_Succeeded + * Export succeeded. (Value: "SUCCEEDED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. Only set if state is FAILED. */ +@property(nonatomic, strong, nullable) GTLRCloudVideoIntelligence_GoogleRpcStatus *status; + +@end + + /** * Deprecated. No effect. */ @@ -3803,6 +4026,12 @@ GTLR_DEPRECATED */ @interface GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress : GTLRObject +/** + * Status of exporting annotation response to user specified `output_uri`. Only + * set if `output_uri` is set in the request. + */ +@property(nonatomic, strong, nullable) GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1ExportToOutputUriStatus *exportStatus; + /** * Specifies which feature is being tracked if the request contains more than * one feature. @@ -4232,6 +4461,30 @@ GTLR_DEPRECATED @end +/** + * Status of exporting annotation response to user specified `output_uri`. + */ +@interface GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus : GTLRObject + +/** + * Output only. State of the `output_uri` export. + * + * Likely values: + * @arg @c kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus_State_Failed + * Export failed. (Value: "FAILED") + * @arg @c kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus_State_StateUnspecified + * Default value. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus_State_Succeeded + * Export succeeded. (Value: "SUCCEEDED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. Only set if state is FAILED. */ +@property(nonatomic, strong, nullable) GTLRCloudVideoIntelligence_GoogleRpcStatus *status; + +@end + + /** * Deprecated. No effect. */ @@ -4788,6 +5041,12 @@ GTLR_DEPRECATED */ @interface GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress : GTLRObject +/** + * Status of exporting annotation response to user specified `output_uri`. Only + * set if `output_uri` is set in the request. + */ +@property(nonatomic, strong, nullable) GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1ExportToOutputUriStatus *exportStatus; + /** * Specifies which feature is being tracked if the request contains more than * one feature. @@ -5368,6 +5627,12 @@ GTLR_DEPRECATED */ @interface GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1VideoAnnotationProgress : GTLRObject +/** + * Status of exporting annotation response to user specified `output_uri`. Only + * set if `output_uri` is set in the request. + */ +@property(nonatomic, strong, nullable) GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1ExportToOutputUriStatus *exportStatus; + /** * Specifies which feature is being tracked if the request contains more than * one feature. diff --git a/Sources/GeneratedServices/Connectors/GTLRConnectorsQuery.m b/Sources/GeneratedServices/Connectors/GTLRConnectorsQuery.m index 93e3a97c3..92191004d 100644 --- a/Sources/GeneratedServices/Connectors/GTLRConnectorsQuery.m +++ b/Sources/GeneratedServices/Connectors/GTLRConnectorsQuery.m @@ -227,11 +227,12 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRConnectorsQuery_ProjectsLocationsConnectionsEntityTypesEntitiesList -@dynamic conditions, pageSize, pageToken, parent, sortBy; +@dynamic conditions, pageSize, pageToken, parent, sortBy, sortOrder; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"sortBy" : [NSString class] + @"sortBy" : [NSString class], + @"sortOrder" : [NSString class] }; return map; } diff --git a/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsQuery.h b/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsQuery.h index ef78f241a..8bdc31666 100644 --- a/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsQuery.h +++ b/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsQuery.h @@ -504,6 +504,9 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectorsViewEntityTypeViewUnspecified; /** List of 'sort_by' columns to use when returning the results. */ @property(nonatomic, strong, nullable) NSArray *sortBy; +/** List of 'sort_order' columns to use when returning the results. */ +@property(nonatomic, strong, nullable) NSArray *sortOrder; + /** * Fetches a @c GTLRConnectors_ListEntitiesResponse. * diff --git a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m index ebd533421..33eec4913 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m +++ b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m @@ -147,6 +147,13 @@ NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AnswerFeedback_CorrectnessLevel_NotCorrect = @"NOT_CORRECT"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AnswerFeedback_CorrectnessLevel_PartiallyCorrect = @"PARTIALLY_CORRECT"; +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment.state +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment_State_Appealed = @"APPEALED"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment_State_Draft = @"DRAFT"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment_State_Finalized = @"FINALIZED"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment_State_Published = @"PUBLISHED"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment_State_StateUnspecified = @"STATE_UNSPECIFIED"; + // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest.feedbackLabelType NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest_FeedbackLabelType_AgentAssistSummary = @"AGENT_ASSIST_SUMMARY"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest_FeedbackLabelType_FeedbackLabelTypeUnspecified = @"FEEDBACK_LABEL_TYPE_UNSPECIFIED"; @@ -701,7 +708,7 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alph // @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ConversationDataSource -@dynamic dialogflowSource, gcsSource; +@dynamic dialogflowSource, gcsSource, metadataUri; @end @@ -2221,6 +2228,15 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Answ @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AppealAssessmentRequest +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AppealAssessmentRequest +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ArticleSuggestionData @@ -2245,6 +2261,27 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment +@dynamic agentInfo, createTime, name, state, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AssessmentRule +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AssessmentRule +@dynamic active, createTime, displayName, name, sampleRule, scheduleInfo, + updateTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView @@ -2688,7 +2725,7 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Conv // @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ConversationDataSource -@dynamic dialogflowSource, gcsSource; +@dynamic dialogflowSource, gcsSource, metadataUri; @end @@ -3237,6 +3274,15 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Feed @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1GcsSource @@ -3632,6 +3678,50 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAssessmentRulesResponse +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAssessmentRulesResponse +@dynamic assessmentRules, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"assessmentRules" : [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AssessmentRule class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"assessmentRules"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAssessmentsResponse +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAssessmentsResponse +@dynamic assessments, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"assessments" : [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"assessments"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse @@ -3756,6 +3846,28 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1List @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListNotesResponse +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListNotesResponse +@dynamic nextPageToken, notes; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"notes" : [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Note class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"notes"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse @@ -3866,6 +3978,46 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Note +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Note +@dynamic assessmentNote, content, conversationTurnNote, createTime, name, + noteCreator, qaQuestionNote, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1NoteAssessmentNote +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1NoteAssessmentNote +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1NoteConversationTurnNote +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1NoteConversationTurnNote +@dynamic turnIndex; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1NoteQaQuestionNote +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1NoteQaQuestionNote +@dynamic qaQuestion; +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1PhraseMatchData @@ -3934,6 +4086,15 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Phra @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1PublishAssessmentRequest +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1PublishAssessmentRequest +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaAnswer @@ -4349,6 +4510,16 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Samp @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ScheduleInfo +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ScheduleInfo +@dynamic endTime, schedule, startTime, timeZone; +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse @@ -4553,6 +4724,16 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Uplo @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1UserInfo +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1UserInfo +@dynamic username; +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1View diff --git a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m index 27c38e1e1..f61b71d28 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m +++ b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m @@ -137,6 +137,117 @@ + (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcen @end +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAssessmentRulesCreate + +@dynamic assessmentRuleId, parent; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AssessmentRule *)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}/assessmentRules"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAssessmentRulesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AssessmentRule class]; + query.loggingName = @"contactcenterinsights.projects.locations.assessmentRules.create"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAssessmentRulesDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAssessmentRulesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleProtobufEmpty class]; + query.loggingName = @"contactcenterinsights.projects.locations.assessmentRules.delete"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAssessmentRulesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAssessmentRulesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AssessmentRule class]; + query.loggingName = @"contactcenterinsights.projects.locations.assessmentRules.get"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAssessmentRulesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/assessmentRules"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAssessmentRulesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAssessmentRulesResponse class]; + query.loggingName = @"contactcenterinsights.projects.locations.assessmentRules.list"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAssessmentRulesPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AssessmentRule *)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}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAssessmentRulesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AssessmentRule class]; + query.loggingName = @"contactcenterinsights.projects.locations.assessmentRules.patch"; + return query; +} + +@end + @implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAnalysesCreate @dynamic parent; @@ -221,6 +332,263 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsAppeal + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AppealAssessmentRequest *)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}:appeal"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsAppeal *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.appeal"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment *)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}/assessments"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.create"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsDelete + +@dynamic force, name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleProtobufEmpty class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.delete"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsFinalize + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest *)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}:finalize"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsFinalize *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.finalize"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.get"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/assessments"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAssessmentsResponse class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.list"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotesCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Note *)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}/notes"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Note class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.notes.create"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotesDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleProtobufEmpty class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.notes.delete"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/notes"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListNotesResponse class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.notes.list"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotesPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Note *)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}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Note class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.notes.patch"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsPublish + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1PublishAssessmentRequest *)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}:publish"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsPublish *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.publish"; + return query; +} + +@end + @implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsBulkAnalyze @dynamic parent; @@ -925,6 +1293,263 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsAppeal + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AppealAssessmentRequest *)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}:appeal"; + GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsAppeal *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment class]; + query.loggingName = @"contactcenterinsights.projects.locations.conversations.assessments.appeal"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment *)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}/assessments"; + GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment class]; + query.loggingName = @"contactcenterinsights.projects.locations.conversations.assessments.create"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsDelete + +@dynamic force, name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleProtobufEmpty class]; + query.loggingName = @"contactcenterinsights.projects.locations.conversations.assessments.delete"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsFinalize + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest *)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}:finalize"; + GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsFinalize *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment class]; + query.loggingName = @"contactcenterinsights.projects.locations.conversations.assessments.finalize"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment class]; + query.loggingName = @"contactcenterinsights.projects.locations.conversations.assessments.get"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/assessments"; + GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAssessmentsResponse class]; + query.loggingName = @"contactcenterinsights.projects.locations.conversations.assessments.list"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsNotesCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Note *)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}/notes"; + GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsNotesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Note class]; + query.loggingName = @"contactcenterinsights.projects.locations.conversations.assessments.notes.create"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsNotesDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsNotesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleProtobufEmpty class]; + query.loggingName = @"contactcenterinsights.projects.locations.conversations.assessments.notes.delete"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsNotesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/notes"; + GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsNotesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListNotesResponse class]; + query.loggingName = @"contactcenterinsights.projects.locations.conversations.assessments.notes.list"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsNotesPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Note *)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}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsNotesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Note class]; + query.loggingName = @"contactcenterinsights.projects.locations.conversations.assessments.notes.patch"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsPublish + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1PublishAssessmentRequest *)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}:publish"; + GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsPublish *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment class]; + query.loggingName = @"contactcenterinsights.projects.locations.conversations.assessments.publish"; + return query; +} + +@end + @implementation GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsBulkAnalyze @dynamic parent; diff --git a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h index 91bb66a83..a915c2f36 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h +++ b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h @@ -135,6 +135,8 @@ @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AnswerFeedback; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ArticleSuggestionData; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ArticleSuggestionData_Metadata; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AssessmentRule; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest; @@ -217,6 +219,10 @@ @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IssueModelLabelStats_IssueStats; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IssueModelResult; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Note; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1NoteAssessmentNote; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1NoteConversationTurnNote; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1NoteQaQuestionNote; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1PhraseMatchData; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1PhraseMatcher; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1PhraseMatchRule; @@ -245,6 +251,7 @@ @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleConversationsRequest; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleRule; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ScheduleInfo; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SentimentData; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Settings_PubsubNotificationSettings; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig; @@ -256,6 +263,7 @@ @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SpeechConfig; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1UploadConversationRequest; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1UserInfo; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1View; @class GTLRContactcenterinsights_GoogleLongrunningOperation; @class GTLRContactcenterinsights_GoogleLongrunningOperation_Metadata; @@ -279,17 +287,19 @@ NS_ASSUME_NONNULL_BEGIN // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorSummarizationConfig.summarizationModel /** - * The CCAI baseline model. + * The CCAI baseline model. This model is deprecated and will be removed in the + * future. We recommend using `generator` instead. * * Value: "BASELINE_MODEL" */ -FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorSummarizationConfig_SummarizationModel_BaselineModel; +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorSummarizationConfig_SummarizationModel_BaselineModel GTLR_DEPRECATED; /** - * The CCAI baseline model, V2.0. + * The CCAI baseline model, V2.0. This model is deprecated and will be removed + * in the future. We recommend using `generator` instead. * * Value: "BASELINE_MODEL_V2_0" */ -FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorSummarizationConfig_SummarizationModel_BaselineModelV20; +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorSummarizationConfig_SummarizationModel_BaselineModelV20 GTLR_DEPRECATED; /** * Unspecified summarization model. * @@ -902,17 +912,19 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig.summarizationModel /** - * The CCAI baseline model. + * The CCAI baseline model. This model is deprecated and will be removed in the + * future. We recommend using `generator` instead. * * Value: "BASELINE_MODEL" */ -FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig_SummarizationModel_BaselineModel; +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig_SummarizationModel_BaselineModel GTLR_DEPRECATED; /** - * The CCAI baseline model, V2.0. + * The CCAI baseline model, V2.0. This model is deprecated and will be removed + * in the future. We recommend using `generator` instead. * * Value: "BASELINE_MODEL_V2_0" */ -FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig_SummarizationModel_BaselineModelV20; +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig_SummarizationModel_BaselineModelV20 GTLR_DEPRECATED; /** * Unspecified summarization model. * @@ -948,6 +960,40 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact */ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AnswerFeedback_CorrectnessLevel_PartiallyCorrect; +// ---------------------------------------------------------------------------- +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment.state + +/** + * The assessment has been appealed. + * + * Value: "APPEALED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment_State_Appealed; +/** + * The default state of all new assessments. + * + * Value: "DRAFT" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment_State_Draft; +/** + * The assessment has been finalized. + * + * Value: "FINALIZED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment_State_Finalized; +/** + * The assessment has been published. + * + * Value: "PUBLISHED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment_State_Published; +/** + * The state is unspecified. This value should not be used. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment_State_StateUnspecified; + // ---------------------------------------------------------------------------- // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest.feedbackLabelType @@ -2090,9 +2136,13 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact * * Likely values: * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorSummarizationConfig_SummarizationModel_BaselineModel - * The CCAI baseline model. (Value: "BASELINE_MODEL") + * The CCAI baseline model. This model is deprecated and will be removed + * in the future. We recommend using `generator` instead. (Value: + * "BASELINE_MODEL") * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorSummarizationConfig_SummarizationModel_BaselineModelV20 - * The CCAI baseline model, V2.0. (Value: "BASELINE_MODEL_V2_0") + * The CCAI baseline model, V2.0. This model is deprecated and will be + * removed in the future. We recommend using `generator` instead. (Value: + * "BASELINE_MODEL_V2_0") * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorSummarizationConfig_SummarizationModel_SummarizationModelUnspecified * Unspecified summarization model. (Value: * "SUMMARIZATION_MODEL_UNSPECIFIED") @@ -2626,6 +2676,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact /** A Cloud Storage location specification for the audio and transcript. */ @property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1GcsSource *gcsSource; +/** + * Cloud Storage URI that points to a file that contains the conversation + * metadata. + */ +@property(nonatomic, copy, nullable) NSString *metadataUri; + @end @@ -5772,9 +5828,13 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact * * Likely values: * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig_SummarizationModel_BaselineModel - * The CCAI baseline model. (Value: "BASELINE_MODEL") + * The CCAI baseline model. This model is deprecated and will be removed + * in the future. We recommend using `generator` instead. (Value: + * "BASELINE_MODEL") * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig_SummarizationModel_BaselineModelV20 - * The CCAI baseline model, V2.0. (Value: "BASELINE_MODEL_V2_0") + * The CCAI baseline model, V2.0. This model is deprecated and will be + * removed in the future. We recommend using `generator` instead. (Value: + * "BASELINE_MODEL_V2_0") * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig_SummarizationModel_SummarizationModelUnspecified * Unspecified summarization model. (Value: * "SUMMARIZATION_MODEL_UNSPECIFIED") @@ -5824,6 +5884,13 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact @end +/** + * The message to appeal an assessment. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AppealAssessmentRequest : GTLRObject +@end + + /** * Agent Assist Article Suggestion data. */ @@ -5878,6 +5945,88 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact @end +/** + * The assessment resource. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment : GTLRObject + +/** Information about the agent the assessment is for. */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo *agentInfo; + +/** Output only. The time at which the assessment was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Identifier. The resource name of the assessment. Format: + * projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The state of the assessment. + * + * Likely values: + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment_State_Appealed + * The assessment has been appealed. (Value: "APPEALED") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment_State_Draft + * The default state of all new assessments. (Value: "DRAFT") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment_State_Finalized + * The assessment has been finalized. (Value: "FINALIZED") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment_State_Published + * The assessment has been published. (Value: "PUBLISHED") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment_State_StateUnspecified + * The state is unspecified. This value should not be used. (Value: + * "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. The time at which the assessment was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * The CCAI Insights project wide assessment rule. This assessment rule will be + * applied to all conversations from the previous sampling cycle that match the + * sample rule defined in the assessment rule. One project can have multiple + * assessment rules. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AssessmentRule : GTLRObject + +/** + * If true, apply this rule to conversations. Otherwise, this rule is inactive. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *active; + +/** Output only. The time at which this assessment rule was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Display Name of the assessment rule. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Identifier. The resource name of the assessment rule. Format: + * projects/{project}/locations/{location}/assessmentRules/{assessment_rule} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** The sample rule for the assessment rule. */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SampleRule *sampleRule; + +/** Schedule info for the assessment rule. */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ScheduleInfo *scheduleInfo; + +/** + * Output only. The most recent time at which this assessment rule was updated. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * An AuthorizedView represents a view of accessible Insights resources (for * example, Conversation and Scorecard). Who have read access to the @@ -6826,6 +6975,12 @@ GTLR_DEPRECATED /** A Cloud Storage location specification for the audio and transcript. */ @property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1GcsSource *gcsSource; +/** + * Cloud Storage URI that points to a file that contains the conversation + * metadata. + */ +@property(nonatomic, copy, nullable) NSString *metadataUri; + @end @@ -7999,6 +8154,14 @@ GTLR_DEPRECATED @end +/** + * The message to finalize an assessment. Finalizing makes an assessment and + * its notes immutable. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest : GTLRObject +@end + + /** * A Cloud Storage source of conversation data. */ @@ -8736,6 +8899,60 @@ GTLR_DEPRECATED @end +/** + * The response of listing assessment rules. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "assessmentRules" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAssessmentRulesResponse : GTLRCollectionObject + +/** + * The assessment rules that match the request. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *assessmentRules; + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * The response of listing assessments. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "assessments" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAssessmentsResponse : GTLRCollectionObject + +/** + * The assessments that match the request. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *assessments; + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + /** * The response from a ListAuthorizedViewSet request. * @@ -8864,6 +9081,33 @@ GTLR_DEPRECATED @end +/** + * The response of listing notes. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "notes" property. If returned as the result of a query, it should + * support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListNotesResponse : GTLRCollectionObject + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The notes that match the request. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *notes; + +@end + + /** * The response of listing phrase matchers. * @@ -8999,6 +9243,77 @@ GTLR_DEPRECATED @end +/** + * The conversation assessment note resource. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Note : GTLRObject + +/** The note is associated to the entire parent assessment. */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1NoteAssessmentNote *assessmentNote; + +/** The note content. */ +@property(nonatomic, copy, nullable) NSString *content; + +/** The note is associated with a conversation turn. */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1NoteConversationTurnNote *conversationTurnNote; + +/** Output only. The time at which the note was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Identifier. The resource name of the note. Format: + * projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment}/notes/{note} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. The user that created the note. */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1UserInfo *noteCreator; + +/** + * The note is associated with a QA question in one of the conversation's + * scorecard results. + */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1NoteQaQuestionNote *qaQuestionNote; + +/** Output only. The time at which the note was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * A note about the entire parent assessment. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1NoteAssessmentNote : GTLRObject +@end + + +/** + * A note about a conversation turn. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1NoteConversationTurnNote : GTLRObject + +/** + * The conversation turn index that the note is associated with. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *turnIndex; + +@end + + +/** + * A note about a QA question. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1NoteQaQuestionNote : GTLRObject + +/** The question resource that the note is associated with. */ +@property(nonatomic, copy, nullable) NSString *qaQuestion; + +@end + + /** * The data for a matched phrase matcher. Represents information identifying a * phrase matcher for a given match. @@ -9169,6 +9484,15 @@ GTLR_DEPRECATED @end +/** + * The message to publish an assessment. Draft and appealed assessments can be + * published. Publishing simply changes the state of the assessment to + * published, allowing the console and authorized views to filter on the state. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1PublishAssessmentRequest : GTLRObject +@end + + /** * An answer to a QaQuestion. */ @@ -10175,6 +10499,42 @@ GTLR_DEPRECATED @end +/** + * Message for schedule info. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ScheduleInfo : GTLRObject + +/** + * End time of the schedule. If not specified, will keep scheduling new + * pipelines for execution util the schedule is no longer active or deleted. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** + * The groc expression. Format: `every number [synchronized]` Time units can + * be: minutes, hours Synchronized is optional and indicates that the schedule + * should be synchronized to the start of the interval: every 5 minutes + * synchronized means 00:00, 00:05 ... Otherwise the start time is random + * within the interval. Example: `every 5 minutes` could be 00:02, 00:07, + * 00:12, ... + */ +@property(nonatomic, copy, nullable) NSString *schedule; + +/** + * Start time of the schedule. If not specified, will start as soon as the + * schedule is created. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; + +/** + * The timezone to use for the groc expression. If not specified, defaults to + * UTC. + */ +@property(nonatomic, copy, nullable) NSString *timeZone; + +@end + + /** * The response from a ListAuthorizedViews request. * @@ -10597,6 +10957,17 @@ GTLR_DEPRECATED @end +/** + * Information about a user. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1UserInfo : GTLRObject + +/** The user's username. */ +@property(nonatomic, copy, nullable) NSString *username; + +@end + + /** * The View resource. */ diff --git a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h index 99ec6f2ab..7d080b9cf 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h +++ b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h @@ -241,6 +241,194 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; @end +/** + * Creates an assessment rule. + * + * Method: contactcenterinsights.projects.locations.assessmentRules.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAssessmentRulesCreate : GTLRContactcenterinsightsQuery + +/** + * Optional. A unique ID for the new AssessmentRule. This ID will become the + * final component of the AssessmentRule's resource name. If no ID is + * specified, a server-generated ID will be used. This value should be 4-64 + * characters and must match the regular expression + * `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. + */ +@property(nonatomic, copy, nullable) NSString *assessmentRuleId; + +/** + * Required. The parent resource of the assessment rule. Required. The location + * to create a assessment rule for. Format: `projects//locations/` or + * `projects//locations/` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AssessmentRule. + * + * Creates an assessment rule. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AssessmentRule + * to include in the query. + * @param parent Required. The parent resource of the assessment rule. + * Required. The location to create a assessment rule for. Format: + * `projects//locations/` or `projects//locations/` + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAssessmentRulesCreate + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AssessmentRule *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes an assessment rule. + * + * Method: contactcenterinsights.projects.locations.assessmentRules.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAssessmentRulesDelete : GTLRContactcenterinsightsQuery + +/** Required. The name of the assessment rule to delete. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleProtobufEmpty. + * + * Deletes an assessment rule. + * + * @param name Required. The name of the assessment rule to delete. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAssessmentRulesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get an assessment rule. + * + * Method: contactcenterinsights.projects.locations.assessmentRules.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAssessmentRulesGet : GTLRContactcenterinsightsQuery + +/** Required. The name of the assessment rule to get. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AssessmentRule. + * + * Get an assessment rule. + * + * @param name Required. The name of the assessment rule to get. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAssessmentRulesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists assessment rules. + * + * Method: contactcenterinsights.projects.locations.assessmentRules.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAssessmentRulesList : GTLRContactcenterinsightsQuery + +/** + * Optional. The maximum number of assessment rule to return in the response. + * If this value is zero, the service will select a default size. A call may + * return fewer objects than requested. A non-empty `next_page_token` in the + * response indicates that more data is available. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. The value returned by the last `ListAssessmentRulesResponse`; + * indicates that this is a continuation of a prior `ListAssessmentRules` call + * and the system should return the next page of data. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The parent resource of the assessment rules. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAssessmentRulesResponse. + * + * Lists assessment rules. + * + * @param parent Required. The parent resource of the assessment rules. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAssessmentRulesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates an assessment rule. + * + * Method: contactcenterinsights.projects.locations.assessmentRules.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAssessmentRulesPatch : GTLRContactcenterinsightsQuery + +/** + * Identifier. The resource name of the assessment rule. Format: + * projects/{project}/locations/{location}/assessmentRules/{assessment_rule} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The list of fields to be updated. If the update_mask is not + * provided, the update will be applied to all fields. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AssessmentRule. + * + * Updates an assessment rule. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AssessmentRule + * to include in the query. + * @param name Identifier. The resource name of the assessment rule. Format: + * projects/{project}/locations/{location}/assessmentRules/{assessment_rule} + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAssessmentRulesPatch + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AssessmentRule *)object + name:(NSString *)name; + +@end + /** * Creates an analysis. The long running operation is done when the analysis * has completed. @@ -379,239 +567,205 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; @end /** - * Analyzes multiple conversations in a single request. + * Appeal an Assessment. * - * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.bulkAnalyze + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.appeal * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsBulkAnalyze : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsAppeal : GTLRContactcenterinsightsQuery -/** Required. The parent resource to create analyses in. */ -@property(nonatomic, copy, nullable) NSString *parent; +/** Required. The name of the assessment to appeal. */ +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment. * - * Analyzes multiple conversations in a single request. + * Appeal an Assessment. * * @param object The @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AppealAssessmentRequest * to include in the query. - * @param parent Required. The parent resource to create analyses in. + * @param name Required. The name of the assessment to appeal. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsBulkAnalyze + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsAppeal */ -+ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest *)object - parent:(NSString *)parent; ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AppealAssessmentRequest *)object + name:(NSString *)name; @end /** - * Gets conversation statistics. + * Create Assessment. * - * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.calculateStats + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.create * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsCalculateStats : GTLRContactcenterinsightsQuery - -/** - * A filter to reduce results to a specific subset. This field is useful for - * getting statistics about conversations with specific properties. - */ -@property(nonatomic, copy, nullable) NSString *filter; +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsCreate : GTLRContactcenterinsightsQuery -/** Required. The location of the conversations. */ -@property(nonatomic, copy, nullable) NSString *location; +/** Required. The parent resource of the assessment. */ +@property(nonatomic, copy, nullable) NSString *parent; /** * Fetches a @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1CalculateStatsResponse. + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment. * - * Gets conversation statistics. + * Create Assessment. * - * @param location Required. The location of the conversations. + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment to + * include in the query. + * @param parent Required. The parent resource of the assessment. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsCalculateStats + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsCreate */ -+ (instancetype)queryWithLocation:(NSString *)location; ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment *)object + parent:(NSString *)parent; @end /** - * Deletes a conversation. + * Delete an Assessment. * - * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.delete + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.delete * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsDelete : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsDelete : GTLRContactcenterinsightsQuery /** - * If set to true, all of this conversation's analyses will also be deleted. - * Otherwise, the request will only succeed if the conversation has no - * analyses. + * Optional. If set to true, all of this assessment's notes will also be + * deleted. Otherwise, the request will only succeed if it has no notes. */ @property(nonatomic, assign) BOOL force; -/** Required. The name of the conversation to delete. */ +/** Required. The name of the assessment to delete. */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRContactcenterinsights_GoogleProtobufEmpty. * - * Deletes a conversation. + * Delete an Assessment. * - * @param name Required. The name of the conversation to delete. + * @param name Required. The name of the assessment to delete. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsDelete + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsDelete */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Create feedback label. + * Finalize an Assessment. * - * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.feedbackLabels.create + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.finalize * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsCreate : GTLRContactcenterinsightsQuery - -/** - * Optional. The ID of the feedback label to create. If one is not specified it - * will be generated by the server. - */ -@property(nonatomic, copy, nullable) NSString *feedbackLabelId; +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsFinalize : GTLRContactcenterinsightsQuery -/** Required. The parent resource of the feedback label. */ -@property(nonatomic, copy, nullable) NSString *parent; +/** Required. The name of the assessment to finalize. */ +@property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel. + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment. * - * Create feedback label. + * Finalize an Assessment. * * @param object The @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest * to include in the query. - * @param parent Required. The parent resource of the feedback label. - * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsCreate - */ -+ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel *)object - parent:(NSString *)parent; - -@end - -/** - * Delete feedback label. - * - * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.feedbackLabels.delete - * - * Authorization scope(s): - * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform - */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsDelete : GTLRContactcenterinsightsQuery - -/** Required. The name of the feedback label to delete. */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Fetches a @c GTLRContactcenterinsights_GoogleProtobufEmpty. - * - * Delete feedback label. - * - * @param name Required. The name of the feedback label to delete. + * @param name Required. The name of the assessment to finalize. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsDelete + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsFinalize */ -+ (instancetype)queryWithName:(NSString *)name; ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest *)object + name:(NSString *)name; @end /** - * Get feedback label. + * Get Assessment. * - * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.feedbackLabels.get + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.get * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsGet : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsGet : GTLRContactcenterinsightsQuery -/** Required. The name of the feedback label to get. */ +/** Required. The name of the assessment to get. */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel. + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment. * - * Get feedback label. + * Get Assessment. * - * @param name Required. The name of the feedback label to get. + * @param name Required. The name of the assessment to get. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsGet + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsGet */ + (instancetype)queryWithName:(NSString *)name; @end /** - * List feedback labels. + * List Assessments. * - * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.feedbackLabels.list + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.list * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsList : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsList : GTLRContactcenterinsightsQuery /** - * Optional. A filter to reduce results to a specific subset. Supports - * disjunctions (OR) and conjunctions (AND). Automatically sorts by - * conversation ID. To sort by all feedback labels in a project see - * ListAllFeedbackLabels. Supported fields: * `issue_model_id` * - * `qa_question_id` * `qa_scorecard_id` * `min_create_time` * `max_create_time` - * * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, - * TOPIC_MODELING + * Optional. A filter to reduce results to a specific subset. Supported filters + * include: * `state` - The state of the assessment * `agent_info.agent_id` - + * The ID of the agent the assessment is for */ @property(nonatomic, copy, nullable) NSString *filter; /** - * Optional. The maximum number of feedback labels to return in the response. A - * valid page size ranges from 0 to 100,000 inclusive. If the page size is zero - * or unspecified, a default page size of 100 will be chosen. Note that a call - * might return fewer results than the requested page size. + * The maximum number of assessments to list. If zero, the service will select + * a default size. A call may return fewer objects than requested. A non-empty + * `next_page_token` in the response indicates that more data is available. */ @property(nonatomic, assign) NSInteger pageSize; /** - * Optional. The value returned by the last `ListFeedbackLabelsResponse`. This - * value indicates that this is a continuation of a prior `ListFeedbackLabels` - * call and that the system should return the next page of data. + * Optional. The value returned by the last `ListAssessmentRulesResponse`; + * indicates that this is a continuation of a prior `ListAssessmentRules` call + * and the system should return the next page of data. */ @property(nonatomic, copy, nullable) NSString *pageToken; -/** Required. The parent resource of the feedback labels. */ +/** + * Required. The parent resource of the assessments. To list all assessments in + * a location, substitute the conversation ID with a '-' character. + */ @property(nonatomic, copy, nullable) NSString *parent; /** * Fetches a @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse. + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAssessmentsResponse. * - * List feedback labels. + * List Assessments. * - * @param parent Required. The parent resource of the feedback labels. + * @param parent Required. The parent resource of the assessments. To list all + * assessments in a location, substitute the conversation ID with a '-' + * character. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsList + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsList * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more @@ -622,158 +776,99 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; @end /** - * Update feedback label. + * Create Note. * - * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.feedbackLabels.patch + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.notes.create * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsPatch : GTLRContactcenterinsightsQuery - -/** - * Immutable. Resource name of the FeedbackLabel. Format: - * projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} - */ -@property(nonatomic, copy, nullable) NSString *name; +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotesCreate : GTLRContactcenterinsightsQuery -/** - * Required. The list of fields to be updated. - * - * String format is a comma-separated list of fields. - */ -@property(nonatomic, copy, nullable) NSString *updateMask; +/** Required. The parent resource of the note. */ +@property(nonatomic, copy, nullable) NSString *parent; /** * Fetches a @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel. + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Note. * - * Update feedback label. + * Create Note. * * @param object The @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel - * to include in the query. - * @param name Immutable. Resource name of the FeedbackLabel. Format: - * projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Note to + * include in the query. + * @param parent Required. The parent resource of the note. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsPatch + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotesCreate */ -+ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel *)object - name:(NSString *)name; ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Note *)object + parent:(NSString *)parent; @end /** - * Gets a conversation. + * Deletes a Note. * - * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.get + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.notes.delete * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsGet : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotesDelete : GTLRContactcenterinsightsQuery -/** Required. The name of the conversation to get. */ +/** Required. The name of the note to delete. */ @property(nonatomic, copy, nullable) NSString *name; /** - * The level of details of the conversation. Default is `FULL`. - * - * Likely values: - * @arg @c kGTLRContactcenterinsightsViewConversationViewUnspecified The - * conversation view is not specified. * Defaults to `FULL` in - * `GetConversationRequest`. * Defaults to `BASIC` in - * `ListConversationsRequest`. (Value: "CONVERSATION_VIEW_UNSPECIFIED") - * @arg @c kGTLRContactcenterinsightsViewFull Populates all fields in the - * conversation. (Value: "FULL") - * @arg @c kGTLRContactcenterinsightsViewBasic Populates all fields in the - * conversation except the transcript. (Value: "BASIC") - */ -@property(nonatomic, copy, nullable) NSString *view; - -/** - * Fetches a @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Conversation. + * Fetches a @c GTLRContactcenterinsights_GoogleProtobufEmpty. * - * Gets a conversation. + * Deletes a Note. * - * @param name Required. The name of the conversation to get. + * @param name Required. The name of the note to delete. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsGet + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotesDelete */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Lists conversations. + * List Notes. * - * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.list + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.notes.list * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsList : GTLRContactcenterinsightsQuery - -/** - * A filter to reduce results to a specific subset. Useful for querying - * conversations with specific properties. - */ -@property(nonatomic, copy, nullable) NSString *filter; - -/** - * Optional. The attribute by which to order conversations in the response. If - * empty, conversations will be ordered by descending creation time. Supported - * values are one of the following: * create_time * - * customer_satisfaction_rating * duration * latest_analysis * start_time * - * turn_count The default sort order is ascending. To specify order, append - * `asc` or `desc` (`create_time desc`). For more details, see [Google AIPs - * Ordering](https://google.aip.dev/132#ordering). - */ -@property(nonatomic, copy, nullable) NSString *orderBy; +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotesList : GTLRContactcenterinsightsQuery /** - * The maximum number of conversations to return in the response. A valid page - * size ranges from 0 to 100,000 inclusive. If the page size is zero or - * unspecified, a default page size of 100 will be chosen. Note that a call - * might return fewer results than the requested page size. + * Optional. The maximum number of notes to return in the response. If zero the + * service will select a default size. A call might return fewer objects than + * requested. A non-empty `next_page_token` in the response indicates that more + * data is available. */ @property(nonatomic, assign) NSInteger pageSize; /** - * The value returned by the last `ListConversationsResponse`. This value - * indicates that this is a continuation of a prior `ListConversations` call - * and that the system should return the next page of data. + * Optional. The value returned by the last `ListNotesResponse`. This value + * indicates that this is a continuation of a prior `ListNotes` call and that + * the system should return the next page of data. */ @property(nonatomic, copy, nullable) NSString *pageToken; -/** Required. The parent resource of the conversation. */ +/** Required. The parent resource of the notes. */ @property(nonatomic, copy, nullable) NSString *parent; -/** - * The level of details of the conversation. Default is `BASIC`. - * - * Likely values: - * @arg @c kGTLRContactcenterinsightsViewConversationViewUnspecified The - * conversation view is not specified. * Defaults to `FULL` in - * `GetConversationRequest`. * Defaults to `BASIC` in - * `ListConversationsRequest`. (Value: "CONVERSATION_VIEW_UNSPECIFIED") - * @arg @c kGTLRContactcenterinsightsViewFull Populates all fields in the - * conversation. (Value: "FULL") - * @arg @c kGTLRContactcenterinsightsViewBasic Populates all fields in the - * conversation except the transcript. (Value: "BASIC") - */ -@property(nonatomic, copy, nullable) NSString *view; - /** * Fetches a @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListConversationsResponse. + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListNotesResponse. * - * Lists conversations. + * List Notes. * - * @param parent Required. The parent resource of the conversation. + * @param parent Required. The parent resource of the notes. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsList + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotesList * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more @@ -784,295 +879,340 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; @end /** - * Create AuthorizedView + * Update Note. * - * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.create + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.notes.patch * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsCreate : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotesPatch : GTLRContactcenterinsightsQuery /** - * Optional. A unique ID for the new AuthorizedView. This ID will become the - * final component of the AuthorizedView's resource name. If no ID is - * specified, a server-generated ID will be used. This value should be 4-64 - * characters and must match the regular expression - * `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. See go/aip/122#resource-id-segments + * Identifier. The resource name of the note. Format: + * projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment}/notes/{note} */ -@property(nonatomic, copy, nullable) NSString *authorizedViewId; +@property(nonatomic, copy, nullable) NSString *name; -/** Required. The parent resource of the AuthorizedView. */ -@property(nonatomic, copy, nullable) NSString *parent; +/** + * Optional. The list of fields to be updated. If the update_mask is empty, all + * updateable fields will be updated. Acceptable fields include: * `content` + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; /** * Fetches a @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView. + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Note. * - * Create AuthorizedView + * Update Note. * * @param object The @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView - * to include in the query. - * @param parent Required. The parent resource of the AuthorizedView. + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Note to + * include in the query. + * @param name Identifier. The resource name of the note. Format: + * projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment}/notes/{note} * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsCreate + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsNotesPatch */ -+ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView *)object - parent:(NSString *)parent; ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Note *)object + name:(NSString *)name; @end /** - * Deletes an AuthorizedView. + * Publish an Assessment. * - * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.delete + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.assessments.publish * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsDelete : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsPublish : GTLRContactcenterinsightsQuery -/** Required. The name of the AuthorizedView to delete. */ +/** Required. The name of the assessment to publish. */ @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRContactcenterinsights_GoogleProtobufEmpty. + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment. * - * Deletes an AuthorizedView. + * Publish an Assessment. * - * @param name Required. The name of the AuthorizedView to delete. + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1PublishAssessmentRequest + * to include in the query. + * @param name Required. The name of the assessment to publish. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsDelete + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsAssessmentsPublish */ -+ (instancetype)queryWithName:(NSString *)name; ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1PublishAssessmentRequest *)object + name:(NSString *)name; @end /** - * Get AuthorizedView + * Analyzes multiple conversations in a single request. * - * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.get + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.bulkAnalyze * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsGet : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsBulkAnalyze : GTLRContactcenterinsightsQuery -/** Required. The name of the AuthorizedView to get. */ -@property(nonatomic, copy, nullable) NSString *name; +/** Required. The parent resource to create analyses in. */ +@property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView. + * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. * - * Get AuthorizedView + * Analyzes multiple conversations in a single request. * - * @param name Required. The name of the AuthorizedView to get. + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest + * to include in the query. + * @param parent Required. The parent resource to create analyses in. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsGet + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsBulkAnalyze */ -+ (instancetype)queryWithName:(NSString *)name; ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest *)object + parent:(NSString *)parent; @end /** - * List AuthorizedViewSets + * Gets conversation statistics. * - * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.list + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.calculateStats * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsList : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsCalculateStats : GTLRContactcenterinsightsQuery /** - * Optional. The filter expression to filter authorized views listed in the - * response. + * A filter to reduce results to a specific subset. This field is useful for + * getting statistics about conversations with specific properties. */ @property(nonatomic, copy, nullable) NSString *filter; -/** - * Optional. The order by expression to order authorized views listed in the - * response. - */ -@property(nonatomic, copy, nullable) NSString *orderBy; +/** Required. The location of the conversations. */ +@property(nonatomic, copy, nullable) NSString *location; /** - * Optional. The maximum number of view to return in the response. If the value - * is zero, the service will select a default size. A call might return fewer - * objects than requested. A non-empty `next_page_token` in the response - * indicates that more data is available. + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1CalculateStatsResponse. + * + * Gets conversation statistics. + * + * @param location Required. The location of the conversations. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsCalculateStats */ -@property(nonatomic, assign) NSInteger pageSize; ++ (instancetype)queryWithLocation:(NSString *)location; + +@end /** - * Optional. The value returned by the last `ListAuthorizedViewsResponse`. This - * value indicates that this is a continuation of a prior `ListAuthorizedViews` - * call and that the system should return the next page of data. + * Deletes a conversation. + * + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@property(nonatomic, copy, nullable) NSString *pageToken; +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsDelete : GTLRContactcenterinsightsQuery /** - * Required. The parent resource of the AuthorizedViews. If the parent is set - * to `-`, all AuthorizedViews under the location will be returned. + * If set to true, all of this conversation's analyses will also be deleted. + * Otherwise, the request will only succeed if the conversation has no + * analyses. */ -@property(nonatomic, copy, nullable) NSString *parent; +@property(nonatomic, assign) BOOL force; + +/** Required. The name of the conversation to delete. */ +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse. - * - * List AuthorizedViewSets + * Fetches a @c GTLRContactcenterinsights_GoogleProtobufEmpty. * - * @param parent Required. The parent resource of the AuthorizedViews. If the - * parent is set to `-`, all AuthorizedViews under the location will be - * returned. + * Deletes a conversation. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsList + * @param name Required. The name of the conversation to delete. * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsDelete */ -+ (instancetype)queryWithParent:(NSString *)parent; ++ (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`. + * Create feedback label. * - * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.operations.cancel + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.feedbackLabels.create * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperationsCancel : GTLRContactcenterinsightsQuery - -/** The name of the operation resource to be cancelled. */ -@property(nonatomic, copy, nullable) NSString *name; +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsCreate : GTLRContactcenterinsightsQuery /** - * Fetches a @c GTLRContactcenterinsights_GoogleProtobufEmpty. - * - * 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`. + * Optional. The ID of the feedback label to create. If one is not specified it + * will be generated by the server. + */ +@property(nonatomic, copy, nullable) NSString *feedbackLabelId; + +/** Required. The parent resource of the feedback label. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel. * - * @param name The name of the operation resource to be cancelled. + * Create feedback label. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperationsCancel + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel + * to include in the query. + * @param parent Required. The parent resource of the feedback label. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsCreate + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel *)object + parent:(NSString *)parent; + +@end + +/** + * Delete feedback label. + * + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.feedbackLabels.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsDelete : GTLRContactcenterinsightsQuery + +/** Required. The name of the feedback label to delete. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleProtobufEmpty. + * + * Delete feedback label. + * + * @param name Required. The name of the feedback label to delete. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsDelete */ + (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. + * Get feedback label. * - * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.operations.get + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.feedbackLabels.get * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperationsGet : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsGet : GTLRContactcenterinsightsQuery -/** The name of the operation resource. */ +/** Required. The name of the feedback label to get. */ @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel. * - * 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. + * Get feedback label. * - * @param name The name of the operation resource. + * @param name Required. The name of the feedback label to get. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperationsGet + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsGet */ + (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`. + * List feedback labels. * - * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.operations.list + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.feedbackLabels.list * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperationsList : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsList : GTLRContactcenterinsightsQuery -/** The standard list filter. */ +/** + * Optional. A filter to reduce results to a specific subset. Supports + * disjunctions (OR) and conjunctions (AND). Automatically sorts by + * conversation ID. To sort by all feedback labels in a project see + * ListAllFeedbackLabels. Supported fields: * `issue_model_id` * + * `qa_question_id` * `qa_scorecard_id` * `min_create_time` * `max_create_time` + * * `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI, + * TOPIC_MODELING + */ @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. */ +/** + * Optional. The maximum number of feedback labels to return in the response. A + * valid page size ranges from 0 to 100,000 inclusive. If the page size is zero + * or unspecified, a default page size of 100 will be chosen. Note that a call + * might return fewer results than the requested page size. + */ @property(nonatomic, assign) NSInteger pageSize; -/** The standard list page token. */ +/** + * Optional. The value returned by the last `ListFeedbackLabelsResponse`. This + * value indicates that this is a continuation of a prior `ListFeedbackLabels` + * call and that the system should return the next page of data. + */ @property(nonatomic, copy, nullable) NSString *pageToken; +/** Required. The parent resource of the feedback labels. */ +@property(nonatomic, copy, nullable) NSString *parent; + /** * Fetches a @c - * GTLRContactcenterinsights_GoogleLongrunningListOperationsResponse. + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse. * - * Lists operations that match the specified filter in the request. If the - * server doesn't support this method, it returns `UNIMPLEMENTED`. + * List feedback labels. * - * @param name The name of the operation's parent resource. + * @param parent Required. The parent resource of the feedback labels. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperationsList + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsList * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more * information. */ -+ (instancetype)queryWithName:(NSString *)name; ++ (instancetype)queryWithParent:(NSString *)parent; @end /** - * Updates an AuthorizedView. + * Update feedback label. * - * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.patch + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.feedbackLabels.patch * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsPatch : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsPatch : GTLRContactcenterinsightsQuery /** - * Identifier. The resource name of the AuthorizedView. Format: - * projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view} + * Immutable. Resource name of the FeedbackLabel. Format: + * projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} */ @property(nonatomic, copy, nullable) NSString *name; /** - * Optional. The list of fields to be updated. All possible fields can be - * updated by passing `*`, or a subset of the following updateable fields can - * be provided: * `conversation_filter` * `display_name` + * Required. The list of fields to be updated. * * String format is a comma-separated list of fields. */ @@ -1080,108 +1220,134 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; /** * Fetches a @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView. + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel. * - * Updates an AuthorizedView. + * Update feedback label. * * @param object The @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel * to include in the query. - * @param name Identifier. The resource name of the AuthorizedView. Format: - * projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view} + * @param name Immutable. Resource name of the FeedbackLabel. Format: + * projects/{project}/locations/{location}/conversations/{conversation}/feedbackLabels/{feedback_label} * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsPatch + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsFeedbackLabelsPatch */ -+ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView *)object ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel *)object name:(NSString *)name; @end /** - * Query metrics. + * Gets a conversation. * - * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.queryMetrics + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.get * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetrics : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsGet : GTLRContactcenterinsightsQuery + +/** Required. The name of the conversation to get. */ +@property(nonatomic, copy, nullable) NSString *name; /** - * Required. The location of the data. - * "projects/{project}/locations/{location}" + * The level of details of the conversation. Default is `FULL`. + * + * Likely values: + * @arg @c kGTLRContactcenterinsightsViewConversationViewUnspecified The + * conversation view is not specified. * Defaults to `FULL` in + * `GetConversationRequest`. * Defaults to `BASIC` in + * `ListConversationsRequest`. (Value: "CONVERSATION_VIEW_UNSPECIFIED") + * @arg @c kGTLRContactcenterinsightsViewFull Populates all fields in the + * conversation. (Value: "FULL") + * @arg @c kGTLRContactcenterinsightsViewBasic Populates all fields in the + * conversation except the transcript. (Value: "BASIC") */ -@property(nonatomic, copy, nullable) NSString *location; +@property(nonatomic, copy, nullable) NSString *view; /** - * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Conversation. * - * Query metrics. + * Gets a conversation. * - * @param object The @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryMetricsRequest - * to include in the query. - * @param location Required. The location of the data. - * "projects/{project}/locations/{location}" + * @param name Required. The name of the conversation to get. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetrics + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsGet */ -+ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryMetricsRequest *)object - location:(NSString *)location; ++ (instancetype)queryWithName:(NSString *)name; @end /** - * SearchAuthorizedViewSets + * Lists conversations. * - * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.search + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.conversations.list * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsSearch : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsList : GTLRContactcenterinsightsQuery /** - * Optional. The order by expression to order authorized views listed in the - * response. + * A filter to reduce results to a specific subset. Useful for querying + * conversations with specific properties. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The attribute by which to order conversations in the response. If + * empty, conversations will be ordered by descending creation time. Supported + * values are one of the following: * create_time * + * customer_satisfaction_rating * duration * latest_analysis * start_time * + * turn_count The default sort order is ascending. To specify order, append + * `asc` or `desc` (`create_time desc`). For more details, see [Google AIPs + * Ordering](https://google.aip.dev/132#ordering). */ @property(nonatomic, copy, nullable) NSString *orderBy; /** - * Optional. The maximum number of view to return in the response. If the value - * is zero, the service will select a default size. A call might return fewer - * objects than requested. A non-empty `next_page_token` in the response - * indicates that more data is available. + * The maximum number of conversations to return in the response. A valid page + * size ranges from 0 to 100,000 inclusive. If the page size is zero or + * unspecified, a default page size of 100 will be chosen. Note that a call + * might return fewer results than the requested page size. */ @property(nonatomic, assign) NSInteger pageSize; /** - * Optional. The value returned by the last `ListAuthorizedViewsResponse`. This - * value indicates that this is a continuation of a prior `ListAuthorizedViews` - * call and that the system should return the next page of data. + * The value returned by the last `ListConversationsResponse`. This value + * indicates that this is a continuation of a prior `ListConversations` call + * and that the system should return the next page of data. */ @property(nonatomic, copy, nullable) NSString *pageToken; -/** - * Required. The parent resource of the AuthorizedViews. If the parent is set - * to `-`, all AuthorizedViews under the location will be returned. - */ +/** Required. The parent resource of the conversation. */ @property(nonatomic, copy, nullable) NSString *parent; -/** Optional. The query expression to search authorized views. */ -@property(nonatomic, copy, nullable) NSString *query; +/** + * The level of details of the conversation. Default is `BASIC`. + * + * Likely values: + * @arg @c kGTLRContactcenterinsightsViewConversationViewUnspecified The + * conversation view is not specified. * Defaults to `FULL` in + * `GetConversationRequest`. * Defaults to `BASIC` in + * `ListConversationsRequest`. (Value: "CONVERSATION_VIEW_UNSPECIFIED") + * @arg @c kGTLRContactcenterinsightsViewFull Populates all fields in the + * conversation. (Value: "FULL") + * @arg @c kGTLRContactcenterinsightsViewBasic Populates all fields in the + * conversation except the transcript. (Value: "BASIC") + */ +@property(nonatomic, copy, nullable) NSString *view; /** * Fetches a @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse. + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListConversationsResponse. * - * SearchAuthorizedViewSets + * Lists conversations. * - * @param parent Required. The parent resource of the AuthorizedViews. If the - * parent is set to `-`, all AuthorizedViews under the location will be - * returned. + * @param parent Required. The parent resource of the conversation. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsSearch + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsConversationsList * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more @@ -1192,438 +1358,1232 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; @end /** - * Create AuthorizedViewSet + * Create AuthorizedView * - * Method: contactcenterinsights.projects.locations.authorizedViewSets.create + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.create * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsCreate : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsCreate : GTLRContactcenterinsightsQuery /** - * Optional. A unique ID for the new AuthorizedViewSet. This ID will become the - * final component of the AuthorizedViewSet's resource name. If no ID is + * Optional. A unique ID for the new AuthorizedView. This ID will become the + * final component of the AuthorizedView's resource name. If no ID is * specified, a server-generated ID will be used. This value should be 4-64 * characters and must match the regular expression * `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. See go/aip/122#resource-id-segments */ -@property(nonatomic, copy, nullable) NSString *authorizedViewSetId; +@property(nonatomic, copy, nullable) NSString *authorizedViewId; -/** Required. The parent resource of the AuthorizedViewSet. */ +/** Required. The parent resource of the AuthorizedView. */ @property(nonatomic, copy, nullable) NSString *parent; /** * Fetches a @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet. + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView. * - * Create AuthorizedViewSet + * Create AuthorizedView * * @param object The @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView * to include in the query. - * @param parent Required. The parent resource of the AuthorizedViewSet. + * @param parent Required. The parent resource of the AuthorizedView. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsCreate + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsCreate */ -+ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet *)object ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView *)object parent:(NSString *)parent; @end /** - * Deletes an AuthorizedViewSet. + * Deletes an AuthorizedView. * - * Method: contactcenterinsights.projects.locations.authorizedViewSets.delete + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.delete * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsDelete : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsDelete : GTLRContactcenterinsightsQuery + +/** Required. The name of the AuthorizedView to delete. */ +@property(nonatomic, copy, nullable) NSString *name; /** - * Optional. If set to true, all of this AuthorizedViewSet's child resources - * will also be deleted. Otherwise, the request will only succeed if it has - * none. + * Fetches a @c GTLRContactcenterinsights_GoogleProtobufEmpty. + * + * Deletes an AuthorizedView. + * + * @param name Required. The name of the AuthorizedView to delete. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsDelete */ -@property(nonatomic, assign) BOOL force; ++ (instancetype)queryWithName:(NSString *)name; -/** Required. The name of the AuthorizedViewSet to delete. */ +@end + +/** + * Get AuthorizedView + * + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsGet : GTLRContactcenterinsightsQuery + +/** Required. The name of the AuthorizedView to get. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView. + * + * Get AuthorizedView + * + * @param name Required. The name of the AuthorizedView to get. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * List AuthorizedViewSets + * + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsList : GTLRContactcenterinsightsQuery + +/** + * Optional. The filter expression to filter authorized views listed in the + * response. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The order by expression to order authorized views listed in the + * response. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. The maximum number of view to return in the response. If the value + * is zero, the service will select a default size. A call might return fewer + * objects than requested. A non-empty `next_page_token` in the response + * indicates that more data is available. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. The value returned by the last `ListAuthorizedViewsResponse`. This + * value indicates that this is a continuation of a prior `ListAuthorizedViews` + * call and that the system should return the next page of data. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent resource of the AuthorizedViews. If the parent is set + * to `-`, all AuthorizedViews under the location will be returned. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse. + * + * List AuthorizedViewSets + * + * @param parent Required. The parent resource of the AuthorizedViews. If the + * parent is set to `-`, all AuthorizedViews under the location will be + * returned. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not guaranteed. + * 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: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.operations.cancel + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperationsCancel : GTLRContactcenterinsightsQuery + +/** The name of the operation resource to be cancelled. */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRContactcenterinsights_GoogleProtobufEmpty. * - * Deletes an AuthorizedViewSet. + * 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 Required. The name of the AuthorizedViewSet to delete. + * @param name The name of the operation resource to be cancelled. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsDelete + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperationsCancel + */ ++ (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: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperationsGet : GTLRContactcenterinsightsQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * + * 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 GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperationsGet + */ ++ (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: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.operations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperationsList : GTLRContactcenterinsightsQuery + +/** 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 + * GTLRContactcenterinsights_GoogleLongrunningListOperationsResponse. + * + * 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 GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsOperationsList + * + * @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 + +/** + * Updates an AuthorizedView. + * + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsPatch : GTLRContactcenterinsightsQuery + +/** + * Identifier. The resource name of the AuthorizedView. Format: + * projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The list of fields to be updated. All possible fields can be + * updated by passing `*`, or a subset of the following updateable fields can + * be provided: * `conversation_filter` * `display_name` + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView. + * + * Updates an AuthorizedView. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView + * to include in the query. + * @param name Identifier. The resource name of the AuthorizedView. Format: + * projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}/authorizedViews/{authorized_view} + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsPatch + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedView *)object + name:(NSString *)name; + +@end + +/** + * Query metrics. + * + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.queryMetrics + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetrics : GTLRContactcenterinsightsQuery + +/** + * Required. The location of the data. + * "projects/{project}/locations/{location}" + */ +@property(nonatomic, copy, nullable) NSString *location; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * + * Query metrics. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryMetricsRequest + * to include in the query. + * @param location Required. The location of the data. + * "projects/{project}/locations/{location}" + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryMetrics + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryMetricsRequest *)object + location:(NSString *)location; + +@end + +/** + * SearchAuthorizedViewSets + * + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.search + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsSearch : GTLRContactcenterinsightsQuery + +/** + * Optional. The order by expression to order authorized views listed in the + * response. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. The maximum number of view to return in the response. If the value + * is zero, the service will select a default size. A call might return fewer + * objects than requested. A non-empty `next_page_token` in the response + * indicates that more data is available. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. The value returned by the last `ListAuthorizedViewsResponse`. This + * value indicates that this is a continuation of a prior `ListAuthorizedViews` + * call and that the system should return the next page of data. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent resource of the AuthorizedViews. If the parent is set + * to `-`, all AuthorizedViews under the location will be returned. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** Optional. The query expression to search authorized views. */ +@property(nonatomic, copy, nullable) NSString *query; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse. + * + * SearchAuthorizedViewSets + * + * @param parent Required. The parent resource of the AuthorizedViews. If the + * parent is set to `-`, all AuthorizedViews under the location will be + * returned. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsSearch + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Create AuthorizedViewSet + * + * Method: contactcenterinsights.projects.locations.authorizedViewSets.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsCreate : GTLRContactcenterinsightsQuery + +/** + * Optional. A unique ID for the new AuthorizedViewSet. This ID will become the + * final component of the AuthorizedViewSet's resource name. If no ID is + * specified, a server-generated ID will be used. This value should be 4-64 + * characters and must match the regular expression + * `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. See go/aip/122#resource-id-segments + */ +@property(nonatomic, copy, nullable) NSString *authorizedViewSetId; + +/** Required. The parent resource of the AuthorizedViewSet. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet. + * + * Create AuthorizedViewSet + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet + * to include in the query. + * @param parent Required. The parent resource of the AuthorizedViewSet. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsCreate + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes an AuthorizedViewSet. + * + * Method: contactcenterinsights.projects.locations.authorizedViewSets.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsDelete : GTLRContactcenterinsightsQuery + +/** + * Optional. If set to true, all of this AuthorizedViewSet's child resources + * will also be deleted. Otherwise, the request will only succeed if it has + * none. + */ +@property(nonatomic, assign) BOOL force; + +/** Required. The name of the AuthorizedViewSet to delete. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleProtobufEmpty. + * + * Deletes an AuthorizedViewSet. + * + * @param name Required. The name of the AuthorizedViewSet to delete. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get AuthorizedViewSet + * + * Method: contactcenterinsights.projects.locations.authorizedViewSets.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsGet : GTLRContactcenterinsightsQuery + +/** Required. The name of the AuthorizedViewSet to get. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet. + * + * Get AuthorizedViewSet + * + * @param name Required. The name of the AuthorizedViewSet to get. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * List AuthorizedViewSets + * + * Method: contactcenterinsights.projects.locations.authorizedViewSets.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsList : GTLRContactcenterinsightsQuery + +/** + * Optional. The filter expression to filter authorized view sets listed in the + * response. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The order by expression to order authorized view sets listed in + * the response. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. The maximum number of view sets to return in the response. If the + * value is zero, the service will select a default size. A call might return + * fewer objects than requested. A non-empty `next_page_token` in the response + * indicates that more data is available. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. The value returned by the last `ListAuthorizedViewSetsResponse`. + * This value indicates that this is a continuation of a prior + * `ListAuthorizedViewSets` call and that the system should return the next + * page of data. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The parent resource of the AuthorizedViewSets. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse. + * + * List AuthorizedViewSets + * + * @param parent Required. The parent resource of the AuthorizedViewSets. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates an AuthorizedViewSet. + * + * Method: contactcenterinsights.projects.locations.authorizedViewSets.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsPatch : GTLRContactcenterinsightsQuery + +/** + * Identifier. The resource name of the AuthorizedViewSet. Format: + * projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The list of fields to be updated. All possible fields can be + * updated by passing `*`, or a subset of the following updateable fields can + * be provided: * `display_name` + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet. + * + * Updates an AuthorizedViewSet. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet + * to include in the query. + * @param name Identifier. The resource name of the AuthorizedViewSet. Format: + * projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set} + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsPatch + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet *)object + name:(NSString *)name; + +@end + +/** + * Delete feedback labels in bulk using a filter. + * + * Method: contactcenterinsights.projects.locations.bulkDeleteFeedbackLabels + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsBulkDeleteFeedbackLabels : GTLRContactcenterinsightsQuery + +/** Required. The parent resource for new feedback labels. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * + * Delete feedback labels in bulk using a filter. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest + * to include in the query. + * @param parent Required. The parent resource for new feedback labels. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsBulkDeleteFeedbackLabels + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Download feedback labels in bulk from an external source. Currently supports + * exporting Quality AI example conversations with transcripts and question + * bodies. + * + * Method: contactcenterinsights.projects.locations.bulkDownloadFeedbackLabels + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsBulkDownloadFeedbackLabels : GTLRContactcenterinsightsQuery + +/** Required. The parent resource for new feedback labels. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * + * Download feedback labels in bulk from an external source. Currently supports + * exporting Quality AI example conversations with transcripts and question + * bodies. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest + * to include in the query. + * @param parent Required. The parent resource for new feedback labels. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsBulkDownloadFeedbackLabels + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Upload feedback labels from an external source in bulk. Currently supports + * labeling Quality AI example conversations. + * + * Method: contactcenterinsights.projects.locations.bulkUploadFeedbackLabels + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsBulkUploadFeedbackLabels : GTLRContactcenterinsightsQuery + +/** Required. The parent resource for new feedback labels. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * + * Upload feedback labels from an external source in bulk. Currently supports + * labeling Quality AI example conversations. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest + * to include in the query. + * @param parent Required. The parent resource for new feedback labels. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsBulkUploadFeedbackLabels + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Creates an analysis. The long running operation is done when the analysis + * has completed. + * + * Method: contactcenterinsights.projects.locations.conversations.analyses.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesCreate : GTLRContactcenterinsightsQuery + +/** Required. The parent resource of the analysis. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * + * Creates an analysis. The long running operation is done when the analysis + * has completed. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Analysis to + * include in the query. + * @param parent Required. The parent resource of the analysis. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesCreate + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Analysis *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes an analysis. + * + * Method: contactcenterinsights.projects.locations.conversations.analyses.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesDelete : GTLRContactcenterinsightsQuery + +/** Required. The name of the analysis to delete. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleProtobufEmpty. + * + * Deletes an analysis. + * + * @param name Required. The name of the analysis to delete. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets an analysis. + * + * Method: contactcenterinsights.projects.locations.conversations.analyses.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesGet : GTLRContactcenterinsightsQuery + +/** Required. The name of the analysis to get. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Analysis. + * + * Gets an analysis. + * + * @param name Required. The name of the analysis to get. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists analyses. + * + * Method: contactcenterinsights.projects.locations.conversations.analyses.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesList : GTLRContactcenterinsightsQuery + +/** + * A filter to reduce results to a specific subset. Useful for querying + * conversations with specific properties. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * The maximum number of analyses to return in the response. If this value is + * zero, the service will select a default size. A call might return fewer + * objects than requested. A non-empty `next_page_token` in the response + * indicates that more data is available. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * The value returned by the last `ListAnalysesResponse`; indicates that this + * is a continuation of a prior `ListAnalyses` call and the system should + * return the next page of data. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The parent resource of the analyses. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAnalysesResponse. + * + * Lists analyses. + * + * @param parent Required. The parent resource of the analyses. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. */ -+ (instancetype)queryWithName:(NSString *)name; ++ (instancetype)queryWithParent:(NSString *)parent; @end /** - * Get AuthorizedViewSet + * Appeal an Assessment. * - * Method: contactcenterinsights.projects.locations.authorizedViewSets.get + * Method: contactcenterinsights.projects.locations.conversations.assessments.appeal * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsGet : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsAppeal : GTLRContactcenterinsightsQuery -/** Required. The name of the AuthorizedViewSet to get. */ +/** Required. The name of the assessment to appeal. */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet. + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment. * - * Get AuthorizedViewSet + * Appeal an Assessment. * - * @param name Required. The name of the AuthorizedViewSet to get. + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AppealAssessmentRequest + * to include in the query. + * @param name Required. The name of the assessment to appeal. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsGet + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsAppeal */ -+ (instancetype)queryWithName:(NSString *)name; ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AppealAssessmentRequest *)object + name:(NSString *)name; @end /** - * List AuthorizedViewSets + * Create Assessment. * - * Method: contactcenterinsights.projects.locations.authorizedViewSets.list + * Method: contactcenterinsights.projects.locations.conversations.assessments.create * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsList : GTLRContactcenterinsightsQuery - -/** - * Optional. The filter expression to filter authorized view sets listed in the - * response. - */ -@property(nonatomic, copy, nullable) NSString *filter; - -/** - * Optional. The order by expression to order authorized view sets listed in - * the response. - */ -@property(nonatomic, copy, nullable) NSString *orderBy; - -/** - * Optional. The maximum number of view sets to return in the response. If the - * value is zero, the service will select a default size. A call might return - * fewer objects than requested. A non-empty `next_page_token` in the response - * indicates that more data is available. - */ -@property(nonatomic, assign) NSInteger pageSize; - -/** - * Optional. The value returned by the last `ListAuthorizedViewSetsResponse`. - * This value indicates that this is a continuation of a prior - * `ListAuthorizedViewSets` call and that the system should return the next - * page of data. - */ -@property(nonatomic, copy, nullable) NSString *pageToken; +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsCreate : GTLRContactcenterinsightsQuery -/** Required. The parent resource of the AuthorizedViewSets. */ +/** Required. The parent resource of the assessment. */ @property(nonatomic, copy, nullable) NSString *parent; /** * Fetches a @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse. - * - * List AuthorizedViewSets + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment. * - * @param parent Required. The parent resource of the AuthorizedViewSets. + * Create Assessment. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsList + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment to + * include in the query. + * @param parent Required. The parent resource of the assessment. * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsCreate */ -+ (instancetype)queryWithParent:(NSString *)parent; ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment *)object + parent:(NSString *)parent; @end /** - * Updates an AuthorizedViewSet. + * Delete an Assessment. * - * Method: contactcenterinsights.projects.locations.authorizedViewSets.patch + * Method: contactcenterinsights.projects.locations.conversations.assessments.delete * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsPatch : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsDelete : GTLRContactcenterinsightsQuery /** - * Identifier. The resource name of the AuthorizedViewSet. Format: - * projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set} + * Optional. If set to true, all of this assessment's notes will also be + * deleted. Otherwise, the request will only succeed if it has no notes. */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, assign) BOOL force; -/** - * Optional. The list of fields to be updated. All possible fields can be - * updated by passing `*`, or a subset of the following updateable fields can - * be provided: * `display_name` - * - * String format is a comma-separated list of fields. - */ -@property(nonatomic, copy, nullable) NSString *updateMask; +/** Required. The name of the assessment to delete. */ +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet. + * Fetches a @c GTLRContactcenterinsights_GoogleProtobufEmpty. * - * Updates an AuthorizedViewSet. + * Delete an Assessment. * - * @param object The @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet - * to include in the query. - * @param name Identifier. The resource name of the AuthorizedViewSet. Format: - * projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set} + * @param name Required. The name of the assessment to delete. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsPatch + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsDelete */ -+ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AuthorizedViewSet *)object - name:(NSString *)name; ++ (instancetype)queryWithName:(NSString *)name; @end /** - * Delete feedback labels in bulk using a filter. + * Finalize an Assessment. * - * Method: contactcenterinsights.projects.locations.bulkDeleteFeedbackLabels + * Method: contactcenterinsights.projects.locations.conversations.assessments.finalize * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsBulkDeleteFeedbackLabels : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsFinalize : GTLRContactcenterinsightsQuery -/** Required. The parent resource for new feedback labels. */ -@property(nonatomic, copy, nullable) NSString *parent; +/** Required. The name of the assessment to finalize. */ +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment. * - * Delete feedback labels in bulk using a filter. + * Finalize an Assessment. * * @param object The @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest * to include in the query. - * @param parent Required. The parent resource for new feedback labels. + * @param name Required. The name of the assessment to finalize. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsBulkDeleteFeedbackLabels + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsFinalize */ -+ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest *)object - parent:(NSString *)parent; ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest *)object + name:(NSString *)name; @end /** - * Download feedback labels in bulk from an external source. Currently supports - * exporting Quality AI example conversations with transcripts and question - * bodies. + * Get Assessment. * - * Method: contactcenterinsights.projects.locations.bulkDownloadFeedbackLabels + * Method: contactcenterinsights.projects.locations.conversations.assessments.get * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsBulkDownloadFeedbackLabels : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsGet : GTLRContactcenterinsightsQuery -/** Required. The parent resource for new feedback labels. */ -@property(nonatomic, copy, nullable) NSString *parent; +/** Required. The name of the assessment to get. */ +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment. * - * Download feedback labels in bulk from an external source. Currently supports - * exporting Quality AI example conversations with transcripts and question - * bodies. + * Get Assessment. * - * @param object The @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest - * to include in the query. - * @param parent Required. The parent resource for new feedback labels. + * @param name Required. The name of the assessment to get. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsBulkDownloadFeedbackLabels + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsGet */ -+ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest *)object - parent:(NSString *)parent; ++ (instancetype)queryWithName:(NSString *)name; @end /** - * Upload feedback labels from an external source in bulk. Currently supports - * labeling Quality AI example conversations. + * List Assessments. * - * Method: contactcenterinsights.projects.locations.bulkUploadFeedbackLabels + * Method: contactcenterinsights.projects.locations.conversations.assessments.list * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsBulkUploadFeedbackLabels : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsList : GTLRContactcenterinsightsQuery -/** Required. The parent resource for new feedback labels. */ +/** + * Optional. A filter to reduce results to a specific subset. Supported filters + * include: * `state` - The state of the assessment * `agent_info.agent_id` - + * The ID of the agent the assessment is for + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * The maximum number of assessments to list. If zero, the service will select + * a default size. A call may return fewer objects than requested. A non-empty + * `next_page_token` in the response indicates that more data is available. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. The value returned by the last `ListAssessmentRulesResponse`; + * indicates that this is a continuation of a prior `ListAssessmentRules` call + * and the system should return the next page of data. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent resource of the assessments. To list all assessments in + * a location, substitute the conversation ID with a '-' character. + */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAssessmentsResponse. * - * Upload feedback labels from an external source in bulk. Currently supports - * labeling Quality AI example conversations. + * List Assessments. * - * @param object The @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest - * to include in the query. - * @param parent Required. The parent resource for new feedback labels. + * @param parent Required. The parent resource of the assessments. To list all + * assessments in a location, substitute the conversation ID with a '-' + * character. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsBulkUploadFeedbackLabels + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. */ -+ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest *)object - parent:(NSString *)parent; ++ (instancetype)queryWithParent:(NSString *)parent; @end /** - * Creates an analysis. The long running operation is done when the analysis - * has completed. + * Create Note. * - * Method: contactcenterinsights.projects.locations.conversations.analyses.create + * Method: contactcenterinsights.projects.locations.conversations.assessments.notes.create * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesCreate : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsNotesCreate : GTLRContactcenterinsightsQuery -/** Required. The parent resource of the analysis. */ +/** Required. The parent resource of the note. */ @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Note. * - * Creates an analysis. The long running operation is done when the analysis - * has completed. + * Create Note. * * @param object The @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Analysis to + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Note to * include in the query. - * @param parent Required. The parent resource of the analysis. + * @param parent Required. The parent resource of the note. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesCreate + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsNotesCreate */ -+ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Analysis *)object ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Note *)object parent:(NSString *)parent; @end /** - * Deletes an analysis. + * Deletes a Note. * - * Method: contactcenterinsights.projects.locations.conversations.analyses.delete + * Method: contactcenterinsights.projects.locations.conversations.assessments.notes.delete * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesDelete : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsNotesDelete : GTLRContactcenterinsightsQuery -/** Required. The name of the analysis to delete. */ +/** Required. The name of the note to delete. */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRContactcenterinsights_GoogleProtobufEmpty. * - * Deletes an analysis. + * Deletes a Note. * - * @param name Required. The name of the analysis to delete. + * @param name Required. The name of the note to delete. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesDelete + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsNotesDelete */ + (instancetype)queryWithName:(NSString *)name; @end /** - * Gets an analysis. + * List Notes. * - * Method: contactcenterinsights.projects.locations.conversations.analyses.get + * Method: contactcenterinsights.projects.locations.conversations.assessments.notes.list * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesGet : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsNotesList : GTLRContactcenterinsightsQuery -/** Required. The name of the analysis to get. */ -@property(nonatomic, copy, nullable) NSString *name; +/** + * Optional. The maximum number of notes to return in the response. If zero the + * service will select a default size. A call might return fewer objects than + * requested. A non-empty `next_page_token` in the response indicates that more + * data is available. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. The value returned by the last `ListNotesResponse`. This value + * indicates that this is a continuation of a prior `ListNotes` call and that + * the system should return the next page of data. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The parent resource of the notes. */ +@property(nonatomic, copy, nullable) NSString *parent; /** * Fetches a @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Analysis. + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListNotesResponse. * - * Gets an analysis. + * List Notes. * - * @param name Required. The name of the analysis to get. + * @param parent Required. The parent resource of the notes. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesGet + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsNotesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. */ -+ (instancetype)queryWithName:(NSString *)name; ++ (instancetype)queryWithParent:(NSString *)parent; @end /** - * Lists analyses. + * Update Note. * - * Method: contactcenterinsights.projects.locations.conversations.analyses.list + * Method: contactcenterinsights.projects.locations.conversations.assessments.notes.patch * * Authorization scope(s): * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform */ -@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesList : GTLRContactcenterinsightsQuery +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsNotesPatch : GTLRContactcenterinsightsQuery /** - * A filter to reduce results to a specific subset. Useful for querying - * conversations with specific properties. + * Identifier. The resource name of the note. Format: + * projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment}/notes/{note} */ -@property(nonatomic, copy, nullable) NSString *filter; +@property(nonatomic, copy, nullable) NSString *name; /** - * The maximum number of analyses to return in the response. If this value is - * zero, the service will select a default size. A call might return fewer - * objects than requested. A non-empty `next_page_token` in the response - * indicates that more data is available. + * Optional. The list of fields to be updated. If the update_mask is empty, all + * updateable fields will be updated. Acceptable fields include: * `content` + * + * String format is a comma-separated list of fields. */ -@property(nonatomic, assign) NSInteger pageSize; +@property(nonatomic, copy, nullable) NSString *updateMask; /** - * The value returned by the last `ListAnalysesResponse`; indicates that this - * is a continuation of a prior `ListAnalyses` call and the system should - * return the next page of data. + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Note. + * + * Update Note. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Note to + * include in the query. + * @param name Identifier. The resource name of the note. Format: + * projects/{project}/locations/{location}/conversations/{conversation}/assessments/{assessment}/notes/{note} + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsNotesPatch */ -@property(nonatomic, copy, nullable) NSString *pageToken; ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Note *)object + name:(NSString *)name; -/** Required. The parent resource of the analyses. */ -@property(nonatomic, copy, nullable) NSString *parent; +@end /** - * Fetches a @c - * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListAnalysesResponse. + * Publish an Assessment. * - * Lists analyses. + * Method: contactcenterinsights.projects.locations.conversations.assessments.publish * - * @param parent Required. The parent resource of the analyses. + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsPublish : GTLRContactcenterinsightsQuery + +/** Required. The name of the assessment to publish. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Assessment. * - * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAnalysesList + * Publish an Assessment. * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1PublishAssessmentRequest + * to include in the query. + * @param name Required. The name of the assessment to publish. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsAssessmentsPublish */ -+ (instancetype)queryWithParent:(NSString *)parent; ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1PublishAssessmentRequest *)object + name:(NSString *)name; @end diff --git a/Sources/GeneratedServices/Container/GTLRContainerObjects.m b/Sources/GeneratedServices/Container/GTLRContainerObjects.m index 05ce9a3dc..02d9aef10 100644 --- a/Sources/GeneratedServices/Container/GTLRContainerObjects.m +++ b/Sources/GeneratedServices/Container/GTLRContainerObjects.m @@ -20,6 +20,12 @@ NSString * const kGTLRContainer_AdvancedDatapathObservabilityConfig_RelayMode_InternalVpcLb = @"INTERNAL_VPC_LB"; NSString * const kGTLRContainer_AdvancedDatapathObservabilityConfig_RelayMode_RelayModeUnspecified = @"RELAY_MODE_UNSPECIFIED"; +// GTLRContainer_AdvancedMachineFeatures.performanceMonitoringUnit +NSString * const kGTLRContainer_AdvancedMachineFeatures_PerformanceMonitoringUnit_Architectural = @"ARCHITECTURAL"; +NSString * const kGTLRContainer_AdvancedMachineFeatures_PerformanceMonitoringUnit_Enhanced = @"ENHANCED"; +NSString * const kGTLRContainer_AdvancedMachineFeatures_PerformanceMonitoringUnit_PerformanceMonitoringUnitUnspecified = @"PERFORMANCE_MONITORING_UNIT_UNSPECIFIED"; +NSString * const kGTLRContainer_AdvancedMachineFeatures_PerformanceMonitoringUnit_Standard = @"STANDARD"; + // GTLRContainer_AutoMonitoringConfig.scope NSString * const kGTLRContainer_AutoMonitoringConfig_Scope_All = @"ALL"; NSString * const kGTLRContainer_AutoMonitoringConfig_Scope_None = @"NONE"; @@ -544,7 +550,8 @@ @implementation GTLRContainer_AdditionalPodRangesConfig @implementation GTLRContainer_AddonsConfig @dynamic cloudRunConfig, configConnectorConfig, dnsCacheConfig, gcePersistentDiskCsiDriverConfig, gcpFilestoreCsiDriverConfig, - gcsFuseCsiDriverConfig, gkeBackupAgentConfig, horizontalPodAutoscaling, + gcsFuseCsiDriverConfig, gkeBackupAgentConfig, + highScaleCheckpointingConfig, horizontalPodAutoscaling, httpLoadBalancing, kubernetesDashboard, networkPolicyConfig, parallelstoreCsiDriverConfig, rayOperatorConfig, statefulHaConfig; @end @@ -566,7 +573,16 @@ @implementation GTLRContainer_AdvancedDatapathObservabilityConfig // @implementation GTLRContainer_AdvancedMachineFeatures -@dynamic enableNestedVirtualization, threadsPerCore; +@dynamic enableNestedVirtualization, performanceMonitoringUnit, threadsPerCore; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContainer_AnonymousAuthenticationConfig +// + +@implementation GTLRContainer_AnonymousAuthenticationConfig @end @@ -815,11 +831,11 @@ @implementation GTLRContainer_CloudRunConfig // @implementation GTLRContainer_Cluster -@dynamic addonsConfig, alphaClusterFeatureGates, authenticatorGroupsConfig, - autopilot, autoscaling, binaryAuthorization, clusterIpv4Cidr, - compliancePostureConfig, conditions, confidentialNodes, - controlPlaneEndpointsConfig, costManagementConfig, createTime, - currentMasterVersion, currentNodeCount, currentNodeVersion, +@dynamic addonsConfig, alphaClusterFeatureGates, anonymousAuthenticationConfig, + authenticatorGroupsConfig, autopilot, autoscaling, binaryAuthorization, + clusterIpv4Cidr, compliancePostureConfig, conditions, + confidentialNodes, controlPlaneEndpointsConfig, costManagementConfig, + createTime, currentMasterVersion, currentNodeCount, currentNodeVersion, databaseEncryption, defaultMaxPodsConstraint, descriptionProperty, enableK8sBetaApis, enableKubernetesAlpha, enableTpu, endpoint, enterpriseConfig, ETag, expireTime, fleet, identifier, @@ -912,14 +928,14 @@ @implementation GTLRContainer_ClusterNetworkPerformanceConfig @implementation GTLRContainer_ClusterUpdate @dynamic additionalPodRangesConfig, desiredAddonsConfig, - desiredAuthenticatorGroupsConfig, desiredAutopilotWorkloadPolicyConfig, - desiredBinaryAuthorization, desiredClusterAutoscaling, - desiredCompliancePostureConfig, desiredContainerdConfig, - desiredControlPlaneEndpointsConfig, desiredCostManagementConfig, - desiredDatabaseEncryption, desiredDatapathProvider, - desiredDefaultEnablePrivateNodes, desiredDefaultSnatStatus, - desiredDisableL4LbFirewallReconciliation, desiredDnsConfig, - desiredEnableCiliumClusterwideNetworkPolicy, + desiredAnonymousAuthenticationConfig, desiredAuthenticatorGroupsConfig, + desiredAutopilotWorkloadPolicyConfig, desiredBinaryAuthorization, + desiredClusterAutoscaling, desiredCompliancePostureConfig, + desiredContainerdConfig, desiredControlPlaneEndpointsConfig, + desiredCostManagementConfig, desiredDatabaseEncryption, + desiredDatapathProvider, desiredDefaultEnablePrivateNodes, + desiredDefaultSnatStatus, desiredDisableL4LbFirewallReconciliation, + desiredDnsConfig, desiredEnableCiliumClusterwideNetworkPolicy, desiredEnableFqdnNetworkPolicy, desiredEnableMultiNetworking, desiredEnablePrivateEndpoint, desiredEnterpriseConfig, desiredFleet, desiredGatewayApiConfig, desiredGcfsConfig, @@ -1415,6 +1431,16 @@ @implementation GTLRContainer_GPUSharingConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRContainer_HighScaleCheckpointingConfig +// + +@implementation GTLRContainer_HighScaleCheckpointingConfig +@dynamic enabled; +@end + + // ---------------------------------------------------------------------------- // // GTLRContainer_HorizontalPodAutoscaling diff --git a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h index 0939bc736..39636003a 100644 --- a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h +++ b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h @@ -22,6 +22,7 @@ @class GTLRContainer_AddonsConfig; @class GTLRContainer_AdvancedDatapathObservabilityConfig; @class GTLRContainer_AdvancedMachineFeatures; +@class GTLRContainer_AnonymousAuthenticationConfig; @class GTLRContainer_AuthenticatorGroupsConfig; @class GTLRContainer_AutoMonitoringConfig; @class GTLRContainer_Autopilot; @@ -72,6 +73,7 @@ @class GTLRContainer_GkeBackupAgentConfig; @class GTLRContainer_GPUDriverInstallationConfig; @class GTLRContainer_GPUSharingConfig; +@class GTLRContainer_HighScaleCheckpointingConfig; @class GTLRContainer_HorizontalPodAutoscaling; @class GTLRContainer_HttpCacheControlResponseHeader; @class GTLRContainer_HttpLoadBalancing; @@ -225,6 +227,34 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_AdvancedDatapathObservabilityC */ FOUNDATION_EXTERN NSString * const kGTLRContainer_AdvancedDatapathObservabilityConfig_RelayMode_RelayModeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRContainer_AdvancedMachineFeatures.performanceMonitoringUnit + +/** + * Architecturally defined non-LLC events. + * + * Value: "ARCHITECTURAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_AdvancedMachineFeatures_PerformanceMonitoringUnit_Architectural; +/** + * Most documented core/L2 and LLC events. + * + * Value: "ENHANCED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_AdvancedMachineFeatures_PerformanceMonitoringUnit_Enhanced; +/** + * PMU not enabled. + * + * Value: "PERFORMANCE_MONITORING_UNIT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_AdvancedMachineFeatures_PerformanceMonitoringUnit_PerformanceMonitoringUnitUnspecified; +/** + * Most documented core/L2 events. + * + * Value: "STANDARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_AdvancedMachineFeatures_PerformanceMonitoringUnit_Standard; + // ---------------------------------------------------------------------------- // GTLRContainer_AutoMonitoringConfig.scope @@ -2756,6 +2786,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** Configuration for the Backup for GKE agent addon. */ @property(nonatomic, strong, nullable) GTLRContainer_GkeBackupAgentConfig *gkeBackupAgentConfig; +/** Configuration for the High Scale Checkpointing add-on. */ +@property(nonatomic, strong, nullable) GTLRContainer_HighScaleCheckpointingConfig *highScaleCheckpointingConfig; + /** * Configuration for the horizontal pod autoscaling feature, which increases or * decreases the number of replica pods a replication controller has based on @@ -2848,6 +2881,22 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, strong, nullable) NSNumber *enableNestedVirtualization; +/** + * Type of Performance Monitoring Unit (PMU) requested on node pool instances. + * If unset, PMU will not be available to the node. + * + * Likely values: + * @arg @c kGTLRContainer_AdvancedMachineFeatures_PerformanceMonitoringUnit_Architectural + * Architecturally defined non-LLC events. (Value: "ARCHITECTURAL") + * @arg @c kGTLRContainer_AdvancedMachineFeatures_PerformanceMonitoringUnit_Enhanced + * Most documented core/L2 and LLC events. (Value: "ENHANCED") + * @arg @c kGTLRContainer_AdvancedMachineFeatures_PerformanceMonitoringUnit_PerformanceMonitoringUnitUnspecified + * PMU not enabled. (Value: "PERFORMANCE_MONITORING_UNIT_UNSPECIFIED") + * @arg @c kGTLRContainer_AdvancedMachineFeatures_PerformanceMonitoringUnit_Standard + * Most documented core/L2 events. (Value: "STANDARD") + */ +@property(nonatomic, copy, nullable) NSString *performanceMonitoringUnit; + /** * The number of threads per physical core. To disable simultaneous * multithreading (SMT) set this to 1. If unset, the maximum number of threads @@ -2860,6 +2909,14 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo @end +/** + * AnonymousAuthenticationConfig defines the settings needed to limit endpoints + * that allow anonymous authentication. + */ +@interface GTLRContainer_AnonymousAuthenticationConfig : GTLRObject +@end + + /** * Configuration for returning group information from authenticators. */ @@ -3370,6 +3427,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, strong, nullable) NSArray *alphaClusterFeatureGates; +/** + * Configuration for limiting anonymous access to all endpoints except the + * health checks. + */ +@property(nonatomic, strong, nullable) GTLRContainer_AnonymousAuthenticationConfig *anonymousAuthenticationConfig; + /** Configuration controlling RBAC group membership information. */ @property(nonatomic, strong, nullable) GTLRContainer_AuthenticatorGroupsConfig *authenticatorGroupsConfig; @@ -3933,6 +3996,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** Configurations for the various addons available to run in the cluster. */ @property(nonatomic, strong, nullable) GTLRContainer_AddonsConfig *desiredAddonsConfig; +/** + * Configuration for limiting anonymous access to all endpoints except the + * health checks. + */ +@property(nonatomic, strong, nullable) GTLRContainer_AnonymousAuthenticationConfig *desiredAnonymousAuthenticationConfig; + /** The desired authenticator groups config for the cluster. */ @property(nonatomic, strong, nullable) GTLRContainer_AuthenticatorGroupsConfig *desiredAuthenticatorGroupsConfig; @@ -5189,6 +5258,21 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo @end +/** + * Configuration for the High Scale Checkpointing. + */ +@interface GTLRContainer_HighScaleCheckpointingConfig : GTLRObject + +/** + * Whether the High Scale Checkpointing is enabled for this cluster. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enabled; + +@end + + /** * Configuration options for the horizontal pod autoscaling feature, which * increases or decreases the number of replica pods a replication controller diff --git a/Sources/GeneratedServices/DLP/GTLRDLPObjects.m b/Sources/GeneratedServices/DLP/GTLRDLPObjects.m index be3b19c47..44439c494 100644 --- a/Sources/GeneratedServices/DLP/GTLRDLPObjects.m +++ b/Sources/GeneratedServices/DLP/GTLRDLPObjects.m @@ -1459,8 +1459,8 @@ @implementation GTLRDLP_GooglePrivacyDlpV2DatabaseResourceRegexes // @implementation GTLRDLP_GooglePrivacyDlpV2DataProfileAction -@dynamic exportData, publishToChronicle, publishToScc, pubSubNotification, - tagResources; +@dynamic exportData, publishToChronicle, publishToDataplexCatalog, publishToScc, + pubSubNotification, tagResources; @end @@ -1491,8 +1491,8 @@ @implementation GTLRDLP_GooglePrivacyDlpV2DataProfileConfigSnapshot // @implementation GTLRDLP_GooglePrivacyDlpV2DataProfileFinding -@dynamic dataProfileResourceName, findingId, infotype, location, quote, - quoteInfo, resourceVisibility, timestamp; +@dynamic dataProfileResourceName, dataSourceType, findingId, fullResourceName, + infotype, location, quote, quoteInfo, resourceVisibility, timestamp; @end @@ -3798,6 +3798,16 @@ @implementation GTLRDLP_GooglePrivacyDlpV2PublishToChronicle @end +// ---------------------------------------------------------------------------- +// +// GTLRDLP_GooglePrivacyDlpV2PublishToDataplexCatalog +// + +@implementation GTLRDLP_GooglePrivacyDlpV2PublishToDataplexCatalog +@dynamic lowerDataRiskToLow; +@end + + // ---------------------------------------------------------------------------- // // GTLRDLP_GooglePrivacyDlpV2PublishToPubSub @@ -4524,7 +4534,7 @@ @implementation GTLRDLP_GooglePrivacyDlpV2TableOptions // @implementation GTLRDLP_GooglePrivacyDlpV2TableReference -@dynamic datasetId, tableId; +@dynamic datasetId, projectId, tableId; @end diff --git a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h index a2d4a2a6a..a4743f00a 100644 --- a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h +++ b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h @@ -226,6 +226,7 @@ @class GTLRDLP_GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog; @class GTLRDLP_GooglePrivacyDlpV2PublishSummaryToCscc; @class GTLRDLP_GooglePrivacyDlpV2PublishToChronicle; +@class GTLRDLP_GooglePrivacyDlpV2PublishToDataplexCatalog; @class GTLRDLP_GooglePrivacyDlpV2PublishToPubSub; @class GTLRDLP_GooglePrivacyDlpV2PublishToSecurityCommandCenter; @class GTLRDLP_GooglePrivacyDlpV2PublishToStackdriver; @@ -5478,6 +5479,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal */ @property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2PublishToChronicle *publishToChronicle; +/** + * Publishes a portion of each profile to Dataplex Catalog with the aspect type + * Sensitive Data Protection Profile. + */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2PublishToDataplexCatalog *publishToDataplexCatalog; + /** Publishes findings to Security Command Center for each data profile. */ @property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2PublishToSecurityCommandCenter *publishToScc; @@ -5549,9 +5556,19 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** Resource name of the data profile associated with the finding. */ @property(nonatomic, copy, nullable) NSString *dataProfileResourceName; +/** The type of the resource that was profiled. */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2DataSourceType *dataSourceType; + /** A unique identifier for the finding. */ @property(nonatomic, copy, nullable) NSString *findingId; +/** + * The [full resource + * name](https://cloud.google.com/apis/design/resource_names#full_resource_name) + * of the resource profiled for this finding. + */ +@property(nonatomic, copy, nullable) NSString *fullResourceName; + /** * The [type of * content](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference) @@ -10444,6 +10461,27 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @end +/** + * Create Dataplex Catalog aspects for profiled resources with the aspect type + * Sensitive Data Protection Profile. To learn more about aspects, see + * https://cloud.google.com/sensitive-data-protection/docs/add-aspects. + */ +@interface GTLRDLP_GooglePrivacyDlpV2PublishToDataplexCatalog : GTLRObject + +/** + * Whether creating a Dataplex Catalog aspect for a profiled resource should + * lower the risk of the profile for that resource. This also lowers the data + * risk of resources at the lower levels of the resource hierarchy. For + * example, reducing the data risk of a table data profile also reduces the + * data risk of the constituent column data profiles. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *lowerDataRiskToLow; + +@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 @@ -11774,6 +11812,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** Dataset ID of the table. */ @property(nonatomic, copy, nullable) NSString *datasetId; +/** + * The Google Cloud project ID of the project containing the table. If omitted, + * the project ID is inferred from the parent project. This field is required + * if the parent resource is an organization. + */ +@property(nonatomic, copy, nullable) NSString *projectId; + /** Name of the table. */ @property(nonatomic, copy, nullable) NSString *tableId; diff --git a/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogQuery.h b/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogQuery.h index 32ed73200..bb17a08a8 100644 --- a/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogQuery.h +++ b/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogQuery.h @@ -976,7 +976,8 @@ GTLR_DEPRECATED * deletes tags not included in the input tag list. `ReconcileTags` returns a * long-running operation resource that can be queried with * Operations.GetOperation to return ReconcileTagsMetadata and a - * ReconcileTagsResponse message. + * ReconcileTagsResponse message. Note: SearchCatalog might return stale search + * results for up to 24 hours after the `ReconcileTags` operation completes. * * Method: datacatalog.projects.locations.entryGroups.entries.tags.reconcile * @@ -997,7 +998,8 @@ GTLR_DEPRECATED * deletes tags not included in the input tag list. `ReconcileTags` returns a * long-running operation resource that can be queried with * Operations.GetOperation to return ReconcileTagsMetadata and a - * ReconcileTagsResponse message. + * ReconcileTagsResponse message. Note: SearchCatalog might return stale search + * results for up to 24 hours after the `ReconcileTags` operation completes. * * @param object The @c * GTLRDataCatalog_GoogleCloudDatacatalogV1ReconcileTagsRequest to include in diff --git a/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m b/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m index 17050c062..58422be46 100644 --- a/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m +++ b/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m @@ -1274,8 +1274,22 @@ @implementation GTLRDatabaseMigrationService_GenerateTcpProxyScriptRequest // @implementation GTLRDatabaseMigrationService_GoogleCloudClouddmsV1OperationMetadata -@dynamic apiVersion, createTime, endTime, requestedCancellation, statusMessage, - target, verb; +@dynamic apiVersion, createTime, endTime, metadata, requestedCancellation, + statusMessage, target, verb; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDatabaseMigrationService_GoogleCloudClouddmsV1OperationMetadata_Metadata +// + +@implementation GTLRDatabaseMigrationService_GoogleCloudClouddmsV1OperationMetadata_Metadata + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + @end @@ -2515,7 +2529,21 @@ @implementation GTLRDatabaseMigrationService_SshScript // @implementation GTLRDatabaseMigrationService_SslConfig -@dynamic caCertificate, clientCertificate, clientKey, type; +@dynamic caCertificate, clientCertificate, clientKey, sslFlags, type; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDatabaseMigrationService_SslConfig_SslFlags +// + +@implementation GTLRDatabaseMigrationService_SslConfig_SslFlags + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + @end diff --git a/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h index 7445c29b4..bee9a78fc 100644 --- a/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h +++ b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h @@ -64,6 +64,7 @@ @class GTLRDatabaseMigrationService_ForwardSshTunnelConnectivity; @class GTLRDatabaseMigrationService_FunctionEntity; @class GTLRDatabaseMigrationService_FunctionEntity_CustomFeatures; +@class GTLRDatabaseMigrationService_GoogleCloudClouddmsV1OperationMetadata_Metadata; @class GTLRDatabaseMigrationService_ImportRulesJobDetails; @class GTLRDatabaseMigrationService_IndexEntity; @class GTLRDatabaseMigrationService_IndexEntity_CustomFeatures; @@ -138,6 +139,7 @@ @class GTLRDatabaseMigrationService_SqlServerSourceConfig; @class GTLRDatabaseMigrationService_SqlServerToPostgresConfig; @class GTLRDatabaseMigrationService_SslConfig; +@class GTLRDatabaseMigrationService_SslConfig_SslFlags; @class GTLRDatabaseMigrationService_StaticIpConnectivity; @class GTLRDatabaseMigrationService_StaticServiceIpConnectivity; @class GTLRDatabaseMigrationService_Status; @@ -4826,6 +4828,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter /** Output only. The time the operation finished running. */ @property(nonatomic, strong, nullable) GTLRDateTime *endTime; +/** + * Output only. Additional metadata that is returned by the backend for the + * operation. + */ +@property(nonatomic, strong, nullable) GTLRDatabaseMigrationService_GoogleCloudClouddmsV1OperationMetadata_Metadata *metadata; + /** * Output only. Identifies whether the user has requested cancellation of the * operation. Operations that have successfully been cancelled have @@ -4850,6 +4858,19 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter @end +/** + * Output only. Additional metadata that is returned by the backend for the + * operation. + * + * @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 GTLRDatabaseMigrationService_GoogleCloudClouddmsV1OperationMetadata_Metadata : GTLRObject +@end + + /** * Request message for 'ImportMappingRules' request. */ @@ -7916,6 +7937,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter */ @property(nonatomic, copy, nullable) NSString *clientKey; +/** + * Optional. SSL flags used for establishing SSL connection to the source + * database. Only source specific flags are supported. An object containing a + * list of "key": "value" pairs. Example: { "server_certificate_hostname": + * "server.com"}. + */ +@property(nonatomic, strong, nullable) GTLRDatabaseMigrationService_SslConfig_SslFlags *sslFlags; + /** * Optional. The ssl config type according to 'client_key', * 'client_certificate' and 'ca_certificate'. @@ -7939,6 +7968,21 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter @end +/** + * Optional. SSL flags used for establishing SSL connection to the source + * database. Only source specific flags are supported. An object containing a + * list of "key": "value" pairs. Example: { "server_certificate_hostname": + * "server.com"}. + * + * @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 GTLRDatabaseMigrationService_SslConfig_SslFlags : GTLRObject +@end + + /** * Request message for 'StartMigrationJob' request. */ diff --git a/Sources/GeneratedServices/Dataform/GTLRDataformObjects.m b/Sources/GeneratedServices/Dataform/GTLRDataformObjects.m index f5860c7ab..ac49da3be 100644 --- a/Sources/GeneratedServices/Dataform/GTLRDataformObjects.m +++ b/Sources/GeneratedServices/Dataform/GTLRDataformObjects.m @@ -975,7 +975,7 @@ @implementation GTLRDataform_NotebookAction // @implementation GTLRDataform_NotebookRuntimeOptions -@dynamic gcsOutputBucket; +@dynamic aiPlatformNotebookRuntimeTemplate, gcsOutputBucket; @end diff --git a/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformObjects.h b/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformObjects.h index ed56b00d7..6f7caeebe 100644 --- a/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformObjects.h +++ b/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformObjects.h @@ -1841,6 +1841,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDataform_WorkflowInvocationAction_State_ */ @interface GTLRDataform_NotebookRuntimeOptions : GTLRObject +/** + * Optional. The resource name of the [Colab runtime template] + * (https://cloud.google.com/colab/docs/runtimes), from which a runtime is + * created for notebook executions. If not specified, a runtime is created with + * Colab's default specifications. + */ +@property(nonatomic, copy, nullable) NSString *aiPlatformNotebookRuntimeTemplate; + /** * Optional. The Google Cloud Storage location to upload the result to. Format: * `gs://bucket-name`. diff --git a/Sources/GeneratedServices/Dataproc/GTLRDataprocObjects.m b/Sources/GeneratedServices/Dataproc/GTLRDataprocObjects.m index aba85a038..975335bd4 100644 --- a/Sources/GeneratedServices/Dataproc/GTLRDataprocObjects.m +++ b/Sources/GeneratedServices/Dataproc/GTLRDataprocObjects.m @@ -31,9 +31,16 @@ NSString * const kGTLRDataproc_AuthenticationConfig_UserWorkloadAuthenticationType_EndUserCredentials = @"END_USER_CREDENTIALS"; NSString * const kGTLRDataproc_AuthenticationConfig_UserWorkloadAuthenticationType_ServiceAccount = @"SERVICE_ACCOUNT"; +// GTLRDataproc_AutoscalingPolicy.clusterType +NSString * const kGTLRDataproc_AutoscalingPolicy_ClusterType_ClusterTypeUnspecified = @"CLUSTER_TYPE_UNSPECIFIED"; +NSString * const kGTLRDataproc_AutoscalingPolicy_ClusterType_Standard = @"STANDARD"; +NSString * const kGTLRDataproc_AutoscalingPolicy_ClusterType_ZeroScale = @"ZERO_SCALE"; + // GTLRDataproc_AutotuningConfig.scenarios +NSString * const kGTLRDataproc_AutotuningConfig_Scenarios_Auto = @"AUTO"; NSString * const kGTLRDataproc_AutotuningConfig_Scenarios_BroadcastHashJoin = @"BROADCAST_HASH_JOIN"; NSString * const kGTLRDataproc_AutotuningConfig_Scenarios_Memory = @"MEMORY"; +NSString * const kGTLRDataproc_AutotuningConfig_Scenarios_None = @"NONE"; NSString * const kGTLRDataproc_AutotuningConfig_Scenarios_Scaling = @"SCALING"; NSString * const kGTLRDataproc_AutotuningConfig_Scenarios_ScenarioUnspecified = @"SCENARIO_UNSPECIFIED"; @@ -50,6 +57,12 @@ NSString * const kGTLRDataproc_BatchOperationMetadata_OperationType_Batch = @"BATCH"; NSString * const kGTLRDataproc_BatchOperationMetadata_OperationType_BatchOperationTypeUnspecified = @"BATCH_OPERATION_TYPE_UNSPECIFIED"; +// GTLRDataproc_ClusterConfig.clusterType +NSString * const kGTLRDataproc_ClusterConfig_ClusterType_ClusterTypeUnspecified = @"CLUSTER_TYPE_UNSPECIFIED"; +NSString * const kGTLRDataproc_ClusterConfig_ClusterType_SingleNode = @"SINGLE_NODE"; +NSString * const kGTLRDataproc_ClusterConfig_ClusterType_Standard = @"STANDARD"; +NSString * const kGTLRDataproc_ClusterConfig_ClusterType_ZeroScale = @"ZERO_SCALE"; + // GTLRDataproc_ClusterOperationStatus.state NSString * const kGTLRDataproc_ClusterOperationStatus_State_Done = @"DONE"; NSString * const kGTLRDataproc_ClusterOperationStatus_State_Pending = @"PENDING"; @@ -316,26 +329,6 @@ @implementation GTLRDataproc_AccessSessionSparkApplicationJobResponse @end -// ---------------------------------------------------------------------------- -// -// GTLRDataproc_AccessSessionSparkApplicationNativeBuildInfoResponse -// - -@implementation GTLRDataproc_AccessSessionSparkApplicationNativeBuildInfoResponse -@dynamic executionData; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDataproc_AccessSessionSparkApplicationNativeSqlQueryResponse -// - -@implementation GTLRDataproc_AccessSessionSparkApplicationNativeSqlQueryResponse -@dynamic executionData; -@end - - // ---------------------------------------------------------------------------- // // GTLRDataproc_AccessSessionSparkApplicationResponse @@ -406,26 +399,6 @@ @implementation GTLRDataproc_AccessSparkApplicationJobResponse @end -// ---------------------------------------------------------------------------- -// -// GTLRDataproc_AccessSparkApplicationNativeBuildInfoResponse -// - -@implementation GTLRDataproc_AccessSparkApplicationNativeBuildInfoResponse -@dynamic buildInfo; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDataproc_AccessSparkApplicationNativeSqlQueryResponse -// - -@implementation GTLRDataproc_AccessSparkApplicationNativeSqlQueryResponse -@dynamic executionData; -@end - - // ---------------------------------------------------------------------------- // // GTLRDataproc_AccessSparkApplicationResponse @@ -689,8 +662,8 @@ @implementation GTLRDataproc_AutoscalingConfig // @implementation GTLRDataproc_AutoscalingPolicy -@dynamic basicAlgorithm, identifier, labels, name, secondaryWorkerConfig, - workerConfig; +@dynamic basicAlgorithm, clusterType, identifier, labels, name, + secondaryWorkerConfig, workerConfig; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -919,7 +892,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRDataproc_ClusterConfig -@dynamic autoscalingConfig, auxiliaryNodeGroups, configBucket, +@dynamic autoscalingConfig, auxiliaryNodeGroups, clusterType, configBucket, dataprocMetricConfig, encryptionConfig, endpointConfig, gceClusterConfig, gkeClusterConfig, initializationActions, lifecycleConfig, masterConfig, metastoreConfig, secondaryWorkerConfig, @@ -2847,6 +2820,30 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRDataproc_PropertiesInfo +// + +@implementation GTLRDataproc_PropertiesInfo +@dynamic autotuningProperties; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDataproc_PropertiesInfo_AutotuningProperties +// + +@implementation GTLRDataproc_PropertiesInfo_AutotuningProperties + ++ (Class)classForAdditionalProperties { + return [GTLRDataproc_ValueInfo class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDataproc_ProvisioningModelMix @@ -3244,7 +3241,7 @@ + (Class)classForAdditionalProperties { @implementation GTLRDataproc_RuntimeInfo @dynamic approximateUsage, currentUsage, diagnosticOutputUri, endpoints, - outputUri; + outputUri, propertiesInfo; @end @@ -3328,28 +3325,6 @@ + (NSString *)collectionItemsKey { @end -// ---------------------------------------------------------------------------- -// -// GTLRDataproc_SearchSessionSparkApplicationNativeSqlQueriesResponse -// - -@implementation GTLRDataproc_SearchSessionSparkApplicationNativeSqlQueriesResponse -@dynamic nextPageToken, sparkApplicationNativeSqlQueries; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"sparkApplicationNativeSqlQueries" : [GTLRDataproc_NativeSqlExecutionUiData class] - }; - return map; -} - -+ (NSString *)collectionItemsKey { - return @"sparkApplicationNativeSqlQueries"; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRDataproc_SearchSessionSparkApplicationSqlQueriesResponse @@ -3526,28 +3501,6 @@ + (NSString *)collectionItemsKey { @end -// ---------------------------------------------------------------------------- -// -// GTLRDataproc_SearchSparkApplicationNativeSqlQueriesResponse -// - -@implementation GTLRDataproc_SearchSparkApplicationNativeSqlQueriesResponse -@dynamic nextPageToken, sparkApplicationNativeSqlQueries; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"sparkApplicationNativeSqlQueries" : [GTLRDataproc_NativeSqlExecutionUiData class] - }; - return map; -} - -+ (NSString *)collectionItemsKey { - return @"sparkApplicationNativeSqlQueries"; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRDataproc_SearchSparkApplicationSqlQueriesResponse @@ -5040,6 +4993,16 @@ @implementation GTLRDataproc_UsageSnapshot @end +// ---------------------------------------------------------------------------- +// +// GTLRDataproc_ValueInfo +// + +@implementation GTLRDataproc_ValueInfo +@dynamic annotation, overriddenValue, value; +@end + + // ---------------------------------------------------------------------------- // // GTLRDataproc_ValueValidation diff --git a/Sources/GeneratedServices/Dataproc/GTLRDataprocQuery.m b/Sources/GeneratedServices/Dataproc/GTLRDataprocQuery.m index ca82a431d..eda5ced05 100644 --- a/Sources/GeneratedServices/Dataproc/GTLRDataprocQuery.m +++ b/Sources/GeneratedServices/Dataproc/GTLRDataprocQuery.m @@ -426,44 +426,6 @@ + (instancetype)queryWithName:(NSString *)name { @end -@implementation GTLRDataprocQuery_ProjectsLocationsBatchesSparkApplicationsAccessNativeBuildInfo - -@dynamic name, parent; - -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}:accessNativeBuildInfo"; - GTLRDataprocQuery_ProjectsLocationsBatchesSparkApplicationsAccessNativeBuildInfo *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.name = name; - query.expectedObjectClass = [GTLRDataproc_AccessSparkApplicationNativeBuildInfoResponse class]; - query.loggingName = @"dataproc.projects.locations.batches.sparkApplications.accessNativeBuildInfo"; - return query; -} - -@end - -@implementation GTLRDataprocQuery_ProjectsLocationsBatchesSparkApplicationsAccessNativeSqlQuery - -@dynamic executionId, name, parent; - -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}:accessNativeSqlQuery"; - GTLRDataprocQuery_ProjectsLocationsBatchesSparkApplicationsAccessNativeSqlQuery *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.name = name; - query.expectedObjectClass = [GTLRDataproc_AccessSparkApplicationNativeSqlQueryResponse class]; - query.loggingName = @"dataproc.projects.locations.batches.sparkApplications.accessNativeSqlQuery"; - return query; -} - -@end - @implementation GTLRDataprocQuery_ProjectsLocationsBatchesSparkApplicationsAccessSqlPlan @dynamic executionId, name, parent; @@ -617,25 +579,6 @@ + (instancetype)queryWithName:(NSString *)name { @end -@implementation GTLRDataprocQuery_ProjectsLocationsBatchesSparkApplicationsSearchNativeSqlQueries - -@dynamic name, pageSize, pageToken, parent; - -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}:searchNativeSqlQueries"; - GTLRDataprocQuery_ProjectsLocationsBatchesSparkApplicationsSearchNativeSqlQueries *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.name = name; - query.expectedObjectClass = [GTLRDataproc_SearchSparkApplicationNativeSqlQueriesResponse class]; - query.loggingName = @"dataproc.projects.locations.batches.sparkApplications.searchNativeSqlQueries"; - return query; -} - -@end - @implementation GTLRDataprocQuery_ProjectsLocationsBatchesSparkApplicationsSearchSqlQueries @dynamic details, name, pageSize, pageToken, parent, planDescription; @@ -1033,44 +976,6 @@ + (instancetype)queryWithName:(NSString *)name { @end -@implementation GTLRDataprocQuery_ProjectsLocationsSessionsSparkApplicationsAccessNativeBuildInfo - -@dynamic name, parent; - -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}:accessNativeBuildInfo"; - GTLRDataprocQuery_ProjectsLocationsSessionsSparkApplicationsAccessNativeBuildInfo *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.name = name; - query.expectedObjectClass = [GTLRDataproc_AccessSessionSparkApplicationNativeBuildInfoResponse class]; - query.loggingName = @"dataproc.projects.locations.sessions.sparkApplications.accessNativeBuildInfo"; - return query; -} - -@end - -@implementation GTLRDataprocQuery_ProjectsLocationsSessionsSparkApplicationsAccessNativeSqlQuery - -@dynamic executionId, name, parent; - -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}:accessNativeSqlQuery"; - GTLRDataprocQuery_ProjectsLocationsSessionsSparkApplicationsAccessNativeSqlQuery *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.name = name; - query.expectedObjectClass = [GTLRDataproc_AccessSessionSparkApplicationNativeSqlQueryResponse class]; - query.loggingName = @"dataproc.projects.locations.sessions.sparkApplications.accessNativeSqlQuery"; - return query; -} - -@end - @implementation GTLRDataprocQuery_ProjectsLocationsSessionsSparkApplicationsAccessSqlPlan @dynamic executionId, name, parent; @@ -1207,7 +1112,14 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRDataprocQuery_ProjectsLocationsSessionsSparkApplicationsSearchJobs -@dynamic jobStatus, name, pageSize, pageToken, parent; +@dynamic jobIds, jobStatus, name, pageSize, pageToken, parent; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"jobIds" : [NSNumber class] + }; + return map; +} + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; @@ -1224,29 +1136,18 @@ + (instancetype)queryWithName:(NSString *)name { @end -@implementation GTLRDataprocQuery_ProjectsLocationsSessionsSparkApplicationsSearchNativeSqlQueries +@implementation GTLRDataprocQuery_ProjectsLocationsSessionsSparkApplicationsSearchSqlQueries -@dynamic name, pageSize, pageToken, parent; +@dynamic details, name, operationIds, pageSize, pageToken, parent, + planDescription; -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}:searchNativeSqlQueries"; - GTLRDataprocQuery_ProjectsLocationsSessionsSparkApplicationsSearchNativeSqlQueries *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.name = name; - query.expectedObjectClass = [GTLRDataproc_SearchSessionSparkApplicationNativeSqlQueriesResponse class]; - query.loggingName = @"dataproc.projects.locations.sessions.sparkApplications.searchNativeSqlQueries"; - return query; ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"operationIds" : [NSString class] + }; + return map; } -@end - -@implementation GTLRDataprocQuery_ProjectsLocationsSessionsSparkApplicationsSearchSqlQueries - -@dynamic details, name, pageSize, pageToken, parent, planDescription; - + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; NSString *pathURITemplate = @"v1/{+name}:searchSqlQueries"; @@ -1303,7 +1204,15 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRDataprocQuery_ProjectsLocationsSessionsSparkApplicationsSearchStages -@dynamic name, pageSize, pageToken, parent, stageStatus, summaryMetricsMask; +@dynamic name, pageSize, pageToken, parent, stageIds, stageStatus, + summaryMetricsMask; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"stageIds" : [NSNumber class] + }; + return map; +} + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; diff --git a/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h b/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h index f97e71557..994ffc29e 100644 --- a/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h +++ b/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h @@ -157,6 +157,8 @@ @class GTLRDataproc_PrestoJob_Properties; @class GTLRDataproc_ProcessSummary; @class GTLRDataproc_ProcessSummary_ProcessLogs; +@class GTLRDataproc_PropertiesInfo; +@class GTLRDataproc_PropertiesInfo_AutotuningProperties; @class GTLRDataproc_ProvisioningModelMix; @class GTLRDataproc_PyPiRepositoryConfig; @class GTLRDataproc_PySparkBatch; @@ -265,6 +267,7 @@ @class GTLRDataproc_TrinoJob_Properties; @class GTLRDataproc_UsageMetrics; @class GTLRDataproc_UsageSnapshot; +@class GTLRDataproc_ValueInfo; @class GTLRDataproc_ValueValidation; @class GTLRDataproc_VirtualClusterConfig; @class GTLRDataproc_WorkflowGraph; @@ -344,9 +347,37 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_AuthenticationConfig_UserWorklo */ FOUNDATION_EXTERN NSString * const kGTLRDataproc_AuthenticationConfig_UserWorkloadAuthenticationType_ServiceAccount; +// ---------------------------------------------------------------------------- +// GTLRDataproc_AutoscalingPolicy.clusterType + +/** + * Not set. + * + * Value: "CLUSTER_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataproc_AutoscalingPolicy_ClusterType_ClusterTypeUnspecified; +/** + * Standard dataproc cluster with minimum 2 primary workers. + * + * Value: "STANDARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataproc_AutoscalingPolicy_ClusterType_Standard; +/** + * Clusters that can be scaled down to zero worker nodes. + * + * Value: "ZERO_SCALE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataproc_AutoscalingPolicy_ClusterType_ZeroScale; + // ---------------------------------------------------------------------------- // GTLRDataproc_AutotuningConfig.scenarios +/** + * Automatic selection of scenarios. + * + * Value: "AUTO" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataproc_AutotuningConfig_Scenarios_Auto; /** * Adding hints for potential relation broadcasts. * @@ -359,6 +390,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_AutotuningConfig_Scenarios_Broa * Value: "MEMORY" */ FOUNDATION_EXTERN NSString * const kGTLRDataproc_AutotuningConfig_Scenarios_Memory; +/** + * No autotuning. + * + * Value: "NONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataproc_AutotuningConfig_Scenarios_None; /** * Scaling recommendations such as initialExecutors. * @@ -434,6 +471,34 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_BatchOperationMetadata_Operatio */ FOUNDATION_EXTERN NSString * const kGTLRDataproc_BatchOperationMetadata_OperationType_BatchOperationTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDataproc_ClusterConfig.clusterType + +/** + * Not set. + * + * Value: "CLUSTER_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataproc_ClusterConfig_ClusterType_ClusterTypeUnspecified; +/** + * https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/single-node-clusters + * + * Value: "SINGLE_NODE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataproc_ClusterConfig_ClusterType_SingleNode; +/** + * Standard dataproc cluster with a minimum of two primary workers. + * + * Value: "STANDARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataproc_ClusterConfig_ClusterType_Standard; +/** + * Clusters that can be scaled down to zero worker nodes. + * + * Value: "ZERO_SCALE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataproc_ClusterConfig_ClusterType_ZeroScale; + // ---------------------------------------------------------------------------- // GTLRDataproc_ClusterOperationStatus.state @@ -1604,28 +1669,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted @end -/** - * Details of a native build info for a Spark Application - */ -@interface GTLRDataproc_AccessSessionSparkApplicationNativeBuildInfoResponse : GTLRObject - -/** Native SQL Execution Data */ -@property(nonatomic, strong, nullable) GTLRDataproc_NativeBuildInfoUiData *executionData; - -@end - - -/** - * Details of a native query for a Spark Application - */ -@interface GTLRDataproc_AccessSessionSparkApplicationNativeSqlQueryResponse : GTLRObject - -/** Native SQL Execution Data */ -@property(nonatomic, strong, nullable) GTLRDataproc_NativeSqlExecutionUiData *executionData; - -@end - - /** * A summary of Spark Application */ @@ -1705,28 +1748,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted @end -/** - * Details of Native Build Info for a Spark Application - */ -@interface GTLRDataproc_AccessSparkApplicationNativeBuildInfoResponse : GTLRObject - -/** Native Build Info Data */ -@property(nonatomic, strong, nullable) GTLRDataproc_NativeBuildInfoUiData *buildInfo; - -@end - - -/** - * Details of a query for a Spark Application - */ -@interface GTLRDataproc_AccessSparkApplicationNativeSqlQueryResponse : GTLRObject - -/** Native SQL Execution Data */ -@property(nonatomic, strong, nullable) GTLRDataproc_NativeSqlExecutionUiData *executionData; - -@end - - /** * A summary of Spark Application */ @@ -2128,6 +2149,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted @property(nonatomic, strong, nullable) GTLRDataproc_BasicAutoscalingAlgorithm *basicAlgorithm; +/** + * Optional. The type of the clusters for which this autoscaling policy is to + * be configured. + * + * Likely values: + * @arg @c kGTLRDataproc_AutoscalingPolicy_ClusterType_ClusterTypeUnspecified + * Not set. (Value: "CLUSTER_TYPE_UNSPECIFIED") + * @arg @c kGTLRDataproc_AutoscalingPolicy_ClusterType_Standard Standard + * dataproc cluster with minimum 2 primary workers. (Value: "STANDARD") + * @arg @c kGTLRDataproc_AutoscalingPolicy_ClusterType_ZeroScale Clusters + * that can be scaled down to zero worker nodes. (Value: "ZERO_SCALE") + */ +@property(nonatomic, copy, nullable) NSString *clusterType; + /** * Required. The policy id.The id must contain only letters (a-z, A-Z), numbers * (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore @@ -2692,6 +2727,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted /** Optional. The node group settings. */ @property(nonatomic, strong, nullable) NSArray *auxiliaryNodeGroups; +/** + * Optional. The type of the cluster. + * + * Likely values: + * @arg @c kGTLRDataproc_ClusterConfig_ClusterType_ClusterTypeUnspecified Not + * set. (Value: "CLUSTER_TYPE_UNSPECIFIED") + * @arg @c kGTLRDataproc_ClusterConfig_ClusterType_SingleNode + * https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/single-node-clusters + * (Value: "SINGLE_NODE") + * @arg @c kGTLRDataproc_ClusterConfig_ClusterType_Standard Standard dataproc + * cluster with a minimum of two primary workers. (Value: "STANDARD") + * @arg @c kGTLRDataproc_ClusterConfig_ClusterType_ZeroScale Clusters that + * can be scaled down to zero worker nodes. (Value: "ZERO_SCALE") + */ +@property(nonatomic, copy, nullable) NSString *clusterType; + /** * Optional. A Cloud Storage bucket used to stage job dependencies, config * files, and job driver console output. If you do not specify a staging @@ -3276,7 +3327,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted /** - * Specifies the config of disk options for a group of VM instances. + * Specifies the config of boot disk and attached disk options for a group of + * VM instances. */ @interface GTLRDataproc_DiskConfig : GTLRObject @@ -7165,6 +7217,29 @@ GTLR_DEPRECATED @end +/** + * Properties of the workload organized by origin. + */ +@interface GTLRDataproc_PropertiesInfo : GTLRObject + +/** Output only. Properties set by autotuning engine. */ +@property(nonatomic, strong, nullable) GTLRDataproc_PropertiesInfo_AutotuningProperties *autotuningProperties; + +@end + + +/** + * Output only. Properties set by autotuning engine. + * + * @note This class is documented as having more properties of + * GTLRDataproc_ValueInfo. 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 GTLRDataproc_PropertiesInfo_AutotuningProperties : GTLRObject +@end + + /** * Defines how Dataproc should create VMs with a mixture of provisioning * models. @@ -7978,6 +8053,9 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *outputUri; +/** Optional. Properties of the workload organized by origin. */ +@property(nonatomic, strong, nullable) GTLRDataproc_PropertiesInfo *propertiesInfo; + @end @@ -8078,34 +8156,6 @@ GTLR_DEPRECATED @end -/** - * List of all Native queries for a Spark Application. - * - * @note This class supports NSFastEnumeration and indexed subscripting over - * its "sparkApplicationNativeSqlQueries" property. If returned as the - * result of a query, it should support automatic pagination (when @c - * shouldFetchNextPages is enabled). - */ -@interface GTLRDataproc_SearchSessionSparkApplicationNativeSqlQueriesResponse : GTLRCollectionObject - -/** - * This token is included in the response if there are more results to fetch. - * To fetch additional results, provide this value as the page_token in a - * subsequent SearchSessionSparkApplicationSqlQueriesRequest. - */ -@property(nonatomic, copy, nullable) NSString *nextPageToken; - -/** - * Output only. Native SQL Execution Data - * - * @note This property is used to support NSFastEnumeration and indexed - * subscripting on this class. - */ -@property(nonatomic, strong, nullable) NSArray *sparkApplicationNativeSqlQueries; - -@end - - /** * List of all queries for a Spark Application. * @@ -8330,34 +8380,6 @@ GTLR_DEPRECATED @end -/** - * List of all Native SQL queries details for a Spark Application. - * - * @note This class supports NSFastEnumeration and indexed subscripting over - * its "sparkApplicationNativeSqlQueries" property. If returned as the - * result of a query, it should support automatic pagination (when @c - * shouldFetchNextPages is enabled). - */ -@interface GTLRDataproc_SearchSparkApplicationNativeSqlQueriesResponse : GTLRCollectionObject - -/** - * This token is included in the response if there are more results to fetch. - * To fetch additional results, provide this value as the page_token in a - * subsequent SearchSparkApplicationNativeSqlQueriesRequest. - */ -@property(nonatomic, copy, nullable) NSString *nextPageToken; - -/** - * Output only. Native SQL Execution Data - * - * @note This property is used to support NSFastEnumeration and indexed - * subscripting on this class. - */ -@property(nonatomic, strong, nullable) NSArray *sparkApplicationNativeSqlQueries; - -@end - - /** * List of all queries for a Spark Application. * @@ -11590,6 +11612,23 @@ GTLR_DEPRECATED @end +/** + * Annotatated property value. + */ +@interface GTLRDataproc_ValueInfo : GTLRObject + +/** Annotation, comment or explanation why the property was set. */ +@property(nonatomic, copy, nullable) NSString *annotation; + +/** Optional. Value which was replaced by the corresponding component. */ +@property(nonatomic, copy, nullable) NSString *overriddenValue; + +/** Property value. */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + + /** * Validation based on a list of allowed values. */ diff --git a/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocQuery.h b/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocQuery.h index 70c6da7eb..42996c0cd 100644 --- a/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocQuery.h +++ b/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocQuery.h @@ -823,79 +823,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocTaskStatusTaskStatusUnspecified; @end -/** - * Obtain build data for Native Job - * - * Method: dataproc.projects.locations.batches.sparkApplications.accessNativeBuildInfo - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocCloudPlatform - */ -@interface GTLRDataprocQuery_ProjectsLocationsBatchesSparkApplicationsAccessNativeBuildInfo : GTLRDataprocQuery - -/** - * Required. The fully qualified name of the batch to retrieve in the format - * "projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID" - */ -@property(nonatomic, copy, nullable) NSString *name; - -/** Required. Parent (Batch) resource reference. */ -@property(nonatomic, copy, nullable) NSString *parent; - -/** - * Fetches a @c GTLRDataproc_AccessSparkApplicationNativeBuildInfoResponse. - * - * Obtain build data for Native Job - * - * @param name Required. The fully qualified name of the batch to retrieve in - * the format - * "projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID" - * - * @return GTLRDataprocQuery_ProjectsLocationsBatchesSparkApplicationsAccessNativeBuildInfo - */ -+ (instancetype)queryWithName:(NSString *)name; - -@end - -/** - * Obtain data corresponding to a particular Native SQL Query for a Spark - * Application. - * - * Method: dataproc.projects.locations.batches.sparkApplications.accessNativeSqlQuery - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocCloudPlatform - */ -@interface GTLRDataprocQuery_ProjectsLocationsBatchesSparkApplicationsAccessNativeSqlQuery : GTLRDataprocQuery - -/** Required. Execution ID */ -@property(nonatomic, assign) long long executionId; - -/** - * Required. The fully qualified name of the batch to retrieve in the format - * "projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID" - */ -@property(nonatomic, copy, nullable) NSString *name; - -/** Required. Parent (Batch) resource reference. */ -@property(nonatomic, copy, nullable) NSString *parent; - -/** - * Fetches a @c GTLRDataproc_AccessSparkApplicationNativeSqlQueryResponse. - * - * Obtain data corresponding to a particular Native SQL Query for a Spark - * Application. - * - * @param name Required. The fully qualified name of the batch to retrieve in - * the format - * "projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID" - * - * @return GTLRDataprocQuery_ProjectsLocationsBatchesSparkApplicationsAccessNativeSqlQuery - */ -+ (instancetype)queryWithName:(NSString *)name; - -@end - /** * Obtain Spark Plan Graph for a Spark Application SQL execution. Limits the * number of clusters returned as part of the graph to 10000. @@ -1339,58 +1266,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocTaskStatusTaskStatusUnspecified; @end -/** - * Obtain data corresponding to Native SQL Queries for a Spark Application. - * - * Method: dataproc.projects.locations.batches.sparkApplications.searchNativeSqlQueries - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocCloudPlatform - */ -@interface GTLRDataprocQuery_ProjectsLocationsBatchesSparkApplicationsSearchNativeSqlQueries : GTLRDataprocQuery - -/** - * Required. The fully qualified name of the batch to retrieve in the format - * "projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID" - */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Optional. Maximum number of queries to return in each response. The service - * may return fewer than this. The default page size is 10; the maximum page - * size is 100. - */ -@property(nonatomic, assign) NSInteger pageSize; - -/** - * Optional. A page token received from a previous - * SearchSparkApplicationNativeSqlQueries call. Provide this token to retrieve - * the subsequent page. - */ -@property(nonatomic, copy, nullable) NSString *pageToken; - -/** Required. Parent (Batch) resource reference. */ -@property(nonatomic, copy, nullable) NSString *parent; - -/** - * Fetches a @c GTLRDataproc_SearchSparkApplicationNativeSqlQueriesResponse. - * - * Obtain data corresponding to Native SQL Queries for a Spark Application. - * - * @param name Required. The fully qualified name of the batch to retrieve in - * the format - * "projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID" - * - * @return GTLRDataprocQuery_ProjectsLocationsBatchesSparkApplicationsSearchNativeSqlQueries - * - * @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 - /** * Obtain data corresponding to SQL Queries for a Spark Application. * @@ -2278,83 +2153,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocTaskStatusTaskStatusUnspecified; @end -/** - * Obtain data corresponding to Native Build Information for a Spark - * Application. - * - * Method: dataproc.projects.locations.sessions.sparkApplications.accessNativeBuildInfo - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocCloudPlatform - */ -@interface GTLRDataprocQuery_ProjectsLocationsSessionsSparkApplicationsAccessNativeBuildInfo : GTLRDataprocQuery - -/** - * Required. The fully qualified name of the session to retrieve in the format - * "projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID" - */ -@property(nonatomic, copy, nullable) NSString *name; - -/** Required. Parent (Session) resource reference. */ -@property(nonatomic, copy, nullable) NSString *parent; - -/** - * Fetches a @c - * GTLRDataproc_AccessSessionSparkApplicationNativeBuildInfoResponse. - * - * Obtain data corresponding to Native Build Information for a Spark - * Application. - * - * @param name Required. The fully qualified name of the session to retrieve in - * the format - * "projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID" - * - * @return GTLRDataprocQuery_ProjectsLocationsSessionsSparkApplicationsAccessNativeBuildInfo - */ -+ (instancetype)queryWithName:(NSString *)name; - -@end - -/** - * Obtain data corresponding to a particular Native SQL Query for a Spark - * Application. - * - * Method: dataproc.projects.locations.sessions.sparkApplications.accessNativeSqlQuery - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocCloudPlatform - */ -@interface GTLRDataprocQuery_ProjectsLocationsSessionsSparkApplicationsAccessNativeSqlQuery : GTLRDataprocQuery - -/** Required. Execution ID */ -@property(nonatomic, assign) long long executionId; - -/** - * Required. The fully qualified name of the session to retrieve in the format - * "projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID" - */ -@property(nonatomic, copy, nullable) NSString *name; - -/** Required. Parent (Session) resource reference. */ -@property(nonatomic, copy, nullable) NSString *parent; - -/** - * Fetches a @c - * GTLRDataproc_AccessSessionSparkApplicationNativeSqlQueryResponse. - * - * Obtain data corresponding to a particular Native SQL Query for a Spark - * Application. - * - * @param name Required. The fully qualified name of the session to retrieve in - * the format - * "projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID" - * - * @return GTLRDataprocQuery_ProjectsLocationsSessionsSparkApplicationsAccessNativeSqlQuery - */ -+ (instancetype)queryWithName:(NSString *)name; - -@end - /** * Obtain Spark Plan Graph for a Spark Application SQL execution. Limits the * number of clusters returned as part of the graph to 10000. @@ -2742,6 +2540,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocTaskStatusTaskStatusUnspecified; */ @interface GTLRDataprocQuery_ProjectsLocationsSessionsSparkApplicationsSearchJobs : GTLRDataprocQuery +/** + * Optional. List of Job IDs to filter by if provided. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSArray *jobIds; + /** * Optional. List only jobs in the specific state. * @@ -2801,59 +2606,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocTaskStatusTaskStatusUnspecified; @end -/** - * Obtain data corresponding to Native SQL Queries for a Spark Application. - * - * Method: dataproc.projects.locations.sessions.sparkApplications.searchNativeSqlQueries - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataprocCloudPlatform - */ -@interface GTLRDataprocQuery_ProjectsLocationsSessionsSparkApplicationsSearchNativeSqlQueries : GTLRDataprocQuery - -/** - * Required. The fully qualified name of the session to retrieve in the format - * "projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID" - */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Optional. Maximum number of queries to return in each response. The service - * may return fewer than this. The default page size is 10; the maximum page - * size is 100. - */ -@property(nonatomic, assign) NSInteger pageSize; - -/** - * Optional. A page token received from a previous - * SearchSessionSparkApplicationSqlQueries call. Provide this token to retrieve - * the subsequent page. - */ -@property(nonatomic, copy, nullable) NSString *pageToken; - -/** Required. Parent (Session) resource reference. */ -@property(nonatomic, copy, nullable) NSString *parent; - -/** - * Fetches a @c - * GTLRDataproc_SearchSessionSparkApplicationNativeSqlQueriesResponse. - * - * Obtain data corresponding to Native SQL Queries for a Spark Application. - * - * @param name Required. The fully qualified name of the session to retrieve in - * the format - * "projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID" - * - * @return GTLRDataprocQuery_ProjectsLocationsSessionsSparkApplicationsSearchNativeSqlQueries - * - * @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 - /** * Obtain data corresponding to SQL Queries for a Spark Application. * @@ -2876,6 +2628,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocTaskStatusTaskStatusUnspecified; */ @property(nonatomic, copy, nullable) NSString *name; +/** Optional. List of Spark Connect operation IDs to filter by if provided. */ +@property(nonatomic, strong, nullable) NSArray *operationIds; + /** * Optional. Maximum number of queries to return in each response. The service * may return fewer than this. The default page size is 10; the maximum page @@ -3095,6 +2850,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocTaskStatusTaskStatusUnspecified; /** Required. Parent (Session) resource reference. */ @property(nonatomic, copy, nullable) NSString *parent; +/** + * Optional. List of Stage IDs to filter by if provided. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSArray *stageIds; + /** * Optional. List only stages in the given state. * diff --git a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h index 349224f19..09c9bd167 100644 --- a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h +++ b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h @@ -2615,14 +2615,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us /** * The payload for the command result. The following commands respond with a * payload: * `DEVICE_START_CRD_SESSION`: Payload is a stringified JSON object - * in the form: { "url": url }. The URL provides a link to the Chrome Remote - * Desktop session. * `FETCH_CRD_AVAILABILITY_INFO`: Payload is a stringified - * JSON object in the form: { "deviceIdleTimeInSeconds": number, - * "userSessionType": string, "remoteSupportAvailability": string, - * "remoteAccessAvailability": string }. The "remoteSupportAvailability" field - * is set to "AVAILABLE" if `shared` CRD session to the device is available. - * The "remoteAccessAvailability" field is set to "AVAILABLE" if `private` CRD - * session to the device is available. + * in the form: { "url": url }. The provided URL links to the Chrome Remote + * Desktop session and requires authentication using only the `email` + * associated with the command's issuance. * `FETCH_CRD_AVAILABILITY_INFO`: + * Payload is a stringified JSON object in the form: { + * "deviceIdleTimeInSeconds": number, "userSessionType": string, + * "remoteSupportAvailability": string, "remoteAccessAvailability": string }. + * The "remoteSupportAvailability" field is set to "AVAILABLE" if `shared` CRD + * session to the device is available. The "remoteAccessAvailability" field is + * set to "AVAILABLE" if `private` CRD session to the device is available. */ @property(nonatomic, copy, nullable) NSString *commandResultPayload; @@ -2720,29 +2721,30 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us * `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). + * device). If not set, `crdSessionType` defaults to `shared`. The + * `FETCH_CRD_AVAILABILITY_INFO` command can be used to determine available + * session types on the device. * `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/DiscoveryEngine/GTLRDiscoveryEngineObjects.m b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m index 28f47e714..89ba87055 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m +++ b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m @@ -219,6 +219,11 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_SolutionType_SolutionTypeSearch = @"SOLUTION_TYPE_SEARCH"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_SolutionType_SolutionTypeUnspecified = @"SOLUTION_TYPE_UNSPECIFIED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_Features.feature +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_Features_Feature_FeatureStateOff = @"FEATURE_STATE_OFF"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_Features_Feature_FeatureStateOn = @"FEATURE_STATE_ON"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_Features_Feature_FeatureStateUnspecified = @"FEATURE_STATE_UNSPECIFIED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig.trainingState NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig_TrainingState_Paused = @"PAUSED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig_TrainingState_Training = @"TRAINING"; @@ -611,6 +616,11 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_SolutionType_SolutionTypeSearch = @"SOLUTION_TYPE_SEARCH"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_SolutionType_SolutionTypeUnspecified = @"SOLUTION_TYPE_UNSPECIFIED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_Features.feature +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_Features_Feature_FeatureStateOff = @"FEATURE_STATE_OFF"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_Features_Feature_FeatureStateOn = @"FEATURE_STATE_ON"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_Features_Feature_FeatureStateUnspecified = @"FEATURE_STATE_UNSPECIFIED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig.trainingState NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig_TrainingState_Paused = @"PAUSED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig_TrainingState_Training = @"TRAINING"; @@ -873,6 +883,11 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_SolutionType_SolutionTypeSearch = @"SOLUTION_TYPE_SEARCH"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_SolutionType_SolutionTypeUnspecified = @"SOLUTION_TYPE_UNSPECIFIED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_Features.feature +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_Features_Feature_FeatureStateOff = @"FEATURE_STATE_OFF"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_Features_Feature_FeatureStateOn = @"FEATURE_STATE_ON"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_Features_Feature_FeatureStateUnspecified = @"FEATURE_STATE_UNSPECIFIED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig.trainingState NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig_TrainingState_Paused = @"PAUSED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig_TrainingState_Training = @"TRAINING"; @@ -1997,8 +2012,8 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRu @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun @dynamic deletedRecordCount, entityNameProperty, errorRecordCount, errors, extractedRecordCount, indexedRecordCount, progress, - sourceApiRequestCount, state, stateUpdateTime, statsUpdateTime, - syncType; + scheduledRecordCount, sourceApiRequestCount, state, stateUpdateTime, + statsUpdateTime, syncType; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"entityNameProperty" : @"entityName" }; @@ -2625,13 +2640,14 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentPro @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig @dynamic enableImageAnnotation, enableTableAnnotation, excludeHtmlClasses, - excludeHtmlElements, excludeHtmlIds; + excludeHtmlElements, excludeHtmlIds, structuredContentTypes; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"excludeHtmlClasses" : [NSString class], @"excludeHtmlElements" : [NSString class], - @"excludeHtmlIds" : [NSString class] + @"excludeHtmlIds" : [NSString class], + @"structuredContentTypes" : [NSString class] }; return map; } @@ -2683,9 +2699,10 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEnableAdvan @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine @dynamic chatEngineConfig, chatEngineMetadata, commonConfig, createTime, - dataStoreIds, disableAnalytics, displayName, industryVertical, - mediaRecommendationEngineConfig, name, recommendationMetadata, - searchEngineConfig, similarDocumentsConfig, solutionType, updateTime; + dataStoreIds, disableAnalytics, displayName, features, + industryVertical, mediaRecommendationEngineConfig, name, + recommendationMetadata, searchEngineConfig, similarDocumentsConfig, + solutionType, updateTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -2697,6 +2714,20 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_Features +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_Features + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig @@ -2794,7 +2825,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMedia // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata -@dynamic dataState, lastTuneTime, servingState, tuningOperation; +@dynamic dataState, lastTrainTime, lastTuneTime, servingState, tuningOperation; @end @@ -4231,7 +4262,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserInfo @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense @dynamic createTime, lastLoginTime, licenseAssignmentState, licenseConfig, - updateTime, user, userPrincipal, userProfile; + updateTime, userPrincipal, userProfile; @end @@ -5528,13 +5559,14 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProc @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig @dynamic enableImageAnnotation, enableTableAnnotation, excludeHtmlClasses, - excludeHtmlElements, excludeHtmlIds; + excludeHtmlElements, excludeHtmlIds, structuredContentTypes; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"excludeHtmlClasses" : [NSString class], @"excludeHtmlElements" : [NSString class], - @"excludeHtmlIds" : [NSString class] + @"excludeHtmlIds" : [NSString class], + @"structuredContentTypes" : [NSString class] }; return map; } @@ -5586,9 +5618,9 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEnableAdvanc @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine @dynamic chatEngineConfig, chatEngineMetadata, commonConfig, createTime, - dataStoreIds, disableAnalytics, displayName, industryVertical, - mediaRecommendationEngineConfig, name, searchEngineConfig, - solutionType, updateTime; + dataStoreIds, disableAnalytics, displayName, features, + industryVertical, mediaRecommendationEngineConfig, name, + searchEngineConfig, solutionType, updateTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -5600,6 +5632,20 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_Features +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_Features + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig @@ -7785,13 +7831,14 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DocumentProcessi @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig @dynamic enableImageAnnotation, enableTableAnnotation, excludeHtmlClasses, - excludeHtmlElements, excludeHtmlIds; + excludeHtmlElements, excludeHtmlIds, structuredContentTypes; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"excludeHtmlClasses" : [NSString class], @"excludeHtmlElements" : [NSString class], - @"excludeHtmlIds" : [NSString class] + @"excludeHtmlIds" : [NSString class], + @"structuredContentTypes" : [NSString class] }; return map; } @@ -7870,9 +7917,9 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1EnableAdvancedSi @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine @dynamic chatEngineConfig, chatEngineMetadata, commonConfig, createTime, - dataStoreIds, disableAnalytics, displayName, industryVertical, - mediaRecommendationEngineConfig, name, searchEngineConfig, - solutionType, updateTime; + dataStoreIds, disableAnalytics, displayName, features, + industryVertical, mediaRecommendationEngineConfig, name, + searchEngineConfig, solutionType, updateTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -7884,6 +7931,20 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_Features +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_Features + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1EngineChatEngineConfig @@ -10154,7 +10215,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserInfo @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense @dynamic createTime, lastLoginTime, licenseAssignmentState, licenseConfig, - updateTime, user, userPrincipal, userProfile; + updateTime, userPrincipal, userProfile; @end diff --git a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h index 06556ce73..70031f855 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h +++ b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h @@ -109,6 +109,7 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_Features; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata; @@ -264,6 +265,7 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_Features; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata; @@ -389,6 +391,7 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DoubleList; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_Features; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1EngineChatEngineConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1EngineChatEngineMetadata; @@ -1579,6 +1582,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_SolutionType_SolutionTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_Features.feature + +/** + * The feature is turned off to be inaccessible. + * + * Value: "FEATURE_STATE_OFF" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_Features_Feature_FeatureStateOff; +/** + * The feature is turned on to be accessible. + * + * Value: "FEATURE_STATE_ON" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_Features_Feature_FeatureStateOn; +/** + * The feature state is unspecified. + * + * Value: "FEATURE_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_Features_Feature_FeatureStateUnspecified; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig.trainingState @@ -3487,6 +3512,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_SolutionType_SolutionTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_Features.feature + +/** + * The feature is turned off to be inaccessible. + * + * Value: "FEATURE_STATE_OFF" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_Features_Feature_FeatureStateOff; +/** + * The feature is turned on to be accessible. + * + * Value: "FEATURE_STATE_ON" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_Features_Feature_FeatureStateOn; +/** + * The feature state is unspecified. + * + * Value: "FEATURE_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_Features_Feature_FeatureStateUnspecified; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig.trainingState @@ -4753,6 +4800,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_SolutionType_SolutionTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_Features.feature + +/** + * The feature is turned off to be inaccessible. + * + * Value: "FEATURE_STATE_OFF" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_Features_Feature_FeatureStateOff; +/** + * The feature is turned on to be accessible. + * + * Value: "FEATURE_STATE_ON" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_Features_Feature_FeatureStateOn; +/** + * The feature state is unspecified. + * + * Value: "FEATURE_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_Features_Feature_FeatureStateUnspecified; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig.trainingState @@ -7497,7 +7566,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** * The number of documents extracted from connector source, ready to be - * ingested to UCS. + * ingested to VAIS. * * Uses NSNumber of longLongValue. */ @@ -7513,6 +7582,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** Metadata to generate the progress bar. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress *progress; +/** + * The number of documents scheduled to be crawled/extracted from connector + * source. This only applies to third party connectors. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *scheduledRecordCount; + /** * The number of requests sent to 3p API. * @@ -9163,6 +9240,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** Optional. List of HTML ids to exclude from the parsed content. */ @property(nonatomic, strong, nullable) NSArray *excludeHtmlIds; +/** + * Optional. Contains the required structure types to extract from the + * document. Supported values: * `shareholder-structure` + */ +@property(nonatomic, strong, nullable) NSArray *structuredContentTypes; + @end @@ -9262,6 +9345,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, copy, nullable) NSString *displayName; +/** + * Optional. Feature config for the engine to opt in or opt out of features. + * Supported keys: * `*`: all features, if it's present, all other feature + * state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * + * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * + * `people-search-org-chart` * `bi-directional-audio` * `feedback` + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_Features *features; + /** * Optional. The industry vertical that the engine registers. The restriction * of the Engine industry vertical is based on DataStore: Vertical on Engine @@ -9339,6 +9431,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Optional. Feature config for the engine to opt in or opt out of features. + * Supported keys: * `*`: all features, if it's present, all other feature + * state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * + * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * + * `people-search-org-chart` * `bi-directional-audio` * `feedback` + * + * @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 GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_Features : GTLRObject +@end + + /** * Configurations for a Chat Engine. */ @@ -9602,6 +9710,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, copy, nullable) NSString *dataState; +/** + * Output only. The timestamp when the latest successful training finished. + * Only applicable on Media Recommendation engines. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastTrainTime; + /** * Output only. The timestamp when the latest successful tune finished. Only * applicable on Media Recommendation engines. @@ -13401,15 +13515,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** Output only. User update timestamp. */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; -/** - * Optional. The full resource name of the User, in the format of - * `projects/{project}/locations/{location}/userStores/{user_store}/users/{user_id}`. - * This field must be a UTF-8 encoded string with a length limit of 2048 - * characters. If the user field is empty, it's indicating the user has not - * logged in yet and no User entity is created. - */ -@property(nonatomic, copy, nullable) NSString *user; - /** * Required. Immutable. The user principal of the User, could be email address * or other prinical identifier. This field is immutable. Admin assign licenses @@ -16090,6 +16195,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** Optional. List of HTML ids to exclude from the parsed content. */ @property(nonatomic, strong, nullable) NSArray *excludeHtmlIds; +/** + * Optional. Contains the required structure types to extract from the + * document. Supported values: * `shareholder-structure` + */ +@property(nonatomic, strong, nullable) NSArray *structuredContentTypes; + @end @@ -16189,6 +16300,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, copy, nullable) NSString *displayName; +/** + * Optional. Feature config for the engine to opt in or opt out of features. + * Supported keys: * `*`: all features, if it's present, all other feature + * state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * + * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * + * `people-search-org-chart` * `bi-directional-audio` * `feedback` + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_Features *features; + /** * Optional. The industry vertical that the engine registers. The restriction * of the Engine industry vertical is based on DataStore: Vertical on Engine @@ -16257,6 +16377,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Optional. Feature config for the engine to opt in or opt out of features. + * Supported keys: * `*`: all features, if it's present, all other feature + * state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * + * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * + * `people-search-org-chart` * `bi-directional-audio` * `feedback` + * + * @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 GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_Features : GTLRObject +@end + + /** * Configurations for a Chat Engine. */ @@ -21747,6 +21883,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** Optional. List of HTML ids to exclude from the parsed content. */ @property(nonatomic, strong, nullable) NSArray *excludeHtmlIds; +/** + * Optional. Contains the required structure types to extract from the + * document. Supported values: * `shareholder-structure` + */ +@property(nonatomic, strong, nullable) NSArray *structuredContentTypes; + @end @@ -21868,6 +22010,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, copy, nullable) NSString *displayName; +/** + * Optional. Feature config for the engine to opt in or opt out of features. + * Supported keys: * `*`: all features, if it's present, all other feature + * state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * + * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * + * `people-search-org-chart` * `bi-directional-audio` * `feedback` + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_Features *features; + /** * Optional. The industry vertical that the engine registers. The restriction * of the Engine industry vertical is based on DataStore: Vertical on Engine @@ -21936,6 +22087,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Optional. Feature config for the engine to opt in or opt out of features. + * Supported keys: * `*`: all features, if it's present, all other feature + * state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * + * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * + * `people-search-org-chart` * `bi-directional-audio` * `feedback` + * + * @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 GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_Features : GTLRObject +@end + + /** * Configurations for a Chat Engine. */ @@ -27182,15 +27349,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** Output only. User update timestamp. */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; -/** - * Optional. The full resource name of the User, in the format of - * `projects/{project}/locations/{location}/userStores/{user_store}/users/{user_id}`. - * This field must be a UTF-8 encoded string with a length limit of 2048 - * characters. If the user field is empty, it's indicating the user has not - * logged in yet and no User entity is created. - */ -@property(nonatomic, copy, nullable) NSString *user; - /** * Required. Immutable. The user principal of the User, could be email address * or other prinical identifier. This field is immutable. Admin assign licenses diff --git a/Sources/GeneratedServices/Document/GTLRDocumentObjects.m b/Sources/GeneratedServices/Document/GTLRDocumentObjects.m index 0f3ba7380..8e81c1279 100644 --- a/Sources/GeneratedServices/Document/GTLRDocumentObjects.m +++ b/Sources/GeneratedServices/Document/GTLRDocumentObjects.m @@ -156,11 +156,10 @@ NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentProvenance_Type_Replace = @"REPLACE"; NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentProvenance_Type_Update = @"UPDATE"; -// GTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty.groundingConfig -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_GroundingConfig_GroundingConfigUnspecified = @"GROUNDING_CONFIG_UNSPECIFIED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_GroundingConfig_NoGrounding = @"NO_GROUNDING"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_GroundingConfig_Relaxed = @"RELAXED"; -NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_GroundingConfig_Strict = @"STRICT"; +// GTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty.method +NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_Method_Derive = @"DERIVE"; +NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_Method_Extract = @"EXTRACT"; +NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_Method_MethodUnspecified = @"METHOD_UNSPECIFIED"; // GTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty.occurrenceType NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_OccurrenceType_OccurrenceTypeUnspecified = @"OCCURRENCE_TYPE_UNSPECIFIED"; @@ -2341,7 +2340,7 @@ @implementation GTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnum // @implementation GTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty -@dynamic displayName, groundingConfig, name, occurrenceType, valueType; +@dynamic displayName, method, name, occurrenceType, valueType; @end diff --git a/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h b/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h index c2a37e691..ac0323142 100644 --- a/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h +++ b/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h @@ -872,32 +872,27 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1Document FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentProvenance_Type_Update; // ---------------------------------------------------------------------------- -// GTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty.groundingConfig +// GTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty.method /** - * Unspecified grounding config. It defaults to `STRICT` grounding. + * The entity's value is derived through inference and is not necessarily an + * exact text extraction from the document. * - * Value: "GROUNDING_CONFIG_UNSPECIFIED" + * Value: "DERIVE" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_GroundingConfig_GroundingConfigUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_Method_Derive; /** - * Allow no grounding. + * The entity's value is directly extracted as-is from the document text. * - * Value: "NO_GROUNDING" + * Value: "EXTRACT" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_GroundingConfig_NoGrounding; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_Method_Extract; /** - * Relaxed grounding. + * Unspecified method. It defaults to `EXTRACT`. * - * Value: "RELAXED" + * Value: "METHOD_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_GroundingConfig_Relaxed; -/** - * Strict grounding. - * - * Value: "STRICT" - */ -FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_GroundingConfig_Strict; +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_Method_MethodUnspecified; // ---------------------------------------------------------------------------- // GTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty.occurrenceType @@ -4805,20 +4800,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro @property(nonatomic, copy, nullable) NSString *displayName; /** - * Grounding config of the entity type. + * Specifies how the entity's value is obtained. * * Likely values: - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_GroundingConfig_GroundingConfigUnspecified - * Unspecified grounding config. It defaults to `STRICT` grounding. - * (Value: "GROUNDING_CONFIG_UNSPECIFIED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_GroundingConfig_NoGrounding - * Allow no grounding. (Value: "NO_GROUNDING") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_GroundingConfig_Relaxed - * Relaxed grounding. (Value: "RELAXED") - * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_GroundingConfig_Strict - * Strict grounding. (Value: "STRICT") - */ -@property(nonatomic, copy, nullable) NSString *groundingConfig; + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_Method_Derive + * The entity's value is derived through inference and is not necessarily + * an exact text extraction from the document. (Value: "DERIVE") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_Method_Extract + * The entity's value is directly extracted as-is from the document text. + * (Value: "EXTRACT") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_Method_MethodUnspecified + * Unspecified method. It defaults to `EXTRACT`. (Value: + * "METHOD_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *method; /** * The name of the property. Follows the same guidelines as the EntityType diff --git a/Sources/GeneratedServices/Essentialcontacts/Public/GoogleAPIClientForREST/GTLREssentialcontactsObjects.h b/Sources/GeneratedServices/Essentialcontacts/Public/GoogleAPIClientForREST/GTLREssentialcontactsObjects.h index e868a35ba..08f91cd39 100644 --- a/Sources/GeneratedServices/Essentialcontacts/Public/GoogleAPIClientForREST/GTLREssentialcontactsObjects.h +++ b/Sources/GeneratedServices/Essentialcontacts/Public/GoogleAPIClientForREST/GTLREssentialcontactsObjects.h @@ -241,8 +241,8 @@ FOUNDATION_EXTERN NSString * const kGTLREssentialcontacts_GoogleCloudEssentialco @property(nonatomic, strong, nullable) NSArray *notificationCategorySubscriptions; /** - * The last time the validation_state was updated, either manually or - * automatically. A contact is considered stale if its validation state was + * Output only. The last time the validation_state was updated, either manually + * or automatically. A contact is considered stale if its validation state was * updated more than 1 year ago. */ @property(nonatomic, strong, nullable) GTLRDateTime *validateTime; diff --git a/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m b/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m index 3859d128f..632eb15c7 100644 --- a/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m +++ b/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m @@ -310,7 +310,6 @@ NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_QuotaExceededTcpRoutes = @"QUOTA_EXCEEDED_TCP_ROUTES"; NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_QuotaExceededTlsRoutes = @"QUOTA_EXCEEDED_TLS_ROUTES"; NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_QuotaExceededTrafficPolicies = @"QUOTA_EXCEEDED_TRAFFIC_POLICIES"; -NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ThcPodUnschedulable = @"THC_POD_UNSCHEDULABLE"; NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_UnsupportedGatewayClass = @"UNSUPPORTED_GATEWAY_CLASS"; NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_UnsupportedMultipleControlPlanes = @"UNSUPPORTED_MULTIPLE_CONTROL_PLANES"; NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_VpcscGaSupported = @"VPCSC_GA_SUPPORTED"; diff --git a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h index d8957909f..592d448be 100644 --- a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h +++ b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h @@ -1687,12 +1687,6 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_QuotaEx * Value: "QUOTA_EXCEEDED_TRAFFIC_POLICIES" */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_QuotaExceededTrafficPolicies; -/** - * THC pod unschedulable error code - * - * Value: "THC_POD_UNSCHEDULABLE" - */ -FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ThcPodUnschedulable; /** * Unsupported gateway class error code * @@ -5137,8 +5131,6 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_WorkloadCertificateSpec_Certifica * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_QuotaExceededTrafficPolicies * TrafficPolicy quota exceeded error code. (Value: * "QUOTA_EXCEEDED_TRAFFIC_POLICIES") - * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ThcPodUnschedulable THC pod - * unschedulable error code (Value: "THC_POD_UNSCHEDULABLE") * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_UnsupportedGatewayClass * Unsupported gateway class error code (Value: * "UNSUPPORTED_GATEWAY_CLASS") diff --git a/Sources/GeneratedServices/GKEOnPrem/GTLRGKEOnPremObjects.m b/Sources/GeneratedServices/GKEOnPrem/GTLRGKEOnPremObjects.m index 30c8d9dec..cc598d7b6 100644 --- a/Sources/GeneratedServices/GKEOnPrem/GTLRGKEOnPremObjects.m +++ b/Sources/GeneratedServices/GKEOnPrem/GTLRGKEOnPremObjects.m @@ -1092,7 +1092,7 @@ @implementation GTLRGKEOnPrem_EnrollBareMetalAdminClusterRequest // @implementation GTLRGKEOnPrem_EnrollBareMetalClusterRequest -@dynamic adminClusterMembership, bareMetalClusterId, localName; +@dynamic adminClusterMembership, bareMetalClusterId, localName, localNamespace; @end @@ -1815,8 +1815,8 @@ @implementation GTLRGKEOnPrem_VmwareAdminCluster autoRepairConfig, bootstrapClusterMembership, controlPlaneNode, createTime, descriptionProperty, enableAdvancedCluster, endpoint, ETag, fleet, imageType, loadBalancer, localName, name, networkConfig, - onPremVersion, platformConfig, preparedSecrets, reconciling, state, - status, uid, updateTime, validationCheck, vcenter; + onPremVersion, platformConfig, preparedSecrets, privateRegistryConfig, + reconciling, state, status, uid, updateTime, validationCheck, vcenter; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -1934,6 +1934,16 @@ @implementation GTLRGKEOnPrem_VmwareAdminPreparedSecretsConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRGKEOnPrem_VmwareAdminPrivateRegistryConfig +// + +@implementation GTLRGKEOnPrem_VmwareAdminPrivateRegistryConfig +@dynamic address, caCert; +@end + + // ---------------------------------------------------------------------------- // // GTLRGKEOnPrem_VmwareAdminSeesawConfig diff --git a/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremObjects.h b/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremObjects.h index 4b57f045f..7a815fc85 100644 --- a/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremObjects.h +++ b/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremObjects.h @@ -119,6 +119,7 @@ @class GTLRGKEOnPrem_VmwareAdminMetalLbConfig; @class GTLRGKEOnPrem_VmwareAdminNetworkConfig; @class GTLRGKEOnPrem_VmwareAdminPreparedSecretsConfig; +@class GTLRGKEOnPrem_VmwareAdminPrivateRegistryConfig; @class GTLRGKEOnPrem_VmwareAdminSeesawConfig; @class GTLRGKEOnPrem_VmwareAdminVCenterConfig; @class GTLRGKEOnPrem_VmwareAdminVipConfig; @@ -2731,6 +2732,9 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEOnPrem_VmwareNodePool_State_Stopping; */ @property(nonatomic, copy, nullable) NSString *localName; +/** Optional. The namespace of the cluster. */ +@property(nonatomic, copy, nullable) NSString *localNamespace; + @end @@ -4111,6 +4115,9 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEOnPrem_VmwareNodePool_State_Stopping; */ @property(nonatomic, strong, nullable) GTLRGKEOnPrem_VmwareAdminPreparedSecretsConfig *preparedSecrets; +/** Configuration for registry. */ +@property(nonatomic, strong, nullable) GTLRGKEOnPrem_VmwareAdminPrivateRegistryConfig *privateRegistryConfig; + /** * Output only. If set, there are currently changes in flight to the VMware * admin cluster. @@ -4392,6 +4399,26 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEOnPrem_VmwareNodePool_State_Stopping; @end +/** + * VmwareAdminPrivateRegistryConfig represents configuration for admin cluster + * registry. + */ +@interface GTLRGKEOnPrem_VmwareAdminPrivateRegistryConfig : GTLRObject + +/** The registry address. */ +@property(nonatomic, copy, nullable) NSString *address; + +/** + * When the container runtime pulls an image from private registry, the + * registry must prove its identity by presenting a certificate. The registry's + * certificate is signed by a certificate authority (CA). The container runtime + * uses the CA's certificate to validate the registry's certificate. + */ +@property(nonatomic, copy, nullable) NSString *caCert; + +@end + + /** * VmwareSeesawConfig represents configuration parameters for an already * existing Seesaw load balancer. IMPORTANT: Please note that the Anthos diff --git a/Sources/GeneratedServices/Kmsinventory/GTLRKmsinventoryObjects.m b/Sources/GeneratedServices/Kmsinventory/GTLRKmsinventoryObjects.m index cb3705aad..646124c6c 100644 --- a/Sources/GeneratedServices/Kmsinventory/GTLRKmsinventoryObjects.m +++ b/Sources/GeneratedServices/Kmsinventory/GTLRKmsinventoryObjects.m @@ -38,6 +38,7 @@ NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_HmacSha256 = @"HMAC_SHA256"; NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_HmacSha384 = @"HMAC_SHA384"; NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_HmacSha512 = @"HMAC_SHA512"; +NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_PqSignHashSlhDsaSha2128sSha256 = @"PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256"; NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_PqSignMlDsa65 = @"PQ_SIGN_ML_DSA_65"; NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_PqSignSlhDsaSha2128s = @"PQ_SIGN_SLH_DSA_SHA2_128S"; NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_RsaDecryptOaep2048Sha1 = @"RSA_DECRYPT_OAEP_2048_SHA1"; @@ -98,6 +99,7 @@ NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_HmacSha256 = @"HMAC_SHA256"; NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_HmacSha384 = @"HMAC_SHA384"; NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_HmacSha512 = @"HMAC_SHA512"; +NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_PqSignHashSlhDsaSha2128sSha256 = @"PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256"; NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_PqSignMlDsa65 = @"PQ_SIGN_ML_DSA_65"; NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_PqSignSlhDsaSha2128s = @"PQ_SIGN_SLH_DSA_SHA2_128S"; NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_RsaDecryptOaep2048Sha1 = @"RSA_DECRYPT_OAEP_2048_SHA1"; diff --git a/Sources/GeneratedServices/Kmsinventory/Public/GoogleAPIClientForREST/GTLRKmsinventoryObjects.h b/Sources/GeneratedServices/Kmsinventory/Public/GoogleAPIClientForREST/GTLRKmsinventoryObjects.h index ca8d33536..eec405706 100644 --- a/Sources/GeneratedServices/Kmsinventory/Public/GoogleAPIClientForREST/GTLRKmsinventoryObjects.h +++ b/Sources/GeneratedServices/Kmsinventory/Public/GoogleAPIClientForREST/GTLRKmsinventoryObjects.h @@ -197,6 +197,13 @@ FOUNDATION_EXTERN NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVe * Value: "HMAC_SHA512" */ FOUNDATION_EXTERN NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_HmacSha512; +/** + * The post-quantum stateless hash-based digital signature algorithm, at + * security level 1. Randomized pre-hash version supporting SHA256 digests. + * + * Value: "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256" + */ +FOUNDATION_EXTERN NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_PqSignHashSlhDsaSha2128sSha256; /** * The post-quantum Module-Lattice-Based Digital Signature Algorithm, at * security level 3. Randomized version. @@ -559,6 +566,13 @@ FOUNDATION_EXTERN NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVe * Value: "HMAC_SHA512" */ FOUNDATION_EXTERN NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_HmacSha512; +/** + * The post-quantum stateless hash-based digital signature algorithm, at + * security level 1. Randomized pre-hash version supporting SHA256 digests. + * + * Value: "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256" + */ +FOUNDATION_EXTERN NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_PqSignHashSlhDsaSha2128sSha256; /** * The post-quantum Module-Lattice-Based Digital Signature Algorithm, at * security level 3. Randomized version. @@ -1240,6 +1254,10 @@ FOUNDATION_EXTERN NSString * const kGTLRKmsinventory_GoogleCloudKmsV1KeyOperatio * HMAC-SHA384 signing with a 384 bit key. (Value: "HMAC_SHA384") * @arg @c kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_HmacSha512 * HMAC-SHA512 signing with a 512 bit key. (Value: "HMAC_SHA512") + * @arg @c kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_PqSignHashSlhDsaSha2128sSha256 + * The post-quantum stateless hash-based digital signature algorithm, at + * security level 1. Randomized pre-hash version supporting SHA256 + * digests. (Value: "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256") * @arg @c kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_PqSignMlDsa65 * The post-quantum Module-Lattice-Based Digital Signature Algorithm, at * security level 3. Randomized version. (Value: "PQ_SIGN_ML_DSA_65") @@ -1534,6 +1552,10 @@ FOUNDATION_EXTERN NSString * const kGTLRKmsinventory_GoogleCloudKmsV1KeyOperatio * HMAC-SHA384 signing with a 384 bit key. (Value: "HMAC_SHA384") * @arg @c kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_HmacSha512 * HMAC-SHA512 signing with a 512 bit key. (Value: "HMAC_SHA512") + * @arg @c kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_PqSignHashSlhDsaSha2128sSha256 + * The post-quantum stateless hash-based digital signature algorithm, at + * security level 1. Randomized pre-hash version supporting SHA256 + * digests. (Value: "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256") * @arg @c kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_PqSignMlDsa65 * The post-quantum Module-Lattice-Based Digital Signature Algorithm, at * security level 3. Randomized version. (Value: "PQ_SIGN_ML_DSA_65") diff --git a/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingQuery.h b/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingQuery.h index a990ca9a4..03d70c40c 100644 --- a/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingQuery.h +++ b/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingQuery.h @@ -1792,9 +1792,9 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Deletes all the log entries in a log for the _Default Log Bucket. The log - * reappears if it receives new entries. Log entries written shortly before the - * delete operation might not be deleted. Entries received after the delete + * Deletes all the log entries in a log for the global _Default Log Bucket. The + * log reappears if it receives new entries. Log entries written shortly before + * the delete operation might not be deleted. Entries received after the delete * operation with a timestamp before the operation will be deleted. * * Method: logging.billingAccounts.logs.delete @@ -1820,9 +1820,9 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRLogging_Empty. * - * Deletes all the log entries in a log for the _Default Log Bucket. The log - * reappears if it receives new entries. Log entries written shortly before the - * delete operation might not be deleted. Entries received after the delete + * Deletes all the log entries in a log for the global _Default Log Bucket. The + * log reappears if it receives new entries. Log entries written shortly before + * the delete operation might not be deleted. Entries received after the delete * operation with a timestamp before the operation will be deleted. * * @param logName Required. The resource name of the log to delete: @@ -4738,9 +4738,9 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Deletes all the log entries in a log for the _Default Log Bucket. The log - * reappears if it receives new entries. Log entries written shortly before the - * delete operation might not be deleted. Entries received after the delete + * Deletes all the log entries in a log for the global _Default Log Bucket. The + * log reappears if it receives new entries. Log entries written shortly before + * the delete operation might not be deleted. Entries received after the delete * operation with a timestamp before the operation will be deleted. * * Method: logging.folders.logs.delete @@ -4766,9 +4766,9 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRLogging_Empty. * - * Deletes all the log entries in a log for the _Default Log Bucket. The log - * reappears if it receives new entries. Log entries written shortly before the - * delete operation might not be deleted. Entries received after the delete + * Deletes all the log entries in a log for the global _Default Log Bucket. The + * log reappears if it receives new entries. Log entries written shortly before + * the delete operation might not be deleted. Entries received after the delete * operation with a timestamp before the operation will be deleted. * * @param logName Required. The resource name of the log to delete: @@ -6442,9 +6442,9 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Deletes all the log entries in a log for the _Default Log Bucket. The log - * reappears if it receives new entries. Log entries written shortly before the - * delete operation might not be deleted. Entries received after the delete + * Deletes all the log entries in a log for the global _Default Log Bucket. The + * log reappears if it receives new entries. Log entries written shortly before + * the delete operation might not be deleted. Entries received after the delete * operation with a timestamp before the operation will be deleted. * * Method: logging.logs.delete @@ -6470,9 +6470,9 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRLogging_Empty. * - * Deletes all the log entries in a log for the _Default Log Bucket. The log - * reappears if it receives new entries. Log entries written shortly before the - * delete operation might not be deleted. Entries received after the delete + * Deletes all the log entries in a log for the global _Default Log Bucket. The + * log reappears if it receives new entries. Log entries written shortly before + * the delete operation might not be deleted. Entries received after the delete * operation with a timestamp before the operation will be deleted. * * @param logName Required. The resource name of the log to delete: @@ -8695,9 +8695,9 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Deletes all the log entries in a log for the _Default Log Bucket. The log - * reappears if it receives new entries. Log entries written shortly before the - * delete operation might not be deleted. Entries received after the delete + * Deletes all the log entries in a log for the global _Default Log Bucket. The + * log reappears if it receives new entries. Log entries written shortly before + * the delete operation might not be deleted. Entries received after the delete * operation with a timestamp before the operation will be deleted. * * Method: logging.organizations.logs.delete @@ -8723,9 +8723,9 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRLogging_Empty. * - * Deletes all the log entries in a log for the _Default Log Bucket. The log - * reappears if it receives new entries. Log entries written shortly before the - * delete operation might not be deleted. Entries received after the delete + * Deletes all the log entries in a log for the global _Default Log Bucket. The + * log reappears if it receives new entries. Log entries written shortly before + * the delete operation might not be deleted. Entries received after the delete * operation with a timestamp before the operation will be deleted. * * @param logName Required. The resource name of the log to delete: @@ -11430,9 +11430,9 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Deletes all the log entries in a log for the _Default Log Bucket. The log - * reappears if it receives new entries. Log entries written shortly before the - * delete operation might not be deleted. Entries received after the delete + * Deletes all the log entries in a log for the global _Default Log Bucket. The + * log reappears if it receives new entries. Log entries written shortly before + * the delete operation might not be deleted. Entries received after the delete * operation with a timestamp before the operation will be deleted. * * Method: logging.projects.logs.delete @@ -11458,9 +11458,9 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRLogging_Empty. * - * Deletes all the log entries in a log for the _Default Log Bucket. The log - * reappears if it receives new entries. Log entries written shortly before the - * delete operation might not be deleted. Entries received after the delete + * Deletes all the log entries in a log for the global _Default Log Bucket. The + * log reappears if it receives new entries. Log entries written shortly before + * the delete operation might not be deleted. Entries received after the delete * operation with a timestamp before the operation will be deleted. * * @param logName Required. The resource name of the log to delete: diff --git a/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h b/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h index 615a5ccc3..57dee59df 100644 --- a/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h +++ b/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h @@ -3137,10 +3137,10 @@ FOUNDATION_EXTERN NSString * const kGTLRMonitoring_ValueDescriptor_ValueType_Val * the filter in the snooze.Snooze filters support resource, metric, and * metadata labels. If multiple labels are used, then they must be connected * with an AND operator. For example, the following filter applies the snooze - * to incidents that have a resource label with an instance ID of "1234567890", - * a metric label with an instance name of "group", a metadata user label with - * a key of "foo" and a value of "bar", and a metadata system label with a key - * of "region" and a value of "us-central1": "filter": + * to incidents that have a resource label with an instance ID of 1234567890, a + * metric label with an instance name of test_group, a metadata user label with + * a key of foo and a value of bar, and a metadata system label with a key of + * region and a value of us-central1: "filter": * "resource.labels.instance_id=\\"1234567890\\" AND * metric.labels.instance_name=\\"test_group\\" AND * metadata.user_labels.foo=\\"bar\\" AND diff --git a/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h b/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h index 5002344fe..2681691c1 100644 --- a/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h +++ b/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h @@ -1906,41 +1906,42 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; @interface GTLRNetAppFiles_HybridPeeringDetails : GTLRObject /** - * Optional. Copy-paste-able commands to be used on user's ONTAP to accept + * Output only. Copy-paste-able commands to be used on user's ONTAP to accept * peering requests. */ @property(nonatomic, copy, nullable) NSString *command; /** - * Optional. Expiration time for the peering command to be executed on user's - * ONTAP. + * Output only. Expiration time for the peering command to be executed on + * user's ONTAP. */ @property(nonatomic, strong, nullable) GTLRDateTime *commandExpiryTime; /** - * Optional. Temporary passphrase generated to accept cluster peering command. + * Output only. Temporary passphrase generated to accept cluster peering + * command. */ @property(nonatomic, copy, nullable) NSString *passphrase; /** - * Optional. Name of the user's local source cluster to be peered with the + * Output only. Name of the user's local source cluster to be peered with the * destination cluster. */ @property(nonatomic, copy, nullable) NSString *peerClusterName; /** - * Optional. Name of the user's local source vserver svm to be peered with the - * destination vserver svm. + * Output only. Name of the user's local source vserver svm to be peered with + * the destination vserver svm. */ @property(nonatomic, copy, nullable) NSString *peerSvmName; /** - * Optional. Name of the user's local source volume to be peered with the + * Output only. Name of the user's local source volume to be peered with the * destination volume. */ @property(nonatomic, copy, nullable) NSString *peerVolumeName; -/** Optional. IP address of the subnet. */ +/** Output only. IP address of the subnet. */ @property(nonatomic, copy, nullable) NSString *subnetIp; @end diff --git a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m index e25214bfb..10eedc736 100644 --- a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m +++ b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m @@ -60,6 +60,14 @@ NSString * const kGTLRNetworkManagement_AuditLogConfig_LogType_DataWrite = @"DATA_WRITE"; NSString * const kGTLRNetworkManagement_AuditLogConfig_LogType_LogTypeUnspecified = @"LOG_TYPE_UNSPECIFIED"; +// GTLRNetworkManagement_DeliverInfo.googleServiceType +NSString * const kGTLRNetworkManagement_DeliverInfo_GoogleServiceType_CloudDns = @"CLOUD_DNS"; +NSString * const kGTLRNetworkManagement_DeliverInfo_GoogleServiceType_GfeProxyOrHealthCheckProber = @"GFE_PROXY_OR_HEALTH_CHECK_PROBER"; +NSString * const kGTLRNetworkManagement_DeliverInfo_GoogleServiceType_GoogleServiceTypeUnspecified = @"GOOGLE_SERVICE_TYPE_UNSPECIFIED"; +NSString * const kGTLRNetworkManagement_DeliverInfo_GoogleServiceType_Iap = @"IAP"; +NSString * const kGTLRNetworkManagement_DeliverInfo_GoogleServiceType_PrivateGoogleAccess = @"PRIVATE_GOOGLE_ACCESS"; +NSString * const kGTLRNetworkManagement_DeliverInfo_GoogleServiceType_ServerlessVpcAccess = @"SERVERLESS_VPC_ACCESS"; + // GTLRNetworkManagement_DeliverInfo.target NSString * const kGTLRNetworkManagement_DeliverInfo_Target_AppEngineVersion = @"APP_ENGINE_VERSION"; NSString * const kGTLRNetworkManagement_DeliverInfo_Target_CloudFunction = @"CLOUD_FUNCTION"; @@ -122,10 +130,12 @@ 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_NoKnownRouteFromNccNetworkToDestination = @"NO_KNOWN_ROUTE_FROM_NCC_NETWORK_TO_DESTINATION"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_NoKnownRouteFromPeeredNetworkToDestination = @"NO_KNOWN_ROUTE_FROM_PEERED_NETWORK_TO_DESTINATION"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_NoMatchingNat64Gateway = @"NO_MATCHING_NAT64_GATEWAY"; 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_NoRouteFromExternalIpv6SourceToPrivateIpv6Address = @"NO_ROUTE_FROM_EXTERNAL_IPV6_SOURCE_TO_PRIVATE_IPV6_ADDRESS"; 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"; @@ -587,7 +597,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRNetworkManagement_DeliverInfo -@dynamic ipAddress, pscGoogleApiTarget, resourceUri, storageBucket, target; +@dynamic googleServiceType, ipAddress, pscGoogleApiTarget, resourceUri, + storageBucket, target; @end @@ -676,7 +687,8 @@ @implementation GTLRNetworkManagement_Expr @implementation GTLRNetworkManagement_FirewallInfo @dynamic action, direction, displayName, firewallRuleType, networkUri, policy, - policyUri, priority, targetServiceAccounts, targetTags, uri; + policyPriority, policyUri, priority, targetServiceAccounts, targetTags, + uri; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h index 27fe46c11..08dfdc709 100644 --- a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h +++ b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h @@ -373,6 +373,54 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_AuditLogConfig_LogType */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_AuditLogConfig_LogType_LogTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRNetworkManagement_DeliverInfo.googleServiceType + +/** + * Connectivity from Cloud DNS to forwarding targets or alternate name servers + * that use private routing. + * https://cloud.google.com/dns/docs/zones/forwarding-zones#firewall-rules + * https://cloud.google.com/dns/docs/policies#firewall-rules + * + * Value: "CLOUD_DNS" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DeliverInfo_GoogleServiceType_CloudDns; +/** + * One of two services sharing IP ranges: * Load Balancer proxy * Centralized + * Health Check prober + * https://cloud.google.com/load-balancing/docs/firewall-rules + * + * Value: "GFE_PROXY_OR_HEALTH_CHECK_PROBER" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DeliverInfo_GoogleServiceType_GfeProxyOrHealthCheckProber; +/** + * Unspecified Google Service. + * + * Value: "GOOGLE_SERVICE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DeliverInfo_GoogleServiceType_GoogleServiceTypeUnspecified; +/** + * Identity aware proxy. https://cloud.google.com/iap/docs/using-tcp-forwarding + * + * Value: "IAP" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DeliverInfo_GoogleServiceType_Iap; +/** + * private.googleapis.com and restricted.googleapis.com + * + * Value: "PRIVATE_GOOGLE_ACCESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DeliverInfo_GoogleServiceType_PrivateGoogleAccess; +/** + * Google API via Private Service Connect. + * https://cloud.google.com/vpc/docs/configure-private-service-connect-apis + * Google API via Serverless VPC Access. + * https://cloud.google.com/vpc/docs/serverless-vpc-access + * + * Value: "SERVERLESS_VPC_ACCESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DeliverInfo_GoogleServiceType_ServerlessVpcAccess; + // ---------------------------------------------------------------------------- // GTLRNetworkManagement_DeliverInfo.target @@ -778,6 +826,13 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_NoAdver * Value: "NO_EXTERNAL_ADDRESS" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_NoExternalAddress; +/** + * Packet from the unknown NCC network is dropped due to no known route from + * the source network to the destination IP address. + * + * Value: "NO_KNOWN_ROUTE_FROM_NCC_NETWORK_TO_DESTINATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_NoKnownRouteFromNccNetworkToDestination; /** * Packet from the unknown peered network is dropped due to no known route from * the source network to the destination IP address. @@ -805,7 +860,15 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_NoNatSu */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_NoRoute; /** - * Packet is sent from the Internet to the private IPv6 address. + * Packet is sent from the external IPv6 source address of an instance to the + * private IPv6 address of an instance. + * + * Value: "NO_ROUTE_FROM_EXTERNAL_IPV6_SOURCE_TO_PRIVATE_IPV6_ADDRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_NoRouteFromExternalIpv6SourceToPrivateIpv6Address; +/** + * Packet is sent from the Internet or Google service to the private IPv6 + * address. * * Value: "NO_ROUTE_FROM_INTERNET_TO_PRIVATE_IPV6_ADDRESS" */ @@ -2892,6 +2955,39 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT */ @interface GTLRNetworkManagement_DeliverInfo : GTLRObject +/** + * Recognized type of a Google Service the packet is delivered to (if + * applicable). + * + * Likely values: + * @arg @c kGTLRNetworkManagement_DeliverInfo_GoogleServiceType_CloudDns + * Connectivity from Cloud DNS to forwarding targets or alternate name + * servers that use private routing. + * https://cloud.google.com/dns/docs/zones/forwarding-zones#firewall-rules + * https://cloud.google.com/dns/docs/policies#firewall-rules (Value: + * "CLOUD_DNS") + * @arg @c kGTLRNetworkManagement_DeliverInfo_GoogleServiceType_GfeProxyOrHealthCheckProber + * One of two services sharing IP ranges: * Load Balancer proxy * + * Centralized Health Check prober + * https://cloud.google.com/load-balancing/docs/firewall-rules (Value: + * "GFE_PROXY_OR_HEALTH_CHECK_PROBER") + * @arg @c kGTLRNetworkManagement_DeliverInfo_GoogleServiceType_GoogleServiceTypeUnspecified + * Unspecified Google Service. (Value: "GOOGLE_SERVICE_TYPE_UNSPECIFIED") + * @arg @c kGTLRNetworkManagement_DeliverInfo_GoogleServiceType_Iap Identity + * aware proxy. https://cloud.google.com/iap/docs/using-tcp-forwarding + * (Value: "IAP") + * @arg @c kGTLRNetworkManagement_DeliverInfo_GoogleServiceType_PrivateGoogleAccess + * private.googleapis.com and restricted.googleapis.com (Value: + * "PRIVATE_GOOGLE_ACCESS") + * @arg @c kGTLRNetworkManagement_DeliverInfo_GoogleServiceType_ServerlessVpcAccess + * Google API via Private Service Connect. + * https://cloud.google.com/vpc/docs/configure-private-service-connect-apis + * Google API via Serverless VPC Access. + * https://cloud.google.com/vpc/docs/serverless-vpc-access (Value: + * "SERVERLESS_VPC_ACCESS") + */ +@property(nonatomic, copy, nullable) NSString *googleServiceType; + /** IP address of the target (if applicable). */ @property(nonatomic, copy, nullable) NSString *ipAddress; @@ -3150,6 +3246,10 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * with only an internal IP address tries to access external hosts, but * there is no matching Cloud NAT gateway in the subnet. (Value: * "NO_EXTERNAL_ADDRESS") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_NoKnownRouteFromNccNetworkToDestination + * Packet from the unknown NCC network is dropped due to no known route + * from the source network to the destination IP address. (Value: + * "NO_KNOWN_ROUTE_FROM_NCC_NETWORK_TO_DESTINATION") * @arg @c kGTLRNetworkManagement_DropInfo_Cause_NoKnownRouteFromPeeredNetworkToDestination * Packet from the unknown peered network is dropped due to no known * route from the source network to the destination IP address. (Value: @@ -3163,9 +3263,13 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * "NO_NAT_SUBNETS_FOR_PSC_SERVICE_ATTACHMENT") * @arg @c kGTLRNetworkManagement_DropInfo_Cause_NoRoute Dropped due to no * matching routes. (Value: "NO_ROUTE") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_NoRouteFromExternalIpv6SourceToPrivateIpv6Address + * Packet is sent from the external IPv6 source address of an instance to + * the private IPv6 address of an instance. (Value: + * "NO_ROUTE_FROM_EXTERNAL_IPV6_SOURCE_TO_PRIVATE_IPV6_ADDRESS") * @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") + * Packet is sent from the Internet or Google service 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 @@ -3724,6 +3828,15 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT */ @property(nonatomic, copy, nullable) NSString *policy; +/** + * The priority of the firewall policy that this rule is associated with. This + * field is not applicable to VPC firewall rules and implied VPC firewall + * rules. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *policyPriority; + /** * The URI of the firewall policy that this rule is associated with. This field * is not applicable to VPC firewall rules and implied VPC firewall rules. @@ -4430,8 +4543,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT /** - * For display only. Metadata associated with a Compute Engine network. Next - * ID: 7 + * For display only. Metadata associated with a Compute Engine network. */ @interface GTLRNetworkManagement_NetworkInfo : GTLRObject @@ -5726,8 +5838,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT @property(nonatomic, strong, nullable) NSArray *metadataFields; /** - * Identifier. Unique name of the configuration using the form: + * Identifier. Unique name of the configuration using one of the forms: * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` + * `organizations/{organization_number}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` */ @property(nonatomic, copy, nullable) NSString *name; diff --git a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementQuery.h b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementQuery.h index 51e58c0a9..3f9060b07 100644 --- a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementQuery.h +++ b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementQuery.h @@ -699,6 +699,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The parent resource of the VPC Flow Logs configuration to create: * `projects/{project_id}/locations/global` + * `organizations/{organization_id}/locations/global` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -720,6 +721,7 @@ NS_ASSUME_NONNULL_BEGIN * the query. * @param parent Required. The parent resource of the VPC Flow Logs * configuration to create: `projects/{project_id}/locations/global` + * `organizations/{organization_id}/locations/global` * * @return GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsCreate */ @@ -739,8 +741,9 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsDelete : GTLRNetworkManagementQuery /** - * Required. `VpcFlowLogsConfig` resource name using the form: - * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}` + * Required. `VpcFlowLogsConfig` resource name using one of the form: + * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config} + * `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -749,8 +752,10 @@ NS_ASSUME_NONNULL_BEGIN * * Deletes a specific `VpcFlowLogsConfig`. * - * @param name Required. `VpcFlowLogsConfig` resource name using the form: - * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}` + * @param name Required. `VpcFlowLogsConfig` resource name using one of the + * form: + * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config} + * `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}` * * @return GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsDelete */ @@ -771,6 +776,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. `VpcFlowLogsConfig` resource name using the form: * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}` + * `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -781,6 +787,7 @@ NS_ASSUME_NONNULL_BEGIN * * @param name Required. `VpcFlowLogsConfig` resource name using the form: * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}` + * `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}` * * @return GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsGet */ @@ -820,6 +827,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The parent resource of the VpcFlowLogsConfig: * `projects/{project_id}/locations/global` + * `organizations/{organization_id}/locations/global` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -830,6 +838,7 @@ NS_ASSUME_NONNULL_BEGIN * * @param parent Required. The parent resource of the VpcFlowLogsConfig: * `projects/{project_id}/locations/global` + * `organizations/{organization_id}/locations/global` * * @return GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsList * @@ -858,8 +867,9 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsPatch : GTLRNetworkManagementQuery /** - * Identifier. Unique name of the configuration using the form: + * Identifier. Unique name of the configuration using one of the forms: * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` + * `organizations/{organization_number}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -884,8 +894,10 @@ NS_ASSUME_NONNULL_BEGIN * * @param object The @c GTLRNetworkManagement_VpcFlowLogsConfig to include in * the query. - * @param name Identifier. Unique name of the configuration using the form: + * @param name Identifier. Unique name of the configuration using one of the + * forms: * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` + * `organizations/{organization_number}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` * * @return GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsPatch */ diff --git a/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m b/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m index 88970974b..5ab2a672e 100644 --- a/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m +++ b/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m @@ -429,11 +429,10 @@ @implementation GTLRNetworkSecurity_AuthzPolicyAuthzRuleFrom // @implementation GTLRNetworkSecurity_AuthzPolicyAuthzRuleFromRequestSource -@dynamic principals, resources; +@dynamic resources; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"principals" : [GTLRNetworkSecurity_AuthzPolicyAuthzRuleStringMatch class], @"resources" : [GTLRNetworkSecurity_AuthzPolicyAuthzRuleRequestResource class] }; return map; diff --git a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h index 27571195d..dd791d54a 100644 --- a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h +++ b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h @@ -1773,13 +1773,6 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF */ @interface GTLRNetworkSecurity_AuthzPolicyAuthzRuleFromRequestSource : GTLRObject -/** - * Optional. A list of identities derived from the client's certificate. This - * field is under development and we don't recommend using it at this time. - * Limited to 5 principals. - */ -@property(nonatomic, strong, nullable) NSArray *principals; - /** * Optional. A list of resources to match against the resource of the source VM * of a request. Limited to 5 resources. diff --git a/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h b/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h index fb64c1377..62f80c694 100644 --- a/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h +++ b/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h @@ -2545,7 +2545,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_WasmPluginLogConfig_MinL * Specifies the policy on how requests are shadowed to a separate mirrored * destination service. The proxy does not wait for responses from the shadow * service. Prior to sending traffic to the shadow service, the host/authority - * header is suffixed with -shadow. + * header is suffixed with -shadow. Mirroring is currently not supported for + * Cloud Run destinations. */ @interface GTLRNetworkServices_HttpRouteRequestMirrorPolicy : GTLRObject diff --git a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m index e0e56c551..5572d8c98 100644 --- a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m +++ b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m @@ -114,6 +114,7 @@ NSString * const kGTLRNetworkconnectivity_InternalRange_Usage_UsageUnspecified = @"USAGE_UNSPECIFIED"; // GTLRNetworkconnectivity_LocationMetadata.locationFeatures +NSString * const kGTLRNetworkconnectivity_LocationMetadata_LocationFeatures_GatewaySpokes = @"GATEWAY_SPOKES"; NSString * const kGTLRNetworkconnectivity_LocationMetadata_LocationFeatures_LocationFeatureUnspecified = @"LOCATION_FEATURE_UNSPECIFIED"; NSString * const kGTLRNetworkconnectivity_LocationMetadata_LocationFeatures_SiteToCloudSpokes = @"SITE_TO_CLOUD_SPOKES"; NSString * const kGTLRNetworkconnectivity_LocationMetadata_LocationFeatures_SiteToSiteSpokes = @"SITE_TO_SITE_SPOKES"; diff --git a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h index 22ee02005..5acd67199 100644 --- a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h +++ b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h @@ -104,8 +104,8 @@ NS_ASSUME_NONNULL_BEGIN // GTLRNetworkconnectivity_AllocationOptions.allocationStrategy /** - * Unspecified strategy must be used when the range is specified explicitly - * using ip_cidr_range field. Othherwise unspefified means using the default + * Unspecified is the only valid option when the range is specified explicitly + * by ip_cidr_range field. Otherwise unspefified means using the default * strategy. * * Value: "ALLOCATION_STRATEGY_UNSPECIFIED" @@ -636,6 +636,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_InternalRange_Usage_ // ---------------------------------------------------------------------------- // GTLRNetworkconnectivity_LocationMetadata.locationFeatures +/** + * Gateway spokes are supported in this location. + * + * Value: "GATEWAY_SPOKES" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_LocationMetadata_LocationFeatures_GatewaySpokes; /** * No publicly supported feature in this location * @@ -1493,9 +1499,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin * * Likely values: * @arg @c kGTLRNetworkconnectivity_AllocationOptions_AllocationStrategy_AllocationStrategyUnspecified - * Unspecified strategy must be used when the range is specified - * explicitly using ip_cidr_range field. Othherwise unspefified means - * using the default strategy. (Value: "ALLOCATION_STRATEGY_UNSPECIFIED") + * Unspecified is the only valid option when the range is specified + * explicitly by ip_cidr_range field. Otherwise unspefified means using + * the default strategy. (Value: "ALLOCATION_STRATEGY_UNSPECIFIED") * @arg @c kGTLRNetworkconnectivity_AllocationOptions_AllocationStrategy_FirstAvailable * Pick the first available address range. This strategy is deterministic * and the result is easy to predict. (Value: "FIRST_AVAILABLE") @@ -2471,9 +2477,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @property(nonatomic, strong, nullable) NSArray *routeTables; /** - * The VPC networks associated with this hub's spokes. This field is read-only. - * Network Connectivity Center automatically populates it based on the set of - * spokes attached to the hub. + * Output only. The VPC networks associated with this hub's spokes. This field + * is read-only. Network Connectivity Center automatically populates it based + * on the set of spokes attached to the hub. */ @property(nonatomic, strong, nullable) NSArray *routingVpcs; @@ -2602,7 +2608,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * A description of this resource. + * Optional. A description of this resource. * * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. */ @@ -2624,9 +2630,10 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @property(nonatomic, strong, nullable) NSNumber *immutable; /** - * 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. + * Optional. 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; @@ -2637,16 +2644,17 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @property(nonatomic, strong, nullable) GTLRNetworkconnectivity_Migration *migration; /** - * Immutable. The name of an internal range. Format: + * Identifier. The name of an internal range. Format: * projects/{project}/locations/{location}/internalRanges/{internal_range} See: * https://google.aip.dev/122#fields-representing-resource-names */ @property(nonatomic, copy, nullable) NSString *name; /** - * The URL or resource ID of the network in which to reserve the internal - * range. The network cannot be deleted if there are any reserved internal - * ranges referring to it. Legacy networks are not supported. For example: + * Immutable. The URL or resource ID of the network in which to reserve the + * internal range. The network cannot be deleted if there are any reserved + * internal ranges referring to it. Legacy networks are not supported. For + * example: * https://www.googleapis.com/compute/v1/projects/{project}/locations/global/networks/{network} * projects/{project}/locations/global/networks/{network} {network} */ @@ -2659,7 +2667,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @property(nonatomic, strong, nullable) NSArray *overlaps; /** - * The type of peering set for this internal range. + * Optional. The type of peering set for this internal range. * * Likely values: * @arg @c kGTLRNetworkconnectivity_InternalRange_Peering_ForPeer This @@ -2690,9 +2698,9 @@ 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 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 + * Optional. 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. 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 @@ -2715,7 +2723,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; /** - * The type of usage set for this InternalRange. + * Optional. The type of usage set for this InternalRange. * * Likely values: * @arg @c kGTLRNetworkconnectivity_InternalRange_Usage_ExternalToVpc Ranges @@ -2834,7 +2842,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @property(nonatomic, strong, nullable) NSArray *proposedExcludeExportRanges; /** - * Optional. The proposed include export IP ranges waiting for hub + * Output only. The proposed include export IP ranges waiting for hub * administration's approval. */ @property(nonatomic, strong, nullable) NSArray *proposedIncludeExportRanges; @@ -2912,7 +2920,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @property(nonatomic, strong, nullable) NSArray *proposedExcludeExportRanges; /** - * Optional. The proposed include export IP ranges waiting for hub + * Output only. The proposed include export IP ranges waiting for hub * administration's approval. */ @property(nonatomic, strong, nullable) NSArray *proposedIncludeExportRanges; diff --git a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h index 4f6716656..e5b78c50d 100644 --- a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h +++ b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h @@ -1621,7 +1621,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @interface GTLRNetworkconnectivityQuery_ProjectsLocationsInternalRangesPatch : GTLRNetworkconnectivityQuery /** - * Immutable. The name of an internal range. Format: + * Identifier. The name of an internal range. Format: * projects/{project}/locations/{location}/internalRanges/{internal_range} See: * https://google.aip.dev/122#fields-representing-resource-names */ @@ -1660,7 +1660,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif * * @param object The @c GTLRNetworkconnectivity_InternalRange to include in the * query. - * @param name Immutable. The name of an internal range. Format: + * @param name Identifier. The name of an internal range. Format: * projects/{project}/locations/{location}/internalRanges/{internal_range} * See: https://google.aip.dev/122#fields-representing-resource-names * diff --git a/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionObjects.m b/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionObjects.m index b00ffda46..1581498a2 100644 --- a/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionObjects.m +++ b/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionObjects.m @@ -103,6 +103,7 @@ // GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails.billingCycleSpec NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecAlignWithPreviousSubscription = @"BILLING_CYCLE_SPEC_ALIGN_WITH_PREVIOUS_SUBSCRIPTION"; +NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecDeferredToNextRecurrence = @"BILLING_CYCLE_SPEC_DEFERRED_TO_NEXT_RECURRENCE"; NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecStartImmediately = @"BILLING_CYCLE_SPEC_START_IMMEDIATELY"; NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecUnspecified = @"BILLING_CYCLE_SPEC_UNSPECIFIED"; diff --git a/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h b/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h index 5090aff5f..40bb14940 100644 --- a/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h +++ b/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h @@ -526,12 +526,20 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloud // GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails.billingCycleSpec /** - * The billing cycle of the new subscription aligns with the previous - * subscription it upgrades or downgrades from. + * The billing cycle of the new subscription starts immediately but aligns with + * the previous subscription it upgrades or downgrades from. First cycle of the + * new subscription will be prorated. * * Value: "BILLING_CYCLE_SPEC_ALIGN_WITH_PREVIOUS_SUBSCRIPTION" */ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecAlignWithPreviousSubscription; +/** + * The billing cycle starts at the end of the previous subscription's billing + * cycle and aligns with the previous subscription's billing cycle. + * + * Value: "BILLING_CYCLE_SPEC_DEFERRED_TO_NEXT_RECURRENCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecDeferredToNextRecurrence; /** * The billing cycle of the new subscription starts immediately. * @@ -1838,9 +1846,14 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * * Likely values: * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecAlignWithPreviousSubscription - * The billing cycle of the new subscription aligns with the previous - * subscription it upgrades or downgrades from. (Value: + * The billing cycle of the new subscription starts immediately but + * aligns with the previous subscription it upgrades or downgrades from. + * First cycle of the new subscription will be prorated. (Value: * "BILLING_CYCLE_SPEC_ALIGN_WITH_PREVIOUS_SUBSCRIPTION") + * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecDeferredToNextRecurrence + * The billing cycle starts at the end of the previous subscription's + * billing cycle and aligns with the previous subscription's billing + * cycle. (Value: "BILLING_CYCLE_SPEC_DEFERRED_TO_NEXT_RECURRENCE") * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecStartImmediately * The billing cycle of the new subscription starts immediately. (Value: * "BILLING_CYCLE_SPEC_START_IMMEDIATELY") diff --git a/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionQuery.h b/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionQuery.h index bd7c916b8..a51ef5540 100644 --- a/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionQuery.h +++ b/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionQuery.h @@ -594,7 +594,8 @@ NS_ASSUME_NONNULL_BEGIN * Entitle). Issues a timed session token for the given user intent. You can * use the session token to redirect the user to Google to finish the signup * flow. You can re-generate new session token repeatedly for the same request - * if necessary, regardless of the previous tokens being expired or not. + * if necessary, regardless of the previous tokens being expired or not. By + * default, the session token is valid for 1 hour. * * Method: paymentsresellersubscription.partners.userSessions.generate * @@ -617,7 +618,8 @@ NS_ASSUME_NONNULL_BEGIN * Entitle). Issues a timed session token for the given user intent. You can * use the session token to redirect the user to Google to finish the signup * flow. You can re-generate new session token repeatedly for the same request - * if necessary, regardless of the previous tokens being expired or not. + * if necessary, regardless of the previous tokens being expired or not. By + * default, the session token is valid for 1 hour. * * @param object The @c * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest diff --git a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m index 34bb9147e..208076bb6 100644 --- a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m +++ b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m @@ -601,6 +601,7 @@ NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PgSubscriptionCount = @"PG_SUBSCRIPTION_COUNT"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PgSyncParallelLevel = @"PG_SYNC_PARALLEL_LEVEL"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PrimaryAlreadySetup = @"PRIMARY_ALREADY_SETUP"; +NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PscOnlyInstanceWithNoNetworkAttachmentUri = @"PSC_ONLY_INSTANCE_WITH_NO_NETWORK_ATTACHMENT_URI"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_ReplicaAlreadySetup = @"REPLICA_ALREADY_SETUP"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_RiskyBackupAdminPrivilege = @"RISKY_BACKUP_ADMIN_PRIVILEGE"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SelectedObjectsNotExistOnSource = @"SELECTED_OBJECTS_NOT_EXIST_ON_SOURCE"; @@ -1031,14 +1032,14 @@ @implementation GTLRSQLAdmin_DatabaseFlags // @implementation GTLRSQLAdmin_DatabaseInstance -@dynamic availableMaintenanceVersions, backendType, connectionName, createTime, - currentDiskSize, databaseInstalledVersion, databaseVersion, - diskEncryptionConfiguration, diskEncryptionStatus, dnsName, dnsNames, - ETag, failoverReplica, gceZone, geminiConfig, +@dynamic availableMaintenanceVersions, backendType, clearNetwork, + connectionName, createTime, currentDiskSize, databaseInstalledVersion, + databaseVersion, diskEncryptionConfiguration, diskEncryptionStatus, + dnsName, dnsNames, ETag, failoverReplica, gceZone, geminiConfig, includeReplicasForMajorVersionUpgrade, instanceType, ipAddresses, ipv6Address, kind, maintenanceVersion, masterInstanceName, maxDiskSize, name, nodeCount, nodes, onPremisesConfiguration, outOfDiskReport, - primaryDnsName, project, pscServiceAttachmentLink, region, + pitrFields, primaryDnsName, project, pscServiceAttachmentLink, region, replicaConfiguration, replicaNames, replicationCluster, rootPassword, satisfiesPzi, satisfiesPzs, scheduledMaintenance, secondaryGceZone, selfLink, serverCaCert, serviceAccountEmailAddress, settings, @@ -2067,6 +2068,17 @@ @implementation GTLRSQLAdmin_PerformDiskShrinkContext @end +// ---------------------------------------------------------------------------- +// +// GTLRSQLAdmin_PITRFields +// + +@implementation GTLRSQLAdmin_PITRFields +@dynamic enableBinLog, replicationLogArchivingEnabled, sqlserverPitrEnabled, + transactionLogRetentionDays; +@end + + // ---------------------------------------------------------------------------- // // GTLRSQLAdmin_PointInTimeRestoreContext diff --git a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h index 9f241f2a4..4783cfd57 100644 --- a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h +++ b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h @@ -77,6 +77,7 @@ @class GTLRSQLAdmin_OperationErrors; @class GTLRSQLAdmin_PasswordStatus; @class GTLRSQLAdmin_PasswordValidationPolicy; +@class GTLRSQLAdmin_PITRFields; @class GTLRSQLAdmin_PoolNodeConfig; @class GTLRSQLAdmin_PscAutoConnectionConfig; @class GTLRSQLAdmin_PscConfig; @@ -3299,6 +3300,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Typ * Value: "PRIMARY_ALREADY_SETUP" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PrimaryAlreadySetup; +/** + * PSC only destination instance does not have a network attachment URI. + * + * Value: "PSC_ONLY_INSTANCE_WITH_NO_NETWORK_ATTACHMENT_URI" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PscOnlyInstanceWithNoNetworkAttachmentUri; /** Value: "REPLICA_ALREADY_SETUP" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_ReplicaAlreadySetup; /** @@ -5086,6 +5093,13 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; */ @property(nonatomic, copy, nullable) NSString *backendType; +/** + * Clears private network settings when the instance is restored. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *clearNetwork; + /** Connection name of the Cloud SQL instance used in connection strings. */ @property(nonatomic, copy, nullable) NSString *connectionName; @@ -5356,6 +5370,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; */ @property(nonatomic, strong, nullable) GTLRSQLAdmin_SqlOutOfDiskReport *outOfDiskReport; +/** Input only. PITR related fields added for Instance Independent PITR. */ +@property(nonatomic, strong, nullable) GTLRSQLAdmin_PITRFields *pitrFields; + /** Output only. DEPRECATED: please use write_endpoint instead. */ @property(nonatomic, copy, nullable) NSString *primaryDnsName GTLR_DEPRECATED; @@ -7822,6 +7839,43 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @end +/** + * PITR related fields include enablement settings, archiving settings, and the + * bucket name. + */ +@interface GTLRSQLAdmin_PITRFields : GTLRObject + +/** + * The enablement setting for PITR for MySQL. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableBinLog; + +/** + * The enablement setting for PITR for PostgreSQL. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *replicationLogArchivingEnabled; + +/** + * The enablement setting for PITR for SQL Server. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *sqlserverPitrEnabled; + +/** + * The number of transaction log days to retain for PITR + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *transactionLogRetentionDays; + +@end + + /** * The context to perform a point-in-time recovery of an instance managed by * Google Cloud Backup and Disaster Recovery. @@ -8661,6 +8715,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PrimaryAlreadySetup * The primary instance has been setup and will fail the setup. (Value: * "PRIMARY_ALREADY_SETUP") + * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PscOnlyInstanceWithNoNetworkAttachmentUri + * PSC only destination instance does not have a network attachment URI. + * (Value: "PSC_ONLY_INSTANCE_WITH_NO_NETWORK_ATTACHMENT_URI") * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_ReplicaAlreadySetup * Value "REPLICA_ALREADY_SETUP" * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_RiskyBackupAdminPrivilege diff --git a/Sources/GeneratedServices/Safebrowsing/GTLRSafebrowsingObjects.m b/Sources/GeneratedServices/Safebrowsing/GTLRSafebrowsingObjects.m index 2d1dbdaca..5b003dd27 100644 --- a/Sources/GeneratedServices/Safebrowsing/GTLRSafebrowsingObjects.m +++ b/Sources/GeneratedServices/Safebrowsing/GTLRSafebrowsingObjects.m @@ -29,6 +29,44 @@ NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5FullHashFullHashDetail_ThreatType_ThreatTypeUnspecified = @"THREAT_TYPE_UNSPECIFIED"; NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5FullHashFullHashDetail_ThreatType_UnwantedSoftware = @"UNWANTED_SOFTWARE"; +// GTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata.hashLength +NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_HashLength_EightBytes = @"EIGHT_BYTES"; +NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_HashLength_FourBytes = @"FOUR_BYTES"; +NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_HashLength_HashLengthUnspecified = @"HASH_LENGTH_UNSPECIFIED"; +NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_HashLength_SixteenBytes = @"SIXTEEN_BYTES"; +NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_HashLength_ThirtyTwoBytes = @"THIRTY_TWO_BYTES"; + +// GTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata.likelySafeTypes +NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_LikelySafeTypes_Csd = @"CSD"; +NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_LikelySafeTypes_Download = @"DOWNLOAD"; +NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_LikelySafeTypes_GeneralBrowsing = @"GENERAL_BROWSING"; +NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_LikelySafeTypes_LikelySafeTypeUnspecified = @"LIKELY_SAFE_TYPE_UNSPECIFIED"; + +// GTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata.threatTypes +NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_ThreatTypes_Malware = @"MALWARE"; +NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_ThreatTypes_PotentiallyHarmfulApplication = @"POTENTIALLY_HARMFUL_APPLICATION"; +NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_ThreatTypes_SocialEngineering = @"SOCIAL_ENGINEERING"; +NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_ThreatTypes_ThreatTypeUnspecified = @"THREAT_TYPE_UNSPECIFIED"; +NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_ThreatTypes_UnwantedSoftware = @"UNWANTED_SOFTWARE"; + +// ---------------------------------------------------------------------------- +// +// GTLRSafebrowsing_GoogleSecuritySafebrowsingV5BatchGetHashListsResponse +// + +@implementation GTLRSafebrowsing_GoogleSecuritySafebrowsingV5BatchGetHashListsResponse +@dynamic hashLists; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"hashLists" : [GTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashList class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSafebrowsing_GoogleSecuritySafebrowsingV5FullHash @@ -65,6 +103,104 @@ @implementation GTLRSafebrowsing_GoogleSecuritySafebrowsingV5FullHashFullHashDet @end +// ---------------------------------------------------------------------------- +// +// GTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashList +// + +@implementation GTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashList +@dynamic additionsEightBytes, additionsFourBytes, additionsSixteenBytes, + additionsThirtyTwoBytes, compressedRemovals, metadata, + minimumWaitDuration, name, partialUpdate, sha256Checksum, version; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata +// + +@implementation GTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata +@dynamic descriptionProperty, hashLength, likelySafeTypes, threatTypes; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"likelySafeTypes" : [NSString class], + @"threatTypes" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSafebrowsing_GoogleSecuritySafebrowsingV5ListHashListsResponse +// + +@implementation GTLRSafebrowsing_GoogleSecuritySafebrowsingV5ListHashListsResponse +@dynamic hashLists, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"hashLists" : [GTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashList class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"hashLists"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSafebrowsing_GoogleSecuritySafebrowsingV5RiceDeltaEncoded128Bit +// + +@implementation GTLRSafebrowsing_GoogleSecuritySafebrowsingV5RiceDeltaEncoded128Bit +@dynamic encodedData, entriesCount, firstValueHi, firstValueLo, riceParameter; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSafebrowsing_GoogleSecuritySafebrowsingV5RiceDeltaEncoded256Bit +// + +@implementation GTLRSafebrowsing_GoogleSecuritySafebrowsingV5RiceDeltaEncoded256Bit +@dynamic encodedData, entriesCount, firstValueFirstPart, firstValueFourthPart, + firstValueSecondPart, firstValueThirdPart, riceParameter; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSafebrowsing_GoogleSecuritySafebrowsingV5RiceDeltaEncoded32Bit +// + +@implementation GTLRSafebrowsing_GoogleSecuritySafebrowsingV5RiceDeltaEncoded32Bit +@dynamic encodedData, entriesCount, firstValue, riceParameter; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSafebrowsing_GoogleSecuritySafebrowsingV5RiceDeltaEncoded64Bit +// + +@implementation GTLRSafebrowsing_GoogleSecuritySafebrowsingV5RiceDeltaEncoded64Bit +@dynamic encodedData, entriesCount, firstValue, riceParameter; +@end + + // ---------------------------------------------------------------------------- // // GTLRSafebrowsing_GoogleSecuritySafebrowsingV5SearchHashesResponse diff --git a/Sources/GeneratedServices/Safebrowsing/GTLRSafebrowsingQuery.m b/Sources/GeneratedServices/Safebrowsing/GTLRSafebrowsingQuery.m index 207adaf20..58a9af3e3 100644 --- a/Sources/GeneratedServices/Safebrowsing/GTLRSafebrowsingQuery.m +++ b/Sources/GeneratedServices/Safebrowsing/GTLRSafebrowsingQuery.m @@ -45,3 +45,82 @@ + (instancetype)query { } @end + +@implementation GTLRSafebrowsingQuery_HashListGet + +@dynamic name, sizeConstraintsMaxDatabaseEntries, + sizeConstraintsMaxUpdateEntries, version; + ++ (NSDictionary *)parameterNameMap { + NSDictionary *map = @{ + @"sizeConstraintsMaxDatabaseEntries" : @"sizeConstraints.maxDatabaseEntries", + @"sizeConstraintsMaxUpdateEntries" : @"sizeConstraints.maxUpdateEntries" + }; + return map; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v5/hashList/{name}"; + GTLRSafebrowsingQuery_HashListGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashList class]; + query.loggingName = @"safebrowsing.hashList.get"; + return query; +} + +@end + +@implementation GTLRSafebrowsingQuery_HashListsBatchGet + +@dynamic names, sizeConstraintsMaxDatabaseEntries, + sizeConstraintsMaxUpdateEntries, version; + ++ (NSDictionary *)parameterNameMap { + NSDictionary *map = @{ + @"sizeConstraintsMaxDatabaseEntries" : @"sizeConstraints.maxDatabaseEntries", + @"sizeConstraintsMaxUpdateEntries" : @"sizeConstraints.maxUpdateEntries" + }; + return map; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"names" : [NSString class], + @"version" : [NSString class] + }; + return map; +} + ++ (instancetype)query { + NSString *pathURITemplate = @"v5/hashLists:batchGet"; + GTLRSafebrowsingQuery_HashListsBatchGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRSafebrowsing_GoogleSecuritySafebrowsingV5BatchGetHashListsResponse class]; + query.loggingName = @"safebrowsing.hashLists.batchGet"; + return query; +} + +@end + +@implementation GTLRSafebrowsingQuery_HashListsList + +@dynamic pageSize, pageToken; + ++ (instancetype)query { + NSString *pathURITemplate = @"v5/hashLists"; + GTLRSafebrowsingQuery_HashListsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRSafebrowsing_GoogleSecuritySafebrowsingV5ListHashListsResponse class]; + query.loggingName = @"safebrowsing.hashLists.list"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/Safebrowsing/Public/GoogleAPIClientForREST/GTLRSafebrowsingObjects.h b/Sources/GeneratedServices/Safebrowsing/Public/GoogleAPIClientForREST/GTLRSafebrowsingObjects.h index e795c6f27..1bb3dff99 100644 --- a/Sources/GeneratedServices/Safebrowsing/Public/GoogleAPIClientForREST/GTLRSafebrowsingObjects.h +++ b/Sources/GeneratedServices/Safebrowsing/Public/GoogleAPIClientForREST/GTLRSafebrowsingObjects.h @@ -20,6 +20,12 @@ @class GTLRSafebrowsing_GoogleSecuritySafebrowsingV5FullHash; @class GTLRSafebrowsing_GoogleSecuritySafebrowsingV5FullHashFullHashDetail; +@class GTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashList; +@class GTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata; +@class GTLRSafebrowsing_GoogleSecuritySafebrowsingV5RiceDeltaEncoded128Bit; +@class GTLRSafebrowsing_GoogleSecuritySafebrowsingV5RiceDeltaEncoded256Bit; +@class GTLRSafebrowsing_GoogleSecuritySafebrowsingV5RiceDeltaEncoded32Bit; +@class GTLRSafebrowsing_GoogleSecuritySafebrowsingV5RiceDeltaEncoded64Bit; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -106,6 +112,133 @@ FOUNDATION_EXTERN NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV */ FOUNDATION_EXTERN NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5FullHashFullHashDetail_ThreatType_UnwantedSoftware; +// ---------------------------------------------------------------------------- +// GTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata.hashLength + +/** + * Each hash is an eight-byte prefix. + * + * Value: "EIGHT_BYTES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_HashLength_EightBytes; +/** + * Each hash is a four-byte prefix. + * + * Value: "FOUR_BYTES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_HashLength_FourBytes; +/** + * Unspecified length. + * + * Value: "HASH_LENGTH_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_HashLength_HashLengthUnspecified; +/** + * Each hash is a sixteen-byte prefix. + * + * Value: "SIXTEEN_BYTES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_HashLength_SixteenBytes; +/** + * Each hash is a thirty-two-byte full hash. + * + * Value: "THIRTY_TWO_BYTES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_HashLength_ThirtyTwoBytes; + +// ---------------------------------------------------------------------------- +// GTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata.likelySafeTypes + +/** + * This site is likely safe enough that there is no need to run Client-Side + * Detection models or password protection checks. + * + * Value: "CSD" + */ +FOUNDATION_EXTERN NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_LikelySafeTypes_Csd; +/** + * This site is likely safe enough that downloads from the site need not be + * checked. + * + * Value: "DOWNLOAD" + */ +FOUNDATION_EXTERN NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_LikelySafeTypes_Download; +/** + * This site is likely safe enough for general browsing. This is also known as + * the global cache. + * + * Value: "GENERAL_BROWSING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_LikelySafeTypes_GeneralBrowsing; +/** + * Unknown. + * + * Value: "LIKELY_SAFE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_LikelySafeTypes_LikelySafeTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata.threatTypes + +/** + * Malware threat type. Malware is any software or mobile application + * specifically designed to harm a computer, a mobile device, the software it's + * running, or its users. Malware exhibits malicious behavior that can include + * installing software without user consent and installing harmful software + * such as viruses. More information can be found + * [here](https://developers.google.com/search/docs/monitor-debug/security/malware). + * + * Value: "MALWARE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_ThreatTypes_Malware; +/** + * Potentially harmful application threat type [as used by Google Play Protect + * for the Play + * Store](https://developers.google.com/android/play-protect/potentially-harmful-applications). + * + * Value: "POTENTIALLY_HARMFUL_APPLICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_ThreatTypes_PotentiallyHarmfulApplication; +/** + * Social engineering threat type. Social engineering pages falsely purport to + * act on behalf of a third party with the intention of confusing viewers into + * performing an action with which the viewer would only trust a true agent of + * that third party. Phishing is a type of social engineering that tricks the + * viewer into performing the specific action of providing information, such as + * login credentials. More information can be found + * [here](https://developers.google.com/search/docs/monitor-debug/security/social-engineering). + * + * Value: "SOCIAL_ENGINEERING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_ThreatTypes_SocialEngineering; +/** + * Unknown threat type. If this is returned by the server, the client shall + * disregard the enclosing `FullHashDetail` altogether. + * + * Value: "THREAT_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_ThreatTypes_ThreatTypeUnspecified; +/** + * Unwanted software threat type. Unwanted software is any software that does + * not adhere to [Google's Software + * Principles](https://www.google.com/about/software-principles.html) but isn't + * malware. + * + * Value: "UNWANTED_SOFTWARE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_ThreatTypes_UnwantedSoftware; + +/** + * The response containing multiple hash lists. + */ +@interface GTLRSafebrowsing_GoogleSecuritySafebrowsingV5BatchGetHashListsResponse : GTLRObject + +/** The hash lists in the same order given in the request. */ +@property(nonatomic, strong, nullable) NSArray *hashLists; + +@end + + /** * The full hash identified with one or more matches. */ @@ -193,6 +326,375 @@ FOUNDATION_EXTERN NSString * const kGTLRSafebrowsing_GoogleSecuritySafebrowsingV @end +/** + * A list of hashes identified by its name. + */ +@interface GTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashList : GTLRObject + +/** The 8-byte additions. */ +@property(nonatomic, strong, nullable) GTLRSafebrowsing_GoogleSecuritySafebrowsingV5RiceDeltaEncoded64Bit *additionsEightBytes; + +/** The 4-byte additions. */ +@property(nonatomic, strong, nullable) GTLRSafebrowsing_GoogleSecuritySafebrowsingV5RiceDeltaEncoded32Bit *additionsFourBytes; + +/** The 16-byte additions. */ +@property(nonatomic, strong, nullable) GTLRSafebrowsing_GoogleSecuritySafebrowsingV5RiceDeltaEncoded128Bit *additionsSixteenBytes; + +/** The 32-byte additions. */ +@property(nonatomic, strong, nullable) GTLRSafebrowsing_GoogleSecuritySafebrowsingV5RiceDeltaEncoded256Bit *additionsThirtyTwoBytes; + +/** + * The Rice-delta encoded version of removal indices. Since each hash list + * definitely has less than 2^32 entries, the indices are treated as 32-bit + * integers and encoded. + */ +@property(nonatomic, strong, nullable) GTLRSafebrowsing_GoogleSecuritySafebrowsingV5RiceDeltaEncoded32Bit *compressedRemovals; + +/** + * Metadata about the hash list. This is not populated by the `GetHashList` + * method, but this is populated by the `ListHashLists` method. + */ +@property(nonatomic, strong, nullable) GTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata *metadata; + +/** + * Clients should wait at least this long to get the hash list again. If + * omitted or zero, clients SHOULD fetch immediately because it indicates that + * the server has an additional update to be sent to the client, but could not + * due to the client-specified constraints. + */ +@property(nonatomic, strong, nullable) GTLRDuration *minimumWaitDuration; + +/** + * The name of the hash list. Note that the Global Cache is also just a hash + * list and can be referred to here. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * When true, this is a partial diff containing additions and removals based on + * what the client already has. When false, this is the complete hash list. + * When false, the client MUST delete any locally stored version for this hash + * list. This means that either the version possessed by the client is + * seriously out-of-date or the client data is believed to be corrupt. The + * `compressed_removals` field will be empty. When true, the client MUST apply + * an incremental update by applying removals and then additions. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *partialUpdate; + +/** + * The sorted list of all hashes, hashed again with SHA256. This is the + * checksum for the sorted list of all hashes present in the database after + * applying the provided update. In the case that no updates were provided, the + * server will omit this field to indicate that the client should use the + * existing checksum. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *sha256Checksum; + +/** + * The version of the hash list. The client MUST NOT manipulate those bytes. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *version; + +@end + + +/** + * Metadata about a particular hash list. + */ +@interface GTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata : GTLRObject + +/** + * A human-readable description about this list. Written in English. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * The supported hash length for this hash list. Each hash list will support + * exactly one length. If a different hash length is introduced for the same + * set of threat types or safe types, it will be introduced as a separate list + * with a distinct name and respective hash length set. + * + * Likely values: + * @arg @c kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_HashLength_EightBytes + * Each hash is an eight-byte prefix. (Value: "EIGHT_BYTES") + * @arg @c kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_HashLength_FourBytes + * Each hash is a four-byte prefix. (Value: "FOUR_BYTES") + * @arg @c kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_HashLength_HashLengthUnspecified + * Unspecified length. (Value: "HASH_LENGTH_UNSPECIFIED") + * @arg @c kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_HashLength_SixteenBytes + * Each hash is a sixteen-byte prefix. (Value: "SIXTEEN_BYTES") + * @arg @c kGTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashListMetadata_HashLength_ThirtyTwoBytes + * Each hash is a thirty-two-byte full hash. (Value: "THIRTY_TWO_BYTES") + */ +@property(nonatomic, copy, nullable) NSString *hashLength; + +/** + * Unordered list. If not empty, this specifies that the hash list represents a + * list of likely safe hashes, and this enumerates the ways they are considered + * likely safe. This field is mutually exclusive with the threat_types field. + */ +@property(nonatomic, strong, nullable) NSArray *likelySafeTypes; + +/** + * Unordered list. If not empty, this specifies that the hash list is a kind of + * threat list, and this enumerates the kind of threats associated with hashes + * or hash prefixes in this hash list. May be empty if the entry does not + * represent a threat, i.e. in the case that it represents a likely safe type. + */ +@property(nonatomic, strong, nullable) NSArray *threatTypes; + +@end + + +/** + * The response containing metadata about hash lists. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "hashLists" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSafebrowsing_GoogleSecuritySafebrowsingV5ListHashListsResponse : GTLRCollectionObject + +/** + * The hash lists in an arbitrary order. Only metadata about the hash lists + * will be included, not the contents. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *hashLists; + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * Same as `RiceDeltaEncoded32Bit` except this encodes 128-bit numbers. + */ +@interface GTLRSafebrowsing_GoogleSecuritySafebrowsingV5RiceDeltaEncoded128Bit : GTLRObject + +/** + * The encoded deltas that are encoded using the Golomb-Rice coder. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *encodedData; + +/** + * The number of entries that are delta encoded in the encoded data. If only a + * single integer was encoded, this will be zero and the single value will be + * stored in `first_value`. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *entriesCount; + +/** + * The upper 64 bits of the first entry in the encoded data (hashes). If the + * field is empty, the upper 64 bits are all zero. + * + * Uses NSNumber of unsignedLongLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *firstValueHi; + +/** + * The lower 64 bits of the first entry in the encoded data (hashes). If the + * field is empty, the lower 64 bits are all zero. + * + * Uses NSNumber of unsignedLongLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *firstValueLo; + +/** + * The Golomb-Rice parameter. This parameter is guaranteed to be between 99 and + * 126, inclusive. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *riceParameter; + +@end + + +/** + * Same as `RiceDeltaEncoded32Bit` except this encodes 256-bit numbers. + */ +@interface GTLRSafebrowsing_GoogleSecuritySafebrowsingV5RiceDeltaEncoded256Bit : GTLRObject + +/** + * The encoded deltas that are encoded using the Golomb-Rice coder. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *encodedData; + +/** + * The number of entries that are delta encoded in the encoded data. If only a + * single integer was encoded, this will be zero and the single value will be + * stored in `first_value`. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *entriesCount; + +/** + * The first 64 bits of the first entry in the encoded data (hashes). If the + * field is empty, the first 64 bits are all zero. + * + * Uses NSNumber of unsignedLongLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *firstValueFirstPart; + +/** + * The last 64 bits of the first entry in the encoded data (hashes). If the + * field is empty, the last 64 bits are all zero. + * + * Uses NSNumber of unsignedLongLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *firstValueFourthPart; + +/** + * The 65 through 128th bits of the first entry in the encoded data (hashes). + * If the field is empty, the 65 through 128th bits are all zero. + * + * Uses NSNumber of unsignedLongLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *firstValueSecondPart; + +/** + * The 129 through 192th bits of the first entry in the encoded data (hashes). + * If the field is empty, the 129 through 192th bits are all zero. + * + * Uses NSNumber of unsignedLongLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *firstValueThirdPart; + +/** + * The Golomb-Rice parameter. This parameter is guaranteed to be between 227 + * and 254, inclusive. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *riceParameter; + +@end + + +/** + * The Rice-Golomb encoded data. Used for either hashes or removal indices. It + * is guaranteed that every hash or index here has the same length, and this + * length is exactly 32 bits. Generally speaking, if we sort all the entries + * lexicographically, we will find that the higher order bits tend not to + * change as frequently as lower order bits. This means that if we also take + * the adjacent difference between entries, the higher order bits have a high + * probability of being zero. This exploits this high probability of zero by + * essentially choosing a certain number of bits; all bits more significant + * than this are likely to be zero so we use unary encoding. See the + * `rice_parameter` field. Historical note: the Rice-delta encoding was first + * used in V4 of this API. In V5, two significant improvements were made: + * firstly, the Rice-delta encoding is now available with hash prefixes longer + * than 4 bytes; secondly, the encoded data are now treated as big-endian so as + * to avoid a costly sorting step. + */ +@interface GTLRSafebrowsing_GoogleSecuritySafebrowsingV5RiceDeltaEncoded32Bit : GTLRObject + +/** + * The encoded deltas that are encoded using the Golomb-Rice coder. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *encodedData; + +/** + * The number of entries that are delta encoded in the encoded data. If only a + * single integer was encoded, this will be zero and the single value will be + * stored in `first_value`. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *entriesCount; + +/** + * The first entry in the encoded data (hashes or indices), or, if only a + * single hash prefix or index was encoded, that entry's value. If the field is + * empty, the entry is zero. + * + * Uses NSNumber of unsignedIntValue. + */ +@property(nonatomic, strong, nullable) NSNumber *firstValue; + +/** + * The Golomb-Rice parameter. This parameter is guaranteed to be between 3 and + * 30, inclusive. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *riceParameter; + +@end + + +/** + * Same as `RiceDeltaEncoded32Bit` except this encodes 64-bit numbers. + */ +@interface GTLRSafebrowsing_GoogleSecuritySafebrowsingV5RiceDeltaEncoded64Bit : GTLRObject + +/** + * The encoded deltas that are encoded using the Golomb-Rice coder. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *encodedData; + +/** + * The number of entries that are delta encoded in the encoded data. If only a + * single integer was encoded, this will be zero and the single value will be + * stored in `first_value`. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *entriesCount; + +/** + * The first entry in the encoded data (hashes), or, if only a single hash + * prefix was encoded, that entry's value. If the field is empty, the entry is + * zero. + * + * Uses NSNumber of unsignedLongLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *firstValue; + +/** + * The Golomb-Rice parameter. This parameter is guaranteed to be between 35 and + * 62, inclusive. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *riceParameter; + +@end + + /** * The response returned after searching threat hashes. If nothing is found, * the server will return an OK status (HTTP status code 200) with the diff --git a/Sources/GeneratedServices/Safebrowsing/Public/GoogleAPIClientForREST/GTLRSafebrowsingQuery.h b/Sources/GeneratedServices/Safebrowsing/Public/GoogleAPIClientForREST/GTLRSafebrowsingQuery.h index bbf4a0d6b..a7825da6e 100644 --- a/Sources/GeneratedServices/Safebrowsing/Public/GoogleAPIClientForREST/GTLRSafebrowsingQuery.h +++ b/Sources/GeneratedServices/Safebrowsing/Public/GoogleAPIClientForREST/GTLRSafebrowsingQuery.h @@ -72,6 +72,178 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Get the latest contents of a hash list. A hash list may either by a threat + * list or a non-threat list such as the Global Cache. This is a standard Get + * method as defined by https://google.aip.dev/131 and the HTTP method is also + * GET. + * + * Method: safebrowsing.hashList.get + */ +@interface GTLRSafebrowsingQuery_HashListGet : GTLRSafebrowsingQuery + +/** + * Required. The name of this particular hash list. It may be a threat list, or + * it may be the Global Cache. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Sets the maximum number of entries that the client is willing to have in the + * local database for the list. (The server MAY cause the client to store less + * than this number of entries.) If omitted or zero, no database size limit is + * set. + */ +@property(nonatomic, assign) NSInteger sizeConstraintsMaxDatabaseEntries; + +/** + * The maximum size in number of entries. The update will not contain more + * entries than this value, but it is possible that the update will contain + * fewer entries than this value. This MUST be at least 1024. If omitted or + * zero, no update size limit is set. + */ +@property(nonatomic, assign) NSInteger sizeConstraintsMaxUpdateEntries; + +/** + * The version of the hash list that the client already has. If this is the + * first time the client is fetching the hash list, this field MUST be left + * empty. Otherwise, the client SHOULD supply the version previously received + * from the server. The client MUST NOT manipulate those bytes. **What's new in + * V5**: in V4 of the API, this was called `states`; it is now renamed to + * `version` for clarity. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *version; + +/** + * Fetches a @c GTLRSafebrowsing_GoogleSecuritySafebrowsingV5HashList. + * + * Get the latest contents of a hash list. A hash list may either by a threat + * list or a non-threat list such as the Global Cache. This is a standard Get + * method as defined by https://google.aip.dev/131 and the HTTP method is also + * GET. + * + * @param name Required. The name of this particular hash list. It may be a + * threat list, or it may be the Global Cache. + * + * @return GTLRSafebrowsingQuery_HashListGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get multiple hash lists at once. It is very common for a client to need to + * get multiple hash lists. Using this method is preferred over using the + * regular Get method multiple times. This is a standard batch Get method as + * defined by https://google.aip.dev/231 and the HTTP method is also GET. + * + * Method: safebrowsing.hashLists.batchGet + */ +@interface GTLRSafebrowsingQuery_HashListsBatchGet : GTLRSafebrowsingQuery + +/** + * Required. The names of the particular hash lists. The list MAY be a threat + * list, or it may be the Global Cache. The names MUST NOT contain duplicates; + * if they did, the client will get an error. + */ +@property(nonatomic, strong, nullable) NSArray *names; + +/** + * Sets the maximum number of entries that the client is willing to have in the + * local database for the list. (The server MAY cause the client to store less + * than this number of entries.) If omitted or zero, no database size limit is + * set. + */ +@property(nonatomic, assign) NSInteger sizeConstraintsMaxDatabaseEntries; + +/** + * The maximum size in number of entries. The update will not contain more + * entries than this value, but it is possible that the update will contain + * fewer entries than this value. This MUST be at least 1024. If omitted or + * zero, no update size limit is set. + */ +@property(nonatomic, assign) NSInteger sizeConstraintsMaxUpdateEntries; + +/** + * The versions of the hash list that the client already has. If this is the + * first time the client is fetching the hash lists, the field should be left + * empty. Otherwise, the client should supply the versions previously received + * from the server. The client MUST NOT manipulate those bytes. The client need + * not send the versions in the same order as the corresponding list names. The + * client may send fewer or more versions in a request than there are names. + * However the client MUST NOT send multiple versions that correspond to the + * same name; if it did, the client will get an error. Historical note: in V4 + * of the API, this was called `states`; it is now renamed to `version` for + * clarity. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, strong, nullable) NSArray *version; + +/** + * Fetches a @c + * GTLRSafebrowsing_GoogleSecuritySafebrowsingV5BatchGetHashListsResponse. + * + * Get multiple hash lists at once. It is very common for a client to need to + * get multiple hash lists. Using this method is preferred over using the + * regular Get method multiple times. This is a standard batch Get method as + * defined by https://google.aip.dev/231 and the HTTP method is also GET. + * + * @return GTLRSafebrowsingQuery_HashListsBatchGet + */ ++ (instancetype)query; + +@end + +/** + * List hash lists. In the V5 API, Google will never remove a hash list that + * has ever been returned by this method. This enables clients to skip using + * this method and simply hard-code all hash lists they need. This is a + * standard List method as defined by https://google.aip.dev/132 and the HTTP + * method is GET. + * + * Method: safebrowsing.hashLists.list + */ +@interface GTLRSafebrowsingQuery_HashListsList : GTLRSafebrowsingQuery + +/** + * The maximum number of hash lists to return. The service may return fewer + * than this value. If unspecified, the server will choose a page size, which + * may be larger than the number of hash lists so that pagination is not + * necessary. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous `ListHashLists` call. Provide this to + * retrieve the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c + * GTLRSafebrowsing_GoogleSecuritySafebrowsingV5ListHashListsResponse. + * + * List hash lists. In the V5 API, Google will never remove a hash list that + * has ever been returned by this method. This enables clients to skip using + * this method and simply hard-code all hash lists they need. This is a + * standard List method as defined by https://google.aip.dev/132 and the HTTP + * method is GET. + * + * @return GTLRSafebrowsingQuery_HashListsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)query; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/Script/GTLRScriptObjects.m b/Sources/GeneratedServices/Script/GTLRScriptObjects.m index ea0ec5a16..3fe3042d1 100644 --- a/Sources/GeneratedServices/Script/GTLRScriptObjects.m +++ b/Sources/GeneratedServices/Script/GTLRScriptObjects.m @@ -85,9 +85,6 @@ NSString * const kGTLRScript_GoogleAppsScriptTypeWebAppConfig_ExecuteAs_UserAccessing = @"USER_ACCESSING"; NSString * const kGTLRScript_GoogleAppsScriptTypeWebAppConfig_ExecuteAs_UserDeploying = @"USER_DEPLOYING"; -// GTLRScript_Value.nullValue -NSString * const kGTLRScript_Value_NullValue_NullValue = @"NULL_VALUE"; - // ---------------------------------------------------------------------------- // // GTLRScript_Content @@ -168,16 +165,6 @@ @implementation GTLRScript_EntryPoint @end -// ---------------------------------------------------------------------------- -// -// GTLRScript_ExecuteStreamResponse -// - -@implementation GTLRScript_ExecuteStreamResponse -@dynamic result; -@end - - // ---------------------------------------------------------------------------- // // GTLRScript_ExecutionError @@ -224,16 +211,6 @@ @implementation GTLRScript_ExecutionResponse @end -// ---------------------------------------------------------------------------- -// -// GTLRScript_ExecutionResult -// - -@implementation GTLRScript_ExecutionResult -@dynamic returnValue; -@end - - // ---------------------------------------------------------------------------- // // GTLRScript_File @@ -424,24 +401,6 @@ + (NSString *)collectionItemsKey { @end -// ---------------------------------------------------------------------------- -// -// GTLRScript_ListValue -// - -@implementation GTLRScript_ListValue -@dynamic values; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"values" : [GTLRScript_Value class] - }; - return map; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRScript_ListVersionsResponse @@ -571,30 +530,6 @@ + (Class)classForAdditionalProperties { @end -// ---------------------------------------------------------------------------- -// -// GTLRScript_Struct -// - -@implementation GTLRScript_Struct -@dynamic fields; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRScript_Struct_Fields -// - -@implementation GTLRScript_Struct_Fields - -+ (Class)classForAdditionalProperties { - return [GTLRScript_Value class]; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRScript_UpdateDeploymentRequest @@ -605,31 +540,6 @@ @implementation GTLRScript_UpdateDeploymentRequest @end -// ---------------------------------------------------------------------------- -// -// GTLRScript_Value -// - -@implementation GTLRScript_Value -@dynamic boolValue, bytesValue, dateValue, listValue, nullValue, numberValue, - protoValue, stringValue, structValue; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRScript_Value_ProtoValue -// - -@implementation GTLRScript_Value_ProtoValue - -+ (Class)classForAdditionalProperties { - return [NSObject class]; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRScript_Version diff --git a/Sources/GeneratedServices/Script/Public/GoogleAPIClientForREST/GTLRScriptObjects.h b/Sources/GeneratedServices/Script/Public/GoogleAPIClientForREST/GTLRScriptObjects.h index 46195b9b8..2231e6ad1 100644 --- a/Sources/GeneratedServices/Script/Public/GoogleAPIClientForREST/GTLRScriptObjects.h +++ b/Sources/GeneratedServices/Script/Public/GoogleAPIClientForREST/GTLRScriptObjects.h @@ -17,7 +17,6 @@ @class GTLRScript_Deployment; @class GTLRScript_DeploymentConfig; @class GTLRScript_EntryPoint; -@class GTLRScript_ExecutionResult; @class GTLRScript_File; @class GTLRScript_GoogleAppsScriptTypeAddOnEntryPoint; @class GTLRScript_GoogleAppsScriptTypeExecutionApiConfig; @@ -28,16 +27,11 @@ @class GTLRScript_GoogleAppsScriptTypeUser; @class GTLRScript_GoogleAppsScriptTypeWebAppConfig; @class GTLRScript_GoogleAppsScriptTypeWebAppEntryPoint; -@class GTLRScript_ListValue; @class GTLRScript_MetricsValue; @class GTLRScript_Operation_Response; @class GTLRScript_StackTraceElement; @class GTLRScript_Status; @class GTLRScript_Status_Details_Item; -@class GTLRScript_Struct; -@class GTLRScript_Struct_Fields; -@class GTLRScript_Value; -@class GTLRScript_Value_ProtoValue; @class GTLRScript_Version; // Generated comments include content from the discovery document; avoid them @@ -409,16 +403,6 @@ FOUNDATION_EXTERN NSString * const kGTLRScript_GoogleAppsScriptTypeWebAppConfig_ */ FOUNDATION_EXTERN NSString * const kGTLRScript_GoogleAppsScriptTypeWebAppConfig_ExecuteAs_UserDeploying; -// ---------------------------------------------------------------------------- -// GTLRScript_Value.nullValue - -/** - * Null value. - * - * Value: "NULL_VALUE" - */ -FOUNDATION_EXTERN NSString * const kGTLRScript_Value_NullValue_NullValue; - /** * The Content resource. */ @@ -545,18 +529,6 @@ FOUNDATION_EXTERN NSString * const kGTLRScript_Value_NullValue_NullValue; @end -/** - * The response for executing or debugging a function in an Apps Script - * project. - */ -@interface GTLRScript_ExecuteStreamResponse : GTLRObject - -/** The result of the execution. */ -@property(nonatomic, strong, nullable) GTLRScript_ExecutionResult *result; - -@end - - /** * An object that provides information about the nature of an error resulting * from an attempted execution of a script function using the Apps Script API. @@ -661,17 +633,6 @@ FOUNDATION_EXTERN NSString * const kGTLRScript_Value_NullValue_NullValue; @end -/** - * The result of an execution. - */ -@interface GTLRScript_ExecutionResult : GTLRObject - -/** The returned value of the execution. */ -@property(nonatomic, strong, nullable) GTLRScript_Value *returnValue; - -@end - - /** * An individual file within a script project. A file is a third-party source * code created by one or more developers. It can be a server-side JS code, @@ -1109,17 +1070,6 @@ FOUNDATION_EXTERN NSString * const kGTLRScript_Value_NullValue_NullValue; @end -/** - * `ListValue` is a wrapper around a repeated field of values. - */ -@interface GTLRScript_ListValue : GTLRObject - -/** Repeated field of dynamically typed values. */ -@property(nonatomic, strong, nullable) NSArray *values; - -@end - - /** * Response with the list of the versions for the specified script project. * @@ -1341,30 +1291,6 @@ FOUNDATION_EXTERN NSString * const kGTLRScript_Value_NullValue_NullValue; @end -/** - * `Struct` represents a structured data value, consisting of fields which map - * to dynamically typed values. - */ -@interface GTLRScript_Struct : GTLRObject - -/** Unordered map of dynamically typed values. */ -@property(nonatomic, strong, nullable) GTLRScript_Struct_Fields *fields; - -@end - - -/** - * Unordered map of dynamically typed values. - * - * @note This class is documented as having more properties of - * GTLRScript_Value. 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 GTLRScript_Struct_Fields : GTLRObject -@end - - /** * Request with deployment information to update an existing deployment. */ @@ -1376,77 +1302,6 @@ FOUNDATION_EXTERN NSString * const kGTLRScript_Value_NullValue_NullValue; @end -/** - * `Value` represents a dynamically typed value which is the outcome of an - * executed script. - */ -@interface GTLRScript_Value : GTLRObject - -/** - * Represents a boolean value. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *boolValue; - -/** - * Represents raw byte values. - * - * Contains encoded binary data; GTLRBase64 can encode/decode (probably - * web-safe format). - */ -@property(nonatomic, copy, nullable) NSString *bytesValue; - -/** - * Represents a date in ms since the epoch. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *dateValue; - -/** Represents a repeated `Value`. */ -@property(nonatomic, strong, nullable) GTLRScript_ListValue *listValue; - -/** - * Represents a null value. - * - * Likely values: - * @arg @c kGTLRScript_Value_NullValue_NullValue Null value. (Value: - * "NULL_VALUE") - */ -@property(nonatomic, copy, nullable) NSString *nullValue; - -/** - * Represents a double value. - * - * Uses NSNumber of doubleValue. - */ -@property(nonatomic, strong, nullable) NSNumber *numberValue; - -/** Represents a structured proto value. */ -@property(nonatomic, strong, nullable) GTLRScript_Value_ProtoValue *protoValue; - -/** Represents a string value. */ -@property(nonatomic, copy, nullable) NSString *stringValue; - -/** Represents a structured value. */ -@property(nonatomic, strong, nullable) GTLRScript_Struct *structValue; - -@end - - -/** - * Represents a structured proto value. - * - * @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 GTLRScript_Value_ProtoValue : GTLRObject -@end - - /** * A resource representing a script project version. A version is a "snapshot" * of a script project and is similar to a read-only branched release. When diff --git a/Sources/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.m b/Sources/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.m index e56d79328..a507eaa42 100644 --- a/Sources/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.m +++ b/Sources/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.m @@ -31,6 +31,12 @@ NSString * const kGTLRServiceManagement_BackendRule_PathTranslation_ConstantAddress = @"CONSTANT_ADDRESS"; NSString * const kGTLRServiceManagement_BackendRule_PathTranslation_PathTranslationUnspecified = @"PATH_TRANSLATION_UNSPECIFIED"; +// GTLRServiceManagement_BatchingSettingsProto.flowControlLimitExceededBehavior +NSString * const kGTLRServiceManagement_BatchingSettingsProto_FlowControlLimitExceededBehavior_Block = @"BLOCK"; +NSString * const kGTLRServiceManagement_BatchingSettingsProto_FlowControlLimitExceededBehavior_Ignore = @"IGNORE"; +NSString * const kGTLRServiceManagement_BatchingSettingsProto_FlowControlLimitExceededBehavior_ThrowException = @"THROW_EXCEPTION"; +NSString * const kGTLRServiceManagement_BatchingSettingsProto_FlowControlLimitExceededBehavior_UnsetBehavior = @"UNSET_BEHAVIOR"; + // GTLRServiceManagement_ClientLibrarySettings.launchStage NSString * const kGTLRServiceManagement_ClientLibrarySettings_LaunchStage_Alpha = @"ALPHA"; NSString * const kGTLRServiceManagement_ClientLibrarySettings_LaunchStage_Beta = @"BETA"; @@ -404,6 +410,47 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRServiceManagement_BatchingConfigProto +// + +@implementation GTLRServiceManagement_BatchingConfigProto +@dynamic batchDescriptor, thresholds; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRServiceManagement_BatchingDescriptorProto +// + +@implementation GTLRServiceManagement_BatchingDescriptorProto +@dynamic batchedField, discriminatorFields, subresponseField; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"discriminatorFields" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRServiceManagement_BatchingSettingsProto +// + +@implementation GTLRServiceManagement_BatchingSettingsProto +@dynamic delayThreshold, elementCountLimit, elementCountThreshold, + flowControlByteLimit, flowControlElementLimit, + flowControlLimitExceededBehavior, requestByteLimit, + requestByteThreshold; +@end + + // ---------------------------------------------------------------------------- // // GTLRServiceManagement_Billing @@ -1332,7 +1379,7 @@ @implementation GTLRServiceManagement_MethodPolicy // @implementation GTLRServiceManagement_MethodSettings -@dynamic autoPopulatedFields, longRunning, selector; +@dynamic autoPopulatedFields, batching, longRunning, selector; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/ServiceManagement/Public/GoogleAPIClientForREST/GTLRServiceManagementObjects.h b/Sources/GeneratedServices/ServiceManagement/Public/GoogleAPIClientForREST/GTLRServiceManagementObjects.h index 48855a426..a7bfe2377 100644 --- a/Sources/GeneratedServices/ServiceManagement/Public/GoogleAPIClientForREST/GTLRServiceManagementObjects.h +++ b/Sources/GeneratedServices/ServiceManagement/Public/GoogleAPIClientForREST/GTLRServiceManagementObjects.h @@ -29,6 +29,9 @@ @class GTLRServiceManagement_Backend; @class GTLRServiceManagement_BackendRule; @class GTLRServiceManagement_BackendRule_OverridesByRequestProtocol; +@class GTLRServiceManagement_BatchingConfigProto; +@class GTLRServiceManagement_BatchingDescriptorProto; +@class GTLRServiceManagement_BatchingSettingsProto; @class GTLRServiceManagement_Billing; @class GTLRServiceManagement_BillingDestination; @class GTLRServiceManagement_Binding; @@ -216,6 +219,34 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceManagement_BackendRule_PathTransl /** Value: "PATH_TRANSLATION_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRServiceManagement_BackendRule_PathTranslation_PathTranslationUnspecified; +// ---------------------------------------------------------------------------- +// GTLRServiceManagement_BatchingSettingsProto.flowControlLimitExceededBehavior + +/** + * Pause operation until limit clears. + * + * Value: "BLOCK" + */ +FOUNDATION_EXTERN NSString * const kGTLRServiceManagement_BatchingSettingsProto_FlowControlLimitExceededBehavior_Block; +/** + * Continue operation, disregard limit. + * + * Value: "IGNORE" + */ +FOUNDATION_EXTERN NSString * const kGTLRServiceManagement_BatchingSettingsProto_FlowControlLimitExceededBehavior_Ignore; +/** + * Stop operation, raise error. + * + * Value: "THROW_EXCEPTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRServiceManagement_BatchingSettingsProto_FlowControlLimitExceededBehavior_ThrowException; +/** + * Default behavior, system-defined. + * + * Value: "UNSET_BEHAVIOR" + */ +FOUNDATION_EXTERN NSString * const kGTLRServiceManagement_BatchingSettingsProto_FlowControlLimitExceededBehavior_UnsetBehavior; + // ---------------------------------------------------------------------------- // GTLRServiceManagement_ClientLibrarySettings.launchStage @@ -1589,6 +1620,125 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceManagement_Type_Syntax_SyntaxProt @end +/** + * `BatchingConfigProto` defines the batching configuration for an API method. + */ +@interface GTLRServiceManagement_BatchingConfigProto : GTLRObject + +/** The request and response fields used in batching. */ +@property(nonatomic, strong, nullable) GTLRServiceManagement_BatchingDescriptorProto *batchDescriptor; + +/** The thresholds which trigger a batched request to be sent. */ +@property(nonatomic, strong, nullable) GTLRServiceManagement_BatchingSettingsProto *thresholds; + +@end + + +/** + * `BatchingDescriptorProto` specifies the fields of the request message to be + * used for batching, and, optionally, the fields of the response message to be + * used for demultiplexing. + */ +@interface GTLRServiceManagement_BatchingDescriptorProto : GTLRObject + +/** The repeated field in the request message to be aggregated by batching. */ +@property(nonatomic, copy, nullable) NSString *batchedField; + +/** + * A list of the fields in the request message. Two requests will be batched + * together only if the values of every field specified in + * `request_discriminator_fields` is equal between the two requests. + */ +@property(nonatomic, strong, nullable) NSArray *discriminatorFields; + +/** + * Optional. When present, indicates the field in the response message to be + * used to demultiplex the response into multiple response messages, in + * correspondence with the multiple request messages originally batched + * together. + */ +@property(nonatomic, copy, nullable) NSString *subresponseField; + +@end + + +/** + * `BatchingSettingsProto` specifies a set of batching thresholds, each of + * which acts as a trigger to send a batch of messages as a request. At least + * one threshold must be positive nonzero. + */ +@interface GTLRServiceManagement_BatchingSettingsProto : GTLRObject + +/** + * The duration after which a batch should be sent, starting from the addition + * of the first message to that batch. + */ +@property(nonatomic, strong, nullable) GTLRDuration *delayThreshold; + +/** + * The maximum number of elements collected in a batch that could be accepted + * by server. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *elementCountLimit; + +/** + * The number of elements of a field collected into a batch which, if exceeded, + * causes the batch to be sent. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *elementCountThreshold; + +/** + * The maximum size of data allowed by flow control. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *flowControlByteLimit; + +/** + * The maximum number of elements allowed by flow control. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *flowControlElementLimit; + +/** + * The behavior to take when the flow control limit is exceeded. + * + * Likely values: + * @arg @c kGTLRServiceManagement_BatchingSettingsProto_FlowControlLimitExceededBehavior_Block + * Pause operation until limit clears. (Value: "BLOCK") + * @arg @c kGTLRServiceManagement_BatchingSettingsProto_FlowControlLimitExceededBehavior_Ignore + * Continue operation, disregard limit. (Value: "IGNORE") + * @arg @c kGTLRServiceManagement_BatchingSettingsProto_FlowControlLimitExceededBehavior_ThrowException + * Stop operation, raise error. (Value: "THROW_EXCEPTION") + * @arg @c kGTLRServiceManagement_BatchingSettingsProto_FlowControlLimitExceededBehavior_UnsetBehavior + * Default behavior, system-defined. (Value: "UNSET_BEHAVIOR") + */ +@property(nonatomic, copy, nullable) NSString *flowControlLimitExceededBehavior; + +/** + * The maximum size of the request that could be accepted by server. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requestByteLimit; + +/** + * The aggregated size of the batched field which, if exceeded, causes the + * batch to be sent. This size is computed by aggregating the sizes of the + * request field to be batched, not of the entire request message. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requestByteThreshold; + +@end + + /** * Billing related configuration of the service. The following example shows * how to configure monitored resources and metrics for billing, @@ -3570,6 +3720,15 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceManagement_Type_Syntax_SyntaxProt */ @property(nonatomic, strong, nullable) NSArray *autoPopulatedFields; +/** + * Batching configuration for an API method in client libraries. Example of a + * YAML configuration: publishing: method_settings: - selector: + * google.example.v1.ExampleService.BatchCreateExample batching: + * element_count_threshold: 1000 request_byte_threshold: 100000000 + * delay_threshold_millis: 10 + */ +@property(nonatomic, strong, nullable) GTLRServiceManagement_BatchingConfigProto *batching; + /** * Describes settings to use for long-running operations when generating API * methods for RPCs. Complements RPCs that use the annotations in diff --git a/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingQuery.h b/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingQuery.h index f490e15e6..8bbb69494 100644 --- a/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingQuery.h +++ b/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingQuery.h @@ -348,9 +348,9 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRServiceNetworkingQuery_ServicesConnectionsList : GTLRServiceNetworkingQuery /** - * The name of service consumer's VPC network that's connected with service - * producer network through a private connection. The network name must be in - * the following format: `projects/{project}/global/networks/{network}`. + * Required. The name of service consumer's VPC network that's connected with + * service producer network through a private connection. The network name must + * be in the following format: `projects/{project}/global/networks/{network}`. * {project} is a project number, such as in `12345` that includes the VPC * service consumer's VPC network. {network} is the name of the service * consumer's VPC network. @@ -358,11 +358,11 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *network; /** - * The service that is managing peering connectivity for a service producer's - * organization. For Google services that support this functionality, this - * value is `services/servicenetworking.googleapis.com`. If you specify - * `services/-` as the parameter value, all configured peering services are - * listed. + * Required. The service that is managing peering connectivity for a service + * producer's organization. For Google services that support this + * functionality, this value is `services/servicenetworking.googleapis.com`. If + * you specify `services/-` as the parameter value, all configured peering + * services are listed. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -372,11 +372,11 @@ NS_ASSUME_NONNULL_BEGIN * List the private connections that are configured in a service consumer's VPC * network. * - * @param parent The service that is managing peering connectivity for a - * service producer's organization. For Google services that support this - * functionality, this value is `services/servicenetworking.googleapis.com`. - * If you specify `services/-` as the parameter value, all configured peering - * services are listed. + * @param parent Required. The service that is managing peering connectivity + * for a service producer's organization. For Google services that support + * this functionality, this value is + * `services/servicenetworking.googleapis.com`. If you specify `services/-` + * as the parameter value, all configured peering services are listed. * * @return GTLRServiceNetworkingQuery_ServicesConnectionsList */ diff --git a/Sources/GeneratedServices/Spanner/GTLRSpannerObjects.m b/Sources/GeneratedServices/Spanner/GTLRSpannerObjects.m index 641478da0..1dabe9e92 100644 --- a/Sources/GeneratedServices/Spanner/GTLRSpannerObjects.m +++ b/Sources/GeneratedServices/Spanner/GTLRSpannerObjects.m @@ -818,6 +818,16 @@ @implementation GTLRSpanner_Database @end +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_DatabaseMoveConfig +// + +@implementation GTLRSpanner_DatabaseMoveConfig +@dynamic databaseId, encryptionConfig; +@end + + // ---------------------------------------------------------------------------- // // GTLRSpanner_DatabaseRole @@ -1277,6 +1287,24 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_InstanceEncryptionConfig +// + +@implementation GTLRSpanner_InstanceEncryptionConfig +@dynamic kmsKeyName, kmsKeyNames; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"kmsKeyNames" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSpanner_InstanceOperationProgress @@ -1833,7 +1861,15 @@ @implementation GTLRSpanner_MetricMatrixRow // @implementation GTLRSpanner_MoveInstanceRequest -@dynamic targetConfig; +@dynamic targetConfig, targetDatabaseMoveConfigs; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"targetDatabaseMoveConfigs" : [GTLRSpanner_DatabaseMoveConfig class] + }; + return map; +} + @end diff --git a/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h b/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h index 14d570281..c36b315e8 100644 --- a/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h +++ b/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h @@ -36,6 +36,7 @@ @class GTLRSpanner_CreateBackupEncryptionConfig; @class GTLRSpanner_CrontabSpec; @class GTLRSpanner_Database; +@class GTLRSpanner_DatabaseMoveConfig; @class GTLRSpanner_DatabaseRole; @class GTLRSpanner_DdlStatementActionInfo; @class GTLRSpanner_Delete; @@ -64,6 +65,7 @@ @class GTLRSpanner_Instance_Labels; @class GTLRSpanner_InstanceConfig; @class GTLRSpanner_InstanceConfig_Labels; +@class GTLRSpanner_InstanceEncryptionConfig; @class GTLRSpanner_InstanceOperationProgress; @class GTLRSpanner_InstancePartition; @class GTLRSpanner_InstanceReplicaSelection; @@ -1099,7 +1101,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_RestoreInfo_SourceType_TypeUnspe FOUNDATION_EXTERN NSString * const kGTLRSpanner_TransactionOptions_IsolationLevel_IsolationLevelUnspecified; /** * All reads performed during the transaction observe a consistent snapshot of - * the database, and the transaction will only successfully commit in the + * the database, and the transaction is only successfully committed in the * absence of conflicts between its updates and any concurrent updates that * have occurred since that snapshot. Consequently, in contrast to * `SERIALIZABLE` transactions, only write-write conflicts are detected in @@ -1408,8 +1410,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni /** * Optional. A user-supplied tag associated with the split points. For example, * "initial_data_load", "special_event_1". Defaults to "CloudAddSplitPointsAPI" - * if not specified. The length of the tag must not exceed 50 characters,else - * will be trimmed. Only valid UTF8 characters are allowed. + * if not specified. The length of the tag must not exceed 50 characters, or + * else it is trimmed. Only valid UTF8 characters are allowed. */ @property(nonatomic, copy, nullable) NSString *initiator; @@ -2908,6 +2910,34 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni @end +/** + * The configuration for each database in the target instance configuration. + */ +@interface GTLRSpanner_DatabaseMoveConfig : GTLRObject + +/** + * Required. The unique identifier of the database resource in the Instance. + * For example if the database uri is projects/foo/instances/bar/databases/baz, + * the id to supply here is baz. + */ +@property(nonatomic, copy, nullable) NSString *databaseId; + +/** + * Optional. Encryption configuration to be used for the database in target + * configuration. Should be specified for every database which currently uses + * CMEK encryption. If a database currently uses GOOGLE_MANAGED encryption and + * a target encryption config is not specified, it defaults to GOOGLE_MANAGED. + * If a database currently uses Google-managed encryption and a target + * encryption config is specified, the request is rejected. If a database + * currently uses CMEK encryption, a target encryption config must be + * specified. You cannot move a CMEK database to a Google-managed encryption + * database by MoveInstance. + */ +@property(nonatomic, strong, nullable) GTLRSpanner_InstanceEncryptionConfig *encryptionConfig; + +@end + + /** * A Cloud Spanner database role. */ @@ -4142,6 +4172,43 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni @end +/** + * Encryption configuration for a Cloud Spanner database. + */ +@interface GTLRSpanner_InstanceEncryptionConfig : GTLRObject + +/** + * Optional. This field is maintained for backwards compatibility. For new + * callers, we recommend using `kms_key_names` to specify the KMS key. + * `kms_key_name` should only be used if the location of the KMS key matches + * the database instance’s configuration (location) exactly. E.g. The KMS + * location is in us-central1 or nam3 and the database instance is also in + * us-central1 or nam3. The Cloud KMS key to be used for encrypting and + * decrypting the database. Values are of the form + * `projects//locations//keyRings//cryptoKeys/`. + */ +@property(nonatomic, copy, nullable) NSString *kmsKeyName; + +/** + * Optional. Specifies the KMS configuration for one or more keys used to + * encrypt the database. Values are of the form + * `projects//locations//keyRings//cryptoKeys/`. The keys referenced by + * `kms_key_names` must fully cover all regions of the database's instance + * configuration. Some examples: * For regional (single-region) instance + * configurations, specify a regional location KMS key. * For multi-region + * instance configurations of type `GOOGLE_MANAGED`, either specify a + * multi-region location KMS key or multiple regional location KMS keys that + * cover all regions in the instance configuration. * For an instance + * configuration of type `USER_MANAGED`, specify only regional location KMS + * keys to cover each region in the instance configuration. Multi-region + * location KMS keys aren't supported for `USER_MANAGED` type instance + * configurations. + */ +@property(nonatomic, strong, nullable) NSArray *kmsKeyNames; + +@end + + /** * Encapsulates progress related information for a Cloud Spanner long running * instance operations. @@ -5079,6 +5146,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni */ @property(nonatomic, copy, nullable) NSString *targetConfig; +/** + * Optional. The configuration for each database in the target instance + * configuration. + */ +@property(nonatomic, strong, nullable) NSArray *targetDatabaseMoveConfigs; + @end @@ -5986,8 +6059,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni /** * Executes all reads at the given timestamp. Unlike other modes, reads at a * specific timestamp are repeatable; the same read at the same timestamp - * always returns the same data. If the timestamp is in the future, the read - * will block until the specified timestamp, modulo the read's deadline. Useful + * always returns the same data. If the timestamp is in the future, the read is + * blocked until the specified timestamp, modulo the read's deadline. Useful * for large scale consistent reads such as mapreduces, or for coordinating * many reads against a consistent snapshot of the data. A timestamp in RFC3339 * UTC \\"Zulu\\" format, accurate to nanoseconds. Example: @@ -6874,7 +6947,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni /** - * The split points of a table/index. + * The split points of a table or an index. */ @interface GTLRSpanner_SplitPoints : GTLRObject @@ -6891,7 +6964,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni */ @property(nonatomic, copy, nullable) NSString *index; -/** Required. The list of split keys, i.e., the split boundaries. */ +/** Required. The list of split keys. In essence, the split boundaries. */ @property(nonatomic, strong, nullable) NSArray *keys; /** The table to split. */ @@ -7074,11 +7147,11 @@ 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. + * A precommit token is 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; @@ -7108,33 +7181,32 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni * read-only transactions provide guaranteed consistency across several reads, * but do not allow writes. Snapshot read-only transactions can be configured * to read at timestamps in the past, or configured to perform a strong read - * (where Spanner will select a timestamp such that the read is guaranteed to - * see the effects of all transactions that have committed before the start of - * the read). Snapshot read-only transactions do not need to be committed. - * Queries on change streams must be performed with the snapshot read-only - * transaction mode, specifying a strong read. See - * TransactionOptions.ReadOnly.strong for more details. 3. Partitioned DML. - * This type of transaction is used to execute a single Partitioned DML - * statement. Partitioned DML partitions the key space and runs the DML - * statement over each partition in parallel using separate, internal - * transactions that commit independently. Partitioned DML transactions do not - * need to be committed. For transactions that only read, snapshot read-only - * transactions provide simpler semantics and are almost always faster. In - * particular, read-only transactions do not take locks, so they do not - * conflict with read-write transactions. As a consequence of not taking locks, - * they also do not abort, so retry loops are not needed. Transactions may only - * read-write data in a single database. They may, however, read-write data in - * different tables within that database. Locking read-write transactions: - * Locking transactions may be used to atomically read-modify-write data - * anywhere in a database. This type of transaction is externally consistent. - * Clients should attempt to minimize the amount of time a transaction is - * active. Faster transactions commit with higher probability and cause less - * contention. Cloud Spanner attempts to keep read locks active as long as the - * transaction continues to do reads, and the transaction has not been - * terminated by Commit or Rollback. Long periods of inactivity at the client - * may cause Cloud Spanner to release a transaction's locks and abort it. - * Conceptually, a read-write transaction consists of zero or more reads or SQL - * statements followed by Commit. At any time before Commit, the client can + * (where Spanner selects a timestamp such that the read is guaranteed to see + * the effects of all transactions that have committed before the start of the + * read). Snapshot read-only transactions do not need to be committed. Queries + * on change streams must be performed with the snapshot read-only transaction + * mode, specifying a strong read. See TransactionOptions.ReadOnly.strong for + * more details. 3. Partitioned DML. This type of transaction is used to + * execute a single Partitioned DML statement. Partitioned DML partitions the + * key space and runs the DML statement over each partition in parallel using + * separate, internal transactions that commit independently. Partitioned DML + * transactions do not need to be committed. For transactions that only read, + * snapshot read-only transactions provide simpler semantics and are almost + * always faster. In particular, read-only transactions do not take locks, so + * they do not conflict with read-write transactions. As a consequence of not + * taking locks, they also do not abort, so retry loops are not needed. + * Transactions may only read-write data in a single database. They may, + * however, read-write data in different tables within that database. Locking + * read-write transactions: Locking transactions may be used to atomically + * read-modify-write data anywhere in a database. This type of transaction is + * externally consistent. Clients should attempt to minimize the amount of time + * a transaction is active. Faster transactions commit with higher probability + * and cause less contention. Cloud Spanner attempts to keep read locks active + * as long as the transaction continues to do reads, and the transaction has + * not been terminated by Commit or Rollback. Long periods of inactivity at the + * client may cause Cloud Spanner to release a transaction's locks and abort + * it. Conceptually, a read-write transaction consists of zero or more reads or + * SQL statements followed by Commit. At any time before Commit, the client can * send a Rollback request to abort the transaction. Semantics: Cloud Spanner * can commit the transaction if all read locks it acquired are still valid at * commit time, and it is able to acquire write locks for all writes. Cloud @@ -7163,50 +7235,50 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni * transaction is considered idle if it has no outstanding reads or SQL queries * and has not started a read or SQL query within the last 10 seconds. Idle * transactions can be aborted by Cloud Spanner so that they don't hold on to - * locks indefinitely. If an idle transaction is aborted, the commit will fail - * with error `ABORTED`. If this behavior is undesirable, periodically - * executing a simple SQL query in the transaction (for example, `SELECT 1`) - * prevents the transaction from becoming idle. Snapshot read-only - * transactions: Snapshot read-only transactions provides a simpler method than - * locking read-write transactions for doing several consistent reads. However, - * this type of transaction does not support writes. Snapshot transactions do - * not take locks. Instead, they work by choosing a Cloud Spanner timestamp, - * then executing all reads at that timestamp. Since they do not acquire locks, - * they do not block concurrent read-write transactions. Unlike locking - * read-write transactions, snapshot read-only transactions never abort. They - * can fail if the chosen read timestamp is garbage collected; however, the - * default garbage collection policy is generous enough that most applications - * do not need to worry about this in practice. Snapshot read-only transactions - * do not need to call Commit or Rollback (and in fact are not permitted to do - * so). To execute a snapshot transaction, the client specifies a timestamp - * bound, which tells Cloud Spanner how to choose a read timestamp. The types - * of timestamp bound are: - Strong (the default). - Bounded staleness. - Exact - * staleness. If the Cloud Spanner database to be read is geographically - * distributed, stale read-only transactions can execute more quickly than - * strong or read-write transactions, because they are able to execute far from - * the leader replica. Each type of timestamp bound is discussed in detail - * below. Strong: Strong reads are guaranteed to see the effects of all - * transactions that have committed before the start of the read. Furthermore, - * all rows yielded by a single read are consistent with each other -- if any - * part of the read observes a transaction, all parts of the read see the - * transaction. Strong reads are not repeatable: two consecutive strong - * read-only transactions might return inconsistent results if there are - * concurrent writes. If consistency across reads is required, the reads should - * be executed within a transaction or at an exact read timestamp. Queries on - * change streams (see below for more details) must also specify the strong - * read timestamp bound. See TransactionOptions.ReadOnly.strong. Exact - * staleness: These timestamp bounds execute reads at a user-specified - * timestamp. Reads at a timestamp are guaranteed to see a consistent prefix of - * the global transaction history: they observe modifications done by all - * transactions with a commit timestamp less than or equal to the read - * timestamp, and observe none of the modifications done by transactions with a - * larger commit timestamp. They will block until all conflicting transactions - * that may be assigned commit timestamps <= the read timestamp have finished. - * The timestamp can either be expressed as an absolute Cloud Spanner commit - * timestamp or a staleness relative to the current time. These modes do not - * require a "negotiation phase" to pick a timestamp. As a result, they execute - * slightly faster than the equivalent boundedly stale concurrency modes. On - * the other hand, boundedly stale reads usually return fresher results. See + * locks indefinitely. If an idle transaction is aborted, the commit fails with + * error `ABORTED`. If this behavior is undesirable, periodically executing a + * simple SQL query in the transaction (for example, `SELECT 1`) prevents the + * transaction from becoming idle. Snapshot read-only transactions: Snapshot + * read-only transactions provides a simpler method than locking read-write + * transactions for doing several consistent reads. However, this type of + * transaction does not support writes. Snapshot transactions do not take + * locks. Instead, they work by choosing a Cloud Spanner timestamp, then + * executing all reads at that timestamp. Since they do not acquire locks, they + * do not block concurrent read-write transactions. Unlike locking read-write + * transactions, snapshot read-only transactions never abort. They can fail if + * the chosen read timestamp is garbage collected; however, the default garbage + * collection policy is generous enough that most applications do not need to + * worry about this in practice. Snapshot read-only transactions do not need to + * call Commit or Rollback (and in fact are not permitted to do so). To execute + * a snapshot transaction, the client specifies a timestamp bound, which tells + * Cloud Spanner how to choose a read timestamp. The types of timestamp bound + * are: - Strong (the default). - Bounded staleness. - Exact staleness. If the + * Cloud Spanner database to be read is geographically distributed, stale + * read-only transactions can execute more quickly than strong or read-write + * transactions, because they are able to execute far from the leader replica. + * Each type of timestamp bound is discussed in detail below. Strong: Strong + * reads are guaranteed to see the effects of all transactions that have + * committed before the start of the read. Furthermore, all rows yielded by a + * single read are consistent with each other -- if any part of the read + * observes a transaction, all parts of the read see the transaction. Strong + * reads are not repeatable: two consecutive strong read-only transactions + * might return inconsistent results if there are concurrent writes. If + * consistency across reads is required, the reads should be executed within a + * transaction or at an exact read timestamp. Queries on change streams (see + * below for more details) must also specify the strong read timestamp bound. + * See TransactionOptions.ReadOnly.strong. Exact staleness: These timestamp + * bounds execute reads at a user-specified timestamp. Reads at a timestamp are + * guaranteed to see a consistent prefix of the global transaction history: + * they observe modifications done by all transactions with a commit timestamp + * less than or equal to the read timestamp, and observe none of the + * modifications done by transactions with a larger commit timestamp. They + * block until all conflicting transactions that can be assigned commit + * timestamps <= the read timestamp have finished. The timestamp can either be + * expressed as an absolute Cloud Spanner commit timestamp or a staleness + * relative to the current time. These modes do not require a "negotiation + * phase" to pick a timestamp. As a result, they execute slightly faster than + * the equivalent boundedly stale concurrency modes. On the other hand, + * boundedly stale reads usually return fresher results. See * TransactionOptions.ReadOnly.read_timestamp and * TransactionOptions.ReadOnly.exact_staleness. Bounded staleness: Bounded * staleness modes allow Cloud Spanner to pick the read timestamp, subject to a @@ -7224,17 +7296,17 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni * comparable exact staleness reads. However, they are typically able to return * fresher results, and are more likely to execute at the closest replica. * Because the timestamp negotiation requires up-front knowledge of which rows - * will be read, it can only be used with single-use read-only transactions. - * See TransactionOptions.ReadOnly.max_staleness and + * are read, it can only be used with single-use read-only transactions. See + * TransactionOptions.ReadOnly.max_staleness and * TransactionOptions.ReadOnly.min_read_timestamp. Old read timestamps and * garbage collection: Cloud Spanner continuously garbage collects deleted and * overwritten data in the background to reclaim storage space. This process is * known as "version GC". By default, version GC reclaims versions after they - * are one hour old. Because of this, Cloud Spanner cannot perform reads at - * read timestamps more than one hour in the past. This restriction also - * applies to in-progress reads and/or SQL queries whose timestamp become too - * old while executing. Reads and SQL queries with too-old read timestamps fail - * with the error `FAILED_PRECONDITION`. You can configure and extend the + * are one hour old. Because of this, Cloud Spanner can't perform reads at read + * timestamps more than one hour in the past. This restriction also applies to + * in-progress reads and/or SQL queries whose timestamp become too old while + * executing. Reads and SQL queries with too-old read timestamps fail with the + * error `FAILED_PRECONDITION`. You can configure and extend the * `VERSION_RETENTION_PERIOD` of a database up to a period as long as one week, * which allows Cloud Spanner to perform reads up to one week in the past. * Querying change Streams: A Change Stream is a schema object that can be @@ -7251,11 +7323,11 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni * retention period is accessible using the strong read-only timestamp_bound. * All other TransactionOptions are invalid for change stream queries. In * addition, if TransactionOptions.read_only.return_read_timestamp is set to - * true, a special value of 2^63 - 2 will be returned in the Transaction - * message that describes the transaction, instead of a valid read timestamp. - * This special value should be discarded and not used for any subsequent - * queries. Please see https://cloud.google.com/spanner/docs/change-streams for - * more details on how to query the change stream TVFs. Partitioned DML + * true, a special value of 2^63 - 2 is returned in the Transaction message + * that describes the transaction, instead of a valid read timestamp. This + * special value should be discarded and not used for any subsequent queries. + * Please see https://cloud.google.com/spanner/docs/change-streams for more + * details on how to query the change stream TVFs. Partitioned DML * transactions: Partitioned DML transactions are used to execute DML * statements with a different execution strategy that provides different, and * often better, scalability properties for large, table-wide operations than @@ -7287,7 +7359,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni * Partitioned DML transactions may only contain the execution of a single DML * statement via ExecuteSql or ExecuteStreamingSql. - If any error is * encountered during the execution of the partitioned DML operation (for - * instance, a UNIQUE INDEX violation, division by zero, or a value that cannot + * instance, a UNIQUE INDEX violation, division by zero, or a value that can't * be stored due to schema constraints), then the operation is stopped at that * point and an error is returned. It is possible that at this point, some * partitions have been committed (or even committed multiple times), and other @@ -7298,17 +7370,17 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni @interface GTLRSpanner_TransactionOptions : GTLRObject /** - * When `exclude_txn_from_change_streams` is set to `true`: * Modifications - * from this transaction will not be recorded in change streams with DDL option - * `allow_txn_exclusion=true` that are tracking columns modified by these - * transactions. * Modifications from this transaction will be recorded in - * change streams with DDL option `allow_txn_exclusion=false or not set` that - * are tracking columns modified by these transactions. When + * When `exclude_txn_from_change_streams` is set to `true`, it prevents read or + * write transactions from being tracked in change streams. * If the DDL option + * `allow_txn_exclusion` is set to `true`, then the updates made within this + * transaction aren't recorded in the change stream. * If you don't set the DDL + * option `allow_txn_exclusion` or if it's set to `false`, then the updates + * made within this transaction are recorded in the change stream. When * `exclude_txn_from_change_streams` is set to `false` or not set, - * Modifications from this transaction will be recorded in all change streams - * that are tracking columns modified by these transactions. - * `exclude_txn_from_change_streams` may only be specified for read-write or - * partitioned-dml transactions, otherwise the API will return an + * modifications from this transaction are recorded in all change streams that + * are tracking columns modified by these transactions. The + * `exclude_txn_from_change_streams` option can only be specified for + * read-write or partitioned DML transactions, otherwise the API returns an * `INVALID_ARGUMENT` error. * * Uses NSNumber of boolValue. @@ -7324,7 +7396,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni * isolation level is used. (Value: "ISOLATION_LEVEL_UNSPECIFIED") * @arg @c kGTLRSpanner_TransactionOptions_IsolationLevel_RepeatableRead All * reads performed during the transaction observe a consistent snapshot - * of the database, and the transaction will only successfully commit in + * of the database, and the transaction is only successfully committed in * the absence of conflicts between its updates and any concurrent * updates that have occurred since that snapshot. Consequently, in * contrast to `SERIALIZABLE` transactions, only write-write conflicts @@ -7353,7 +7425,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni @property(nonatomic, strong, nullable) GTLRSpanner_PartitionedDml *partitionedDml; /** - * Transaction will not write. Authorization to begin a read-only transaction + * Transaction does not write. Authorization to begin a read-only transaction * requires `spanner.databases.beginReadOnlyTransaction` permission on the * `session` resource. */ diff --git a/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerQuery.h b/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerQuery.h index cd48427de..c2a325ffc 100644 --- a/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerQuery.h +++ b/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerQuery.h @@ -1671,7 +1671,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSpannerViewViewUnspecified; @end /** - * Adds split points to specified tables, indexes of a database. + * Adds split points to specified tables and indexes of a database. * * Method: spanner.projects.instances.databases.addSplitPoints * @@ -1682,20 +1682,21 @@ FOUNDATION_EXTERN NSString * const kGTLRSpannerViewViewUnspecified; @interface GTLRSpannerQuery_ProjectsInstancesDatabasesAddSplitPoints : GTLRSpannerQuery /** - * Required. The database on whose tables/indexes split points are to be added. - * Values are of the form `projects//instances//databases/`. + * Required. The database on whose tables or indexes the split points are to be + * added. Values are of the form `projects//instances//databases/`. */ @property(nonatomic, copy, nullable) NSString *database; /** * Fetches a @c GTLRSpanner_AddSplitPointsResponse. * - * Adds split points to specified tables, indexes of a database. + * Adds split points to specified tables and indexes of a database. * * @param object The @c GTLRSpanner_AddSplitPointsRequest to include in the * query. - * @param database Required. The database on whose tables/indexes split points - * are to be added. Values are of the form `projects//instances//databases/`. + * @param database Required. The database on whose tables or indexes the split + * points are to be added. Values are of the form + * `projects//instances//databases/`. * * @return GTLRSpannerQuery_ProjectsInstancesDatabasesAddSplitPoints */ diff --git a/Sources/GeneratedServices/Storage/GTLRStorageObjects.m b/Sources/GeneratedServices/Storage/GTLRStorageObjects.m index 5f6db3efe..9440601f5 100644 --- a/Sources/GeneratedServices/Storage/GTLRStorageObjects.m +++ b/Sources/GeneratedServices/Storage/GTLRStorageObjects.m @@ -188,7 +188,7 @@ @implementation GTLRStorage_Bucket_IamConfiguration // @implementation GTLRStorage_Bucket_IpFilter -@dynamic mode, publicNetworkSource, vpcNetworkSources; +@dynamic allowCrossOrgVpcs, mode, publicNetworkSource, vpcNetworkSources; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h b/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h index c649066b1..34acacc9c 100644 --- a/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h +++ b/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h @@ -557,6 +557,13 @@ NS_ASSUME_NONNULL_BEGIN */ @interface GTLRStorage_Bucket_IpFilter : GTLRObject +/** + * Whether to allow cross-org VPCs in the bucket's IP filter configuration. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowCrossOrgVpcs; + /** The mode of the IP filter. Valid values are 'Enabled' and 'Disabled'. */ @property(nonatomic, copy, nullable) NSString *mode; diff --git a/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h b/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h index ec9b7a5ea..c38e47993 100644 --- a/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h +++ b/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h @@ -1291,26 +1291,24 @@ FOUNDATION_EXTERN NSString * const kGTLRStorageTransfer_TransferOptions_Overwrit /** - * Identities of a user registered Azure application that enables identity - * federation to trust tokens issued by the user's Google service account. For - * more information about Azure application and identity federation, see - * [Register an application with the Microsoft identity platform] - * (https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app) - * Azure RBAC roles then need be assigned to the Azure application to authorize - * access to the user's Azure data source. For more information about Azure - * RBAC roles for blobs, see [Manage Access Rights with RBAC] - * (https://learn.microsoft.com/en-us/rest/api/storageservices/authorize-with-azure-active-directory#manage-access-rights-with-rbac) + * The identity of an Azure application through which Storage Transfer Service + * can authenticate requests using Azure workload identity federation. Storage + * Transfer Service can issue requests to Azure Storage through registered + * Azure applications, eliminating the need to pass credentials to Storage + * Transfer Service directly. To configure federated identity, see [Configure + * access to Microsoft Azure + * Storage](https://cloud.google.com/storage-transfer/docs/source-microsoft-azure#option_3_authenticate_using_federated_identity). */ @interface GTLRStorageTransfer_FederatedIdentityConfig : GTLRObject /** - * Required. Client (application) ID of the application with federated + * Required. The client (application) ID of the application with federated * credentials. */ @property(nonatomic, copy, nullable) NSString *clientId; /** - * Required. Tenant (directory) ID of the application with federated + * Required. The tenant (directory) ID of the application with federated * credentials. */ @property(nonatomic, copy, nullable) NSString *tenantId; @@ -2461,16 +2459,16 @@ FOUNDATION_EXTERN NSString * const kGTLRStorageTransfer_TransferOptions_Overwrit @property(nonatomic, strong, nullable) GTLRStorageTransfer_Schedule *schedule; /** - * Optional. The service account to be used to access resources in the consumer - * project in the transfer job. We accept `email` or `uniqueId` for the service - * account. Service account format is - * projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID} See - * https://cloud.google.com/iam/docs/reference/credentials/rest/v1/projects.serviceAccounts/generateAccessToken#path-parameters - * for details. Caller requires the following IAM permission on the specified - * service account: `iam.serviceAccounts.actAs`. - * project-PROJECT_NUMBER\@storage-transfer-service.iam.gserviceaccount.com - * requires the following IAM permission on the specified service account: - * `iam.serviceAccounts.getAccessToken` + * Optional. The user-managed service account to which to delegate service + * agent permissions. You can grant Cloud Storage bucket permissions to this + * service account instead of to the Transfer Service service agent. Format is + * `projects/-/serviceAccounts/ACCOUNT_EMAIL_OR_UNIQUEID` Either the service + * account email (`SERVICE_ACCOUNT_NAME\@PROJECT_ID.iam.gserviceaccount.com`) + * or the unique ID (`123456789012345678901`) are accepted in the string. The + * `-` wildcard character is required; replacing it with a project ID is + * invalid. See + * https://cloud.google.com//storage-transfer/docs/delegate-service-agent-permissions + * for required permissions. */ @property(nonatomic, copy, nullable) NSString *serviceAccount; diff --git a/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorServiceObjects.h b/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorServiceObjects.h index 99c0b43a3..fa5212877 100644 --- a/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorServiceObjects.h +++ b/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorServiceObjects.h @@ -1997,9 +1997,9 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro @interface GTLRTrafficDirectorService_StringMatcher : GTLRObject /** - * The input string must have the substring specified here. Note: empty - * contains match is not allowed, please use regex instead. Examples: * ``abc`` - * matches the value ``xyz.abc.def`` + * The input string must have the substring specified here. .. note:: Empty + * contains match is not allowed, please use ``safe_regex`` instead. Examples: + * * ``abc`` matches the value ``xyz.abc.def`` */ @property(nonatomic, copy, nullable) NSString *contains; @@ -2016,19 +2016,19 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro @property(nonatomic, copy, nullable) NSString *exact; /** - * If true, indicates the exact/prefix/suffix/contains matching should be case - * insensitive. This has no effect for the safe_regex match. For example, the - * matcher ``data`` will match both input string ``Data`` and ``data`` if set - * to true. + * If ``true``, indicates the exact/prefix/suffix/contains matching should be + * case insensitive. This has no effect for the ``safe_regex`` match. For + * example, the matcher ``data`` will match both input string ``Data`` and + * ``data`` if this option is set to ``true``. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *ignoreCase; /** - * The input string must have the prefix specified here. Note: empty prefix is - * not allowed, please use regex instead. Examples: * ``abc`` matches the value - * ``abc.xyz`` + * The input string must have the prefix specified here. .. note:: Empty prefix + * match is not allowed, please use ``safe_regex`` instead. Examples: * ``abc`` + * matches the value ``abc.xyz`` */ @property(nonatomic, copy, nullable) NSString *prefix; @@ -2036,9 +2036,9 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro @property(nonatomic, strong, nullable) GTLRTrafficDirectorService_RegexMatcher *safeRegex; /** - * The input string must have the suffix specified here. Note: empty prefix is - * not allowed, please use regex instead. Examples: * ``abc`` matches the value - * ``xyz.abc`` + * The input string must have the suffix specified here. .. note:: Empty suffix + * match is not allowed, please use ``safe_regex`` instead. Examples: * ``abc`` + * matches the value ``xyz.abc`` */ @property(nonatomic, copy, nullable) NSString *suffix; diff --git a/Sources/GeneratedServices/VMMigrationService/GTLRVMMigrationServiceObjects.m b/Sources/GeneratedServices/VMMigrationService/GTLRVMMigrationServiceObjects.m index bfdaa93f7..c0e3d039a 100644 --- a/Sources/GeneratedServices/VMMigrationService/GTLRVMMigrationServiceObjects.m +++ b/Sources/GeneratedServices/VMMigrationService/GTLRVMMigrationServiceObjects.m @@ -213,7 +213,9 @@ NSString * const kGTLRVMMigrationService_MigratingVm_State_Cutover = @"CUTOVER"; NSString * const kGTLRVMMigrationService_MigratingVm_State_CuttingOver = @"CUTTING_OVER"; NSString * const kGTLRVMMigrationService_MigratingVm_State_Error = @"ERROR"; +NSString * const kGTLRVMMigrationService_MigratingVm_State_Expired = @"EXPIRED"; NSString * const kGTLRVMMigrationService_MigratingVm_State_Finalized = @"FINALIZED"; +NSString * const kGTLRVMMigrationService_MigratingVm_State_FinalizedExpired = @"FINALIZED_EXPIRED"; NSString * const kGTLRVMMigrationService_MigratingVm_State_Finalizing = @"FINALIZING"; NSString * const kGTLRVMMigrationService_MigratingVm_State_FinalSync = @"FINAL_SYNC"; NSString * const kGTLRVMMigrationService_MigratingVm_State_FirstSync = @"FIRST_SYNC"; @@ -1113,6 +1115,25 @@ @implementation GTLRVMMigrationService_Encryption @end +// ---------------------------------------------------------------------------- +// +// GTLRVMMigrationService_Expiration +// + +@implementation GTLRVMMigrationService_Expiration +@dynamic expireTime, extendable, extensionCount; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRVMMigrationService_ExtendMigrationRequest +// + +@implementation GTLRVMMigrationService_ExtendMigrationRequest +@end + + // ---------------------------------------------------------------------------- // // GTLRVMMigrationService_FetchInventoryResponse @@ -1667,9 +1688,9 @@ @implementation GTLRVMMigrationService_MigratingVm @dynamic awsSourceVmDetails, azureSourceVmDetails, computeEngineDisksTargetDefaults, computeEngineTargetDefaults, createTime, currentSyncInfo, cutoverForecast, descriptionProperty, - displayName, error, group, labels, lastReplicationCycle, lastSync, - name, policy, recentCloneJobs, recentCutoverJobs, sourceVmId, state, - stateTime, updateTime, vmwareSourceVmDetails; + displayName, error, expiration, group, labels, lastReplicationCycle, + lastSync, name, policy, recentCloneJobs, recentCutoverJobs, sourceVmId, + state, stateTime, updateTime, vmwareSourceVmDetails; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; diff --git a/Sources/GeneratedServices/VMMigrationService/GTLRVMMigrationServiceQuery.m b/Sources/GeneratedServices/VMMigrationService/GTLRVMMigrationServiceQuery.m index 1adac1988..10136f2e8 100644 --- a/Sources/GeneratedServices/VMMigrationService/GTLRVMMigrationServiceQuery.m +++ b/Sources/GeneratedServices/VMMigrationService/GTLRVMMigrationServiceQuery.m @@ -919,6 +919,33 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsExtendMigration + +@dynamic migratingVm; + ++ (instancetype)queryWithObject:(GTLRVMMigrationService_ExtendMigrationRequest *)object + migratingVm:(NSString *)migratingVm { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"migratingVm" ]; + NSString *pathURITemplate = @"v1/{+migratingVm}:extendMigration"; + GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsExtendMigration *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.migratingVm = migratingVm; + query.expectedObjectClass = [GTLRVMMigrationService_Operation class]; + query.loggingName = @"vmmigration.projects.locations.sources.migratingVms.extendMigration"; + return query; +} + +@end + @implementation GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsFinalizeMigration @dynamic migratingVm; diff --git a/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceObjects.h b/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceObjects.h index 2aa8a2902..96237fc9e 100644 --- a/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceObjects.h +++ b/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceObjects.h @@ -66,6 +66,7 @@ @class GTLRVMMigrationService_DisksMigrationVmTargetDefaults_Metadata; @class GTLRVMMigrationService_DisksMigrationVmTargetDetails; @class GTLRVMMigrationService_Encryption; +@class GTLRVMMigrationService_Expiration; @class GTLRVMMigrationService_Group; @class GTLRVMMigrationService_ImageImport; @class GTLRVMMigrationService_ImageImportJob; @@ -1084,6 +1085,14 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_MigratingVm_State_Cut * Value: "ERROR" */ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_MigratingVm_State_Error; +/** + * The migrating VM has passed its expiration date. It might be possible to + * bring it back to "Active" state by updating the TTL field. For more + * information, see the documentation. + * + * Value: "EXPIRED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_MigratingVm_State_Expired; /** * The replication process is done. The migrating VM is finalized and no longer * consumes billable resources. @@ -1091,6 +1100,13 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_MigratingVm_State_Err * Value: "FINALIZED" */ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_MigratingVm_State_Finalized; +/** + * The migrating VM's has been finalized and migration resources have been + * removed. + * + * Value: "FINALIZED_EXPIRED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_MigratingVm_State_FinalizedExpired; /** * The migrating VM is being finalized and migration resources are being * removed. @@ -3452,6 +3468,38 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_VmwareVmDetails_Power @end +/** + * Expiration holds information about the expiration of a MigratingVm. + */ +@interface GTLRVMMigrationService_Expiration : GTLRObject + +/** Output only. Timestamp of when this resource is considered expired. */ +@property(nonatomic, strong, nullable) GTLRDateTime *expireTime; + +/** + * Output only. Describes whether the expiration can be extended. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *extendable; + +/** + * Output only. The number of times expiration was extended. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *extensionCount; + +@end + + +/** + * Request message for 'ExtendMigrationRequest' request. + */ +@interface GTLRVMMigrationService_ExtendMigrationRequest : GTLRObject +@end + + /** * Response message for fetchInventory. */ @@ -4394,6 +4442,12 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_VmwareVmDetails_Power */ @property(nonatomic, strong, nullable) GTLRVMMigrationService_Status *error; +/** + * Output only. Provides details about the expiration state of the migrating + * VM. + */ +@property(nonatomic, strong, nullable) GTLRVMMigrationService_Expiration *expiration; + /** * Output only. The group this migrating vm is included in, if any. The group * is represented by the full path of the appropriate Group resource. @@ -4460,9 +4514,16 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_VmwareVmDetails_Power * @arg @c kGTLRVMMigrationService_MigratingVm_State_Error The replication * process encountered an unrecoverable error and was aborted. (Value: * "ERROR") + * @arg @c kGTLRVMMigrationService_MigratingVm_State_Expired The migrating VM + * has passed its expiration date. It might be possible to bring it back + * to "Active" state by updating the TTL field. For more information, see + * the documentation. (Value: "EXPIRED") * @arg @c kGTLRVMMigrationService_MigratingVm_State_Finalized The * replication process is done. The migrating VM is finalized and no * longer consumes billable resources. (Value: "FINALIZED") + * @arg @c kGTLRVMMigrationService_MigratingVm_State_FinalizedExpired The + * migrating VM's has been finalized and migration resources have been + * removed. (Value: "FINALIZED_EXPIRED") * @arg @c kGTLRVMMigrationService_MigratingVm_State_Finalizing The migrating * VM is being finalized and migration resources are being removed. * (Value: "FINALIZING") diff --git a/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceQuery.h b/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceQuery.h index 64ca295cb..64cb9353c 100644 --- a/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceQuery.h +++ b/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceQuery.h @@ -1672,6 +1672,35 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationServiceViewUtilizationReportV @end +/** + * Extend the migrating VM time to live. + * + * Method: vmmigration.projects.locations.sources.migratingVms.extendMigration + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMMigrationServiceCloudPlatform + */ +@interface GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsExtendMigration : GTLRVMMigrationServiceQuery + +/** Required. The name of the MigratingVm. */ +@property(nonatomic, copy, nullable) NSString *migratingVm; + +/** + * Fetches a @c GTLRVMMigrationService_Operation. + * + * Extend the migrating VM time to live. + * + * @param object The @c GTLRVMMigrationService_ExtendMigrationRequest to + * include in the query. + * @param migratingVm Required. The name of the MigratingVm. + * + * @return GTLRVMMigrationServiceQuery_ProjectsLocationsSourcesMigratingVmsExtendMigration + */ ++ (instancetype)queryWithObject:(GTLRVMMigrationService_ExtendMigrationRequest *)object + migratingVm:(NSString *)migratingVm; + +@end + /** * Marks a migration as completed, deleting migration resources that are no * longer being used. Only applicable after cutover is done. diff --git a/Sources/GeneratedServices/Vault/GTLRVaultObjects.m b/Sources/GeneratedServices/Vault/GTLRVaultObjects.m index 0925c3fb3..d22f55ffd 100644 --- a/Sources/GeneratedServices/Vault/GTLRVaultObjects.m +++ b/Sources/GeneratedServices/Vault/GTLRVaultObjects.m @@ -52,6 +52,12 @@ NSString * const kGTLRVault_DriveOptions_ClientSideEncryptedOption_ClientSideEncryptedOptionUnencrypted = @"CLIENT_SIDE_ENCRYPTED_OPTION_UNENCRYPTED"; NSString * const kGTLRVault_DriveOptions_ClientSideEncryptedOption_ClientSideEncryptedOptionUnspecified = @"CLIENT_SIDE_ENCRYPTED_OPTION_UNSPECIFIED"; +// GTLRVault_DriveOptions.sharedDrivesOption +NSString * const kGTLRVault_DriveOptions_SharedDrivesOption_Included = @"INCLUDED"; +NSString * const kGTLRVault_DriveOptions_SharedDrivesOption_IncludedIfAccountIsNotAMember = @"INCLUDED_IF_ACCOUNT_IS_NOT_A_MEMBER"; +NSString * const kGTLRVault_DriveOptions_SharedDrivesOption_NotIncluded = @"NOT_INCLUDED"; +NSString * const kGTLRVault_DriveOptions_SharedDrivesOption_SharedDrivesOptionUnspecified = @"SHARED_DRIVES_OPTION_UNSPECIFIED"; + // GTLRVault_Export.status NSString * const kGTLRVault_Export_Status_Completed = @"COMPLETED"; NSString * const kGTLRVault_Export_Status_ExportStatusUnspecified = @"EXPORT_STATUS_UNSPECIFIED"; @@ -454,7 +460,7 @@ @implementation GTLRVault_DriveExportOptions @implementation GTLRVault_DriveOptions @dynamic clientSideEncryptedOption, includeSharedDrives, includeTeamDrives, - versionDate; + sharedDrivesOption, versionDate; @end diff --git a/Sources/GeneratedServices/Vault/Public/GoogleAPIClientForREST/GTLRVaultObjects.h b/Sources/GeneratedServices/Vault/Public/GoogleAPIClientForREST/GTLRVaultObjects.h index 6ef7d27e0..2eb29ba4d 100644 --- a/Sources/GeneratedServices/Vault/Public/GoogleAPIClientForREST/GTLRVaultObjects.h +++ b/Sources/GeneratedServices/Vault/Public/GoogleAPIClientForREST/GTLRVaultObjects.h @@ -248,6 +248,35 @@ FOUNDATION_EXTERN NSString * const kGTLRVault_DriveOptions_ClientSideEncryptedOp */ FOUNDATION_EXTERN NSString * const kGTLRVault_DriveOptions_ClientSideEncryptedOption_ClientSideEncryptedOptionUnspecified; +// ---------------------------------------------------------------------------- +// GTLRVault_DriveOptions.sharedDrivesOption + +/** + * Resources in shared drives are included in the search. (Previously + * "include_shared_drives" on) + * + * Value: "INCLUDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVault_DriveOptions_SharedDrivesOption_Included; +/** + * (Previously "include_shared_drives" off) + * + * Value: "INCLUDED_IF_ACCOUNT_IS_NOT_A_MEMBER" + */ +FOUNDATION_EXTERN NSString * const kGTLRVault_DriveOptions_SharedDrivesOption_IncludedIfAccountIsNotAMember; +/** + * If a resource is in a shared drive, it isn't included in the search. + * + * Value: "NOT_INCLUDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVault_DriveOptions_SharedDrivesOption_NotIncluded; +/** + * No shared drive option specified. + * + * Value: "SHARED_DRIVES_OPTION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRVault_DriveOptions_SharedDrivesOption_SharedDrivesOptionUnspecified; + // ---------------------------------------------------------------------------- // GTLRVault_Export.status @@ -1368,7 +1397,7 @@ FOUNDATION_EXTERN NSString * const kGTLRVault_VoiceOptions_CoveredData_Voicemail * * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *includeSharedDrives; +@property(nonatomic, strong, nullable) NSNumber *includeSharedDrives GTLR_DEPRECATED; /** * Set to true to include Team Drive. @@ -1377,6 +1406,27 @@ FOUNDATION_EXTERN NSString * const kGTLRVault_VoiceOptions_CoveredData_Voicemail */ @property(nonatomic, strong, nullable) NSNumber *includeTeamDrives GTLR_DEPRECATED; +/** + * Optional. Options to include or exclude documents in shared drives. We + * recommend using this field over include_shared_drives. This field overrides + * include_shared_drives and include_team_drives when set. + * + * Likely values: + * @arg @c kGTLRVault_DriveOptions_SharedDrivesOption_Included Resources in + * shared drives are included in the search. (Previously + * "include_shared_drives" on) (Value: "INCLUDED") + * @arg @c kGTLRVault_DriveOptions_SharedDrivesOption_IncludedIfAccountIsNotAMember + * (Previously "include_shared_drives" off) (Value: + * "INCLUDED_IF_ACCOUNT_IS_NOT_A_MEMBER") + * @arg @c kGTLRVault_DriveOptions_SharedDrivesOption_NotIncluded If a + * resource is in a shared drive, it isn't included in the search. + * (Value: "NOT_INCLUDED") + * @arg @c kGTLRVault_DriveOptions_SharedDrivesOption_SharedDrivesOptionUnspecified + * No shared drive option specified. (Value: + * "SHARED_DRIVES_OPTION_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *sharedDrivesOption; + /** * Search the current version of the Drive file, but export the contents of the * last version saved before 12:00 AM UTC on the specified date. Enter the date From 472a15b5421f9f30f77e829e4df51e8277cfb290 Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Mon, 7 Jul 2025 12:28:40 -0400 Subject: [PATCH 4/7] Generate updated services for current sources. --- GoogleAPIClientForREST.podspec | 10 + Package.swift | 20 + .../GTLRAIPlatformNotebooksQuery.h | 29 +- .../APIhub/GTLRAPIhubObjects.m | 38 +- .../APIhub/GTLRAPIhubQuery.m | 27 + .../GTLRAPIhubObjects.h | 201 +- .../GoogleAPIClientForREST/GTLRAPIhubQuery.h | 128 +- .../GTLRAccessApprovalObjects.m | 1 + .../GTLRAccessApprovalObjects.h | 11 + .../GTLRAddressValidationObjects.m | 10 +- .../GTLRAddressValidationObjects.h | 146 +- .../GTLRAdsenseObjects.h | 3 +- .../GoogleAPIClientForREST/GTLRAdsenseQuery.h | 77 +- .../Aiplatform/GTLRAiplatformObjects.m | 295 +- .../Aiplatform/GTLRAiplatformQuery.m | 73 + .../GTLRAiplatformObjects.h | 846 +++++- .../GTLRAiplatformQuery.h | 96 + .../AnalyticsHub/GTLRAnalyticsHubObjects.m | 1 + .../GTLRAnalyticsHubObjects.h | 4 +- .../GTLRAndroidEnterpriseObjects.h | 3 +- .../GTLRAndroidEnterpriseQuery.h | 8 +- .../GTLRAndroidManagementObjects.m | 113 +- .../GTLRAndroidManagementQuery.m | 54 + .../GTLRAndroidManagementObjects.h | 543 +++- .../GTLRAndroidManagementQuery.h | 78 +- .../GTLRAndroidPublisherObjects.m | 105 + .../GTLRAndroidPublisherQuery.m | 23 + .../GTLRAndroidPublisherObjects.h | 306 +- .../GTLRAndroidPublisherQuery.h | 39 + .../Apigee/GTLRApigeeObjects.m | 3 +- .../Apigee/GTLRApigeeQuery.m | 46 + .../GTLRApigeeObjects.h | 11 + .../GoogleAPIClientForREST/GTLRApigeeQuery.h | 79 +- .../Appengine/GTLRAppengineQuery.m | 185 ++ .../GTLRAppengineQuery.h | 344 +++ .../AreaInsights/GTLRAreaInsightsObjects.m | 2 +- .../AreaInsights/GTLRAreaInsightsQuery.m | 2 +- .../AreaInsights/GTLRAreaInsightsService.m | 2 +- .../GoogleAPIClientForREST/GTLRAreaInsights.h | 2 +- .../GTLRAreaInsightsObjects.h | 2 +- .../GTLRAreaInsightsQuery.h | 2 +- .../GTLRAreaInsightsService.h | 2 +- .../GTLRAssuredworkloadsObjects.m | 4 + .../GTLRAssuredworkloadsObjects.h | 32 + .../Backupdr/GTLRBackupdrObjects.m | 215 +- .../Backupdr/GTLRBackupdrQuery.m | 122 + .../GTLRBackupdrObjects.h | 587 +++- .../GTLRBackupdrQuery.h | 324 +++ .../BackupforGKE/GTLRBackupforGKEObjects.m | 35 +- .../GTLRBackupforGKEObjects.h | 39 + .../BeyondCorp/GTLRBeyondCorpQuery.m | 370 +-- .../GTLRBeyondCorpObjects.h | 2 +- .../GTLRBeyondCorpQuery.h | 752 ++--- .../GTLRBigQueryReservationObjects.m | 38 +- .../GTLRBigQueryReservationQuery.m | 86 +- .../GTLRBigQueryReservationService.m | 2 +- .../GTLRBigQueryReservation.h | 2 +- .../GTLRBigQueryReservationObjects.h | 64 +- .../GTLRBigQueryReservationQuery.h | 147 +- .../GTLRBigQueryReservationService.h | 4 +- .../Bigquery/GTLRBigqueryObjects.m | 40 +- .../Bigquery/GTLRBigqueryQuery.m | 27 + .../GTLRBigqueryObjects.h | 113 +- .../GTLRBigqueryQuery.h | 65 +- .../BigtableAdmin/GTLRBigtableAdminObjects.m | 89 +- .../BigtableAdmin/GTLRBigtableAdminQuery.m | 196 ++ .../GTLRBigtableAdminObjects.h | 162 ++ .../GTLRBigtableAdminQuery.h | 352 +++ .../GTLRCertificateAuthorityServiceObjects.m | 50 +- .../GTLRCertificateAuthorityServiceObjects.h | 135 + .../GTLRChromeManagementObjects.m | 3 +- .../GTLRChromeManagementObjects.h | 88 +- .../GTLRCloudAlloyDBAdminObjects.m | 5 +- .../GTLRCloudAlloyDBAdminObjects.h | 73 +- .../GTLRCloudAssetObjects.h | 2 +- .../GTLRCloudDataplexObjects.h | 16 +- .../GTLRCloudDataplexQuery.h | 5 +- .../GTLRCloudHealthcareObjects.m | 1 + .../GTLRCloudHealthcareObjects.h | 23 +- .../GTLRCloudHealthcareQuery.h | 268 +- .../GTLRCloudIdentityObjects.h | 24 +- .../CloudKMS/GTLRCloudKMSObjects.m | 4 + .../GTLRCloudKMSObjects.h | 44 + .../GTLRCloudLocationFinderObjects.m | 139 + .../GTLRCloudLocationFinderQuery.m | 119 + .../GTLRCloudLocationFinderService.m | 33 + .../GTLRCloudLocationFinder.h | 11 + .../GTLRCloudLocationFinderObjects.h | 316 +++ .../GTLRCloudLocationFinderQuery.h | 265 ++ .../GTLRCloudLocationFinderService.h | 69 + .../CloudRedis/GTLRCloudRedisObjects.m | 38 +- .../GTLRCloudRedisObjects.h | 91 +- .../GTLRCloudResourceManagerObjects.m | 11 +- .../GTLRCloudResourceManagerQuery.m | 10 +- .../GTLRCloudResourceManagerObjects.h | 8 + .../GTLRCloudResourceManagerQuery.h | 19 +- .../CloudRetail/GTLRCloudRetailObjects.m | 110 +- .../CloudRetail/GTLRCloudRetailQuery.m | 46 + .../GTLRCloudRetailObjects.h | 207 +- .../GTLRCloudRetailQuery.h | 75 + .../CloudRun/GTLRCloudRunObjects.m | 31 +- .../GTLRCloudRunObjects.h | 40 +- .../GTLRCloudSchedulerObjects.m | 4 +- .../GTLRCloudSchedulerObjects.h | 50 +- .../CloudSupport/GTLRCloudSupportObjects.m | 26 - .../GTLRCloudSupportObjects.h | 100 - .../GTLRCloudSupportQuery.h | 18 +- .../GTLRCloudWorkstationsObjects.m | 15 +- .../GTLRCloudWorkstationsObjects.h | 20 + .../GTLRCloudchannelObjects.h | 22 +- .../Compute/GTLRComputeObjects.m | 324 ++- .../Compute/GTLRComputeQuery.m | 127 + .../Compute/GTLRComputeService.m | 3 + .../GTLRComputeObjects.h | 945 ++++++- .../GoogleAPIClientForREST/GTLRComputeQuery.h | 308 ++ .../Config/GTLRConfigObjects.m | 156 + .../Config/GTLRConfigQuery.m | 76 + .../GTLRConfigObjects.h | 292 +- .../GoogleAPIClientForREST/GTLRConfigQuery.h | 194 +- .../GTLRContactcenterinsightsObjects.m | 174 +- .../GTLRContactcenterinsightsQuery.m | 165 ++ .../GTLRContactcenterinsightsObjects.h | 329 ++- .../GTLRContactcenterinsightsQuery.h | 261 ++ .../Container/GTLRContainerObjects.m | 129 +- .../GTLRContainerObjects.h | 620 ++-- .../GTLRContainerQuery.h | 564 ++-- .../GTLRContainerAnalysisObjects.m | 44 +- .../GTLRContainerAnalysisQuery.m | 12 +- .../GTLRContainerAnalysisObjects.h | 49 +- .../GTLRContainerAnalysisQuery.h | 42 + .../GoogleAPIClientForREST/GTLRCssQuery.h | 8 +- .../GeneratedServices/DLP/GTLRDLPObjects.m | 70 +- .../GoogleAPIClientForREST/GTLRDLPObjects.h | 126 +- .../GTLRDataCatalogObjects.h | 286 +- .../GTLRDataCatalogQuery.h | 56 +- .../DataFusion/GTLRDataFusionQuery.m | 2 +- .../GTLRDataFusionQuery.h | 6 + .../GTLRDataPortabilityService.m | 1 + .../GTLRDataPortabilityQuery.h | 6 + .../GTLRDataPortabilityService.h | 6 + .../GTLRDatabaseMigrationServiceObjects.m | 15 +- .../GTLRDatabaseMigrationServiceQuery.m | 2 +- .../GTLRDatabaseMigrationServiceObjects.h | 28 + .../GTLRDatabaseMigrationServiceQuery.h | 6 + .../GTLRDataformQuery.h | 9 +- .../Dataproc/GTLRDataprocObjects.m | 12 +- .../Dataproc/GTLRDataprocQuery.m | 18 +- .../GTLRDataprocObjects.h | 78 +- .../GTLRDataprocQuery.h | 14 + .../Datastream/GTLRDatastreamObjects.m | 2 +- .../GTLRDatastreamObjects.h | 6 + .../GTLRDeveloperConnectObjects.m | 143 + .../GTLRDeveloperConnectQuery.m | 115 + .../GTLRDeveloperConnectObjects.h | 316 +++ .../GTLRDeveloperConnectQuery.h | 224 ++ .../Dfareporting/GTLRDfareportingObjects.m | 4 +- .../GTLRDfareportingObjects.h | 21 +- .../Dialogflow/GTLRDialogflowObjects.m | 191 +- .../Dialogflow/GTLRDialogflowQuery.m | 111 + .../GTLRDialogflowObjects.h | 352 ++- .../GTLRDialogflowQuery.h | 189 ++ .../GTLRDiscoveryEngineObjects.m | 171 +- .../GTLRDiscoveryEngineObjects.h | 770 ++++- .../GTLRDiscoveryEngineQuery.h | 8 +- .../DisplayVideo/GTLRDisplayVideoObjects.m | 2 + .../GTLRDisplayVideoObjects.h | 44 +- .../GTLRDisplayVideoQuery.h | 24 +- .../GTLRDocumentObjects.h | 14 +- .../Drive/GTLRDriveObjects.m | 70 +- .../GoogleAPIClientForREST/GTLRDriveObjects.h | 49 + .../DriveLabels/GTLRDriveLabelsObjects.m | 55 +- .../DriveLabels/GTLRDriveLabelsQuery.m | 27 + .../GTLRDriveLabelsObjects.h | 117 + .../GTLRDriveLabelsQuery.h | 35 + .../Eventarc/GTLREventarcObjects.m | 2 +- .../GTLREventarcObjects.h | 8 + .../GTLRFirebaseCloudMessagingObjects.m | 3 +- .../GTLRFirebaseCloudMessagingObjects.h | 17 +- .../GTLRFirebaseDataConnectObjects.m | 21 +- .../GTLRFirebaseDataConnectObjects.h | 288 ++ .../Firestore/GTLRFirestoreObjects.m | 55 + .../Firestore/GTLRFirestoreQuery.m | 27 + .../GTLRFirestoreObjects.h | 192 ++ .../GTLRFirestoreQuery.h | 51 + .../GTLRGKEHubObjects.h | 2 +- .../GKEOnPrem/GTLRGKEOnPremQuery.m | 2 +- .../GTLRGKEOnPremQuery.h | 11 + .../GoogleAPIClientForREST/GTLRGmailObjects.h | 30 +- .../GoogleAPIClientForREST/GTLRGmailQuery.h | 266 +- .../GTLRHangoutsChatObjects.h | 21 +- .../GTLRHangoutsChatQuery.h | 84 +- .../Logging/GTLRLoggingObjects.m | 8 +- .../GTLRLoggingObjects.h | 31 +- .../Looker/GTLRLookerObjects.m | 13 +- .../GTLRLookerObjects.h | 32 +- .../ManagedKafka/GTLRManagedKafkaObjects.m | 40 +- .../ManagedKafka/GTLRManagedKafkaQuery.m | 38 + .../GTLRManagedKafkaObjects.h | 96 +- .../GTLRManagedKafkaQuery.h | 72 + .../GTLRMapsPlacesObjects.h | 49 +- .../Merchant/GTLRMerchantObjects.m | 2 +- .../Merchant/GTLRMerchantQuery.m | 2 +- .../Merchant/GTLRMerchantService.m | 2 +- .../GoogleAPIClientForREST/GTLRMerchant.h | 2 +- .../GTLRMerchantObjects.h | 9 +- .../GTLRMerchantQuery.h | 2 +- .../GTLRMerchantService.h | 2 +- .../GTLRMyBusinessAccountManagementObjects.h | 14 +- ...GTLRMyBusinessBusinessInformationObjects.h | 16 +- .../GTLRMyBusinessVerificationsObjects.h | 14 +- .../NetAppFiles/GTLRNetAppFilesObjects.m | 14 +- .../GTLRNetAppFilesObjects.h | 47 +- .../GTLRNetworkManagementObjects.m | 12 +- .../GTLRNetworkManagementQuery.m | 129 + .../GTLRNetworkManagementObjects.h | 74 +- .../GTLRNetworkManagementQuery.h | 345 ++- .../GTLRNetworkSecurityObjects.m | 75 +- .../GTLRNetworkSecurityQuery.m | 115 + .../GTLRNetworkSecurityObjects.h | 182 ++ .../GTLRNetworkSecurityQuery.h | 208 ++ .../GTLRNetworkServicesObjects.m | 21 +- .../GTLRNetworkServicesObjects.h | 105 +- .../GTLRNetworkServicesQuery.h | 16 +- .../GTLRNetworkconnectivityObjects.h | 2 +- .../GTLROrgPolicyAPIObjects.h | 4 +- .../GTLRParallelstoreObjects.h | 9 +- .../PlayIntegrity/GTLRPlayIntegrityObjects.m | 6 + .../GTLRPlayIntegrityObjects.h | 4 +- .../GTLRPolicySimulatorObjects.m | 385 +++ .../GTLRPolicySimulatorQuery.m | 141 + .../GTLRPolicySimulatorObjects.h | 1275 ++++++++- .../GTLRPolicySimulatorQuery.h | 276 ++ .../GTLRRecaptchaEnterpriseQuery.h | 4 +- .../Reports/GTLRReportsQuery.m | 1 + .../GoogleAPIClientForREST/GTLRReportsQuery.h | 16 + .../SQLAdmin/GTLRSQLAdminObjects.m | 34 +- .../GTLRSQLAdminObjects.h | 218 +- .../GTLRSaaSServiceManagementObjects.m | 1020 +++++++ .../GTLRSaaSServiceManagementQuery.m | 980 +++++++ .../GTLRSaaSServiceManagementService.m | 33 + .../GTLRSaaSServiceManagement.h | 11 + .../GTLRSaaSServiceManagementObjects.h | 2509 +++++++++++++++++ .../GTLRSaaSServiceManagementQuery.h | 2099 ++++++++++++++ .../GTLRSaaSServiceManagementService.h | 69 + .../GTLRScriptObjects.h | 2 +- .../SecretManager/GTLRSecretManagerObjects.m | 16 +- .../GTLRSecretManagerObjects.h | 24 + .../GTLRSecurityCommandCenterObjects.m | 163 +- .../GTLRSecurityCommandCenterObjects.h | 382 ++- .../GTLRSecurityPostureQuery.m | 9 +- .../GTLRSecurityPostureQuery.h | 6 + .../GTLRServiceManagementObjects.m | 2 +- .../GTLRServiceManagementObjects.h | 3 + .../GTLRServiceNetworkingObjects.m | 11 +- .../GTLRServiceNetworkingObjects.h | 53 +- .../GTLRServiceNetworkingQuery.h | 47 +- .../Sheets/GTLRSheetsObjects.m | 53 +- .../GTLRSheetsObjects.h | 129 + .../GTLRShoppingContentObjects.m | 45 +- .../GTLRShoppingContentObjects.h | 99 + .../Spanner/GTLRSpannerObjects.m | 164 ++ .../GTLRSpannerObjects.h | 722 +++-- .../Storage/GTLRStorageObjects.m | 39 +- .../Storage/GTLRStorageQuery.m | 2 +- .../GTLRStorageObjects.h | 62 + .../GoogleAPIClientForREST/GTLRStorageQuery.h | 7 + .../GTLRSubscriptionLinkingObjects.m | 2 +- .../GTLRSubscriptionLinkingObjects.h | 15 + .../Testing/GTLRTestingObjects.m | 20 +- .../GTLRTestingObjects.h | 20 + .../Texttospeech/GTLRTexttospeechObjects.m | 1 + .../GTLRTexttospeechObjects.h | 8 + .../GTLRTrafficDirectorServiceObjects.h | 10 +- .../GTLRTravelImpactModelObjects.m | 83 +- .../GTLRTravelImpactModelQuery.m | 22 + .../GTLRTravelImpactModelObjects.h | 203 +- .../GTLRTravelImpactModelQuery.h | 80 +- .../GTLRVMMigrationServiceObjects.m | 20 +- .../GTLRVMMigrationServiceObjects.h | 32 +- .../VMwareEngine/GTLRVMwareEngineObjects.m | 1 + .../GTLRVMwareEngineObjects.h | 9 + .../GoogleAPIClientForREST/GTLRVaultObjects.h | 12 +- .../GTLRVersionHistoryObjects.m | 2 +- .../VersionHistory/GTLRVersionHistoryQuery.m | 2 +- .../GTLRVersionHistoryService.m | 2 +- .../GTLRVersionHistory.h | 2 +- .../GTLRVersionHistoryObjects.h | 2 +- .../GTLRVersionHistoryQuery.h | 2 +- .../GTLRVersionHistoryService.h | 2 +- .../GTLRWorkloadManagerObjects.m | 215 +- .../GTLRWorkloadManagerObjects.h | 800 ++++-- .../GTLRWorkspaceEventsService.m | 2 + .../GTLRWorkspaceEventsQuery.h | 12 +- .../GTLRWorkspaceEventsService.h | 15 + ...erateCheckedInServices-message_filter.json | 1 + 295 files changed, 30998 insertions(+), 3698 deletions(-) create mode 100644 Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderObjects.m create mode 100644 Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderQuery.m create mode 100644 Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderService.m create mode 100644 Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinder.h create mode 100644 Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderObjects.h create mode 100644 Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderQuery.h create mode 100644 Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderService.h create mode 100644 Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementObjects.m create mode 100644 Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementQuery.m create mode 100644 Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementService.m create mode 100644 Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagement.h create mode 100644 Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementObjects.h create mode 100644 Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementQuery.h create mode 100644 Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementService.h diff --git a/GoogleAPIClientForREST.podspec b/GoogleAPIClientForREST.podspec index 96e9ca31e..05feb0f38 100644 --- a/GoogleAPIClientForREST.podspec +++ b/GoogleAPIClientForREST.podspec @@ -479,6 +479,11 @@ Pod::Spec.new do |s| sp.source_files = 'Sources/GeneratedServices/CloudLifeSciences/**/*.{h,m}' sp.public_header_files = 'Sources/GeneratedServices/CloudLifeSciences/Public/GoogleAPIClientForREST/*.h' end + s.subspec 'CloudLocationFinder' do |sp| + sp.dependency 'GoogleAPIClientForREST/Core' + sp.source_files = 'Sources/GeneratedServices/CloudLocationFinder/**/*.{h,m}' + sp.public_header_files = 'Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/*.h' + end s.subspec 'CloudMachineLearningEngine' do |sp| sp.dependency 'GoogleAPIClientForREST/Core' sp.source_files = 'Sources/GeneratedServices/CloudMachineLearningEngine/**/*.{h,m}' @@ -1279,6 +1284,11 @@ Pod::Spec.new do |s| sp.source_files = 'Sources/GeneratedServices/SA360/**/*.{h,m}' sp.public_header_files = 'Sources/GeneratedServices/SA360/Public/GoogleAPIClientForREST/*.h' end + s.subspec 'SaaSServiceManagement' do |sp| + sp.dependency 'GoogleAPIClientForREST/Core' + sp.source_files = 'Sources/GeneratedServices/SaaSServiceManagement/**/*.{h,m}' + sp.public_header_files = 'Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/*.h' + end s.subspec 'Safebrowsing' do |sp| sp.dependency 'GoogleAPIClientForREST/Core' sp.source_files = 'Sources/GeneratedServices/Safebrowsing/**/*.{h,m}' diff --git a/Package.swift b/Package.swift index be37f34c6..5f192adc3 100644 --- a/Package.swift +++ b/Package.swift @@ -353,6 +353,10 @@ let package = Package( name: "GoogleAPIClientForREST_CloudLifeSciences", targets: ["GoogleAPIClientForREST_CloudLifeSciences"] ), + .library( + name: "GoogleAPIClientForREST_CloudLocationFinder", + targets: ["GoogleAPIClientForREST_CloudLocationFinder"] + ), .library( name: "GoogleAPIClientForREST_CloudMachineLearningEngine", targets: ["GoogleAPIClientForREST_CloudMachineLearningEngine"] @@ -993,6 +997,10 @@ let package = Package( name: "GoogleAPIClientForREST_SA360", targets: ["GoogleAPIClientForREST_SA360"] ), + .library( + name: "GoogleAPIClientForREST_SaaSServiceManagement", + targets: ["GoogleAPIClientForREST_SaaSServiceManagement"] + ), .library( name: "GoogleAPIClientForREST_Safebrowsing", targets: ["GoogleAPIClientForREST_Safebrowsing"] @@ -1751,6 +1759,12 @@ let package = Package( path: "Sources/GeneratedServices/CloudLifeSciences", publicHeadersPath: "Public" ), + .target( + name: "GoogleAPIClientForREST_CloudLocationFinder", + dependencies: ["GoogleAPIClientForRESTCore"], + path: "Sources/GeneratedServices/CloudLocationFinder", + publicHeadersPath: "Public" + ), .target( name: "GoogleAPIClientForREST_CloudMachineLearningEngine", dependencies: ["GoogleAPIClientForRESTCore"], @@ -2711,6 +2725,12 @@ let package = Package( path: "Sources/GeneratedServices/SA360", publicHeadersPath: "Public" ), + .target( + name: "GoogleAPIClientForREST_SaaSServiceManagement", + dependencies: ["GoogleAPIClientForRESTCore"], + path: "Sources/GeneratedServices/SaaSServiceManagement", + publicHeadersPath: "Public" + ), .target( name: "GoogleAPIClientForREST_Safebrowsing", dependencies: ["GoogleAPIClientForRESTCore"], diff --git a/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksQuery.h b/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksQuery.h index ff86ddaa0..b969123b6 100644 --- a/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksQuery.h +++ b/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksQuery.h @@ -222,10 +222,7 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Gets general backend configurations that might also affect the frontend. - * Location is required by CCFE. Although we could bypass it to send location- - * less request directly to the backend job, we would need CPE (go/cloud-cpe). - * Having the location might also be useful depending on the query. + * Returns various configuration parameters. * * Method: notebooks.projects.locations.instances.getConfig * @@ -240,10 +237,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRAIPlatformNotebooks_Config. * - * Gets general backend configurations that might also affect the frontend. - * Location is required by CCFE. Although we could bypass it to send location- - * less request directly to the backend job, we would need CPE (go/cloud-cpe). - * Having the location might also be useful depending on the query. + * Returns various configuration parameters. * * @param name Required. Format: `projects/{project_id}/locations/{location}` * @@ -371,7 +365,24 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *requestId; /** - * Required. Mask used to update an instance + * Required. Mask used to update an instance. Updatable fields: * `labels` * + * `gce_setup.min_cpu_platform` * `gce_setup.metadata` * + * `gce_setup.machine_type` * `gce_setup.accelerator_configs` * + * `gce_setup.accelerator_configs.type` * + * `gce_setup.accelerator_configs.core_count` * `gce_setup.gpu_driver_config` * + * `gce_setup.gpu_driver_config.enable_gpu_driver` * + * `gce_setup.gpu_driver_config.custom_gpu_driver_path` * + * `gce_setup.shielded_instance_config` * + * `gce_setup.shielded_instance_config.enable_secure_boot` * + * `gce_setup.shielded_instance_config.enable_vtpm` * + * `gce_setup.shielded_instance_config.enable_integrity_monitoring` * + * `gce_setup.reservation_affinity` * + * `gce_setup.reservation_affinity.consume_reservation_type` * + * `gce_setup.reservation_affinity.key` * + * `gce_setup.reservation_affinity.values` * `gce_setup.tags` * + * `gce_setup.container_image` * `gce_setup.container_image.repository` * + * `gce_setup.container_image.tag` * `gce_setup.disable_public_ip` * + * `disable_proxy_access` * * String format is a comma-separated list of fields. */ diff --git a/Sources/GeneratedServices/APIhub/GTLRAPIhubObjects.m b/Sources/GeneratedServices/APIhub/GTLRAPIhubObjects.m index 7e475e912..916553a96 100644 --- a/Sources/GeneratedServices/APIhub/GTLRAPIhubObjects.m +++ b/Sources/GeneratedServices/APIhub/GTLRAPIhubObjects.m @@ -166,6 +166,16 @@ NSString * const kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails_Format_OpenApiSpec30 = @"OPEN_API_SPEC_3_0"; NSString * const kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails_Format_OpenApiSpec31 = @"OPEN_API_SPEC_3_1"; +// GTLRAPIhub_GoogleCloudApihubV1Plugin.gatewayType +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_ApiDiscovery = @"API_DISCOVERY"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_ApigeeEdgePrivateCloud = @"APIGEE_EDGE_PRIVATE_CLOUD"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_ApigeeEdgePublicCloud = @"APIGEE_EDGE_PUBLIC_CLOUD"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_ApigeeXAndHybrid = @"APIGEE_X_AND_HYBRID"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_CloudApiGateway = @"CLOUD_API_GATEWAY"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_CloudEndpoints = @"CLOUD_ENDPOINTS"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_GatewayTypeUnspecified = @"GATEWAY_TYPE_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_Others = @"OTHERS"; + // GTLRAPIhub_GoogleCloudApihubV1Plugin.ownershipType NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_OwnershipType_OwnershipTypeUnspecified = @"OWNERSHIP_TYPE_UNSPECIFIED"; NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_OwnershipType_SystemOwned = @"SYSTEM_OWNED"; @@ -204,6 +214,11 @@ NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_Error = @"ERROR"; NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRAPIhub_GoogleCloudApihubV1ResourceConfig.actionType +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ResourceConfig_ActionType_ActionTypeUnspecified = @"ACTION_TYPE_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ResourceConfig_ActionType_SyncMetadata = @"SYNC_METADATA"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1ResourceConfig_ActionType_SyncRuntimeData = @"SYNC_RUNTIME_DATA"; + // GTLRAPIhub_GoogleCloudApihubV1SourceMetadata.sourceType NSString * const kGTLRAPIhub_GoogleCloudApihubV1SourceMetadata_SourceType_Plugin = @"PLUGIN"; NSString * const kGTLRAPIhub_GoogleCloudApihubV1SourceMetadata_SourceType_SourceTypeUnspecified = @"SOURCE_TYPE_UNSPECIFIED"; @@ -727,7 +742,8 @@ @implementation GTLRAPIhub_GoogleCloudApihubV1DependencyErrorDetail @implementation GTLRAPIhub_GoogleCloudApihubV1Deployment @dynamic apiVersions, attributes, createTime, deploymentType, descriptionProperty, displayName, documentation, endpoints, - environment, name, resourceUri, slo, sourceMetadata, updateTime; + environment, managementUrl, name, resourceUri, slo, sourceEnvironment, + sourceMetadata, sourceProject, sourceUri, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -1437,8 +1453,8 @@ @implementation GTLRAPIhub_GoogleCloudApihubV1Path @implementation GTLRAPIhub_GoogleCloudApihubV1Plugin @dynamic actionsConfig, configTemplate, createTime, descriptionProperty, - displayName, documentation, hostingService, name, ownershipType, - pluginCategory, state, type, updateTime; + displayName, documentation, gatewayType, hostingService, name, + ownershipType, pluginCategory, state, type, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -1480,7 +1496,7 @@ @implementation GTLRAPIhub_GoogleCloudApihubV1PluginActionConfig @implementation GTLRAPIhub_GoogleCloudApihubV1PluginInstance @dynamic actions, additionalConfig, authConfig, createTime, displayName, - errorMessage, name, state, updateTime; + errorMessage, name, sourceProjectId, state, updateTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1512,8 +1528,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction -@dynamic actionId, curationConfig, hubInstanceAction, scheduleCronExpression, - scheduleTimeZone, state; +@dynamic actionId, curationConfig, hubInstanceAction, resourceConfig, + scheduleCronExpression, scheduleTimeZone, serviceAccount, state; @end @@ -1557,6 +1573,16 @@ @implementation GTLRAPIhub_GoogleCloudApihubV1Range @end +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ResourceConfig +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ResourceConfig +@dynamic actionType, pubsubTopic; +@end + + // ---------------------------------------------------------------------------- // // GTLRAPIhub_GoogleCloudApihubV1RuntimeProjectAttachment diff --git a/Sources/GeneratedServices/APIhub/GTLRAPIhubQuery.m b/Sources/GeneratedServices/APIhub/GTLRAPIhubQuery.m index df0c10c92..c1cd9cd53 100644 --- a/Sources/GeneratedServices/APIhub/GTLRAPIhubQuery.m +++ b/Sources/GeneratedServices/APIhub/GTLRAPIhubQuery.m @@ -1705,6 +1705,33 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1PluginInstance *)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}"; + GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1PluginInstance class]; + query.loggingName = @"apihub.projects.locations.plugins.instances.patch"; + return query; +} + +@end + @implementation GTLRAPIhubQuery_ProjectsLocationsPluginsList @dynamic filter, pageSize, pageToken, parent; diff --git a/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubObjects.h b/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubObjects.h index ff3690c49..953c2e4e1 100644 --- a/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubObjects.h +++ b/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubObjects.h @@ -77,6 +77,7 @@ @class GTLRAPIhub_GoogleCloudApihubV1PluginInstanceActionSource; @class GTLRAPIhub_GoogleCloudApihubV1Point; @class GTLRAPIhub_GoogleCloudApihubV1Range; +@class GTLRAPIhub_GoogleCloudApihubV1ResourceConfig; @class GTLRAPIhub_GoogleCloudApihubV1RuntimeProjectAttachment; @class GTLRAPIhub_GoogleCloudApihubV1Schema; @class GTLRAPIhub_GoogleCloudApihubV1SearchResult; @@ -856,6 +857,58 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDet */ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails_Format_OpenApiSpec31; +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1Plugin.gatewayType + +/** + * The gateway type is API Discovery. + * + * Value: "API_DISCOVERY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_ApiDiscovery; +/** + * The gateway type is Apigee Edge Private Cloud. + * + * Value: "APIGEE_EDGE_PRIVATE_CLOUD" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_ApigeeEdgePrivateCloud; +/** + * The gateway type is Apigee Edge Public Cloud. + * + * Value: "APIGEE_EDGE_PUBLIC_CLOUD" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_ApigeeEdgePublicCloud; +/** + * The gateway type is Apigee X and Hybrid. + * + * Value: "APIGEE_X_AND_HYBRID" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_ApigeeXAndHybrid; +/** + * The gateway type is Cloud API Gateway. + * + * Value: "CLOUD_API_GATEWAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_CloudApiGateway; +/** + * The gateway type is Cloud Endpoints. + * + * Value: "CLOUD_ENDPOINTS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_CloudEndpoints; +/** + * The gateway type is not specified. + * + * Value: "GATEWAY_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_GatewayTypeUnspecified; +/** + * The gateway type for any other types of gateways. + * + * Value: "OTHERS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_Others; + // ---------------------------------------------------------------------------- // GTLRAPIhub_GoogleCloudApihubV1Plugin.ownershipType @@ -1065,6 +1118,28 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstance */ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1ResourceConfig.actionType + +/** + * Default unspecified action type. + * + * Value: "ACTION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ResourceConfig_ActionType_ActionTypeUnspecified; +/** + * Action type for sync metadata. + * + * Value: "SYNC_METADATA" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ResourceConfig_ActionType_SyncMetadata; +/** + * Action type for sync runtime data. + * + * Value: "SYNC_RUNTIME_DATA" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ResourceConfig_ActionType_SyncRuntimeData; + // ---------------------------------------------------------------------------- // GTLRAPIhub_GoogleCloudApihubV1SourceMetadata.sourceType @@ -1228,13 +1303,23 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S /** * Optional. The api functional requirements associated with the API resource. - * Carinality is 1 for this attribute. + * Carinality is 1 for this attribute. This maps to the following system + * defined attribute: + * `projects/{project}/locations/{location}/attributes/system-api-functional-requirements` + * attribute. The value of the attribute should be a proper URI, and in case of + * Cloud Storage URI, it should point to a Cloud Storage object, not a + * directory. */ @property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AttributeValues *apiFunctionalRequirements; /** * Optional. The api requirement doc associated with the API resource. - * Carinality is 1 for this attribute. + * Carinality is 1 for this attribute. This maps to the following system + * defined attribute: + * `projects/{project}/locations/{location}/attributes/system-api-requirements` + * attribute. The value of the attribute should be a proper URI, and in case of + * Cloud Storage URI, it should point to a Cloud Storage object, not a + * directory. */ @property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AttributeValues *apiRequirements; @@ -1251,7 +1336,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S /** * Optional. The api technical requirements associated with the API resource. - * Carinality is 1 for this attribute. + * Carinality is 1 for this attribute. This maps to the following system + * defined attribute: + * `projects/{project}/locations/{location}/attributes/system-api-technical-requirements` + * attribute. The value of the attribute should be a proper URI, and in case of + * Cloud Storage URI, it should point to a Cloud Storage object, not a + * directory. */ @property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AttributeValues *apiTechnicalRequirements; @@ -2586,6 +2676,15 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S */ @property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AttributeValues *environment; +/** + * Optional. The uri where users can navigate to for the management of the + * deployment. This maps to the following system defined attribute: + * `projects/{project}/locations/{location}/attributes/system-management-url` + * The number of values for this attribute will be based on the cardinality of + * the attribute. The same can be retrieved via GetAttribute API. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AttributeValues *managementUrl; + /** * Identifier. The name of the deployment. Format: * `projects/{project}/locations/{location}/deployments/{deployment}` @@ -2609,12 +2708,35 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S */ @property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AttributeValues *slo; +/** + * Optional. The environment at source for the deployment. For example: prod, + * dev, staging, etc. + */ +@property(nonatomic, copy, nullable) NSString *sourceEnvironment; + /** * Output only. The list of sources and metadata from the sources of the * deployment. */ @property(nonatomic, strong, nullable) NSArray *sourceMetadata; +/** + * Optional. The project to which the deployment belongs. For GCP gateways, + * this will refer to the project identifier. For others like Edge/OPDK, this + * will refer to the org identifier. + */ +@property(nonatomic, copy, nullable) NSString *sourceProject; + +/** + * Optional. The uri where additional source specific information for this + * deployment can be found. This maps to the following system defined + * attribute: + * `projects/{project}/locations/{location}/attributes/system-source-uri` The + * number of values for this attribute will be based on the cardinality of the + * attribute. The same can be retrieved via GetAttribute API. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AttributeValues *sourceUri; + /** Output only. The time at which the deployment was last updated. */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @@ -3689,6 +3811,32 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S */ @property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1Documentation *documentation; +/** + * Optional. The type of the gateway. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_ApiDiscovery The + * gateway type is API Discovery. (Value: "API_DISCOVERY") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_ApigeeEdgePrivateCloud + * The gateway type is Apigee Edge Private Cloud. (Value: + * "APIGEE_EDGE_PRIVATE_CLOUD") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_ApigeeEdgePublicCloud + * The gateway type is Apigee Edge Public Cloud. (Value: + * "APIGEE_EDGE_PUBLIC_CLOUD") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_ApigeeXAndHybrid + * The gateway type is Apigee X and Hybrid. (Value: + * "APIGEE_X_AND_HYBRID") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_CloudApiGateway + * The gateway type is Cloud API Gateway. (Value: "CLOUD_API_GATEWAY") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_CloudEndpoints + * The gateway type is Cloud Endpoints. (Value: "CLOUD_ENDPOINTS") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_GatewayTypeUnspecified + * The gateway type is not specified. (Value: "GATEWAY_TYPE_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_Others The + * gateway type for any other types of gateways. (Value: "OTHERS") + */ +@property(nonatomic, copy, nullable) NSString *gatewayType; + /** * Optional. This field is optional. It is used to notify the plugin hosting * service for any lifecycle changes of the plugin instance and trigger @@ -3875,6 +4023,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Optional. The source project id of the plugin instance. This will be the id + * of runtime project in case of gcp based plugins and org id in case of non + * gcp based plugins. This is a required field. + */ +@property(nonatomic, copy, nullable) NSString *sourceProjectId; + /** * Output only. The current state of the plugin instance (e.g., enabled, * disabled, provisioning). @@ -3959,6 +4114,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S */ @property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1ExecutionStatus *hubInstanceAction; +/** + * Output only. The configuration of resources created for a given plugin + * instance action. Note these will be returned only in case of Non-GCP plugins + * like OPDK. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1ResourceConfig *resourceConfig; + /** * Optional. The schedule for this plugin instance action. This can only be set * if the plugin supports API_HUB_SCHEDULE_TRIGGER mode for this action. @@ -3971,6 +4133,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S */ @property(nonatomic, copy, nullable) NSString *scheduleTimeZone; +/** + * Optional. The service account used to publish data. Note, the service + * account will only be accepted for non GCP plugins like OPDK. + */ +@property(nonatomic, copy, nullable) NSString *serviceAccount; + /** * Output only. The current state of the plugin action in the plugin instance. * @@ -4077,6 +4245,33 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S @end +/** + * The configuration of resources created for a given plugin instance action. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ResourceConfig : GTLRObject + +/** + * Output only. The type of the action. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ResourceConfig_ActionType_ActionTypeUnspecified + * Default unspecified action type. (Value: "ACTION_TYPE_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ResourceConfig_ActionType_SyncMetadata + * Action type for sync metadata. (Value: "SYNC_METADATA") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1ResourceConfig_ActionType_SyncRuntimeData + * Action type for sync runtime data. (Value: "SYNC_RUNTIME_DATA") + */ +@property(nonatomic, copy, nullable) NSString *actionType; + +/** + * Output only. The pubsub topic to publish the data to. Format is + * projects/{project}/topics/{topic} + */ +@property(nonatomic, copy, nullable) NSString *pubsubTopic; + +@end + + /** * Runtime project attachment represents an attachment from the runtime project * to the host project. Api Hub looks for deployments in the attached runtime diff --git a/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubQuery.h b/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubQuery.h index 81147c583..afaf5beab 100644 --- a/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubQuery.h +++ b/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubQuery.h @@ -346,14 +346,20 @@ NS_ASSUME_NONNULL_BEGIN * of the user defined JSON attribute associated with the Resource. Allowed * comparison operator is `:`. Here user-defined-attribute-json is a * placeholder that can be replaced with any user defined JSON attribute name. - * Expressions are combined with either `AND` logic operator or `OR` logical - * operator but not both of them together i.e. only one of the `AND` or `OR` - * operator can be used throughout the filter string and both the operators - * cannot be used together. No other logical operators are supported. At most - * three filter fields are allowed in the filter string and if provided more - * than that then `INVALID_ARGUMENT` error is returned by the API. Here are a - * few examples: * `owner.email = \\"apihub\@google.com\\"` - - The owner team - * email is _apihub\@google.com_. * `owner.email = \\"apihub\@google.com\\" AND + * A filter function is also supported in the filter string. The filter + * function is `id(name)`. The `id(name)` function returns the id of the + * resource name. For example, `id(name) = \\"api-1\\"` is equivalent to `name + * = \\"projects/test-project-id/locations/test-location-id/apis/api-1\\"` + * provided the parent is + * `projects/test-project-id/locations/test-location-id`. Expressions are + * combined with either `AND` logic operator or `OR` logical operator but not + * both of them together i.e. only one of the `AND` or `OR` operator can be + * used throughout the filter string and both the operators cannot be used + * together. No other logical operators are supported. At most three filter + * fields are allowed in the filter string and if provided more than that then + * `INVALID_ARGUMENT` error is returned by the API. Here are a few examples: * + * `owner.email = \\"apihub\@google.com\\"` - - The owner team email is + * _apihub\@google.com_. * `owner.email = \\"apihub\@google.com\\" AND * create_time < \\"2021-08-15T14:50:00Z\\" AND create_time > * \\"2021-08-10T12:00:00Z\\"` - The owner team email is _apihub\@google.com_ * and the api was created before _2021-08-15 14:50:00 UTC_ and after @@ -2340,17 +2346,24 @@ NS_ASSUME_NONNULL_BEGIN * of the user defined JSON attribute associated with the Resource. Allowed * comparison operator is `:`. Here user-defined-attribute-json is a * placeholder that can be replaced with any user defined JSON attribute name. - * Expressions are combined with either `AND` logic operator or `OR` logical - * operator but not both of them together i.e. only one of the `AND` or `OR` - * operator can be used throughout the filter string and both the operators - * cannot be used together. No other logical operators are supported. At most - * three filter fields are allowed in the filter string and if provided more - * than that then `INVALID_ARGUMENT` error is returned by the API. Here are a - * few examples: * `environment.enum_values.values.id: staging-id` - The - * allowed value id of the environment attribute associated with the Deployment - * is _staging-id_. * `environment.enum_values.values.display_name: \\"Staging - * Deployment\\"` - The allowed value display name of the environment attribute - * associated with the Deployment is `Staging Deployment`. * + * A filter function is also supported in the filter string. The filter + * function is `id(name)`. The `id(name)` function returns the id of the + * resource name. For example, `id(name) = \\"deployment-1\\"` is equivalent to + * `name = + * \\"projects/test-project-id/locations/test-location-id/deployments/deployment-1\\"` + * provided the parent is + * `projects/test-project-id/locations/test-location-id`. Expressions are + * combined with either `AND` logic operator or `OR` logical operator but not + * both of them together i.e. only one of the `AND` or `OR` operator can be + * used throughout the filter string and both the operators cannot be used + * together. No other logical operators are supported. At most three filter + * fields are allowed in the filter string and if provided more than that then + * `INVALID_ARGUMENT` error is returned by the API. Here are a few examples: * + * `environment.enum_values.values.id: staging-id` - The allowed value id of + * the environment attribute associated with the Deployment is _staging-id_. * + * `environment.enum_values.values.display_name: \\"Staging Deployment\\"` - + * The allowed value display name of the environment attribute associated with + * the Deployment is `Staging Deployment`. * * `environment.enum_values.values.id: production-id AND create_time < * \\"2021-08-15T14:50:00Z\\" AND create_time > \\"2021-08-10T12:00:00Z\\"` - * The allowed value id of the environment attribute associated with the @@ -2412,7 +2425,8 @@ NS_ASSUME_NONNULL_BEGIN * Update a deployment resource in the API hub. The following fields in the * deployment resource can be updated: * display_name * description * * documentation * deployment_type * resource_uri * endpoints * slo * - * environment * attributes The update_mask should be used to specify the + * environment * attributes * source_project * source_environment * + * management_url * source_uri The update_mask should be used to specify the * fields being updated. * * Method: apihub.projects.locations.deployments.patch @@ -2441,7 +2455,8 @@ NS_ASSUME_NONNULL_BEGIN * Update a deployment resource in the API hub. The following fields in the * deployment resource can be updated: * display_name * description * * documentation * deployment_type * resource_uri * endpoints * slo * - * environment * attributes The update_mask should be used to specify the + * environment * attributes * source_project * source_environment * + * management_url * source_uri The update_mask should be used to specify the * fields being updated. * * @param object The @c GTLRAPIhub_GoogleCloudApihubV1Deployment to include in @@ -3491,14 +3506,20 @@ NS_ASSUME_NONNULL_BEGIN * filtering. The value must be a string. The comparison operator must be one * of: `<`, `>` or `=`. Filters are not case sensitive. The following fields in * the `PluginInstances` are eligible for filtering: * `state` - The state of - * the Plugin Instance. Allowed comparison operators: `=`. Expressions are - * combined with either `AND` logic operator or `OR` logical operator but not - * both of them together i.e. only one of the `AND` or `OR` operator can be - * used throughout the filter string and both the operators cannot be used - * together. No other logical operators are supported. At most three filter - * fields are allowed in the filter string and if provided more than that then - * `INVALID_ARGUMENT` error is returned by the API. Here are a few examples: * - * `state = ENABLED` - The plugin instance is in enabled state. + * the Plugin Instance. Allowed comparison operators: `=`. A filter function is + * also supported in the filter string. The filter function is `id(name)`. The + * `id(name)` function returns the id of the resource name. For example, + * `id(name) = \\"plugin-instance-1\\"` is equivalent to `name = + * \\"projects/test-project-id/locations/test-location-id/plugins/plugin-1/instances/plugin-instance-1\\"` + * provided the parent is + * `projects/test-project-id/locations/test-location-id/plugins/plugin-1`. + * Expressions are combined with either `AND` logic operator or `OR` logical + * operator but not both of them together i.e. only one of the `AND` or `OR` + * operator can be used throughout the filter string and both the operators + * cannot be used together. No other logical operators are supported. At most + * three filter fields are allowed in the filter string and if provided more + * than that then `INVALID_ARGUMENT` error is returned by the API. Here are a + * few examples: * `state = ENABLED` - The plugin instance is in enabled state. */ @property(nonatomic, copy, nullable) NSString *filter; @@ -3548,6 +3569,55 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Updates a plugin instance in the API hub. The following fields in the + * plugin_instance can be updated currently: * display_name * + * schedule_cron_expression The update_mask should be used to specify the + * fields being updated. To update the auth_config and additional_config of the + * plugin instance, use the ApplyPluginInstanceConfig method. + * + * Method: apihub.projects.locations.plugins.instances.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesPatch : GTLRAPIhubQuery + +/** + * Identifier. The unique name of the plugin instance resource. Format: + * `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The list of fields to update. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1PluginInstance. + * + * Updates a plugin instance in the API hub. The following fields in the + * plugin_instance can be updated currently: * display_name * + * schedule_cron_expression The update_mask should be used to specify the + * fields being updated. To update the auth_config and additional_config of the + * plugin instance, use the ApplyPluginInstanceConfig method. + * + * @param object The @c GTLRAPIhub_GoogleCloudApihubV1PluginInstance to include + * in the query. + * @param name Identifier. The unique name of the plugin instance resource. + * Format: + * `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}` + * + * @return GTLRAPIhubQuery_ProjectsLocationsPluginsInstancesPatch + */ ++ (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1PluginInstance *)object + name:(NSString *)name; + +@end + /** * List all the plugins in a given project and location. * diff --git a/Sources/GeneratedServices/AccessApproval/GTLRAccessApprovalObjects.m b/Sources/GeneratedServices/AccessApproval/GTLRAccessApprovalObjects.m index 06aaf2543..b184f9ba9 100644 --- a/Sources/GeneratedServices/AccessApproval/GTLRAccessApprovalObjects.m +++ b/Sources/GeneratedServices/AccessApproval/GTLRAccessApprovalObjects.m @@ -58,6 +58,7 @@ NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_HmacSha256 = @"HMAC_SHA256"; NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_HmacSha384 = @"HMAC_SHA384"; NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_HmacSha512 = @"HMAC_SHA512"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_PqSignHashSlhDsaSha2128sSha256 = @"PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256"; NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_PqSignMlDsa65 = @"PQ_SIGN_ML_DSA_65"; NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_PqSignSlhDsaSha2128s = @"PQ_SIGN_SLH_DSA_SHA2_128S"; NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_RsaDecryptOaep2048Sha1 = @"RSA_DECRYPT_OAEP_2048_SHA1"; diff --git a/Sources/GeneratedServices/AccessApproval/Public/GoogleAPIClientForREST/GTLRAccessApprovalObjects.h b/Sources/GeneratedServices/AccessApproval/Public/GoogleAPIClientForREST/GTLRAccessApprovalObjects.h index 96df40b51..d5b2cebc6 100644 --- a/Sources/GeneratedServices/AccessApproval/Public/GoogleAPIClientForREST/GTLRAccessApprovalObjects.h +++ b/Sources/GeneratedServices/AccessApproval/Public/GoogleAPIClientForREST/GTLRAccessApprovalObjects.h @@ -291,6 +291,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAl * Value: "HMAC_SHA512" */ FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_HmacSha512; +/** + * The post-quantum stateless hash-based digital signature algorithm, at + * security level 1. Randomized pre-hash version supporting SHA256 digests. + * + * Value: "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_PqSignHashSlhDsaSha2128sSha256; /** * The post-quantum Module-Lattice-Based Digital Signature Algorithm, at * security level 3. Randomized version. @@ -998,6 +1005,10 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAl * HMAC-SHA384 signing with a 384 bit key. (Value: "HMAC_SHA384") * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_HmacSha512 * HMAC-SHA512 signing with a 512 bit key. (Value: "HMAC_SHA512") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_PqSignHashSlhDsaSha2128sSha256 + * The post-quantum stateless hash-based digital signature algorithm, at + * security level 1. Randomized pre-hash version supporting SHA256 + * digests. (Value: "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256") * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_PqSignMlDsa65 * The post-quantum Module-Lattice-Based Digital Signature Algorithm, at * security level 3. Randomized version. (Value: "PQ_SIGN_ML_DSA_65") diff --git a/Sources/GeneratedServices/AddressValidation/GTLRAddressValidationObjects.m b/Sources/GeneratedServices/AddressValidation/GTLRAddressValidationObjects.m index af5f9b68c..c8ef8469a 100644 --- a/Sources/GeneratedServices/AddressValidation/GTLRAddressValidationObjects.m +++ b/Sources/GeneratedServices/AddressValidation/GTLRAddressValidationObjects.m @@ -47,6 +47,13 @@ NSString * const kGTLRAddressValidation_GoogleMapsAddressvalidationV1Verdict_InputGranularity_Route = @"ROUTE"; NSString * const kGTLRAddressValidation_GoogleMapsAddressvalidationV1Verdict_InputGranularity_SubPremise = @"SUB_PREMISE"; +// GTLRAddressValidation_GoogleMapsAddressvalidationV1Verdict.possibleNextAction +NSString * const kGTLRAddressValidation_GoogleMapsAddressvalidationV1Verdict_PossibleNextAction_Accept = @"ACCEPT"; +NSString * const kGTLRAddressValidation_GoogleMapsAddressvalidationV1Verdict_PossibleNextAction_Confirm = @"CONFIRM"; +NSString * const kGTLRAddressValidation_GoogleMapsAddressvalidationV1Verdict_PossibleNextAction_ConfirmAddSubpremises = @"CONFIRM_ADD_SUBPREMISES"; +NSString * const kGTLRAddressValidation_GoogleMapsAddressvalidationV1Verdict_PossibleNextAction_Fix = @"FIX"; +NSString * const kGTLRAddressValidation_GoogleMapsAddressvalidationV1Verdict_PossibleNextAction_PossibleNextActionUnspecified = @"POSSIBLE_NEXT_ACTION_UNSPECIFIED"; + // GTLRAddressValidation_GoogleMapsAddressvalidationV1Verdict.validationGranularity NSString * const kGTLRAddressValidation_GoogleMapsAddressvalidationV1Verdict_ValidationGranularity_Block = @"BLOCK"; NSString * const kGTLRAddressValidation_GoogleMapsAddressvalidationV1Verdict_ValidationGranularity_GranularityUnspecified = @"GRANULARITY_UNSPECIFIED"; @@ -244,7 +251,8 @@ @implementation GTLRAddressValidation_GoogleMapsAddressvalidationV1ValidationRes @implementation GTLRAddressValidation_GoogleMapsAddressvalidationV1Verdict @dynamic addressComplete, geocodeGranularity, hasInferredComponents, - hasReplacedComponents, hasUnconfirmedComponents, inputGranularity, + hasReplacedComponents, hasSpellCorrectedComponents, + hasUnconfirmedComponents, inputGranularity, possibleNextAction, validationGranularity; @end diff --git a/Sources/GeneratedServices/AddressValidation/Public/GoogleAPIClientForREST/GTLRAddressValidationObjects.h b/Sources/GeneratedServices/AddressValidation/Public/GoogleAPIClientForREST/GTLRAddressValidationObjects.h index dcf7b3109..0a710f3bf 100644 --- a/Sources/GeneratedServices/AddressValidation/Public/GoogleAPIClientForREST/GTLRAddressValidationObjects.h +++ b/Sources/GeneratedServices/AddressValidation/Public/GoogleAPIClientForREST/GTLRAddressValidationObjects.h @@ -210,6 +210,55 @@ FOUNDATION_EXTERN NSString * const kGTLRAddressValidation_GoogleMapsAddressvalid */ FOUNDATION_EXTERN NSString * const kGTLRAddressValidation_GoogleMapsAddressvalidationV1Verdict_InputGranularity_SubPremise; +// ---------------------------------------------------------------------------- +// GTLRAddressValidation_GoogleMapsAddressvalidationV1Verdict.possibleNextAction + +/** + * The API response does not contain signals that warrant one of the other + * PossibleNextAction values. You might consider using the post-processed + * address without further prompting your customer, though this does not + * guarantee the address is valid, and the address might still contain + * corrections. It is your responsibility to determine if and how to prompt + * your customer, depending on your own risk assessment. + * + * Value: "ACCEPT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAddressValidation_GoogleMapsAddressvalidationV1Verdict_PossibleNextAction_Accept; +/** + * One or more fields of the API response indicate potential minor issues with + * the post-processed address, for example the `postal_code` address component + * was `replaced`. Prompting your customer to review the address could help + * improve the quality of the address. + * + * Value: "CONFIRM" + */ +FOUNDATION_EXTERN NSString * const kGTLRAddressValidation_GoogleMapsAddressvalidationV1Verdict_PossibleNextAction_Confirm; +/** + * The API response indicates the post-processed address might be missing a + * subpremises. Prompting your customer to review the address and consider + * adding a unit number could help improve the quality of the address. The + * post-processed address might also have other minor issues. Note: this enum + * value can only be returned for US addresses. + * + * Value: "CONFIRM_ADD_SUBPREMISES" + */ +FOUNDATION_EXTERN NSString * const kGTLRAddressValidation_GoogleMapsAddressvalidationV1Verdict_PossibleNextAction_ConfirmAddSubpremises; +/** + * One or more fields of the API response indicate a potential issue with the + * post-processed address, for example the `verdict.validation_granularity` is + * `OTHER`. Prompting your customer to edit the address could help improve the + * quality of the address. + * + * Value: "FIX" + */ +FOUNDATION_EXTERN NSString * const kGTLRAddressValidation_GoogleMapsAddressvalidationV1Verdict_PossibleNextAction_Fix; +/** + * Default value. This value is unused. + * + * Value: "POSSIBLE_NEXT_ACTION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAddressValidation_GoogleMapsAddressvalidationV1Verdict_PossibleNextAction_PossibleNextActionUnspecified; + // ---------------------------------------------------------------------------- // GTLRAddressValidation_GoogleMapsAddressvalidationV1Verdict.validationGranularity @@ -437,8 +486,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAddressValidation_GoogleMapsAddressvalid /** - * The metadata for the address. `metadata` is not guaranteed to be fully - * populated for every address sent to the Address Validation API. + * The metadata for the post-processed address. `metadata` is not guaranteed to + * be fully populated for every address sent to the Address Validation API. */ @interface GTLRAddressValidation_GoogleMapsAddressvalidationV1AddressMetadata : GTLRObject @@ -1095,10 +1144,10 @@ FOUNDATION_EXTERN NSString * const kGTLRAddressValidation_GoogleMapsAddressvalid @interface GTLRAddressValidation_GoogleMapsAddressvalidationV1Verdict : GTLRObject /** - * The address is considered complete if there are no unresolved tokens, no - * unexpected or missing address components. If unset, indicates that the value - * is `false`. See `missing_component_types`, `unresolved_tokens` or - * `unexpected` fields for more details. + * The post-processed address is considered complete if there are no unresolved + * tokens, no unexpected or missing address components. If unset, indicates + * that the value is `false`. See `missing_component_types`, + * `unresolved_tokens` or `unexpected` fields for more details. * * Uses NSNumber of boolValue. */ @@ -1154,6 +1203,14 @@ FOUNDATION_EXTERN NSString * const kGTLRAddressValidation_GoogleMapsAddressvalid */ @property(nonatomic, strong, nullable) NSNumber *hasReplacedComponents; +/** + * At least one address component was spell-corrected, see + * [google.maps.addressvalidation.v1.Address.address_components] for details. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hasSpellCorrectedComponents; + /** * At least one address component cannot be categorized or validated, see * [google.maps.addressvalidation.v1.Address.address_components] for details. @@ -1167,9 +1224,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAddressValidation_GoogleMapsAddressvalid * input address and does not give any validation signals. For validation * signals, refer to `validation_granularity` below. For example, if the input * address includes a specific apartment number, then the `input_granularity` - * here will be `SUB_PREMISE`. If we cannot match the apartment number in the - * databases or the apartment number is invalid, the `validation_granularity` - * will likely be `PREMISE` or worse. + * here will be `SUB_PREMISE`. If the address validation service cannot match + * the apartment number in the databases or the apartment number is invalid, + * the `validation_granularity` will likely be `PREMISE` or more coarse. * * Likely values: * @arg @c kGTLRAddressValidation_GoogleMapsAddressvalidationV1Verdict_InputGranularity_Block @@ -1196,10 +1253,59 @@ FOUNDATION_EXTERN NSString * const kGTLRAddressValidation_GoogleMapsAddressvalid @property(nonatomic, copy, nullable) NSString *inputGranularity; /** - * The granularity level that the API can fully **validate** the address to. - * For example, an `validation_granularity` of `PREMISE` indicates all address - * components at the level of `PREMISE` or more coarse can be validated. Per - * address component validation result can be found in + * Preview: This feature is in Preview (pre-GA). Pre-GA products and features + * might have limited support, and changes to pre-GA products and features + * might not be compatible with other pre-GA versions. Pre-GA Offerings are + * covered by the [Google Maps Platform Service Specific + * Terms](https://cloud.google.com/maps-platform/terms/maps-service-terms). For + * more information, see the [launch stage + * descriptions](https://developers.google.com/maps/launch-stages). Offers an + * interpretive summary of the API response, intended to assist in determining + * a potential subsequent action to take. This field is derived from other + * fields in the API response and should not be considered as a guarantee of + * address accuracy or deliverability. See [Build your validation + * logic](https://developers.google.com/maps/documentation/address-validation/build-validation-logic) + * for more details. + * + * Likely values: + * @arg @c kGTLRAddressValidation_GoogleMapsAddressvalidationV1Verdict_PossibleNextAction_Accept + * The API response does not contain signals that warrant one of the + * other PossibleNextAction values. You might consider using the + * post-processed address without further prompting your customer, though + * this does not guarantee the address is valid, and the address might + * still contain corrections. It is your responsibility to determine if + * and how to prompt your customer, depending on your own risk + * assessment. (Value: "ACCEPT") + * @arg @c kGTLRAddressValidation_GoogleMapsAddressvalidationV1Verdict_PossibleNextAction_Confirm + * One or more fields of the API response indicate potential minor issues + * with the post-processed address, for example the `postal_code` address + * component was `replaced`. Prompting your customer to review the + * address could help improve the quality of the address. (Value: + * "CONFIRM") + * @arg @c kGTLRAddressValidation_GoogleMapsAddressvalidationV1Verdict_PossibleNextAction_ConfirmAddSubpremises + * The API response indicates the post-processed address might be missing + * a subpremises. Prompting your customer to review the address and + * consider adding a unit number could help improve the quality of the + * address. The post-processed address might also have other minor + * issues. Note: this enum value can only be returned for US addresses. + * (Value: "CONFIRM_ADD_SUBPREMISES") + * @arg @c kGTLRAddressValidation_GoogleMapsAddressvalidationV1Verdict_PossibleNextAction_Fix + * One or more fields of the API response indicate a potential issue with + * the post-processed address, for example the + * `verdict.validation_granularity` is `OTHER`. Prompting your customer + * to edit the address could help improve the quality of the address. + * (Value: "FIX") + * @arg @c kGTLRAddressValidation_GoogleMapsAddressvalidationV1Verdict_PossibleNextAction_PossibleNextActionUnspecified + * Default value. This value is unused. (Value: + * "POSSIBLE_NEXT_ACTION_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *possibleNextAction; + +/** + * The level of granularity for the post-processed address that the API can + * fully validate. For example, a `validation_granularity` of `PREMISE` + * indicates all address components at the level of `PREMISE` or more coarse + * can be validated. Per address component validation result can be found in * [google.maps.addressvalidation.v1.Address.address_components]. * * Likely values: @@ -1255,13 +1361,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAddressValidation_GoogleMapsAddressvalid /** - * Represents a postal address (for example, for postal delivery or payments - * addresses). Given a postal address, a postal service can deliver items to a - * premise, P.O. box or similar. It is not intended to model geographical - * locations (roads, towns, mountains). In typical usage, an address would be - * created by user input or from importing existing data, depending on the type - * of process. Advice on address input or editing: - Use an - * internationalization-ready address widget such as + * Represents a postal address, such as for postal delivery or payments + * addresses. With a postal address, a postal service can deliver items to a + * premise, P.O. box, or similar. A postal address is not intended to model + * geographical locations like roads, towns, or mountains. In typical usage, an + * address would be created by user input or from importing existing data, + * depending on the type of process. Advice on address input or editing: - Use + * an internationalization-ready address widget such as * https://github.com/google/libaddressinput. - Users should not be presented * with UI elements for input or editing of fields outside countries where that * field is used. For more guidance on how to use this schema, see: diff --git a/Sources/GeneratedServices/Adsense/Public/GoogleAPIClientForREST/GTLRAdsenseObjects.h b/Sources/GeneratedServices/Adsense/Public/GoogleAPIClientForREST/GTLRAdsenseObjects.h index 3a217371b..50789d173 100644 --- a/Sources/GeneratedServices/Adsense/Public/GoogleAPIClientForREST/GTLRAdsenseObjects.h +++ b/Sources/GeneratedServices/Adsense/Public/GoogleAPIClientForREST/GTLRAdsenseObjects.h @@ -411,7 +411,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAdsense_Site_State_StateUnspecified; @property(nonatomic, strong, nullable) NSArray *pendingTasks; /** - * Output only. Whether this account is premium. + * Output only. Whether this account is premium. Premium accounts have access + * to additional spam-related metrics. * * Uses NSNumber of boolValue. */ diff --git a/Sources/GeneratedServices/Adsense/Public/GoogleAPIClientForREST/GTLRAdsenseQuery.h b/Sources/GeneratedServices/Adsense/Public/GoogleAPIClientForREST/GTLRAdsenseQuery.h index 6d5872718..423351afd 100644 --- a/Sources/GeneratedServices/Adsense/Public/GoogleAPIClientForREST/GTLRAdsenseQuery.h +++ b/Sources/GeneratedServices/Adsense/Public/GoogleAPIClientForREST/GTLRAdsenseQuery.h @@ -461,8 +461,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAdsenseMetricsAdRequestsCtr; */ FOUNDATION_EXTERN NSString * const kGTLRAdsenseMetricsAdRequestsRpm; /** - * Fraction of ad requests considered to be spam. Only available to premium - * accounts. + * Fraction of ad requests considered to be spam. Only available to [premium + * accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium). * * Value: "AD_REQUESTS_SPAM_RATIO" */ @@ -480,8 +480,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAdsenseMetricsAdsPerImpression; */ FOUNDATION_EXTERN NSString * const kGTLRAdsenseMetricsClicks; /** - * Fraction of clicks considered to be spam. Only available to premium - * accounts. + * Fraction of clicks considered to be spam. Only available to [premium + * accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium). * * Value: "CLICKS_SPAM_RATIO" */ @@ -558,8 +558,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAdsenseMetricsImpressionsCtr; */ FOUNDATION_EXTERN NSString * const kGTLRAdsenseMetricsImpressionsRpm; /** - * Fraction of impressions considered to be spam. Only available to premium - * accounts. + * Fraction of impressions considered to be spam. Only available to [premium + * accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium). * * Value: "IMPRESSIONS_SPAM_RATIO" */ @@ -588,8 +588,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAdsenseMetricsIndividualAdImpressionsCtr */ FOUNDATION_EXTERN NSString * const kGTLRAdsenseMetricsIndividualAdImpressionsRpm; /** - * Fraction of ad impressions considered to be spam. Only available to premium - * accounts. + * Fraction of ad impressions considered to be spam. Only available to [premium + * accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium). * * Value: "INDIVIDUAL_AD_IMPRESSIONS_SPAM_RATIO" */ @@ -615,7 +615,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAdsenseMetricsMatchedAdRequestsCtr; FOUNDATION_EXTERN NSString * const kGTLRAdsenseMetricsMatchedAdRequestsRpm; /** * Fraction of ad requests that returned ads considered to be spam. Only - * available to premium accounts. + * available to [premium + * accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium). * * Value: "MATCHED_AD_REQUESTS_SPAM_RATIO" */ @@ -646,8 +647,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAdsenseMetricsPageViewsCtr; */ FOUNDATION_EXTERN NSString * const kGTLRAdsenseMetricsPageViewsRpm; /** - * Fraction of page views considered to be spam. Only available to premium - * accounts. + * Fraction of page views considered to be spam. Only available to [premium + * accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium). * * Value: "PAGE_VIEWS_SPAM_RATIO" */ @@ -2003,23 +2004,30 @@ FOUNDATION_EXTERN NSString * const kGTLRAdsenseReportingTimeZoneReportingTimeZon * @arg @c kGTLRAdsenseMetricsClicks Number of times a user clicked on a * standard content ad. (Value: "CLICKS") * @arg @c kGTLRAdsenseMetricsPageViewsSpamRatio Fraction of page views - * considered to be spam. Only available to premium accounts. (Value: - * "PAGE_VIEWS_SPAM_RATIO") + * considered to be spam. Only available to [premium + * accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium). + * (Value: "PAGE_VIEWS_SPAM_RATIO") * @arg @c kGTLRAdsenseMetricsAdRequestsSpamRatio Fraction of ad requests - * considered to be spam. Only available to premium accounts. (Value: - * "AD_REQUESTS_SPAM_RATIO") + * considered to be spam. Only available to [premium + * accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium). + * (Value: "AD_REQUESTS_SPAM_RATIO") * @arg @c kGTLRAdsenseMetricsMatchedAdRequestsSpamRatio Fraction of ad * requests that returned ads considered to be spam. Only available to - * premium accounts. (Value: "MATCHED_AD_REQUESTS_SPAM_RATIO") + * [premium + * accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium). + * (Value: "MATCHED_AD_REQUESTS_SPAM_RATIO") * @arg @c kGTLRAdsenseMetricsImpressionsSpamRatio Fraction of impressions - * considered to be spam. Only available to premium accounts. (Value: - * "IMPRESSIONS_SPAM_RATIO") + * considered to be spam. Only available to [premium + * accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium). + * (Value: "IMPRESSIONS_SPAM_RATIO") * @arg @c kGTLRAdsenseMetricsIndividualAdImpressionsSpamRatio Fraction of ad - * impressions considered to be spam. Only available to premium accounts. + * impressions considered to be spam. Only available to [premium + * accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium). * (Value: "INDIVIDUAL_AD_IMPRESSIONS_SPAM_RATIO") * @arg @c kGTLRAdsenseMetricsClicksSpamRatio Fraction of clicks considered - * to be spam. Only available to premium accounts. (Value: - * "CLICKS_SPAM_RATIO") + * to be spam. Only available to [premium + * accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium). + * (Value: "CLICKS_SPAM_RATIO") * @arg @c kGTLRAdsenseMetricsAdRequestsCoverage Ratio of requested ad units * or queries to the number returned to the site. (Value: * "AD_REQUESTS_COVERAGE") @@ -2428,23 +2436,30 @@ FOUNDATION_EXTERN NSString * const kGTLRAdsenseReportingTimeZoneReportingTimeZon * @arg @c kGTLRAdsenseMetricsClicks Number of times a user clicked on a * standard content ad. (Value: "CLICKS") * @arg @c kGTLRAdsenseMetricsPageViewsSpamRatio Fraction of page views - * considered to be spam. Only available to premium accounts. (Value: - * "PAGE_VIEWS_SPAM_RATIO") + * considered to be spam. Only available to [premium + * accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium). + * (Value: "PAGE_VIEWS_SPAM_RATIO") * @arg @c kGTLRAdsenseMetricsAdRequestsSpamRatio Fraction of ad requests - * considered to be spam. Only available to premium accounts. (Value: - * "AD_REQUESTS_SPAM_RATIO") + * considered to be spam. Only available to [premium + * accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium). + * (Value: "AD_REQUESTS_SPAM_RATIO") * @arg @c kGTLRAdsenseMetricsMatchedAdRequestsSpamRatio Fraction of ad * requests that returned ads considered to be spam. Only available to - * premium accounts. (Value: "MATCHED_AD_REQUESTS_SPAM_RATIO") + * [premium + * accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium). + * (Value: "MATCHED_AD_REQUESTS_SPAM_RATIO") * @arg @c kGTLRAdsenseMetricsImpressionsSpamRatio Fraction of impressions - * considered to be spam. Only available to premium accounts. (Value: - * "IMPRESSIONS_SPAM_RATIO") + * considered to be spam. Only available to [premium + * accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium). + * (Value: "IMPRESSIONS_SPAM_RATIO") * @arg @c kGTLRAdsenseMetricsIndividualAdImpressionsSpamRatio Fraction of ad - * impressions considered to be spam. Only available to premium accounts. + * impressions considered to be spam. Only available to [premium + * accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium). * (Value: "INDIVIDUAL_AD_IMPRESSIONS_SPAM_RATIO") * @arg @c kGTLRAdsenseMetricsClicksSpamRatio Fraction of clicks considered - * to be spam. Only available to premium accounts. (Value: - * "CLICKS_SPAM_RATIO") + * to be spam. Only available to [premium + * accounts](https://developers.google.com/adsense/management/reference/rest/v2/accounts#Account.FIELDS.premium). + * (Value: "CLICKS_SPAM_RATIO") * @arg @c kGTLRAdsenseMetricsAdRequestsCoverage Ratio of requested ad units * or queries to the number returned to the site. (Value: * "AD_REQUESTS_COVERAGE") diff --git a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m index 0e11ef8c3..da10ff188 100644 --- a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m +++ b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m @@ -80,6 +80,10 @@ // GTLRAiplatform_GoogleCloudAiplatformV1Candidate.finishReason NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_Blocklist = @"BLOCKLIST"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_FinishReasonUnspecified = @"FINISH_REASON_UNSPECIFIED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_ImageOther = @"IMAGE_OTHER"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_ImageProhibitedContent = @"IMAGE_PROHIBITED_CONTENT"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_ImageRecitation = @"IMAGE_RECITATION"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_ImageSafety = @"IMAGE_SAFETY"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_MalformedFunctionCall = @"MALFORMED_FUNCTION_CALL"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_MaxTokens = @"MAX_TOKENS"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_Other = @"OTHER"; @@ -297,6 +301,7 @@ // GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback.blockReason NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_BlockedReasonUnspecified = @"BLOCKED_REASON_UNSPECIFIED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_Blocklist = @"BLOCKLIST"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_ImageSafety = @"IMAGE_SAFETY"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_Other = @"OTHER"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_ProhibitedContent = @"PROHIBITED_CONTENT"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_Safety = @"SAFETY"; @@ -663,6 +668,11 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Presets_Query_Fast = @"FAST"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Presets_Query_Precise = @"PRECISE"; +// GTLRAiplatform_GoogleCloudAiplatformV1PSCAutomationConfig.state +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1PSCAutomationConfig_State_PscAutomationStateFailed = @"PSC_AUTOMATION_STATE_FAILED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1PSCAutomationConfig_State_PscAutomationStateSuccessful = @"PSC_AUTOMATION_STATE_SUCCESSFUL"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1PSCAutomationConfig_State_PscAutomationStateUnspecified = @"PSC_AUTOMATION_STATE_UNSPECIFIED"; + // GTLRAiplatform_GoogleCloudAiplatformV1PublisherModel.launchStage NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1PublisherModel_LaunchStage_Experimental = @"EXPERIMENTAL"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1PublisherModel_LaunchStage_Ga = @"GA"; @@ -694,9 +704,21 @@ 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"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryImageDangerousContent = @"HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryImageHarassment = @"HARM_CATEGORY_IMAGE_HARASSMENT"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryImageHate = @"HARM_CATEGORY_IMAGE_HATE"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryImageSexuallyExplicit = @"HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategorySexuallyExplicit = @"HARM_CATEGORY_SEXUALLY_EXPLICIT"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryUnspecified = @"HARM_CATEGORY_UNSPECIFIED"; +// GTLRAiplatform_GoogleCloudAiplatformV1SafetyRating.overwrittenThreshold +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_OverwrittenThreshold_BlockLowAndAbove = @"BLOCK_LOW_AND_ABOVE"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_OverwrittenThreshold_BlockMediumAndAbove = @"BLOCK_MEDIUM_AND_ABOVE"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_OverwrittenThreshold_BlockNone = @"BLOCK_NONE"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_OverwrittenThreshold_BlockOnlyHigh = @"BLOCK_ONLY_HIGH"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_OverwrittenThreshold_HarmBlockThresholdUnspecified = @"HARM_BLOCK_THRESHOLD_UNSPECIFIED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_OverwrittenThreshold_Off = @"OFF"; + // GTLRAiplatform_GoogleCloudAiplatformV1SafetyRating.probability NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Probability_HarmProbabilityUnspecified = @"HARM_PROBABILITY_UNSPECIFIED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Probability_High = @"HIGH"; @@ -716,6 +738,10 @@ 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"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryImageDangerousContent = @"HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryImageHarassment = @"HARM_CATEGORY_IMAGE_HARASSMENT"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryImageHate = @"HARM_CATEGORY_IMAGE_HATE"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryImageSexuallyExplicit = @"HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategorySexuallyExplicit = @"HARM_CATEGORY_SEXUALLY_EXPLICIT"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryUnspecified = @"HARM_CATEGORY_UNSPECIFIED"; @@ -939,6 +965,10 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TimeSeriesData_ValueType_Tensor = @"TENSOR"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TimeSeriesData_ValueType_ValueTypeUnspecified = @"VALUE_TYPE_UNSPECIFIED"; +// GTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse.environment +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse_Environment_EnvironmentBrowser = @"ENVIRONMENT_BROWSER"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse_Environment_EnvironmentUnspecified = @"ENVIRONMENT_UNSPECIFIED"; + // GTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline.state NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline_State_PipelineStateCancelled = @"PIPELINE_STATE_CANCELLED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline_State_PipelineStateCancelling = @"PIPELINE_STATE_CANCELLING"; @@ -972,6 +1002,11 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TuningJob_State_JobStateUnspecified = @"JOB_STATE_UNSPECIFIED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TuningJob_State_JobStateUpdating = @"JOB_STATE_UPDATING"; +// GTLRAiplatform_GoogleCloudAiplatformV1UrlMetadata.urlRetrievalStatus +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMetadata_UrlRetrievalStatus_UrlRetrievalStatusError = @"URL_RETRIEVAL_STATUS_ERROR"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMetadata_UrlRetrievalStatus_UrlRetrievalStatusSuccess = @"URL_RETRIEVAL_STATUS_SUCCESS"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMetadata_UrlRetrievalStatus_UrlRetrievalStatusUnspecified = @"URL_RETRIEVAL_STATUS_UNSPECIFIED"; + #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdeprecated-declarations" #pragma clang diagnostic ignored "-Wdeprecated-implementations" @@ -2313,7 +2348,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1CancelTuningJobRequest @implementation GTLRAiplatform_GoogleCloudAiplatformV1Candidate @dynamic avgLogprobs, citationMetadata, content, finishMessage, finishReason, - groundingMetadata, index, logprobsResult, safetyRatings; + groundingMetadata, index, logprobsResult, safetyRatings, + urlContextMetadata; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -3170,8 +3206,8 @@ + (Class)classForAdditionalProperties { @implementation GTLRAiplatform_GoogleCloudAiplatformV1CustomJobSpec @dynamic baseOutputDirectory, enableDashboardAccess, enableWebAccess, experiment, experimentRun, models, network, persistentResourceId, - protectedArtifactLocationId, reservedIpRanges, scheduling, - serviceAccount, tensorboard, workerPoolSpecs; + protectedArtifactLocationId, pscInterfaceConfig, reservedIpRanges, + scheduling, serviceAccount, tensorboard, workerPoolSpecs; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -3675,6 +3711,82 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1DeployModelResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1DeployOperationMetadata +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1DeployOperationMetadata +@dynamic destination, genericMetadata, modelId, projectNumber, publisherModel; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1DeployRequest +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1DeployRequest +@dynamic deployConfig, endpointConfig, huggingFaceModelId, modelConfig, + publisherModelName; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1DeployRequestDeployConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1DeployRequestDeployConfig +@dynamic dedicatedResources, fastTryoutEnabled, systemLabels; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1DeployRequestDeployConfig_SystemLabels +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1DeployRequestDeployConfig_SystemLabels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1DeployRequestEndpointConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1DeployRequestEndpointConfig +@dynamic dedicatedEndpointEnabled, endpointDisplayName; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1DeployRequestModelConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1DeployRequestModelConfig +@dynamic acceptEula, containerSpec, huggingFaceAccessToken, + huggingFaceCacheEnabled, modelDisplayName; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1DeployResponse +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1DeployResponse +@dynamic endpoint, model, publisherModel; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1DestinationFeatureSetting @@ -3760,6 +3872,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1DiskSpec @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1DnsPeeringConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1DnsPeeringConfig +@dynamic domain, targetNetwork, targetProject; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1DoubleArray @@ -5651,7 +5773,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1FunctionCallingConfig // @implementation GTLRAiplatform_GoogleCloudAiplatformV1FunctionDeclaration -@dynamic descriptionProperty, name, parameters, response; +@dynamic descriptionProperty, name, parameters, parametersJsonSchema, response, + responseJsonSchema; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -5867,9 +5990,10 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateVideoResponseVideo @implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerationConfig @dynamic audioTimestamp, candidateCount, enableAffectiveDialog, frequencyPenalty, logprobs, maxOutputTokens, mediaResolution, - presencePenalty, responseLogprobs, responseMimeType, - responseModalities, responseSchema, routingConfig, seed, speechConfig, - stopSequences, temperature, thinkingConfig, topK, topP; + presencePenalty, responseJsonSchema, responseLogprobs, + responseMimeType, responseModalities, responseSchema, routingConfig, + seed, speechConfig, stopSequences, temperature, thinkingConfig, topK, + topP; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -8272,8 +8396,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ModelBaseModelSource @implementation GTLRAiplatform_GoogleCloudAiplatformV1ModelContainerSpec @dynamic args, command, deploymentTimeout, env, grpcPorts, healthProbe, - healthRoute, imageUri, livenessProbe, ports, predictRoute, - sharedMemorySizeMb, startupProbe; + healthRoute, imageUri, invokeRoutePrefix, livenessProbe, ports, + predictRoute, sharedMemorySizeMb, startupProbe; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -9494,7 +9618,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1PairwiseSummarizationQuali @implementation GTLRAiplatform_GoogleCloudAiplatformV1Part @dynamic codeExecutionResult, executableCode, fileData, functionCall, - functionResponse, inlineData, text, thought, videoMetadata; + functionResponse, inlineData, text, thought, thoughtSignature, + videoMetadata; @end @@ -9533,8 +9658,9 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1PersistentDiskSpec @implementation GTLRAiplatform_GoogleCloudAiplatformV1PersistentResource @dynamic createTime, displayName, encryptionSpec, error, labels, name, network, - reservedIpRanges, resourcePools, resourceRuntime, resourceRuntimeSpec, - satisfiesPzi, satisfiesPzs, startTime, state, updateTime; + pscInterfaceConfig, reservedIpRanges, resourcePools, resourceRuntime, + resourceRuntimeSpec, satisfiesPzi, satisfiesPzs, startTime, state, + updateTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -9569,8 +9695,9 @@ + (Class)classForAdditionalProperties { @implementation GTLRAiplatform_GoogleCloudAiplatformV1PipelineJob @dynamic createTime, displayName, encryptionSpec, endTime, error, jobDetail, labels, name, network, pipelineSpec, preflightValidations, - reservedIpRanges, runtimeConfig, scheduleName, serviceAccount, - startTime, state, templateMetadata, templateUri, updateTime; + pscInterfaceConfig, reservedIpRanges, runtimeConfig, scheduleName, + serviceAccount, startTime, state, templateMetadata, templateUri, + updateTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -9698,7 +9825,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1PipelineJobRuntimeConfigIn @implementation GTLRAiplatform_GoogleCloudAiplatformV1PipelineTaskDetail @dynamic createTime, endTime, error, execution, executorDetail, inputs, outputs, - parentTaskId, pipelineTaskStatus, startTime, state, taskId, taskName; + parentTaskId, pipelineTaskStatus, startTime, state, taskId, taskName, + taskUniqueName; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -10004,11 +10132,13 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1PrivateEndpoints // @implementation GTLRAiplatform_GoogleCloudAiplatformV1PrivateServiceConnectConfig -@dynamic enablePrivateServiceConnect, projectAllowlist, serviceAttachment; +@dynamic enablePrivateServiceConnect, projectAllowlist, pscAutomationConfigs, + serviceAttachment; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"projectAllowlist" : [NSString class] + @"projectAllowlist" : [NSString class], + @"pscAutomationConfigs" : [GTLRAiplatform_GoogleCloudAiplatformV1PSCAutomationConfig class] }; return map; } @@ -10109,7 +10239,25 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1PscAutomatedEndpoints // @implementation GTLRAiplatform_GoogleCloudAiplatformV1PSCAutomationConfig -@dynamic forwardingRule, ipAddress, network, projectId; +@dynamic errorMessage, forwardingRule, ipAddress, network, projectId, state; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1PscInterfaceConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1PscInterfaceConfig +@dynamic dnsPeeringConfigs, networkAttachment; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dnsPeeringConfigs" : [GTLRAiplatform_GoogleCloudAiplatformV1DnsPeeringConfig class] + }; + return map; +} + @end @@ -10260,7 +10408,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1PublisherModelCallToAction // @implementation GTLRAiplatform_GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences -@dynamic references, resourceDescription, resourceTitle, resourceUseCase, title; +@dynamic references, resourceDescription, resourceTitle, resourceUseCase, + supportsWorkbench, title; @end @@ -10723,8 +10872,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1RagContextsContext // @implementation GTLRAiplatform_GoogleCloudAiplatformV1RagCorpus -@dynamic corpusStatus, createTime, descriptionProperty, displayName, name, - updateTime, vectorDbConfig, vertexAiSearchConfig; +@dynamic corpusStatus, createTime, descriptionProperty, displayName, + encryptionSpec, name, updateTime, vectorDbConfig, vertexAiSearchConfig; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -10753,6 +10902,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1RagEmbeddingModelConfigVer @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1RagEngineConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1RagEngineConfig +@dynamic name, ragManagedDbConfig; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1RagFile @@ -10761,7 +10920,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1RagEmbeddingModelConfigVer @implementation GTLRAiplatform_GoogleCloudAiplatformV1RagFile @dynamic createTime, descriptionProperty, directUploadSource, displayName, fileStatus, gcsSource, googleDriveSource, jiraSource, name, - sharePointSources, slackSource, updateTime; + sharePointSources, slackSource, updateTime, userMetadata; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -10830,6 +10989,43 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1RagFileTransformationConfi @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1RagManagedDbConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1RagManagedDbConfig +@dynamic basic, scaled, unprovisioned; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1RagManagedDbConfigBasic +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1RagManagedDbConfigBasic +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1RagManagedDbConfigScaled +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1RagManagedDbConfigScaled +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1RagQuery @@ -11747,8 +11943,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1SafetyInstance // @implementation GTLRAiplatform_GoogleCloudAiplatformV1SafetyRating -@dynamic blocked, category, probability, probabilityScore, severity, - severityScore; +@dynamic blocked, category, overwrittenThreshold, probability, probabilityScore, + severity, severityScore; @end @@ -15562,8 +15758,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1TokensInfo // @implementation GTLRAiplatform_GoogleCloudAiplatformV1Tool -@dynamic codeExecution, enterpriseWebSearch, functionDeclarations, googleSearch, - googleSearchRetrieval, retrieval; +@dynamic codeExecution, computerUse, enterpriseWebSearch, functionDeclarations, + googleSearch, googleSearchRetrieval, retrieval, urlContext; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -15659,6 +15855,16 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ToolCodeExecution @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse +@dynamic environment; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1ToolConfig @@ -16808,6 +17014,43 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1UpsertDatapointsResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1UrlContext +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1UrlContext +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1UrlContextMetadata +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1UrlContextMetadata +@dynamic urlMetadata; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"urlMetadata" : [GTLRAiplatform_GoogleCloudAiplatformV1UrlMetadata class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1UrlMetadata +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1UrlMetadata +@dynamic retrievedUrl, urlRetrievalStatus; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1UserActionReference diff --git a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m index dfa933d96..b2ec586b2 100644 --- a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m +++ b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m @@ -2183,6 +2183,33 @@ + (instancetype)queryWithDataset:(NSString *)dataset { @end +@implementation GTLRAiplatformQuery_ProjectsLocationsDeploy + +@dynamic destination; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1DeployRequest *)object + destination:(NSString *)destination { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"destination" ]; + NSString *pathURITemplate = @"v1/{+destination}:deploy"; + GTLRAiplatformQuery_ProjectsLocationsDeploy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.destination = destination; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.deploy"; + return query; +} + +@end + @implementation GTLRAiplatformQuery_ProjectsLocationsDeploymentResourcePoolsCreate @dynamic parent; @@ -5302,6 +5329,25 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRAiplatformQuery_ProjectsLocationsGetRagEngineConfig + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAiplatformQuery_ProjectsLocationsGetRagEngineConfig *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1RagEngineConfig class]; + query.loggingName = @"aiplatform.projects.locations.getRagEngineConfig"; + return query; +} + +@end + @implementation GTLRAiplatformQuery_ProjectsLocationsHyperparameterTuningJobsCancel @dynamic name; @@ -13340,6 +13386,33 @@ + (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1RebaseTun @end +@implementation GTLRAiplatformQuery_ProjectsLocationsUpdateRagEngineConfig + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1RagEngineConfig *)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}"; + GTLRAiplatformQuery_ProjectsLocationsUpdateRagEngineConfig *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAiplatform_GoogleLongrunningOperation class]; + query.loggingName = @"aiplatform.projects.locations.updateRagEngineConfig"; + return query; +} + +@end + @implementation GTLRAiplatformQuery_ProjectsUpdateCacheConfig @dynamic name; diff --git a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h index 2b235fce0..08b86f601 100644 --- a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h +++ b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h @@ -136,9 +136,14 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1DeployedModelStatus; @class GTLRAiplatform_GoogleCloudAiplatformV1DeploymentResourcePool; @class GTLRAiplatform_GoogleCloudAiplatformV1DeployModelRequest_TrafficSplit; +@class GTLRAiplatform_GoogleCloudAiplatformV1DeployRequestDeployConfig; +@class GTLRAiplatform_GoogleCloudAiplatformV1DeployRequestDeployConfig_SystemLabels; +@class GTLRAiplatform_GoogleCloudAiplatformV1DeployRequestEndpointConfig; +@class GTLRAiplatform_GoogleCloudAiplatformV1DeployRequestModelConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1DestinationFeatureSetting; @class GTLRAiplatform_GoogleCloudAiplatformV1DirectUploadSource; @class GTLRAiplatform_GoogleCloudAiplatformV1DiskSpec; +@class GTLRAiplatform_GoogleCloudAiplatformV1DnsPeeringConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1DoubleArray; @class GTLRAiplatform_GoogleCloudAiplatformV1DynamicRetrievalConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1EncryptionSpec; @@ -484,6 +489,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1ProbeTcpSocketAction; @class GTLRAiplatform_GoogleCloudAiplatformV1PscAutomatedEndpoints; @class GTLRAiplatform_GoogleCloudAiplatformV1PSCAutomationConfig; +@class GTLRAiplatform_GoogleCloudAiplatformV1PscInterfaceConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1PublisherModelCallToAction; @class GTLRAiplatform_GoogleCloudAiplatformV1PublisherModelCallToActionDeploy; @class GTLRAiplatform_GoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata; @@ -529,6 +535,10 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser; @class GTLRAiplatform_GoogleCloudAiplatformV1RagFileParsingConfigLlmParser; @class GTLRAiplatform_GoogleCloudAiplatformV1RagFileTransformationConfig; +@class GTLRAiplatform_GoogleCloudAiplatformV1RagManagedDbConfig; +@class GTLRAiplatform_GoogleCloudAiplatformV1RagManagedDbConfigBasic; +@class GTLRAiplatform_GoogleCloudAiplatformV1RagManagedDbConfigScaled; +@class GTLRAiplatform_GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned; @class GTLRAiplatform_GoogleCloudAiplatformV1RagQuery; @class GTLRAiplatform_GoogleCloudAiplatformV1RagRetrievalConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1RagRetrievalConfigFilter; @@ -789,6 +799,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1ToolCallValidResults; @class GTLRAiplatform_GoogleCloudAiplatformV1ToolCallValidSpec; @class GTLRAiplatform_GoogleCloudAiplatformV1ToolCodeExecution; +@class GTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse; @class GTLRAiplatform_GoogleCloudAiplatformV1ToolConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1ToolGoogleSearch; @class GTLRAiplatform_GoogleCloudAiplatformV1ToolNameMatchInput; @@ -853,6 +864,9 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1UndeployModelRequest_TrafficSplit; @class GTLRAiplatform_GoogleCloudAiplatformV1UnmanagedContainerModel; @class GTLRAiplatform_GoogleCloudAiplatformV1UploadRagFileConfig; +@class GTLRAiplatform_GoogleCloudAiplatformV1UrlContext; +@class GTLRAiplatform_GoogleCloudAiplatformV1UrlContextMetadata; +@class GTLRAiplatform_GoogleCloudAiplatformV1UrlMetadata; @class GTLRAiplatform_GoogleCloudAiplatformV1UserActionReference; @class GTLRAiplatform_GoogleCloudAiplatformV1Value; @class GTLRAiplatform_GoogleCloudAiplatformV1VertexAISearch; @@ -1244,6 +1258,31 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candid * Value: "FINISH_REASON_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_FinishReasonUnspecified; +/** + * Image generation stopped because of other miscellaneous issue. + * + * Value: "IMAGE_OTHER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_ImageOther; +/** + * Image generation stopped because generated images has other prohibited + * content. + * + * Value: "IMAGE_PROHIBITED_CONTENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_ImageProhibitedContent; +/** + * Image generation stopped due to recitation. + * + * Value: "IMAGE_RECITATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_ImageRecitation; +/** + * Token generation stopped because generated images has safety violations. + * + * Value: "IMAGE_SAFETY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_ImageSafety; /** * The function call generated by the model is invalid. * @@ -2366,6 +2405,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Genera * Value: "BLOCKLIST" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_Blocklist; +/** + * Candidates blocked due to unsafe image generation content. + * + * Value: "IMAGE_SAFETY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_ImageSafety; /** * Candidates blocked due to other reason. * @@ -4243,6 +4288,28 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Preset */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Presets_Query_Precise; +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1PSCAutomationConfig.state + +/** + * The PSC service automation has failed. + * + * Value: "PSC_AUTOMATION_STATE_FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1PSCAutomationConfig_State_PscAutomationStateFailed; +/** + * The PSC service automation is successful. + * + * Value: "PSC_AUTOMATION_STATE_SUCCESSFUL" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1PSCAutomationConfig_State_PscAutomationStateSuccessful; +/** + * Should not be used. + * + * Value: "PSC_AUTOMATION_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1PSCAutomationConfig_State_PscAutomationStateUnspecified; + // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1PublisherModel.launchStage @@ -4405,6 +4472,30 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Safety * Value: "HARM_CATEGORY_HATE_SPEECH" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryHateSpeech; +/** + * The harm category is image dangerous content. + * + * Value: "HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryImageDangerousContent; +/** + * The harm category is image harassment. + * + * Value: "HARM_CATEGORY_IMAGE_HARASSMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryImageHarassment; +/** + * The harm category is image hate. + * + * Value: "HARM_CATEGORY_IMAGE_HATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryImageHate; +/** + * The harm category is image sexually explicit content. + * + * Value: "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryImageSexuallyExplicit; /** * The harm category is sexually explicit content. * @@ -4418,6 +4509,46 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Safety */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1SafetyRating.overwrittenThreshold + +/** + * Block low threshold and above (i.e. block more). + * + * Value: "BLOCK_LOW_AND_ABOVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_OverwrittenThreshold_BlockLowAndAbove; +/** + * Block medium threshold and above. + * + * Value: "BLOCK_MEDIUM_AND_ABOVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_OverwrittenThreshold_BlockMediumAndAbove; +/** + * Block none. + * + * Value: "BLOCK_NONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_OverwrittenThreshold_BlockNone; +/** + * Block only high threshold (i.e. block less). + * + * Value: "BLOCK_ONLY_HIGH" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_OverwrittenThreshold_BlockOnlyHigh; +/** + * Unspecified harm block threshold. + * + * Value: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_OverwrittenThreshold_HarmBlockThresholdUnspecified; +/** + * Turn off the safety filter. + * + * Value: "OFF" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_OverwrittenThreshold_Off; + // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1SafetyRating.probability @@ -4514,6 +4645,30 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Safety * Value: "HARM_CATEGORY_HATE_SPEECH" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryHateSpeech; +/** + * The harm category is image dangerous content. + * + * Value: "HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryImageDangerousContent; +/** + * The harm category is image harassment. + * + * Value: "HARM_CATEGORY_IMAGE_HARASSMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryImageHarassment; +/** + * The harm category is image hate. + * + * Value: "HARM_CATEGORY_IMAGE_HATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryImageHate; +/** + * The harm category is image sexually explicit content. + * + * Value: "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryImageSexuallyExplicit; /** * The harm category is sexually explicit content. * @@ -5699,6 +5854,22 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TimeSe */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TimeSeriesData_ValueType_ValueTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse.environment + +/** + * Operates in a web browser. + * + * Value: "ENVIRONMENT_BROWSER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse_Environment_EnvironmentBrowser; +/** + * Defaults to browser. + * + * Value: "ENVIRONMENT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse_Environment_EnvironmentUnspecified; + // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline.state @@ -5879,6 +6050,28 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TuningJob_State_JobStateUpdating; +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1UrlMetadata.urlRetrievalStatus + +/** + * Url retrieval is failed due to error. + * + * Value: "URL_RETRIEVAL_STATUS_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMetadata_UrlRetrievalStatus_UrlRetrievalStatusError; +/** + * Url retrieval is successful. + * + * Value: "URL_RETRIEVAL_STATUS_SUCCESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMetadata_UrlRetrievalStatus_UrlRetrievalStatusSuccess; +/** + * Default value. This value is unused. + * + * Value: "URL_RETRIEVAL_STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMetadata_UrlRetrievalStatus_UrlRetrievalStatusUnspecified; + /** * Generate video response. */ @@ -8161,7 +8354,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning /** * Optional. Display name of the blob. Used to provide a label or filename to * distinguish blobs. This field is only returned in PromptMessage for prompt - * management. It is not currently used in the Gemini GenerateContent calls. + * management. It is currently used in the Gemini GenerateContent calls only + * when server side tools (code_execution, google_search, and url_context) are + * enabled. */ @property(nonatomic, copy, nullable) NSString *displayName; @@ -8438,6 +8633,18 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning * (Value: "BLOCKLIST") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_FinishReasonUnspecified * The finish reason is unspecified. (Value: "FINISH_REASON_UNSPECIFIED") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_ImageOther + * Image generation stopped because of other miscellaneous issue. (Value: + * "IMAGE_OTHER") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_ImageProhibitedContent + * Image generation stopped because generated images has other prohibited + * content. (Value: "IMAGE_PROHIBITED_CONTENT") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_ImageRecitation + * Image generation stopped due to recitation. (Value: + * "IMAGE_RECITATION") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_ImageSafety + * Token generation stopped because generated images has safety + * violations. (Value: "IMAGE_SAFETY") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_MalformedFunctionCall * The function call generated by the model is invalid. (Value: * "MALFORMED_FUNCTION_CALL") @@ -8491,6 +8698,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @property(nonatomic, strong, nullable) NSArray *safetyRatings; +/** Output only. Metadata related to url context retrieval tool. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1UrlContextMetadata *urlContextMetadata; + @end @@ -10047,6 +10257,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @property(nonatomic, copy, nullable) NSString *protectedArtifactLocationId; +/** Optional. Configuration for PSC-I for CustomJob. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1PscInterfaceConfig *pscInterfaceConfig; + /** * Optional. A list of names for the reserved ip ranges under the VPC network * that can be used for this job. If set, we will deploy the job within the @@ -11137,10 +11350,10 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning @property(nonatomic, copy, nullable) NSString *identifier; /** - * Required. The resource name of the Model that this is the deployment of. - * Note that the Model may be in a different location than the DeployedModel's - * Endpoint. The resource name may contain version id or version alias to - * specify the version. Example: + * The resource name of the Model that this is the deployment of. Note that the + * Model may be in a different location than the DeployedModel's Endpoint. The + * resource name may contain version id or version alias to specify the + * version. Example: * `projects/{project}/locations/{location}/models/{model}\@2` or * `projects/{project}/locations/{location}/models/{model}\@golden` if no * version is specified, the default version will be deployed. @@ -11408,6 +11621,212 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning @end +/** + * Runtime operation information for ModelGardenService.Deploy. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1DeployOperationMetadata : GTLRObject + +/** + * Output only. The resource name of the Location to deploy the model in. + * Format: `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *destination; + +/** The operation generic information. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GenericOperationMetadata *genericMetadata; + +/** Output only. The model id to be used at query time. */ +@property(nonatomic, copy, nullable) NSString *modelId; + +/** + * Output only. The project number where the deploy model request is sent. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *projectNumber; + +/** Output only. The name of the model resource. */ +@property(nonatomic, copy, nullable) NSString *publisherModel; + +@end + + +/** + * Request message for ModelGardenService.Deploy. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1DeployRequest : GTLRObject + +/** + * Optional. The deploy config to use for the deployment. If not specified, the + * default deploy config will be used. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1DeployRequestDeployConfig *deployConfig; + +/** + * Optional. The endpoint config to use for the deployment. If not specified, + * the default endpoint config will be used. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1DeployRequestEndpointConfig *endpointConfig; + +/** + * The Hugging Face model to deploy. Format: Hugging Face model ID like + * `google/gemma-2-2b-it`. + */ +@property(nonatomic, copy, nullable) NSString *huggingFaceModelId; + +/** + * Optional. The model config to use for the deployment. If not specified, the + * default model config will be used. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1DeployRequestModelConfig *modelConfig; + +/** + * The Model Garden model to deploy. Format: + * `publishers/{publisher}/models/{publisher_model}\@{version_id}`, or + * `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}\@001`. + */ +@property(nonatomic, copy, nullable) NSString *publisherModelName; + +@end + + +/** + * The deploy config to use for the deployment. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1DeployRequestDeployConfig : GTLRObject + +/** + * Optional. The dedicated resources to use for the endpoint. If not set, the + * default resources will be used. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1DedicatedResources *dedicatedResources; + +/** + * Optional. If true, enable the QMT fast tryout feature for this model if + * possible. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *fastTryoutEnabled; + +/** + * Optional. System labels for Model Garden deployments. These labels are + * managed by Google and for tracking purposes only. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1DeployRequestDeployConfig_SystemLabels *systemLabels; + +@end + + +/** + * Optional. System labels for Model Garden deployments. These labels are + * managed by Google and for tracking purposes only. + * + * @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_GoogleCloudAiplatformV1DeployRequestDeployConfig_SystemLabels : GTLRObject +@end + + +/** + * The endpoint config to use for the deployment. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1DeployRequestEndpointConfig : GTLRObject + +/** + * Optional. If true, the endpoint will be exposed through a dedicated DNS + * [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be + * isolated from other users' traffic and will have better performance and + * reliability. Note: Once you enabled dedicated endpoint, you won't be able to + * send request to the shared DNS {region}-aiplatform.googleapis.com. The + * limitations will be removed soon. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *dedicatedEndpointEnabled; + +/** + * Optional. The user-specified display name of the endpoint. If not set, a + * default name will be used. + */ +@property(nonatomic, copy, nullable) NSString *endpointDisplayName; + +@end + + +/** + * The model config to use for the deployment. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1DeployRequestModelConfig : GTLRObject + +/** + * Optional. Whether the user accepts the End User License Agreement (EULA) for + * the model. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *acceptEula; + +/** + * Optional. The specification of the container that is to be used when + * deploying. If not set, the default container spec will be used. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ModelContainerSpec *containerSpec; + +/** + * Optional. The Hugging Face read access token used to access the model + * artifacts of gated models. + */ +@property(nonatomic, copy, nullable) NSString *huggingFaceAccessToken; + +/** + * Optional. If true, the model will deploy with a cached version instead of + * directly downloading the model artifacts from Hugging Face. This is suitable + * for VPC-SC users with limited internet access. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *huggingFaceCacheEnabled; + +/** + * Optional. The user-specified display name of the uploaded model. If not set, + * a default name will be used. + */ +@property(nonatomic, copy, nullable) NSString *modelDisplayName; + +@end + + +/** + * Response message for ModelGardenService.Deploy. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1DeployResponse : GTLRObject + +/** + * Output only. The name of the Endpoint created. Format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}` + */ +@property(nonatomic, copy, nullable) NSString *endpoint; + +/** + * Output only. The name of the Model created. Format: + * `projects/{project}/locations/{location}/models/{model}` + */ +@property(nonatomic, copy, nullable) NSString *model; + +/** + * Output only. The name of the PublisherModel resource. Format: + * `publishers/{publisher}/models/{publisher_model}\@{version_id}`, or + * `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}\@001` + */ +@property(nonatomic, copy, nullable) NSString *publisherModel; + +@end + + /** * GTLRAiplatform_GoogleCloudAiplatformV1DestinationFeatureSetting */ @@ -11522,6 +11941,36 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning @end +/** + * DNS peering configuration. These configurations are used to create DNS + * peering zones in the Vertex tenant project VPC, enabling resolution of + * records within the specified domain hosted in the target network's Cloud + * DNS. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1DnsPeeringConfig : GTLRObject + +/** + * Required. The DNS name suffix of the zone being peered to, e.g., + * "my-internal-domain.corp.". Must end with a dot. + */ +@property(nonatomic, copy, nullable) NSString *domain; + +/** + * Required. The VPC network name in the target_project where the DNS zone + * specified by 'domain' is visible. + */ +@property(nonatomic, copy, nullable) NSString *targetNetwork; + +/** + * Required. The project ID hosting the Cloud DNS managed zone that contains + * the 'domain'. The Vertex AI Service Agent requires the dns.peer role on this + * project. + */ +@property(nonatomic, copy, nullable) NSString *targetProject; + +@end + + /** * A list of double values. */ @@ -15108,9 +15557,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning /** * Feature generation timestamp. Typically, it is provided by user at feature * ingestion time. If not, feature store will use the system timestamp when the - * data is ingested into feature store. For streaming ingestion, the time, - * aligned by days, must be no older than five years (1825 days) and no later - * than one year (366 days) in the future. + * data is ingested into feature store. Legacy Feature Store: For streaming + * ingestion, the time, aligned by days, must be no older than five years (1825 + * days) and no later than one year (366 days) in the future. */ @property(nonatomic, strong, nullable) GTLRDateTime *generateTime; @@ -15681,8 +16130,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning /** * Optional. Display name of the file data. Used to provide a label or filename * to distinguish file datas. This field is only returned in PromptMessage for - * prompt management. It is not currently used in the Gemini GenerateContent - * calls. + * prompt management. It is currently used in the Gemini GenerateContent calls + * only when server side tools (code_execution, google_search, and url_context) + * are enabled. */ @property(nonatomic, copy, nullable) NSString *displayName; @@ -16199,6 +16649,19 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Schema *parameters; +/** + * Optional. Describes the parameters to the function in JSON Schema format. + * The schema must describe an object where the properties are the parameters + * to the function. For example: ``` { "type": "object", "properties": { + * "name": { "type": "string" }, "age": { "type": "integer" } }, + * "additionalProperties": false, "required": ["name", "age"], + * "propertyOrdering": ["name", "age"] } ``` This field is mutually exclusive + * with `parameters`. + * + * Can be any valid JSON type. + */ +@property(nonatomic, strong, nullable) id parametersJsonSchema; + /** * Optional. Describes the output from this function in JSON Schema format. * Reflects the Open API 3.03 Response Object. The Schema defines the type used @@ -16206,6 +16669,15 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Schema *response; +/** + * Optional. Describes the output from this function in JSON Schema format. The + * value specified by the schema is the response value of the function. This + * field is mutually exclusive with `response`. + * + * Can be any valid JSON type. + */ +@property(nonatomic, strong, nullable) id responseJsonSchema; + @end @@ -16433,6 +16905,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_Blocklist * Candidates blocked due to the terms which are included from the * terminology blocklist. (Value: "BLOCKLIST") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_ImageSafety + * Candidates blocked due to unsafe image generation content. (Value: + * "IMAGE_SAFETY") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_Other * Candidates blocked due to other reason. (Value: "OTHER") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_ProhibitedContent @@ -16656,6 +17131,26 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @property(nonatomic, strong, nullable) NSNumber *presencePenalty; +/** + * Optional. Output schema of the generated response. This is an alternative to + * `response_schema` that accepts [JSON Schema](https://json-schema.org/). If + * set, `response_schema` must be omitted, but `response_mime_type` is + * required. While the full JSON Schema may be sent, not all features are + * supported. Specifically, only the following properties are supported: - + * `$id` - `$defs` - `$ref` - `$anchor` - `type` - `format` - `title` - + * `description` - `enum` (for strings and numbers) - `items` - `prefixItems` - + * `minItems` - `maxItems` - `minimum` - `maximum` - `anyOf` - `oneOf` + * (interpreted the same as `anyOf`) - `properties` - `additionalProperties` - + * `required` The non-standard `propertyOrdering` property may also be set. + * Cyclic references are unrolled to a limited degree and, as such, may only be + * used within non-required properties. (Nullable properties are not + * sufficient.) If `$ref` is set on a sub-schema, no other properties, except + * for than those starting as a `$`, may be set. + * + * Can be any valid JSON type. + */ +@property(nonatomic, strong, nullable) id responseJsonSchema; + /** * Optional. If true, export the logprobs results in response. * @@ -16798,8 +17293,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning @property(nonatomic, strong, nullable) NSNumber *includeThoughts; /** - * Optional. Indicates the thinking budget in tokens. This is only applied when - * enable_thinking is true. + * Optional. Indicates the thinking budget in tokens. * * Uses NSNumber of intValue. */ @@ -17047,8 +17541,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning /** * Confidence score of the support references. Ranges from 0 to 1. 1 is the - * most confident. This list must have the same size as the - * grounding_chunk_indices. + * most confident. For Gemini 2.0 and before, this list must have the same size + * as the grounding_chunk_indices. For Gemini 2.5 and after, this list will be + * empty and should be ignored. * * Uses NSNumber of floatValue. */ @@ -20185,7 +20680,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning /** - * The metric used for dataset level evaluation. + * The metric used for running evaluations. */ @interface GTLRAiplatform_GoogleCloudAiplatformV1Metric : GTLRObject @@ -21052,6 +21547,17 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Tuning */ @property(nonatomic, copy, nullable) NSString *imageUri; +/** + * Immutable. Invoke route prefix for the custom container. "/ *" is the only + * supported value right now. By setting this field, any non-root route on this + * model will be accessible with invoke http call eg: "/invoke/foo/bar", + * however the [PredictionService.Invoke] RPC is not supported yet. Only one of + * `predict_route` or `invoke_route_prefix` can be set, and we default to using + * `predict_route` if this field is not set. If this field is set, the Model + * can only be deployed to dedicated endpoint. + */ +@property(nonatomic, copy, nullable) NSString *invokeRoutePrefix; + /** Immutable. Specification for Kubernetes liveness probe. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Probe *livenessProbe; @@ -24256,12 +24762,21 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *text; /** - * Output only. Indicates if the part is thought from the model. + * Optional. Indicates if the part is thought from the model. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *thought; +/** + * Optional. An opaque signature for the thought so it can be reused in + * subsequent requests. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *thoughtSignature; + /** * Optional. Video metadata. The metadata should only be specified while the * video data is presented in inline_data or file_data. @@ -24363,6 +24878,9 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *network; +/** Optional. Configuration for PSC-I for PersistentResource. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1PscInterfaceConfig *pscInterfaceConfig; + /** * Optional. A list of names for the reserved IP ranges under the VPC network * that can be used for this persistent resource. If set, we will deploy the @@ -24529,6 +25047,9 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSNumber *preflightValidations; +/** Optional. Configuration for PSC-I for PipelineJob. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1PscInterfaceConfig *pscInterfaceConfig; + /** * A list of names for the reserved ip ranges under the VPC network that can be * used for this Pipeline Job's workload. If set, we will deploy the Pipeline @@ -24879,6 +25400,17 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *taskName; +/** + * Output only. The unique name of a task. This field is used by rerun pipeline + * job. Console UI and Vertex AI SDK will support triggering pipeline job + * reruns. The name is constructed by concatenating all the parent tasks name + * with the task name. For example, if a task named "child_task" has a parent + * task named "parent_task_1" and parent task 1 has a parent task named + * "parent_task_2", the task unique name will be + * "parent_task_2.parent_task_1.child_task". + */ +@property(nonatomic, copy, nullable) NSString *taskUniqueName; + @end @@ -25487,6 +26019,12 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSArray *projectAllowlist; +/** + * Optional. List of projects and networks where the PSC endpoints will be + * created. This field is used by Online Inference(Prediction) only. + */ +@property(nonatomic, strong, nullable) NSArray *pscAutomationConfigs; + /** * Output only. The name of the generated service attachment resource. This is * only populated if the endpoint is deployed with PrivateServiceConnect. @@ -25700,35 +26238,72 @@ GTLR_DEPRECATED /** - * PSC config that is used to automatically create forwarding rule via - * ServiceConnectionMap. + * PSC config that is used to automatically create PSC endpoints in the user + * projects. */ @interface GTLRAiplatform_GoogleCloudAiplatformV1PSCAutomationConfig : GTLRObject -/** - * Output only. Forwarding rule created by the PSC service automation. Note for - * Vector search, use IndexPrivateEndpoint instead. - */ +/** Output only. Error message if the PSC service automation failed. */ +@property(nonatomic, copy, nullable) NSString *errorMessage; + +/** Output only. Forwarding rule created by the PSC service automation. */ @property(nonatomic, copy, nullable) NSString *forwardingRule; -/** - * Output only. IP address rule created by the PSC service automation. Note for - * Vector search, use IndexPrivateEndpoint instead. - */ +/** Output only. IP address rule created by the PSC service automation. */ @property(nonatomic, copy, nullable) NSString *ipAddress; /** * 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. + * [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/get): + * `projects/{project}/global/networks/{network}`. */ @property(nonatomic, copy, nullable) NSString *network; /** Required. Project id used to create forwarding rule. */ @property(nonatomic, copy, nullable) NSString *projectId; +/** + * Output only. The state of the PSC service automation. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1PSCAutomationConfig_State_PscAutomationStateFailed + * The PSC service automation has failed. (Value: + * "PSC_AUTOMATION_STATE_FAILED") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1PSCAutomationConfig_State_PscAutomationStateSuccessful + * The PSC service automation is successful. (Value: + * "PSC_AUTOMATION_STATE_SUCCESSFUL") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1PSCAutomationConfig_State_PscAutomationStateUnspecified + * Should not be used. (Value: "PSC_AUTOMATION_STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + +/** + * Configuration for PSC-I. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1PscInterfaceConfig : GTLRObject + +/** + * Optional. DNS peering configurations. When specified, Vertex AI will attempt + * to configure DNS peering zones in the tenant project VPC to resolve the + * specified domains using the target network's Cloud DNS. The user must grant + * the dns.peer role to the Vertex AI Service Agent on the target project. + */ +@property(nonatomic, strong, nullable) NSArray *dnsPeeringConfigs; + +/** + * Optional. The name of the Compute Engine [network + * attachment](https://cloud.google.com/vpc/docs/about-network-attachments) to + * attach to the resource within the region and user project. To specify this + * field, you must have already [created a network attachment] + * (https://cloud.google.com/vpc/docs/create-manage-network-attachments#create-network-attachments). + * This field is only used for resources using PSC-I. + */ +@property(nonatomic, copy, nullable) NSString *networkAttachment; + @end @@ -26047,6 +26622,13 @@ GTLR_DEPRECATED /** Optional. Use case (CUJ) of the resource. */ @property(nonatomic, copy, nullable) NSString *resourceUseCase; +/** + * Optional. For notebook resource, whether the notebook supports Workbench. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *supportsWorkbench; + /** Required. */ @property(nonatomic, copy, nullable) NSString *title; @@ -26861,6 +27443,14 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *displayName; +/** + * Optional. Immutable. The CMEK key name used to encrypt at-rest data related + * to this Corpus. Only applicable to RagManagedDb option for Vector DB. This + * field can only be set at corpus creation time, and cannot be updated or + * deleted. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EncryptionSpec *encryptionSpec; + /** Output only. The resource name of the RagCorpus. */ @property(nonatomic, copy, nullable) NSString *name; @@ -26920,6 +27510,23 @@ GTLR_DEPRECATED @end +/** + * Config for RagEngine. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1RagEngineConfig : GTLRObject + +/** + * Identifier. The name of the RagEngineConfig. Format: + * `projects/{project}/locations/{location}/ragEngineConfig` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** The config of the RagManagedDb used by RagEngine. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1RagManagedDbConfig *ragManagedDbConfig; + +@end + + /** * A RagFile contains user data for chunking, embedding and indexing. */ @@ -26977,6 +27584,12 @@ GTLR_DEPRECATED /** Output only. Timestamp when this RagFile was last updated. */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +/** + * Output only. The metadata for metadata search. The user_metadata Needs to be + * in JSON format. + */ +@property(nonatomic, copy, nullable) NSString *userMetadata; + @end @@ -27096,6 +27709,52 @@ GTLR_DEPRECATED @end +/** + * Configuration message for RagManagedDb used by RagEngine. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1RagManagedDbConfig : GTLRObject + +/** Sets the RagManagedDb to the Basic tier. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1RagManagedDbConfigBasic *basic; + +/** Sets the RagManagedDb to the Scaled tier. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1RagManagedDbConfigScaled *scaled; + +/** Sets the RagManagedDb to the Unprovisioned tier. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned *unprovisioned; + +@end + + +/** + * Basic tier is a cost-effective and low compute tier suitable for the + * following cases: * Experimenting with RagManagedDb. * Small data size. * + * Latency insensitive workload. * Only using RAG Engine with external vector + * DBs. NOTE: This is the default tier if not explicitly chosen. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1RagManagedDbConfigBasic : GTLRObject +@end + + +/** + * Scaled tier offers production grade performance along with autoscaling + * functionality. It is suitable for customers with large amounts of data or + * performance sensitive workloads. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1RagManagedDbConfigScaled : GTLRObject +@end + + +/** + * Disables the RAG Engine service and deletes all your data held within this + * service. This will halt the billing of the service. NOTE: Once deleted the + * data cannot be recovered. To start using RAG Engine again, you will need to + * update the tier by calling the UpdateRagEngineConfig API. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned : GTLRObject +@end + + /** * A query to retrieve relevant contexts. */ @@ -28429,6 +29088,17 @@ GTLR_DEPRECATED * The harm category is harassment. (Value: "HARM_CATEGORY_HARASSMENT") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryHateSpeech * The harm category is hate speech. (Value: "HARM_CATEGORY_HATE_SPEECH") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryImageDangerousContent + * The harm category is image dangerous content. (Value: + * "HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryImageHarassment + * The harm category is image harassment. (Value: + * "HARM_CATEGORY_IMAGE_HARASSMENT") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryImageHate + * The harm category is image hate. (Value: "HARM_CATEGORY_IMAGE_HATE") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategoryImageSexuallyExplicit + * The harm category is image sexually explicit content. (Value: + * "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_Category_HarmCategorySexuallyExplicit * The harm category is sexually explicit content. (Value: * "HARM_CATEGORY_SEXUALLY_EXPLICIT") @@ -28437,6 +29107,30 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *category; +/** + * Output only. The overwritten threshold for the safety category of Gemini 2.0 + * image out. If minors are detected in the output image, the threshold of each + * safety category will be overwritten if user sets a lower threshold. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_OverwrittenThreshold_BlockLowAndAbove + * Block low threshold and above (i.e. block more). (Value: + * "BLOCK_LOW_AND_ABOVE") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_OverwrittenThreshold_BlockMediumAndAbove + * Block medium threshold and above. (Value: "BLOCK_MEDIUM_AND_ABOVE") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_OverwrittenThreshold_BlockNone + * Block none. (Value: "BLOCK_NONE") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_OverwrittenThreshold_BlockOnlyHigh + * Block only high threshold (i.e. block less). (Value: + * "BLOCK_ONLY_HIGH") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_OverwrittenThreshold_HarmBlockThresholdUnspecified + * Unspecified harm block threshold. (Value: + * "HARM_BLOCK_THRESHOLD_UNSPECIFIED") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetyRating_OverwrittenThreshold_Off + * Turn off the safety filter. (Value: "OFF") + */ +@property(nonatomic, copy, nullable) NSString *overwrittenThreshold; + /** * Output only. Harm probability levels in the content. * @@ -28532,6 +29226,17 @@ GTLR_DEPRECATED * The harm category is harassment. (Value: "HARM_CATEGORY_HARASSMENT") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryHateSpeech * The harm category is hate speech. (Value: "HARM_CATEGORY_HATE_SPEECH") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryImageDangerousContent + * The harm category is image dangerous content. (Value: + * "HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryImageHarassment + * The harm category is image harassment. (Value: + * "HARM_CATEGORY_IMAGE_HARASSMENT") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryImageHate + * The harm category is image hate. (Value: "HARM_CATEGORY_IMAGE_HATE") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategoryImageSexuallyExplicit + * The harm category is image sexually explicit content. (Value: + * "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1SafetySetting_Category_HarmCategorySexuallyExplicit * The harm category is sexually explicit content. (Value: * "HARM_CATEGORY_SEXUALLY_EXPLICIT") @@ -36553,7 +37258,8 @@ GTLR_DEPRECATED @property(nonatomic, strong, nullable) NSNumber *epochCount; /** - * Optional. Multiplier for adjusting the default learning rate. + * Optional. Multiplier for adjusting the default learning rate. Mutually + * exclusive with `learning_rate`. * * Uses NSNumber of doubleValue. */ @@ -37558,6 +38264,13 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ToolCodeExecution *codeExecution; +/** + * Optional. Tool to support the model interacting directly with the computer. + * If enabled, it automatically populates computer-use specific Function + * Declarations. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse *computerUse; + /** * Optional. Tool to support searching public web data, powered by Vertex AI * Search and Sec4 compliance. @@ -37593,6 +38306,9 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1Retrieval *retrieval; +/** Optional. Tool to support URL context retrieval. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1UrlContext *urlContext; + @end @@ -37680,6 +38396,25 @@ GTLR_DEPRECATED @end +/** + * Tool to support computer use. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse : GTLRObject + +/** + * Required. The environment being operated. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse_Environment_EnvironmentBrowser + * Operates in a web browser. (Value: "ENVIRONMENT_BROWSER") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse_Environment_EnvironmentUnspecified + * Defaults to browser. (Value: "ENVIRONMENT_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *environment; + +@end + + /** * Tool config. This config is shared for all tools provided in the request. */ @@ -38672,7 +39407,12 @@ GTLR_DEPRECATED /** * Output only. The resource name of the TunedModel. Format: - * `projects/{project}/locations/{location}/models/{model}`. + * `projects/{project}/locations/{location}/models/{model}\@{version_id}` When + * tuning from a base model, the version_id will be 1. For continuous tuning, + * the version id will be incremented by 1 from the last version id in the + * parent model. E.g., + * `projects/{project}/locations/{location}/models/{model}\@{last_version_id + + * 1}` */ @property(nonatomic, copy, nullable) NSString *model; @@ -39348,6 +40088,50 @@ GTLR_DEPRECATED @end +/** + * Tool to support URL context. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1UrlContext : GTLRObject +@end + + +/** + * Metadata related to url context retrieval tool. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1UrlContextMetadata : GTLRObject + +/** Output only. List of url context. */ +@property(nonatomic, strong, nullable) NSArray *urlMetadata; + +@end + + +/** + * Context of the a single url retrieval. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1UrlMetadata : GTLRObject + +/** Retrieved url by the tool. */ +@property(nonatomic, copy, nullable) NSString *retrievedUrl; + +/** + * Status of the url retrieval. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1UrlMetadata_UrlRetrievalStatus_UrlRetrievalStatusError + * Url retrieval is failed due to error. (Value: + * "URL_RETRIEVAL_STATUS_ERROR") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1UrlMetadata_UrlRetrievalStatus_UrlRetrievalStatusSuccess + * Url retrieval is successful. (Value: "URL_RETRIEVAL_STATUS_SUCCESS") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1UrlMetadata_UrlRetrievalStatus_UrlRetrievalStatusUnspecified + * Default value. This value is unused. (Value: + * "URL_RETRIEVAL_STATUS_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *urlRetrievalStatus; + +@end + + /** * References an API call. It contains more information about long running * operation and Jobs that are triggered by the API call. diff --git a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h index 22da060e7..bfc528365 100644 --- a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h +++ b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h @@ -4103,6 +4103,39 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @end +/** + * Deploys a model to a new endpoint. + * + * Method: aiplatform.projects.locations.deploy + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsDeploy : GTLRAiplatformQuery + +/** + * Required. The resource name of the Location to deploy the model in. Format: + * `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *destination; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Deploys a model to a new endpoint. + * + * @param object The @c GTLRAiplatform_GoogleCloudAiplatformV1DeployRequest to + * include in the query. + * @param destination Required. The resource name of the Location to deploy the + * model in. Format: `projects/{project}/locations/{location}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsDeploy + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1DeployRequest *)object + destination:(NSString *)destination; + +@end + /** * Create a DeploymentResourcePool. * @@ -9971,6 +10004,36 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @end +/** + * Gets a RagEngineConfig. + * + * Method: aiplatform.projects.locations.getRagEngineConfig + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsGetRagEngineConfig : GTLRAiplatformQuery + +/** + * Required. The name of the RagEngineConfig resource. Format: + * `projects/{project}/locations/{location}/ragEngineConfig` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleCloudAiplatformV1RagEngineConfig. + * + * Gets a RagEngineConfig. + * + * @param name Required. The name of the RagEngineConfig resource. Format: + * `projects/{project}/locations/{location}/ragEngineConfig` + * + * @return GTLRAiplatformQuery_ProjectsLocationsGetRagEngineConfig + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Cancels a HyperparameterTuningJob. Starts asynchronous cancellation on the * HyperparameterTuningJob. The server makes a best effort to cancel the job, @@ -24891,6 +24954,39 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @end +/** + * Updates a RagEngineConfig. + * + * Method: aiplatform.projects.locations.updateRagEngineConfig + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsUpdateRagEngineConfig : GTLRAiplatformQuery + +/** + * Identifier. The name of the RagEngineConfig. Format: + * `projects/{project}/locations/{location}/ragEngineConfig` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. + * + * Updates a RagEngineConfig. + * + * @param object The @c GTLRAiplatform_GoogleCloudAiplatformV1RagEngineConfig + * to include in the query. + * @param name Identifier. The name of the RagEngineConfig. Format: + * `projects/{project}/locations/{location}/ragEngineConfig` + * + * @return GTLRAiplatformQuery_ProjectsLocationsUpdateRagEngineConfig + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1RagEngineConfig *)object + name:(NSString *)name; + +@end + /** * Updates a cache config. * diff --git a/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubObjects.m b/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubObjects.m index b8358a610..833e5f60d 100644 --- a/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubObjects.m +++ b/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubObjects.m @@ -40,6 +40,7 @@ NSString * const kGTLRAnalyticsHub_Listing_Categories_CategoryFinancial = @"CATEGORY_FINANCIAL"; NSString * const kGTLRAnalyticsHub_Listing_Categories_CategoryGaming = @"CATEGORY_GAMING"; NSString * const kGTLRAnalyticsHub_Listing_Categories_CategoryGeospatial = @"CATEGORY_GEOSPATIAL"; +NSString * const kGTLRAnalyticsHub_Listing_Categories_CategoryGoogleEarthEngine = @"CATEGORY_GOOGLE_EARTH_ENGINE"; NSString * const kGTLRAnalyticsHub_Listing_Categories_CategoryHealthcareAndLifeScience = @"CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE"; NSString * const kGTLRAnalyticsHub_Listing_Categories_CategoryMedia = @"CATEGORY_MEDIA"; NSString * const kGTLRAnalyticsHub_Listing_Categories_CategoryOthers = @"CATEGORY_OTHERS"; diff --git a/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h b/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h index 864f0c034..17fb77e59 100644 --- a/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h +++ b/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h @@ -169,6 +169,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Listing_Categories_Category FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Listing_Categories_CategoryGaming; /** Value: "CATEGORY_GEOSPATIAL" */ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Listing_Categories_CategoryGeospatial; +/** Value: "CATEGORY_GOOGLE_EARTH_ENGINE" */ +FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Listing_Categories_CategoryGoogleEarthEngine; /** Value: "CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE" */ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Listing_Categories_CategoryHealthcareAndLifeScience; /** Value: "CATEGORY_MEDIA" */ @@ -1382,7 +1384,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateUns /** Shared dataset i.e. BigQuery dataset source. */ @property(nonatomic, strong, nullable) GTLRAnalyticsHub_BigQueryDatasetSource *bigqueryDataset; -/** Optional. Categories of the listing. Up to two categories are allowed. */ +/** Optional. Categories of the listing. Up to five categories are allowed. */ @property(nonatomic, strong, nullable) NSArray *categories; /** diff --git a/Sources/GeneratedServices/AndroidEnterprise/Public/GoogleAPIClientForREST/GTLRAndroidEnterpriseObjects.h b/Sources/GeneratedServices/AndroidEnterprise/Public/GoogleAPIClientForREST/GTLRAndroidEnterpriseObjects.h index fcd1a030a..affebad8e 100644 --- a/Sources/GeneratedServices/AndroidEnterprise/Public/GoogleAPIClientForREST/GTLRAndroidEnterpriseObjects.h +++ b/Sources/GeneratedServices/AndroidEnterprise/Public/GoogleAPIClientForREST/GTLRAndroidEnterpriseObjects.h @@ -1958,8 +1958,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidEnterprise_WebApp_DisplayMode_Sta /** * Response message for generating a URL to upgrade an existing managed Google - * Play Accounts enterprise to a managed Google domain. **Note:** This feature - * is not generally available. + * Play Accounts enterprise to a managed Google domain. */ @interface GTLRAndroidEnterprise_GenerateEnterpriseUpgradeUrlResponse : GTLRObject diff --git a/Sources/GeneratedServices/AndroidEnterprise/Public/GoogleAPIClientForREST/GTLRAndroidEnterpriseQuery.h b/Sources/GeneratedServices/AndroidEnterprise/Public/GoogleAPIClientForREST/GTLRAndroidEnterpriseQuery.h index 276fbefcd..88e49d485 100644 --- a/Sources/GeneratedServices/AndroidEnterprise/Public/GoogleAPIClientForREST/GTLRAndroidEnterpriseQuery.h +++ b/Sources/GeneratedServices/AndroidEnterprise/Public/GoogleAPIClientForREST/GTLRAndroidEnterpriseQuery.h @@ -498,8 +498,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidEnterpriseRequestModeWaitForNotif /** * Generates an enterprise upgrade URL to upgrade an existing managed Google - * Play Accounts enterprise to a managed Google domain. **Note:** This feature - * is not generally available. + * Play Accounts enterprise to a managed Google domain. See the guide to + * upgrading an enterprise for more details. * * Method: androidenterprise.enterprises.generateEnterpriseUpgradeUrl * @@ -535,8 +535,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidEnterpriseRequestModeWaitForNotif * Fetches a @c GTLRAndroidEnterprise_GenerateEnterpriseUpgradeUrlResponse. * * Generates an enterprise upgrade URL to upgrade an existing managed Google - * Play Accounts enterprise to a managed Google domain. **Note:** This feature - * is not generally available. + * Play Accounts enterprise to a managed Google domain. See the guide to + * upgrading an enterprise for more details. * * @param enterpriseId Required. The ID of the enterprise. * diff --git a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m index d5da47cc4..a24f52ca5 100644 --- a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m +++ b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m @@ -281,6 +281,7 @@ NSString * const kGTLRAndroidManagement_Command_Type_ResetPassword = @"RESET_PASSWORD"; NSString * const kGTLRAndroidManagement_Command_Type_StartLostMode = @"START_LOST_MODE"; NSString * const kGTLRAndroidManagement_Command_Type_StopLostMode = @"STOP_LOST_MODE"; +NSString * const kGTLRAndroidManagement_Command_Type_Wipe = @"WIPE"; // GTLRAndroidManagement_CommonCriteriaModeInfo.commonCriteriaModeStatus NSString * const kGTLRAndroidManagement_CommonCriteriaModeInfo_CommonCriteriaModeStatus_CommonCriteriaModeDisabled = @"COMMON_CRITERIA_MODE_DISABLED"; @@ -294,6 +295,11 @@ NSString * const kGTLRAndroidManagement_CommonCriteriaModeInfo_PolicySignatureVerificationStatus_PolicySignatureVerificationStatusUnspecified = @"POLICY_SIGNATURE_VERIFICATION_STATUS_UNSPECIFIED"; NSString * const kGTLRAndroidManagement_CommonCriteriaModeInfo_PolicySignatureVerificationStatus_PolicySignatureVerificationSucceeded = @"POLICY_SIGNATURE_VERIFICATION_SUCCEEDED"; +// GTLRAndroidManagement_CrossProfilePolicies.crossProfileAppFunctions +NSString * const kGTLRAndroidManagement_CrossProfilePolicies_CrossProfileAppFunctions_CrossProfileAppFunctionsAllowed = @"CROSS_PROFILE_APP_FUNCTIONS_ALLOWED"; +NSString * const kGTLRAndroidManagement_CrossProfilePolicies_CrossProfileAppFunctions_CrossProfileAppFunctionsDisallowed = @"CROSS_PROFILE_APP_FUNCTIONS_DISALLOWED"; +NSString * const kGTLRAndroidManagement_CrossProfilePolicies_CrossProfileAppFunctions_CrossProfileAppFunctionsUnspecified = @"CROSS_PROFILE_APP_FUNCTIONS_UNSPECIFIED"; + // 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"; @@ -725,6 +731,11 @@ NSString * const kGTLRAndroidManagement_Policy_AppAutoUpdatePolicy_Never = @"NEVER"; NSString * const kGTLRAndroidManagement_Policy_AppAutoUpdatePolicy_WifiOnly = @"WIFI_ONLY"; +// GTLRAndroidManagement_Policy.appFunctions +NSString * const kGTLRAndroidManagement_Policy_AppFunctions_AppFunctionsAllowed = @"APP_FUNCTIONS_ALLOWED"; +NSString * const kGTLRAndroidManagement_Policy_AppFunctions_AppFunctionsDisallowed = @"APP_FUNCTIONS_DISALLOWED"; +NSString * const kGTLRAndroidManagement_Policy_AppFunctions_AppFunctionsUnspecified = @"APP_FUNCTIONS_UNSPECIFIED"; + // GTLRAndroidManagement_Policy.assistContentPolicy NSString * const kGTLRAndroidManagement_Policy_AssistContentPolicy_AssistContentAllowed = @"ASSIST_CONTENT_ALLOWED"; NSString * const kGTLRAndroidManagement_Policy_AssistContentPolicy_AssistContentDisallowed = @"ASSIST_CONTENT_DISALLOWED"; @@ -1025,6 +1036,12 @@ NSString * const kGTLRAndroidManagement_WifiSsidPolicy_WifiSsidPolicyType_WifiSsidDenylist = @"WIFI_SSID_DENYLIST"; NSString * const kGTLRAndroidManagement_WifiSsidPolicy_WifiSsidPolicyType_WifiSsidPolicyTypeUnspecified = @"WIFI_SSID_POLICY_TYPE_UNSPECIFIED"; +// GTLRAndroidManagement_WipeParams.wipeDataFlags +NSString * const kGTLRAndroidManagement_WipeParams_WipeDataFlags_PreserveResetProtectionData = @"PRESERVE_RESET_PROTECTION_DATA"; +NSString * const kGTLRAndroidManagement_WipeParams_WipeDataFlags_WipeDataFlagUnspecified = @"WIPE_DATA_FLAG_UNSPECIFIED"; +NSString * const kGTLRAndroidManagement_WipeParams_WipeDataFlags_WipeEsims = @"WIPE_ESIMS"; +NSString * const kGTLRAndroidManagement_WipeParams_WipeDataFlags_WipeExternalStorage = @"WIPE_EXTERNAL_STORAGE"; + // GTLRAndroidManagement_WorkAccountSetupConfig.authenticationType NSString * const kGTLRAndroidManagement_WorkAccountSetupConfig_AuthenticationType_AuthenticationTypeNotEnforced = @"AUTHENTICATION_TYPE_NOT_ENFORCED"; NSString * const kGTLRAndroidManagement_WorkAccountSetupConfig_AuthenticationType_AuthenticationTypeUnspecified = @"AUTHENTICATION_TYPE_UNSPECIFIED"; @@ -1241,6 +1258,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidManagement_ApplicationPolicyChange +// + +@implementation GTLRAndroidManagement_ApplicationPolicyChange +@dynamic application, updateMask; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidManagement_ApplicationReport @@ -1468,7 +1495,7 @@ @implementation GTLRAndroidManagement_Command duration, errorCode, esimStatus, newPassword, removeEsimParams, requestDeviceInfoParams, requestDeviceInfoStatus, resetPasswordFlags, startLostModeParams, startLostModeStatus, stopLostModeParams, - stopLostModeStatus, type, userName; + stopLostModeStatus, type, userName, wipeParams; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1555,8 +1582,8 @@ @implementation GTLRAndroidManagement_ContentProviderEndpoint // @implementation GTLRAndroidManagement_CrossProfilePolicies -@dynamic crossProfileCopyPaste, crossProfileDataSharing, - exemptionsToShowWorkContactsInPersonalProfile, +@dynamic crossProfileAppFunctions, crossProfileCopyPaste, + crossProfileDataSharing, exemptionsToShowWorkContactsInPersonalProfile, showWorkContactsInPersonalProfile, workProfileWidgetsDefault; @end @@ -2429,6 +2456,34 @@ @implementation GTLRAndroidManagement_MigrationToken @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidManagement_ModifyPolicyApplicationsRequest +// + +@implementation GTLRAndroidManagement_ModifyPolicyApplicationsRequest +@dynamic changes; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"changes" : [GTLRAndroidManagement_ApplicationPolicyChange class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidManagement_ModifyPolicyApplicationsResponse +// + +@implementation GTLRAndroidManagement_ModifyPolicyApplicationsResponse +@dynamic policy; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidManagement_NetworkInfo @@ -2675,9 +2730,9 @@ @implementation GTLRAndroidManagement_PersonalUsagePolicies @implementation GTLRAndroidManagement_Policy @dynamic accountTypesWithManagementDisabled, addUserDisabled, adjustVolumeDisabled, advancedSecurityOverrides, alwaysOnVpnPackage, - androidDevicePolicyTracks, appAutoUpdatePolicy, applications, - assistContentPolicy, autoDateAndTimeZone, autoTimeRequired, - blockApplicationsEnabled, bluetoothConfigDisabled, + androidDevicePolicyTracks, appAutoUpdatePolicy, appFunctions, + applications, assistContentPolicy, autoDateAndTimeZone, + autoTimeRequired, blockApplicationsEnabled, bluetoothConfigDisabled, bluetoothContactSharingDisabled, bluetoothDisabled, cameraAccess, cameraDisabled, cellBroadcastsConfigDisabled, choosePrivateKeyRules, complianceRules, createWindowsDisabled, @@ -2863,6 +2918,34 @@ @implementation GTLRAndroidManagement_RemoveEsimParams @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidManagement_RemovePolicyApplicationsRequest +// + +@implementation GTLRAndroidManagement_RemovePolicyApplicationsRequest +@dynamic packageNames; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"packageNames" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidManagement_RemovePolicyApplicationsResponse +// + +@implementation GTLRAndroidManagement_RemovePolicyApplicationsResponse +@dynamic policy; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidManagement_RequestDeviceInfoParams @@ -3320,6 +3403,24 @@ @implementation GTLRAndroidManagement_WipeFailureEvent @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidManagement_WipeParams +// + +@implementation GTLRAndroidManagement_WipeParams +@dynamic wipeDataFlags, wipeReason; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"wipeDataFlags" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidManagement_WorkAccountSetupConfig diff --git a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementQuery.m b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementQuery.m index 58dc08840..924876ed4 100644 --- a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementQuery.m +++ b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementQuery.m @@ -567,6 +567,33 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRAndroidManagementQuery_EnterprisesPoliciesModifyPolicyApplications + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRAndroidManagement_ModifyPolicyApplicationsRequest *)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}:modifyPolicyApplications"; + GTLRAndroidManagementQuery_EnterprisesPoliciesModifyPolicyApplications *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAndroidManagement_ModifyPolicyApplicationsResponse class]; + query.loggingName = @"androidmanagement.enterprises.policies.modifyPolicyApplications"; + return query; +} + +@end + @implementation GTLRAndroidManagementQuery_EnterprisesPoliciesPatch @dynamic name, updateMask; @@ -594,6 +621,33 @@ + (instancetype)queryWithObject:(GTLRAndroidManagement_Policy *)object @end +@implementation GTLRAndroidManagementQuery_EnterprisesPoliciesRemovePolicyApplications + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRAndroidManagement_RemovePolicyApplicationsRequest *)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}:removePolicyApplications"; + GTLRAndroidManagementQuery_EnterprisesPoliciesRemovePolicyApplications *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAndroidManagement_RemovePolicyApplicationsResponse class]; + query.loggingName = @"androidmanagement.enterprises.policies.removePolicyApplications"; + return query; +} + +@end + @implementation GTLRAndroidManagementQuery_EnterprisesWebAppsCreate @dynamic parent; diff --git a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h index e889d79c1..75f678c53 100644 --- a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h +++ b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h @@ -27,6 +27,7 @@ @class GTLRAndroidManagement_ApplicationPermission; @class GTLRAndroidManagement_ApplicationPolicy; @class GTLRAndroidManagement_ApplicationPolicy_ManagedConfiguration; +@class GTLRAndroidManagement_ApplicationPolicyChange; @class GTLRAndroidManagement_ApplicationReport; @class GTLRAndroidManagement_ApplicationReportingSettings; @class GTLRAndroidManagement_AppProcessInfo; @@ -164,6 +165,7 @@ @class GTLRAndroidManagement_WifiSsidPolicy; @class GTLRAndroidManagement_WipeAction; @class GTLRAndroidManagement_WipeFailureEvent; +@class GTLRAndroidManagement_WipeParams; @class GTLRAndroidManagement_WorkAccountSetupConfig; // Generated comments include content from the discovery document; avoid them @@ -237,7 +239,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_AdvancedSecurityOverri 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 + * Android 15 and above. A NonComplianceDetail with API_LEVEL is reported if * the Android version is less than 15. * * Value: "CONTENT_PROTECTION_ENFORCED" @@ -252,7 +254,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_AdvancedSecurityOverri /** * 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 + * A NonComplianceDetail with API_LEVEL is reported if the Android version is * less than 15. * * Value: "CONTENT_PROTECTION_USER_CHOICE" @@ -311,9 +313,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_AdvancedSecurityOverri /** * MTE is disabled on the device and the user is not allowed to change this * setting. This applies only on fully managed devices. In other cases, a - * nonComplianceDetail with MANAGEMENT_MODE is reported. A nonComplianceDetail + * NonComplianceDetail with MANAGEMENT_MODE is reported. A NonComplianceDetail * with DEVICE_INCOMPATIBLE is reported if the device does not support - * MTE.Supported on Android 14 and above. A nonComplianceDetail with API_LEVEL + * MTE.Supported on Android 14 and above. A NonComplianceDetail with API_LEVEL * is reported if the Android version is less than 14. * * Value: "MTE_DISABLED" @@ -322,10 +324,10 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_AdvancedSecurityOverri /** * MTE is enabled on the device and the user is not allowed to change this * setting. This can be set 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 + * company-owned devices. A NonComplianceDetail with MANAGEMENT_MODE is + * reported for other management modes. A NonComplianceDetail with * DEVICE_INCOMPATIBLE is reported if the device does not support MTE.Supported - * on Android 14 and above. A nonComplianceDetail with API_LEVEL is reported if + * on Android 14 and above. A NonComplianceDetail with API_LEVEL is reported if * the Android version is less than 14. * * Value: "MTE_ENFORCED" @@ -390,8 +392,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnPolicy_OverrideApns * ignored. This can only be set on fully managed devices on Android 10 and * above. For work profiles override APNs are enabled via * preferentialNetworkServiceSettings and this value cannot be set. A - * nonComplianceDetail with API_LEVEL is reported if the Android version is - * less than 10. A nonComplianceDetail with MANAGEMENT_MODE is reported for + * NonComplianceDetail with API_LEVEL is reported if the Android version is + * less than 10. A NonComplianceDetail with MANAGEMENT_MODE is reported for * work profiles. * * Value: "OVERRIDE_APNS_ENABLED" @@ -409,7 +411,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnPolicy_OverrideApns /** * The PDU session brought up by this APN should always be on. Supported on - * Android 15 and above. A nonComplianceDetail with API_LEVEL is reported if + * Android 15 and above. A NonComplianceDetail with API_LEVEL is reported if * the Android version is less than 15. * * Value: "ALWAYS_ON" @@ -439,16 +441,16 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_AlwaysOnSet FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_ApnTypeUnspecified; /** * APN type for BIP (Bearer Independent Protocol). This can only be set on - * fully managed devices on Android 12 and above. A nonComplianceDetail with + * fully managed devices on Android 12 and above. A NonComplianceDetail with * API_LEVEL is reported if the Android version is less than 12. A - * nonComplianceDetail with MANAGEMENT_MODE is reported for work profiles. + * NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles. * * Value: "BIP" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Bip; /** * APN type for CBS (Carrier Branded Services). This can only be set on fully - * managed devices. A nonComplianceDetail with MANAGEMENT_MODE is reported for + * managed devices. A NonComplianceDetail with MANAGEMENT_MODE is reported for * work profiles. * * Value: "CBS" @@ -456,7 +458,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Bi FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Cbs; /** * APN type for default data traffic. This can only be set on fully managed - * devices. A nonComplianceDetail with MANAGEMENT_MODE is reported for work + * devices. A NonComplianceDetail with MANAGEMENT_MODE is reported for work * profiles. * * Value: "DEFAULT" @@ -464,7 +466,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Cb FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Default; /** * APN type for DUN (Dial-up networking) traffic. This can only be set on fully - * managed devices. A nonComplianceDetail with MANAGEMENT_MODE is reported for + * managed devices. A NonComplianceDetail with MANAGEMENT_MODE is reported for * work profiles. * * Value: "DUN" @@ -473,7 +475,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Du /** * APN type for Emergency PDN. This is not an IA apn, but is used for access to * carrier services in an emergency call situation. This can only be set on - * fully managed devices. A nonComplianceDetail with MANAGEMENT_MODE is + * fully managed devices. A NonComplianceDetail with MANAGEMENT_MODE is * reported for work profiles. * * Value: "EMERGENCY" @@ -481,7 +483,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Du FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Emergency; /** * APN type for enterprise traffic. Supported on Android 13 and above. A - * nonComplianceDetail with API_LEVEL is reported if the Android version is + * NonComplianceDetail with API_LEVEL is reported if the Android version is * less than 13. * * Value: "ENTERPRISE" @@ -490,7 +492,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_En /** * APN type for accessing the carrier's FOTA (Firmware Over-the-Air) portal, * used for over the air updates. This can only be set on fully managed - * devices. A nonComplianceDetail with MANAGEMENT_MODE is reported for work + * devices. A NonComplianceDetail with MANAGEMENT_MODE is reported for work * profiles. * * Value: "FOTA" @@ -498,7 +500,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_En FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Fota; /** * APN type for HiPri (high-priority) traffic. This can only be set on fully - * managed devices. A nonComplianceDetail with MANAGEMENT_MODE is reported for + * managed devices. A NonComplianceDetail with MANAGEMENT_MODE is reported for * work profiles. * * Value: "HIPRI" @@ -506,7 +508,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Fo FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Hipri; /** * APN type for IA (Initial Attach) APN. This can only be set on fully managed - * devices. A nonComplianceDetail with MANAGEMENT_MODE is reported for work + * devices. A NonComplianceDetail with MANAGEMENT_MODE is reported for work * profiles. * * Value: "IA" @@ -514,7 +516,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Hi FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Ia; /** * APN type for IMS (IP Multimedia Subsystem) traffic. This can only be set on - * fully managed devices. A nonComplianceDetail with MANAGEMENT_MODE is + * fully managed devices. A NonComplianceDetail with MANAGEMENT_MODE is * reported for work profiles. * * Value: "IMS" @@ -522,7 +524,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Ia FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Ims; /** * APN type for MCX (Mission Critical Service) where X can be PTT/Video/Data. - * This can only be set on fully managed devices. A nonComplianceDetail with + * This can only be set on fully managed devices. A NonComplianceDetail with * MANAGEMENT_MODE is reported for work profiles. * * Value: "MCX" @@ -530,7 +532,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Im FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Mcx; /** * APN type for MMS (Multimedia Messaging Service) traffic. This can only be - * set on fully managed devices. A nonComplianceDetail with MANAGEMENT_MODE is + * set on fully managed devices. A NonComplianceDetail with MANAGEMENT_MODE is * reported for work profiles. * * Value: "MMS" @@ -538,16 +540,16 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Mc FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Mms; /** * APN type for RCS (Rich Communication Services). This can only be set on - * fully managed devices on Android 15 and above. A nonComplianceDetail with + * fully managed devices on Android 15 and above. A NonComplianceDetail with * API_LEVEL is reported if the Android version is less than 15. A - * nonComplianceDetail with MANAGEMENT_MODE is reported for work profiles. + * NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles. * * Value: "RCS" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Rcs; /** * APN type for SUPL (Secure User Plane Location) assisted GPS. This can only - * be set on fully managed devices. A nonComplianceDetail with MANAGEMENT_MODE + * be set on fully managed devices. A NonComplianceDetail with MANAGEMENT_MODE * is reported for work profiles. * * Value: "SUPL" @@ -555,9 +557,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Rc FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Supl; /** * APN type for VSIM (Virtual SIM) service. This can only be set on fully - * managed devices on Android 12 and above. A nonComplianceDetail with + * managed devices on Android 12 and above. A NonComplianceDetail with * API_LEVEL is reported if the Android version is less than 12. A - * nonComplianceDetail with MANAGEMENT_MODE is reported for work profiles. + * NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles. * * Value: "VSIM" */ @@ -565,8 +567,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApnSetting_ApnTypes_Vs /** * APN type for XCAP (XML Configuration Access Protocol) traffic. This can only * be set on fully managed devices on Android 11 and above. A - * nonComplianceDetail with API_LEVEL is reported if the Android version is - * less than 11. A nonComplianceDetail with MANAGEMENT_MODE is reported for + * NonComplianceDetail with API_LEVEL is reported if the Android version is + * less than 11. A NonComplianceDetail with MANAGEMENT_MODE is reported for * work profiles. * * Value: "XCAP" @@ -1344,13 +1346,17 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_Pref /** * User control is allowed for the app. Kiosk apps can use this to allow user + * control. For extension apps (see extensionConfig for more details), user + * control is disallowed even if this value is set. For kiosk apps (see KIOSK + * install type for more details), this value can be used to allow user * control. * * Value: "USER_CONTROL_ALLOWED" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_UserControlSettings_UserControlAllowed; /** - * User control is disallowed for the app. API_LEVEL is reported if the Android + * User control is disallowed for the app. This is supported on Android 11 and + * above. A NonComplianceDetail with API_LEVEL is reported if the Android * version is less than 11. * * Value: "USER_CONTROL_DISALLOWED" @@ -1358,10 +1364,10 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_User FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_UserControlSettings_UserControlDisallowed; /** * Uses the default behaviour of the app to determine if user control is - * allowed or disallowed. For most apps, user control is allowed by default, - * but for some critical apps such as companion apps (extensionConfig set to - * true), kiosk apps and other critical system apps, user control is - * disallowed. + * allowed or disallowed. User control is allowed by default for most apps but + * disallowed for following types of apps: extension apps (see extensionConfig + * for more details) kiosk apps (see KIOSK install type for more details) other + * critical system apps * * Value: "USER_CONTROL_SETTINGS_UNSPECIFIED" */ @@ -1585,7 +1591,11 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Command_ResetPasswordF /** * Adds an eSIM profile to the device. This is supported on Android 15 and - * above. See also addEsimParams. + * above. See also addEsimParams. To remove an eSIM profile, use the + * REMOVE_ESIM command. To determine what happens to the eSIM profile when a + * device is wiped, set wipeDataFlags in the policy. Note: To provision + * multiple eSIMs on a single device, it is recommended to introduce a delay of + * a few minutes between successive executions of the command. * * Value: "ADD_ESIM" */ @@ -1662,6 +1672,15 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Command_Type_StartLost * Value: "STOP_LOST_MODE" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Command_Type_StopLostMode; +/** + * Wipes the device, via a factory reset for a company owned device, or by + * deleting the work profile for a personally owned device with work profile. + * The wipe only occurs once the device acknowledges the command. The command + * can be cancelled before then. + * + * Value: "WIPE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Command_Type_Wipe; // ---------------------------------------------------------------------------- // GTLRAndroidManagement_CommonCriteriaModeInfo.commonCriteriaModeStatus @@ -1723,6 +1742,34 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_CommonCriteriaModeInfo */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_CommonCriteriaModeInfo_PolicySignatureVerificationStatus_PolicySignatureVerificationSucceeded; +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_CrossProfilePolicies.crossProfileAppFunctions + +/** + * Personal profile apps can invoke app functions exposed by apps in the work + * profile. If this is set, appFunctions must not be set to + * APP_FUNCTIONS_DISALLOWED, otherwise the policy will be rejected. + * + * Value: "CROSS_PROFILE_APP_FUNCTIONS_ALLOWED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_CrossProfilePolicies_CrossProfileAppFunctions_CrossProfileAppFunctionsAllowed; +/** + * Personal profile apps are not allowed to invoke app functions exposed by + * apps in the work profile. + * + * Value: "CROSS_PROFILE_APP_FUNCTIONS_DISALLOWED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_CrossProfilePolicies_CrossProfileAppFunctions_CrossProfileAppFunctionsDisallowed; +/** + * Unspecified. If appFunctions is set to APP_FUNCTIONS_ALLOWED, defaults to + * CROSS_PROFILE_APP_FUNCTIONS_ALLOWED. If appFunctions is set to + * APP_FUNCTIONS_DISALLOWED, defaults to + * CROSS_PROFILE_APP_FUNCTIONS_DISALLOWED. + * + * Value: "CROSS_PROFILE_APP_FUNCTIONS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_CrossProfilePolicies_CrossProfileAppFunctions_CrossProfileAppFunctionsUnspecified; + // ---------------------------------------------------------------------------- // GTLRAndroidManagement_CrossProfilePolicies.crossProfileCopyPaste @@ -1786,7 +1833,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_CrossProfilePolicies_C * including contact searches and incoming calls.When this is set, personal * apps specified in exemptions_to_show_work_contacts_in_personal_profile are * blocklisted and can not access work profile contacts directly.Supported on - * Android 7.0 and above. A nonComplianceDetail with API_LEVEL is reported if + * Android 7.0 and above. A NonComplianceDetail with API_LEVEL is reported if * the Android version is less than 7.0. * * Value: "SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_ALLOWED" @@ -1797,7 +1844,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_CrossProfilePolicies_S * work contacts.When this is set, personal apps specified in * exemptions_to_show_work_contacts_in_personal_profile are allowlisted and can * access work profile contacts directly.Supported on Android 7.0 and above. A - * nonComplianceDetail with API_LEVEL is reported if the Android version is + * NonComplianceDetail with API_LEVEL is reported if the Android version is * less than 7.0. * * Value: "SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED" @@ -1813,7 +1860,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_CrossProfilePolicies_S * access work profile contacts.Supported on Android 14 and above. If this is * set on a device with Android version less than 14, the behaviour falls back * to SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED and a - * nonComplianceDetail with API_LEVEL is reported. + * NonComplianceDetail with API_LEVEL is reported. * * Value: "SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED_EXCEPT_SYSTEM" */ @@ -2075,7 +2122,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_DeviceConnectivityMana * switch between already configured networks. Supported on Android 13 and * above, on fully managed devices and work profiles on company-owned devices. * If the setting is not supported, ALLOW_CONFIGURING_WIFI is set. A - * nonComplianceDetail with API_LEVEL is reported if the Android version is + * NonComplianceDetail with API_LEVEL is reported if the Android version is * less than 13. wifiConfigDisabled is ignored. * * Value: "DISALLOW_ADD_WIFI_CONFIG" @@ -2118,7 +2165,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_DeviceConnectivityMana /** * Disallows the user from using Wi-Fi tethering. Supported on company owned * devices running Android 13 and above. If the setting is not supported, - * ALLOW_ALL_TETHERING will be set. A nonComplianceDetail with API_LEVEL is + * ALLOW_ALL_TETHERING will be set. A NonComplianceDetail with API_LEVEL is * reported if the Android version is less than 13. tetheringConfigDisabled is * ignored. * @@ -2148,8 +2195,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_DeviceConnectivityMana * When set, all types of USB data transfers are prohibited. Supported for * devices running Android 12 or above with USB HAL 1.3 or above. If the * setting is not supported, DISALLOW_USB_FILE_TRANSFER will be set. A - * nonComplianceDetail with API_LEVEL is reported if the Android version is - * less than 12. A nonComplianceDetail with DEVICE_INCOMPATIBLE is reported if + * NonComplianceDetail with API_LEVEL is reported if the Android version is + * less than 12. A NonComplianceDetail with DEVICE_INCOMPATIBLE is reported if * the device does not have USB HAL 1.3 or above. usbFileTransferDisabled is * ignored. * @@ -2181,7 +2228,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_DeviceConnectivityMana */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_DeviceConnectivityManagement_WifiDirectSettings_AllowWifiDirect; /** - * The user is not allowed to use Wi-Fi direct. A nonComplianceDetail with + * The user is not allowed to use Wi-Fi direct. A NonComplianceDetail with * API_LEVEL is reported if the Android version is less than 13. * * Value: "DISALLOW_WIFI_DIRECT" @@ -2199,7 +2246,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_DeviceConnectivityMana /** * Airplane mode is disabled. The user is not allowed to toggle airplane mode - * on. A nonComplianceDetail with API_LEVEL is reported if the Android version + * on. A NonComplianceDetail with API_LEVEL is reported if the Android version * is less than 9. * * Value: "AIRPLANE_MODE_DISABLED" @@ -2223,7 +2270,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_DeviceRadioState_Airpl /** * Cellular 2G is disabled. The user is not allowed to toggle cellular 2G on - * via settings. A nonComplianceDetail with API_LEVEL is reported if the + * via settings. A NonComplianceDetail with API_LEVEL is reported if the * Android version is less than 14. * * Value: "CELLULAR_TWO_G_DISABLED" @@ -2249,7 +2296,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_DeviceRadioState_Cellu * A 192-bit enterprise network is the minimum required security level. The * device will not be able to connect to Wi-Fi network below this security * level. This is stricter than ENTERPRISE_NETWORK_SECURITY. A - * nonComplianceDetail with API_LEVEL is reported if the Android version is + * NonComplianceDetail with API_LEVEL is reported if the Android version is * less than 13. * * Value: "ENTERPRISE_BIT192_NETWORK_SECURITY" @@ -2258,7 +2305,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_DeviceRadioState_Minim /** * An enterprise EAP network is the minimum required security level. The device * will not be able to connect to Wi-Fi network below this security level. This - * is stricter than PERSONAL_NETWORK_SECURITY. A nonComplianceDetail with + * is stricter than PERSONAL_NETWORK_SECURITY. A NonComplianceDetail with * API_LEVEL is reported if the Android version is less than 13. * * Value: "ENTERPRISE_NETWORK_SECURITY" @@ -2280,7 +2327,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_DeviceRadioState_Minim /** * A personal network such as WEP, WPA2-PSK is the minimum required security. * The device will not be able to connect to open wifi networks. This is - * stricter than OPEN_NETWORK_SECURITY. A nonComplianceDetail with API_LEVEL is + * stricter than OPEN_NETWORK_SECURITY. A NonComplianceDetail with API_LEVEL is * reported if the Android version is less than 13. * * Value: "PERSONAL_NETWORK_SECURITY" @@ -2292,7 +2339,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_DeviceRadioState_Minim /** * Ultra wideband is disabled. The user is not allowed to toggle ultra wideband - * on via settings. A nonComplianceDetail with API_LEVEL is reported if the + * on via settings. A NonComplianceDetail with API_LEVEL is reported if the * Android version is less than 14. * * Value: "ULTRA_WIDEBAND_DISABLED" @@ -2316,7 +2363,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_DeviceRadioState_Ultra /** * Wi-Fi is off and the user is not allowed to turn it on. A - * nonComplianceDetail with API_LEVEL is reported if the Android version is + * NonComplianceDetail with API_LEVEL is reported if the Android version is * less than 13. * * Value: "WIFI_DISABLED" @@ -2324,7 +2371,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_DeviceRadioState_Ultra FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_DeviceRadioState_WifiState_WifiDisabled; /** * Wi-Fi is on and the user is not allowed to turn it off. A - * nonComplianceDetail with API_LEVEL is reported if the Android version is + * NonComplianceDetail with API_LEVEL is reported if the Android version is * less than 13. * * Value: "WIFI_ENABLED" @@ -4166,6 +4213,32 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_AppAutoUpdatePo */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_AppAutoUpdatePolicy_WifiOnly; +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_Policy.appFunctions + +/** + * Apps on the device for fully managed devices or in the work profile for + * devices with work profiles are allowed to expose app functions. + * + * Value: "APP_FUNCTIONS_ALLOWED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_AppFunctions_AppFunctionsAllowed; +/** + * Apps on the device for fully managed devices or in the work profile for + * devices with work profiles are not allowed to expose app functions. If this + * is set, crossProfileAppFunctions must not be set to + * CROSS_PROFILE_APP_FUNCTIONS_ALLOWED, otherwise the policy will be rejected. + * + * Value: "APP_FUNCTIONS_DISALLOWED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_AppFunctions_AppFunctionsDisallowed; +/** + * Unspecified. Defaults to APP_FUNCTIONS_ALLOWED. + * + * Value: "APP_FUNCTIONS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_AppFunctions_AppFunctionsUnspecified; + // ---------------------------------------------------------------------------- // GTLRAndroidManagement_Policy.assistContentPolicy @@ -4178,7 +4251,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_AppAutoUpdatePo FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_AssistContentPolicy_AssistContentAllowed; /** * Assist content is blocked from being sent to a privileged app.Supported on - * Android 15 and above. A nonComplianceDetail with API_LEVEL is reported if + * Android 15 and above. A NonComplianceDetail with API_LEVEL is reported if * the Android version is less than 15. * * Value: "ASSIST_CONTENT_DISALLOWED" @@ -4367,8 +4440,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_EnterpriseDispl /** * The enterprise display name is visible on the device. Supported on work * profiles on Android 7 and above. Supported on fully managed devices on - * Android 8 and above. A nonComplianceDetail with API_LEVEL is reported if the - * Android version is less than 7. A nonComplianceDetail with MANAGEMENT_MODE + * Android 8 and above. A NonComplianceDetail with API_LEVEL is reported if the + * Android version is less than 7. A NonComplianceDetail with MANAGEMENT_MODE * is reported on fully managed devices on Android 7. * * Value: "ENTERPRISE_DISPLAY_NAME_VISIBLE" @@ -4606,7 +4679,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_PreferentialNet */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_PrintingPolicy_PrintingAllowed; /** - * Printing is disallowed. A nonComplianceDetail with API_LEVEL is reported if + * Printing is disallowed. A NonComplianceDetail with API_LEVEL is reported if * the Android version is less than 9. * * Value: "PRINTING_DISALLOWED" @@ -4661,7 +4734,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_WipeDataFlags_W * eSIMs on the device when wipe is triggered due to any reason. On * personally-owned devices, this will remove only managed eSIMs on the device. * (eSIMs which are added via the ADD_ESIM command). This is supported on - * devices running Android 15 and above. A nonComplianceDetail with API_LEVEL + * devices running Android 15 and above. A NonComplianceDetail with API_LEVEL * is reported if the Android version is less than 15. * * Value: "WIPE_ESIMS" @@ -4790,7 +4863,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PreferentialNetworkSer /** * Apps this configuration applies to are disallowed from using other networks * than the preferential service. This can be set on Android 14 and above. A - * nonComplianceDetail with API_LEVEL is reported if the Android version is + * NonComplianceDetail with API_LEVEL is reported if the Android version is * less than 14. If this is set, fallbackToDefaultConnection must be set to * FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED, the policy will be rejected * otherwise. @@ -5722,9 +5795,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WebToken_Permissions_W /** * 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 + * 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. * @@ -5740,8 +5813,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WifiRoamingSetting_Wif /** * Wi-Fi roaming is disabled. 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 + * 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. * * Value: "WIFI_ROAMING_DISABLED" @@ -5780,6 +5853,37 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WifiSsidPolicy_WifiSsi */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WifiSsidPolicy_WifiSsidPolicyType_WifiSsidPolicyTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_WipeParams.wipeDataFlags + +/** + * Preserve the factory reset protection data on the device. + * + * Value: "PRESERVE_RESET_PROTECTION_DATA" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WipeParams_WipeDataFlags_PreserveResetProtectionData; +/** + * This value is ignored. + * + * Value: "WIPE_DATA_FLAG_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WipeParams_WipeDataFlags_WipeDataFlagUnspecified; +/** + * For company-owned devices, this removes all eSIMs from the device when the + * device is wiped. In personally-owned devices, this will remove managed eSIMs + * (eSIMs which are added via the ADD_ESIM command) on the devices and no + * personally owned eSIMs will be removed. + * + * Value: "WIPE_ESIMS" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WipeParams_WipeDataFlags_WipeEsims; +/** + * Additionally wipe the device's external storage (such as SD cards). + * + * Value: "WIPE_EXTERNAL_STORAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WipeParams_WipeDataFlags_WipeExternalStorage; + // ---------------------------------------------------------------------------- // GTLRAndroidManagement_WorkAccountSetupConfig.authenticationType @@ -5894,7 +5998,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WorkAccountSetupConfig * (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 + * 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 @@ -5903,7 +6007,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WorkAccountSetupConfig * @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 + * Android 15 and above. A NonComplianceDetail with API_LEVEL is reported * if the Android version is less than 15. (Value: * "CONTENT_PROTECTION_USER_CHOICE") */ @@ -5954,19 +6058,19 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WorkAccountSetupConfig * @arg @c kGTLRAndroidManagement_AdvancedSecurityOverrides_MtePolicy_MteDisabled * MTE is disabled on the device and the user is not allowed to change * this setting. This applies only on fully managed devices. In other - * cases, a nonComplianceDetail with MANAGEMENT_MODE is reported. A - * nonComplianceDetail with DEVICE_INCOMPATIBLE is reported if the device + * cases, a NonComplianceDetail with MANAGEMENT_MODE is reported. A + * NonComplianceDetail with DEVICE_INCOMPATIBLE is reported if the device * does not support MTE.Supported on Android 14 and above. A - * nonComplianceDetail with API_LEVEL is reported if the Android version + * NonComplianceDetail with API_LEVEL is reported if the Android version * is less than 14. (Value: "MTE_DISABLED") * @arg @c kGTLRAndroidManagement_AdvancedSecurityOverrides_MtePolicy_MteEnforced * MTE is enabled on the device and the user is not allowed to change * this setting. This can be set on fully managed devices and work - * profiles on company-owned devices. A nonComplianceDetail with + * profiles on company-owned devices. A NonComplianceDetail with * MANAGEMENT_MODE is reported for other management modes. A - * nonComplianceDetail with DEVICE_INCOMPATIBLE is reported if the device + * NonComplianceDetail with DEVICE_INCOMPATIBLE is reported if the device * does not support MTE.Supported on Android 14 and above. A - * nonComplianceDetail with API_LEVEL is reported if the Android version + * NonComplianceDetail with API_LEVEL is reported if the Android version * is less than 14. (Value: "MTE_ENFORCED") * @arg @c kGTLRAndroidManagement_AdvancedSecurityOverrides_MtePolicy_MtePolicyUnspecified * Unspecified. Defaults to MTE_USER_CHOICE. (Value: @@ -6064,9 +6168,9 @@ GTLR_DEPRECATED * some of the APN settings result in non-compliance of INVALID_VALUE , they * will be ignored. This can be set on fully managed devices on Android 10 and * above. This can also be set on work profiles on Android 13 and above and - * only with ApnSetting's with ENTERPRISE APN type. A nonComplianceDetail with + * only with ApnSetting's with ENTERPRISE APN type. A NonComplianceDetail with * API_LEVEL is reported if the Android version is less than 10. A - * nonComplianceDetail with MANAGEMENT_MODE is reported for work profiles on + * NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles on * Android versions less than 13. */ @property(nonatomic, strong, nullable) NSArray *apnSettings; @@ -6087,8 +6191,8 @@ GTLR_DEPRECATED * are ignored. This can only be set on fully managed devices on Android * 10 and above. For work profiles override APNs are enabled via * preferentialNetworkServiceSettings and this value cannot be set. A - * nonComplianceDetail with API_LEVEL is reported if the Android version - * is less than 10. A nonComplianceDetail with MANAGEMENT_MODE is + * NonComplianceDetail with API_LEVEL is reported if the Android version + * is less than 10. A NonComplianceDetail with MANAGEMENT_MODE is * reported for work profiles. (Value: "OVERRIDE_APNS_ENABLED") * @arg @c kGTLRAndroidManagement_ApnPolicy_OverrideApns_OverrideApnsUnspecified * Unspecified. Defaults to OVERRIDE_APNS_DISABLED. (Value: @@ -6116,7 +6220,7 @@ GTLR_DEPRECATED * Likely values: * @arg @c kGTLRAndroidManagement_ApnSetting_AlwaysOnSetting_AlwaysOn The PDU * session brought up by this APN should always be on. Supported on - * Android 15 and above. A nonComplianceDetail with API_LEVEL is reported + * Android 15 and above. A NonComplianceDetail with API_LEVEL is reported * if the Android version is less than 15. (Value: "ALWAYS_ON") * @arg @c kGTLRAndroidManagement_ApnSetting_AlwaysOnSetting_AlwaysOnSettingUnspecified * Unspecified. Defaults to NOT_ALWAYS_ON. (Value: @@ -6136,11 +6240,11 @@ GTLR_DEPRECATED * Required. Usage categories for the APN. Policy will be rejected if this * field is empty or contains APN_TYPE_UNSPECIFIED or duplicates. Multiple APN * types can be set on fully managed devices. ENTERPRISE is the only allowed - * APN type on work profiles. A nonComplianceDetail with MANAGEMENT_MODE is + * APN type on work profiles. A NonComplianceDetail with MANAGEMENT_MODE is * reported for any other value on work profiles. APN types that are not * supported on the device or management mode will be ignored. If this results * in the empty list, the APN setting will be ignored, because apnTypes is a - * required field. A nonComplianceDetail with INVALID_VALUE is reported if none + * required field. A NonComplianceDetail with INVALID_VALUE is reported if none * of the APN types are supported on the device or management mode. */ @property(nonatomic, strong, nullable) NSArray *apnTypes; @@ -6198,7 +6302,7 @@ GTLR_DEPRECATED * Optional. The default MTU (Maximum Transmission Unit) size in bytes of the * IPv4 routes brought up by this APN setting. A value of 0 (default) means not * set and negative values are rejected. Supported on Android 13 and above. A - * nonComplianceDetail with API_LEVEL is reported if the Android version is + * NonComplianceDetail with API_LEVEL is reported if the Android version is * less than 13. * * Uses NSNumber of intValue. @@ -6209,7 +6313,7 @@ GTLR_DEPRECATED * Optional. The MTU (Maximum Transmission Unit) size of the IPv6 mobile * interface to which the APN connected. A value of 0 (default) means not set * and negative values are rejected. Supported on Android 13 and above. A - * nonComplianceDetail with API_LEVEL is reported if the Android version is + * NonComplianceDetail with API_LEVEL is reported if the Android version is * less than 13. * * Uses NSNumber of intValue. @@ -6676,7 +6780,12 @@ GTLR_DEPRECATED /** * Configuration to enable this app as an extension app, with the capability of * interacting with Android Device Policy offline.This field can be set for at - * most one app. + * most one app.The signing key certificate fingerprint of the app on the + * device must match one of the entries in signingKeyFingerprintsSha256 or the + * signing key certificate fingerprints obtained from Play Store for the app to + * be able to communicate with Android Device Policy. If the app is not on Play + * Store and signingKeyFingerprintsSha256 is not set, a NonComplianceDetail + * with INVALID_VALUE is reported. */ @property(nonatomic, strong, nullable) GTLRAndroidManagement_ExtensionConfig *extensionConfig; @@ -6820,21 +6929,26 @@ GTLR_DEPRECATED /** * Optional. Specifies whether user control is permitted for the app. User * control includes user actions like force-stopping and clearing app data. - * Supported on Android 11 and above. + * Certain types of apps have special treatment, see + * USER_CONTROL_SETTINGS_UNSPECIFIED and USER_CONTROL_ALLOWED for more details. * * Likely values: * @arg @c kGTLRAndroidManagement_ApplicationPolicy_UserControlSettings_UserControlAllowed * User control is allowed for the app. Kiosk apps can use this to allow - * user control. (Value: "USER_CONTROL_ALLOWED") + * user control. For extension apps (see extensionConfig for more + * details), user control is disallowed even if this value is set. For + * kiosk apps (see KIOSK install type for more details), this value can + * be used to allow user control. (Value: "USER_CONTROL_ALLOWED") * @arg @c kGTLRAndroidManagement_ApplicationPolicy_UserControlSettings_UserControlDisallowed - * User control is disallowed for the app. API_LEVEL is reported if the + * User control is disallowed for the app. This is supported on Android + * 11 and above. A NonComplianceDetail with API_LEVEL is reported if the * Android version is less than 11. (Value: "USER_CONTROL_DISALLOWED") * @arg @c kGTLRAndroidManagement_ApplicationPolicy_UserControlSettings_UserControlSettingsUnspecified * Uses the default behaviour of the app to determine if user control is - * allowed or disallowed. For most apps, user control is allowed by - * default, but for some critical apps such as companion apps - * (extensionConfig set to true), kiosk apps and other critical system - * apps, user control is disallowed. (Value: + * allowed or disallowed. User control is allowed by default for most + * apps but disallowed for following types of apps: extension apps (see + * extensionConfig for more details) kiosk apps (see KIOSK install type + * for more details) other critical system apps (Value: * "USER_CONTROL_SETTINGS_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *userControlSettings; @@ -6879,6 +6993,29 @@ GTLR_DEPRECATED @end +/** + * A change to be made to a single ApplicationPolicy object. + */ +@interface GTLRAndroidManagement_ApplicationPolicyChange : GTLRObject + +/** + * If ApplicationPolicy.packageName matches an existing ApplicationPolicy + * object within the Policy being modified, then that object will be updated. + * Otherwise, it will be added to the end of the Policy.applications. + */ +@property(nonatomic, strong, nullable) GTLRAndroidManagement_ApplicationPolicy *application; + +/** + * The field mask indicating the fields to update. If omitted, all modifiable + * fields are updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +@end + + /** * Information reported about an installed app. */ @@ -7491,7 +7628,12 @@ GTLR_DEPRECATED * Likely values: * @arg @c kGTLRAndroidManagement_Command_Type_AddEsim Adds an eSIM profile * to the device. This is supported on Android 15 and above. See also - * addEsimParams. (Value: "ADD_ESIM") + * addEsimParams. To remove an eSIM profile, use the REMOVE_ESIM command. + * To determine what happens to the eSIM profile when a device is wiped, + * set wipeDataFlags in the policy. Note: To provision multiple eSIMs on + * a single device, it is recommended to introduce a delay of a few + * minutes between successive executions of the command. (Value: + * "ADD_ESIM") * @arg @c kGTLRAndroidManagement_Command_Type_ClearAppData Clears the * application data of specified apps. This is supported on Android 9 and * above. Note that an application can store data outside of its @@ -7525,6 +7667,11 @@ GTLR_DEPRECATED * out of lost mode. Only supported on fully managed devices or * organization-owned devices with a managed profile. See also * stop_lost_mode_params. (Value: "STOP_LOST_MODE") + * @arg @c kGTLRAndroidManagement_Command_Type_Wipe Wipes the device, via a + * factory reset for a company owned device, or by deleting the work + * profile for a personally owned device with work profile. The wipe only + * occurs once the device acknowledges the command. The command can be + * cancelled before then. (Value: "WIPE") */ @property(nonatomic, copy, nullable) NSString *type; @@ -7535,6 +7682,14 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *userName; +/** + * Optional. Parameters for the WIPE command to wipe the device. If this is + * set, then it is suggested that type should not be set. In this case, the + * server automatically sets it to WIPE. It is also acceptable to explicitly + * set type to WIPE. + */ +@property(nonatomic, strong, nullable) GTLRAndroidManagement_WipeParams *wipeParams; + @end @@ -7716,11 +7871,34 @@ GTLR_DEPRECATED /** * Controls the data from the work profile that can be accessed from the - * personal profile and vice versa. A nonComplianceDetail with MANAGEMENT_MODE + * personal profile and vice versa. A NonComplianceDetail with MANAGEMENT_MODE * is reported if the device does not have a work profile. */ @interface GTLRAndroidManagement_CrossProfilePolicies : GTLRObject +/** + * Optional. Controls whether personal profile apps can invoke app functions + * exposed by apps in the work profile. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_CrossProfilePolicies_CrossProfileAppFunctions_CrossProfileAppFunctionsAllowed + * Personal profile apps can invoke app functions exposed by apps in the + * work profile. If this is set, appFunctions must not be set to + * APP_FUNCTIONS_DISALLOWED, otherwise the policy will be rejected. + * (Value: "CROSS_PROFILE_APP_FUNCTIONS_ALLOWED") + * @arg @c kGTLRAndroidManagement_CrossProfilePolicies_CrossProfileAppFunctions_CrossProfileAppFunctionsDisallowed + * Personal profile apps are not allowed to invoke app functions exposed + * by apps in the work profile. (Value: + * "CROSS_PROFILE_APP_FUNCTIONS_DISALLOWED") + * @arg @c kGTLRAndroidManagement_CrossProfilePolicies_CrossProfileAppFunctions_CrossProfileAppFunctionsUnspecified + * Unspecified. If appFunctions is set to APP_FUNCTIONS_ALLOWED, defaults + * to CROSS_PROFILE_APP_FUNCTIONS_ALLOWED. If appFunctions is set to + * APP_FUNCTIONS_DISALLOWED, defaults to + * CROSS_PROFILE_APP_FUNCTIONS_DISALLOWED. (Value: + * "CROSS_PROFILE_APP_FUNCTIONS_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *crossProfileAppFunctions; + /** * Whether text copied from one profile (personal or work) can be pasted in the * other profile. @@ -7778,7 +7956,7 @@ GTLR_DEPRECATED * SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED_EXCEPT_SYSTEM. In this * case, these exemptions act as an allowlist, in addition to the already * allowlisted system apps.Supported on Android 14 and above. A - * nonComplianceDetail with API_LEVEL is reported if the Android version is + * NonComplianceDetail with API_LEVEL is reported if the Android version is * less than 14. */ @property(nonatomic, strong, nullable) GTLRAndroidManagement_PackageNameList *exemptionsToShowWorkContactsInPersonalProfile; @@ -7794,7 +7972,7 @@ GTLR_DEPRECATED * set, personal apps specified in * exemptions_to_show_work_contacts_in_personal_profile are blocklisted * and can not access work profile contacts directly.Supported on Android - * 7.0 and above. A nonComplianceDetail with API_LEVEL is reported if the + * 7.0 and above. A NonComplianceDetail with API_LEVEL is reported if the * Android version is less than 7.0. (Value: * "SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_ALLOWED") * @arg @c kGTLRAndroidManagement_CrossProfilePolicies_ShowWorkContactsInPersonalProfile_ShowWorkContactsInPersonalProfileDisallowed @@ -7802,7 +7980,7 @@ GTLR_DEPRECATED * looking up work contacts.When this is set, personal apps specified in * exemptions_to_show_work_contacts_in_personal_profile are allowlisted * and can access work profile contacts directly.Supported on Android 7.0 - * and above. A nonComplianceDetail with API_LEVEL is reported if the + * and above. A NonComplianceDetail with API_LEVEL is reported if the * Android version is less than 7.0. (Value: * "SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED") * @arg @c kGTLRAndroidManagement_CrossProfilePolicies_ShowWorkContactsInPersonalProfile_ShowWorkContactsInPersonalProfileDisallowedExceptSystem @@ -7817,7 +7995,7 @@ GTLR_DEPRECATED * above. If this is set on a device with Android version less than 14, * the behaviour falls back to * SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED and a - * nonComplianceDetail with API_LEVEL is reported. (Value: + * NonComplianceDetail with API_LEVEL is reported. (Value: * "SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED_EXCEPT_SYSTEM") * @arg @c kGTLRAndroidManagement_CrossProfilePolicies_ShowWorkContactsInPersonalProfile_ShowWorkContactsInPersonalProfileUnspecified * Unspecified. Defaults to @@ -8274,7 +8452,7 @@ GTLR_DEPRECATED * to switch between already configured networks. Supported on Android 13 * and above, on fully managed devices and work profiles on company-owned * devices. If the setting is not supported, ALLOW_CONFIGURING_WIFI is - * set. A nonComplianceDetail with API_LEVEL is reported if the Android + * set. A NonComplianceDetail with API_LEVEL is reported if the Android * version is less than 13. wifiConfigDisabled is ignored. (Value: * "DISALLOW_ADD_WIFI_CONFIG") * @arg @c kGTLRAndroidManagement_DeviceConnectivityManagement_ConfigureWifi_DisallowConfiguringWifi @@ -8296,7 +8474,10 @@ GTLR_DEPRECATED /** * Optional. Preferential network service configuration. Setting this field * will override preferentialNetworkService. This can be set on both work - * profiles and fully managed devices on Android 13 and above. + * profiles and fully managed devices on Android 13 and above. See 5G network + * slicing + * (https://developers.google.com/android/management/5g-network-slicing) guide + * for more details. */ @property(nonatomic, strong, nullable) GTLRAndroidManagement_PreferentialNetworkServiceSettings *preferentialNetworkServiceSettings; @@ -8316,7 +8497,7 @@ GTLR_DEPRECATED * @arg @c kGTLRAndroidManagement_DeviceConnectivityManagement_TetheringSettings_DisallowWifiTethering * Disallows the user from using Wi-Fi tethering. Supported on company * owned devices running Android 13 and above. If the setting is not - * supported, ALLOW_ALL_TETHERING will be set. A nonComplianceDetail with + * supported, ALLOW_ALL_TETHERING will be set. A NonComplianceDetail with * API_LEVEL is reported if the Android version is less than 13. * tetheringConfigDisabled is ignored. (Value: "DISALLOW_WIFI_TETHERING") * @arg @c kGTLRAndroidManagement_DeviceConnectivityManagement_TetheringSettings_TetheringSettingsUnspecified @@ -8339,8 +8520,8 @@ GTLR_DEPRECATED * When set, all types of USB data transfers are prohibited. Supported * for devices running Android 12 or above with USB HAL 1.3 or above. If * the setting is not supported, DISALLOW_USB_FILE_TRANSFER will be set. - * A nonComplianceDetail with API_LEVEL is reported if the Android - * version is less than 12. A nonComplianceDetail with + * A NonComplianceDetail with API_LEVEL is reported if the Android + * version is less than 12. A NonComplianceDetail with * DEVICE_INCOMPATIBLE is reported if the device does not have USB HAL * 1.3 or above. usbFileTransferDisabled is ignored. (Value: * "DISALLOW_USB_DATA_TRANSFER") @@ -8363,7 +8544,7 @@ GTLR_DEPRECATED * @arg @c kGTLRAndroidManagement_DeviceConnectivityManagement_WifiDirectSettings_AllowWifiDirect * The user is allowed to use Wi-Fi direct. (Value: "ALLOW_WIFI_DIRECT") * @arg @c kGTLRAndroidManagement_DeviceConnectivityManagement_WifiDirectSettings_DisallowWifiDirect - * The user is not allowed to use Wi-Fi direct. A nonComplianceDetail + * The user is not allowed to use Wi-Fi direct. A NonComplianceDetail * with API_LEVEL is reported if the Android version is less than 13. * (Value: "DISALLOW_WIFI_DIRECT") * @arg @c kGTLRAndroidManagement_DeviceConnectivityManagement_WifiDirectSettings_WifiDirectSettingsUnspecified @@ -8396,7 +8577,7 @@ GTLR_DEPRECATED * Likely values: * @arg @c kGTLRAndroidManagement_DeviceRadioState_AirplaneModeState_AirplaneModeDisabled * Airplane mode is disabled. The user is not allowed to toggle airplane - * mode on. A nonComplianceDetail with API_LEVEL is reported if the + * mode on. A NonComplianceDetail with API_LEVEL is reported if the * Android version is less than 9. (Value: "AIRPLANE_MODE_DISABLED") * @arg @c kGTLRAndroidManagement_DeviceRadioState_AirplaneModeState_AirplaneModeStateUnspecified * Unspecified. Defaults to AIRPLANE_MODE_USER_CHOICE. (Value: @@ -8413,7 +8594,7 @@ GTLR_DEPRECATED * Likely values: * @arg @c kGTLRAndroidManagement_DeviceRadioState_CellularTwoGState_CellularTwoGDisabled * Cellular 2G is disabled. The user is not allowed to toggle cellular 2G - * on via settings. A nonComplianceDetail with API_LEVEL is reported if + * on via settings. A NonComplianceDetail with API_LEVEL is reported if * the Android version is less than 14. (Value: * "CELLULAR_TWO_G_DISABLED") * @arg @c kGTLRAndroidManagement_DeviceRadioState_CellularTwoGState_CellularTwoGStateUnspecified @@ -8434,13 +8615,13 @@ GTLR_DEPRECATED * A 192-bit enterprise network is the minimum required security level. * The device will not be able to connect to Wi-Fi network below this * security level. This is stricter than ENTERPRISE_NETWORK_SECURITY. A - * nonComplianceDetail with API_LEVEL is reported if the Android version + * NonComplianceDetail with API_LEVEL is reported if the Android version * is less than 13. (Value: "ENTERPRISE_BIT192_NETWORK_SECURITY") * @arg @c kGTLRAndroidManagement_DeviceRadioState_MinimumWifiSecurityLevel_EnterpriseNetworkSecurity * An enterprise EAP network is the minimum required security level. The * device will not be able to connect to Wi-Fi network below this * security level. This is stricter than PERSONAL_NETWORK_SECURITY. A - * nonComplianceDetail with API_LEVEL is reported if the Android version + * NonComplianceDetail with API_LEVEL is reported if the Android version * is less than 13. (Value: "ENTERPRISE_NETWORK_SECURITY") * @arg @c kGTLRAndroidManagement_DeviceRadioState_MinimumWifiSecurityLevel_MinimumWifiSecurityLevelUnspecified * Defaults to OPEN_NETWORK_SECURITY, which means the device will be able @@ -8453,7 +8634,7 @@ GTLR_DEPRECATED * A personal network such as WEP, WPA2-PSK is the minimum required * security. The device will not be able to connect to open wifi * networks. This is stricter than OPEN_NETWORK_SECURITY. A - * nonComplianceDetail with API_LEVEL is reported if the Android version + * NonComplianceDetail with API_LEVEL is reported if the Android version * is less than 13. (Value: "PERSONAL_NETWORK_SECURITY") */ @property(nonatomic, copy, nullable) NSString *minimumWifiSecurityLevel; @@ -8465,7 +8646,7 @@ GTLR_DEPRECATED * Likely values: * @arg @c kGTLRAndroidManagement_DeviceRadioState_UltraWidebandState_UltraWidebandDisabled * Ultra wideband is disabled. The user is not allowed to toggle ultra - * wideband on via settings. A nonComplianceDetail with API_LEVEL is + * wideband on via settings. A NonComplianceDetail with API_LEVEL is * reported if the Android version is less than 14. (Value: * "ULTRA_WIDEBAND_DISABLED") * @arg @c kGTLRAndroidManagement_DeviceRadioState_UltraWidebandState_UltraWidebandStateUnspecified @@ -8483,11 +8664,11 @@ GTLR_DEPRECATED * Likely values: * @arg @c kGTLRAndroidManagement_DeviceRadioState_WifiState_WifiDisabled * Wi-Fi is off and the user is not allowed to turn it on. A - * nonComplianceDetail with API_LEVEL is reported if the Android version + * NonComplianceDetail with API_LEVEL is reported if the Android version * is less than 13. (Value: "WIFI_DISABLED") * @arg @c kGTLRAndroidManagement_DeviceRadioState_WifiState_WifiEnabled * Wi-Fi is on and the user is not allowed to turn it off. A - * nonComplianceDetail with API_LEVEL is reported if the Android version + * NonComplianceDetail with API_LEVEL is reported if the Android version * is less than 13. (Value: "WIFI_ENABLED") * @arg @c kGTLRAndroidManagement_DeviceRadioState_WifiState_WifiStateUnspecified * Unspecified. Defaults to WIFI_STATE_USER_CHOICE (Value: @@ -9093,21 +9274,29 @@ GTLR_DEPRECATED /** * Fully qualified class name of the receiver service class for Android Device - * Policy to notify the extension app of any local command status updates. + * Policy to notify the extension app of any local command status updates. The + * service must be exported in the extension app's AndroidManifest.xml and + * extend NotificationReceiverService + * (https://developers.google.com/android/management/reference/amapi/com/google/android/managementapi/notification/NotificationReceiverService) + * (see Integrate with the AMAPI SDK + * (https://developers.google.com/android/management/sdk-integration) guide for + * more details). */ @property(nonatomic, copy, nullable) NSString *notificationReceiver; /** - * Hex-encoded SHA-256 hash of the signing certificate of the extension app. - * Only hexadecimal string representations of 64 characters are valid.If not - * specified, the signature for the corresponding package name is obtained from - * the Play Store instead.If this list is empty, the signature of the extension - * app on the device must match the signature obtained from the Play Store for - * the app to be able to communicate with Android Device Policy.If this list is - * not empty, the signature of the extension app on the device must match one - * of the entries in this list for the app to be able to communicate with - * Android Device Policy.In production use cases, it is recommended to leave - * this empty. + * Hex-encoded SHA-256 hashes of the signing key certificates of the extension + * app. Only hexadecimal string representations of 64 characters are valid.The + * signing key certificate fingerprints are always obtained from the Play Store + * and this field is used to provide additional signing key certificate + * fingerprints. However, if the application is not available on the Play + * Store, this field needs to be set. A NonComplianceDetail with INVALID_VALUE + * is reported if this field is not set when the application is not available + * on the Play Store.The signing key certificate fingerprint of the extension + * app on the device must match one of the signing key certificate fingerprints + * obtained from the Play Store or the ones provided in this field for the app + * to be able to communicate with Android Device Policy.In production use + * cases, it is recommended to leave this empty. */ @property(nonatomic, strong, nullable) NSArray *signingKeyFingerprintsSha256; @@ -10523,6 +10712,32 @@ GTLR_DEPRECATED @end +/** + * Request to update or create ApplicationPolicy objects in the given Policy. + */ +@interface GTLRAndroidManagement_ModifyPolicyApplicationsRequest : GTLRObject + +/** + * Required. The changes to be made to the ApplicationPolicy objects. There + * must be at least one ApplicationPolicyChange. + */ +@property(nonatomic, strong, nullable) NSArray *changes; + +@end + + +/** + * Response to a request to update or create ApplicationPolicy objects in the + * given policy. + */ +@interface GTLRAndroidManagement_ModifyPolicyApplicationsResponse : GTLRObject + +/** The updated policy. */ +@property(nonatomic, strong, nullable) GTLRAndroidManagement_Policy *policy; + +@end + + /** * Device network info. */ @@ -11538,6 +11753,28 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *appAutoUpdatePolicy; +/** + * Optional. Controls whether apps on the device for fully managed devices or + * in the work profile for devices with work profiles are allowed to expose app + * functions. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_Policy_AppFunctions_AppFunctionsAllowed + * Apps on the device for fully managed devices or in the work profile + * for devices with work profiles are allowed to expose app functions. + * (Value: "APP_FUNCTIONS_ALLOWED") + * @arg @c kGTLRAndroidManagement_Policy_AppFunctions_AppFunctionsDisallowed + * Apps on the device for fully managed devices or in the work profile + * for devices with work profiles are not allowed to expose app + * functions. If this is set, crossProfileAppFunctions must not be set to + * CROSS_PROFILE_APP_FUNCTIONS_ALLOWED, otherwise the policy will be + * rejected. (Value: "APP_FUNCTIONS_DISALLOWED") + * @arg @c kGTLRAndroidManagement_Policy_AppFunctions_AppFunctionsUnspecified + * Unspecified. Defaults to APP_FUNCTIONS_ALLOWED. (Value: + * "APP_FUNCTIONS_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *appFunctions; + /** Policy applied to apps. This can have at most 3,000 elements. */ @property(nonatomic, strong, nullable) NSArray *applications; @@ -11554,7 +11791,7 @@ GTLR_DEPRECATED * Android 15 and above. (Value: "ASSIST_CONTENT_ALLOWED") * @arg @c kGTLRAndroidManagement_Policy_AssistContentPolicy_AssistContentDisallowed * Assist content is blocked from being sent to a privileged - * app.Supported on Android 15 and above. A nonComplianceDetail with + * app.Supported on Android 15 and above. A NonComplianceDetail with * API_LEVEL is reported if the Android version is less than 15. (Value: * "ASSIST_CONTENT_DISALLOWED") * @arg @c kGTLRAndroidManagement_Policy_AssistContentPolicy_AssistContentPolicyUnspecified @@ -11830,9 +12067,9 @@ GTLR_DEPRECATED * @arg @c kGTLRAndroidManagement_Policy_EnterpriseDisplayNameVisibility_EnterpriseDisplayNameVisible * The enterprise display name is visible on the device. Supported on * work profiles on Android 7 and above. Supported on fully managed - * devices on Android 8 and above. A nonComplianceDetail with API_LEVEL + * devices on Android 8 and above. A NonComplianceDetail with API_LEVEL * is reported if the Android version is less than 7. A - * nonComplianceDetail with MANAGEMENT_MODE is reported on fully managed + * NonComplianceDetail with MANAGEMENT_MODE is reported on fully managed * devices on Android 7. (Value: "ENTERPRISE_DISPLAY_NAME_VISIBLE") */ @property(nonatomic, copy, nullable) NSString *enterpriseDisplayNameVisibility; @@ -12164,7 +12401,7 @@ GTLR_DEPRECATED * @arg @c kGTLRAndroidManagement_Policy_PrintingPolicy_PrintingAllowed * Printing is allowed. (Value: "PRINTING_ALLOWED") * @arg @c kGTLRAndroidManagement_Policy_PrintingPolicy_PrintingDisallowed - * Printing is disallowed. A nonComplianceDetail with API_LEVEL is + * Printing is disallowed. A NonComplianceDetail with API_LEVEL is * reported if the Android version is less than 9. (Value: * "PRINTING_DISALLOWED") * @arg @c kGTLRAndroidManagement_Policy_PrintingPolicy_PrintingPolicyUnspecified @@ -12567,7 +12804,7 @@ GTLR_DEPRECATED * @arg @c kGTLRAndroidManagement_PreferentialNetworkServiceConfig_NonMatchingNetworks_NonMatchingNetworksDisallowed * Apps this configuration applies to are disallowed from using other * networks than the preferential service. This can be set on Android 14 - * and above. A nonComplianceDetail with API_LEVEL is reported if the + * and above. A NonComplianceDetail with API_LEVEL is reported if the * Android version is less than 14. If this is set, * fallbackToDefaultConnection must be set to * FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED, the policy will be rejected @@ -12816,6 +13053,32 @@ GTLR_DEPRECATED @end +/** + * Request to remove ApplicationPolicy objects in the given policy. + */ +@interface GTLRAndroidManagement_RemovePolicyApplicationsRequest : GTLRObject + +/** + * Required. Package names to be removed. Entries that are not found are + * ignored. There must be at least one entry in package_names. + */ +@property(nonatomic, strong, nullable) NSArray *packageNames; + +@end + + +/** + * Response to a request to remove ApplicationPolicy objects in the given + * policy. + */ +@interface GTLRAndroidManagement_RemovePolicyApplicationsResponse : GTLRObject + +/** The updated policy after ApplicationPolicy objects have been removed. */ +@property(nonatomic, strong, nullable) GTLRAndroidManagement_Policy *policy; + +@end + + /** * Parameters associated with the REQUEST_DEVICE_INFO command to get device * related information. @@ -14127,10 +14390,10 @@ GTLR_DEPRECATED * @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 + * 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 + * 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 @@ -14139,8 +14402,8 @@ GTLR_DEPRECATED * @arg @c kGTLRAndroidManagement_WifiRoamingSetting_WifiRoamingMode_WifiRoamingDisabled * Wi-Fi roaming is disabled. 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 + * 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. (Value: "WIFI_ROAMING_DISABLED") * @arg @c kGTLRAndroidManagement_WifiRoamingSetting_WifiRoamingMode_WifiRoamingModeUnspecified * Unspecified. Defaults to WIFI_ROAMING_DEFAULT. (Value: @@ -14195,8 +14458,8 @@ GTLR_DEPRECATED * Optional. List of Wi-Fi SSIDs that should be applied in the policy. This * field must be non-empty when WifiSsidPolicyType is set to * WIFI_SSID_ALLOWLIST. If this is set to a non-empty list, then a - * nonComplianceDetail detail with API_LEVEL is reported if the Android version - * is less than 13 and a nonComplianceDetail with MANAGEMENT_MODE is reported + * NonComplianceDetail detail with API_LEVEL is reported if the Android version + * is less than 13 and a NonComplianceDetail with MANAGEMENT_MODE is reported * for non-company-owned devices. */ @property(nonatomic, strong, nullable) NSArray *wifiSsids; @@ -14238,6 +14501,24 @@ GTLR_DEPRECATED @end +/** + * Parameters associated with the WIPE command to wipe the device. + */ +@interface GTLRAndroidManagement_WipeParams : GTLRObject + +/** Optional. Flags to determine what data to wipe. */ +@property(nonatomic, strong, nullable) NSArray *wipeDataFlags; + +/** + * Optional. A short message displayed to the user before wiping the work + * profile on personal devices. This has no effect on company owned devices. + * The maximum message length is 200 characters. + */ +@property(nonatomic, strong, nullable) GTLRAndroidManagement_UserFacingMessage *wipeReason; + +@end + + /** * Controls the work account setup configuration, such as details of whether a * Google authenticated account is required. diff --git a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h index 5ad736a86..0800584f2 100644 --- a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h +++ b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h @@ -704,8 +704,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagementWipeDataFlagsWipeExtern /** * Generates an enterprise upgrade URL to upgrade an existing managed Google - * Play Accounts enterprise to a managed Google domain.Note: This feature is - * not generally available. + * Play Accounts enterprise to a managed Google domain. See the guide + * (https://developers.google.com/android/management/upgrade-an-enterprise) for + * more details. * * Method: androidmanagement.enterprises.generateEnterpriseUpgradeUrl * @@ -724,8 +725,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagementWipeDataFlagsWipeExtern * Fetches a @c GTLRAndroidManagement_GenerateEnterpriseUpgradeUrlResponse. * * Generates an enterprise upgrade URL to upgrade an existing managed Google - * Play Accounts enterprise to a managed Google domain.Note: This feature is - * not generally available. + * Play Accounts enterprise to a managed Google domain. See the guide + * (https://developers.google.com/android/management/upgrade-an-enterprise) for + * more details. * * @param object The @c * GTLRAndroidManagement_GenerateEnterpriseUpgradeUrlRequest to include in @@ -1079,6 +1081,40 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagementWipeDataFlagsWipeExtern @end +/** + * Updates or creates applications in a policy. + * + * Method: androidmanagement.enterprises.policies.modifyPolicyApplications + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidManagement + */ +@interface GTLRAndroidManagementQuery_EnterprisesPoliciesModifyPolicyApplications : GTLRAndroidManagementQuery + +/** + * Required. The name of the Policy containing the ApplicationPolicy objects to + * be updated, in the form enterprises/{enterpriseId}/policies/{policyId}. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAndroidManagement_ModifyPolicyApplicationsResponse. + * + * Updates or creates applications in a policy. + * + * @param object The @c GTLRAndroidManagement_ModifyPolicyApplicationsRequest + * to include in the query. + * @param name Required. The name of the Policy containing the + * ApplicationPolicy objects to be updated, in the form + * enterprises/{enterpriseId}/policies/{policyId}. + * + * @return GTLRAndroidManagementQuery_EnterprisesPoliciesModifyPolicyApplications + */ ++ (instancetype)queryWithObject:(GTLRAndroidManagement_ModifyPolicyApplicationsRequest *)object + name:(NSString *)name; + +@end + /** * Updates or creates a policy. * @@ -1119,6 +1155,40 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagementWipeDataFlagsWipeExtern @end +/** + * Removes applications in a policy. + * + * Method: androidmanagement.enterprises.policies.removePolicyApplications + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidManagement + */ +@interface GTLRAndroidManagementQuery_EnterprisesPoliciesRemovePolicyApplications : GTLRAndroidManagementQuery + +/** + * Required. The name of the policy containing the ApplicationPolicy objects to + * be removed, in the form enterprises/{enterpriseId}/policies/{policyId}. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAndroidManagement_RemovePolicyApplicationsResponse. + * + * Removes applications in a policy. + * + * @param object The @c GTLRAndroidManagement_RemovePolicyApplicationsRequest + * to include in the query. + * @param name Required. The name of the policy containing the + * ApplicationPolicy objects to be removed, in the form + * enterprises/{enterpriseId}/policies/{policyId}. + * + * @return GTLRAndroidManagementQuery_EnterprisesPoliciesRemovePolicyApplications + */ ++ (instancetype)queryWithObject:(GTLRAndroidManagement_RemovePolicyApplicationsRequest *)object + name:(NSString *)name; + +@end + /** * Creates a web app. * diff --git a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m index 0fc2e5214..49687f44a 100644 --- a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m +++ b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m @@ -196,6 +196,22 @@ NSString * const kGTLRAndroidPublisher_PrepaidBasePlanType_TimeExtension_TimeExtensionInactive = @"TIME_EXTENSION_INACTIVE"; NSString * const kGTLRAndroidPublisher_PrepaidBasePlanType_TimeExtension_TimeExtensionUnspecified = @"TIME_EXTENSION_UNSPECIFIED"; +// GTLRAndroidPublisher_ProductOfferDetails.consumptionState +NSString * const kGTLRAndroidPublisher_ProductOfferDetails_ConsumptionState_ConsumptionStateConsumed = @"CONSUMPTION_STATE_CONSUMED"; +NSString * const kGTLRAndroidPublisher_ProductOfferDetails_ConsumptionState_ConsumptionStateUnspecified = @"CONSUMPTION_STATE_UNSPECIFIED"; +NSString * const kGTLRAndroidPublisher_ProductOfferDetails_ConsumptionState_ConsumptionStateYetToBeConsumed = @"CONSUMPTION_STATE_YET_TO_BE_CONSUMED"; + +// GTLRAndroidPublisher_ProductPurchaseV2.acknowledgementState +NSString * const kGTLRAndroidPublisher_ProductPurchaseV2_AcknowledgementState_AcknowledgementStateAcknowledged = @"ACKNOWLEDGEMENT_STATE_ACKNOWLEDGED"; +NSString * const kGTLRAndroidPublisher_ProductPurchaseV2_AcknowledgementState_AcknowledgementStatePending = @"ACKNOWLEDGEMENT_STATE_PENDING"; +NSString * const kGTLRAndroidPublisher_ProductPurchaseV2_AcknowledgementState_AcknowledgementStateUnspecified = @"ACKNOWLEDGEMENT_STATE_UNSPECIFIED"; + +// GTLRAndroidPublisher_PurchaseStateContext.purchaseState +NSString * const kGTLRAndroidPublisher_PurchaseStateContext_PurchaseState_Cancelled = @"CANCELLED"; +NSString * const kGTLRAndroidPublisher_PurchaseStateContext_PurchaseState_Pending = @"PENDING"; +NSString * const kGTLRAndroidPublisher_PurchaseStateContext_PurchaseState_Purchased = @"PURCHASED"; +NSString * const kGTLRAndroidPublisher_PurchaseStateContext_PurchaseState_PurchaseStateUnspecified = @"PURCHASE_STATE_UNSPECIFIED"; + // GTLRAndroidPublisher_RecurringExternalTransaction.migratedTransactionProgram NSString * const kGTLRAndroidPublisher_RecurringExternalTransaction_MigratedTransactionProgram_AlternativeBillingOnly = @"ALTERNATIVE_BILLING_ONLY"; NSString * const kGTLRAndroidPublisher_RecurringExternalTransaction_MigratedTransactionProgram_ExternalTransactionProgramUnspecified = @"EXTERNAL_TRANSACTION_PROGRAM_UNSPECIFIED"; @@ -285,6 +301,10 @@ NSString * const kGTLRAndroidPublisher_SubscriptionTaxAndComplianceSettings_EeaWithdrawalRightType_WithdrawalRightService = @"WITHDRAWAL_RIGHT_SERVICE"; NSString * const kGTLRAndroidPublisher_SubscriptionTaxAndComplianceSettings_EeaWithdrawalRightType_WithdrawalRightTypeUnspecified = @"WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED"; +// GTLRAndroidPublisher_TestPurchaseContext.fopType +NSString * const kGTLRAndroidPublisher_TestPurchaseContext_FopType_FopTypeUnspecified = @"FOP_TYPE_UNSPECIFIED"; +NSString * const kGTLRAndroidPublisher_TestPurchaseContext_FopType_Test = @"TEST"; + // GTLRAndroidPublisher_TextureCompressionFormat.alias NSString * const kGTLRAndroidPublisher_TextureCompressionFormat_Alias_Astc = @"ASTC"; NSString * const kGTLRAndroidPublisher_TextureCompressionFormat_Alias_Atc = @"ATC"; @@ -2502,6 +2522,35 @@ @implementation GTLRAndroidPublisher_ProcessedEvent @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_ProductLineItem +// + +@implementation GTLRAndroidPublisher_ProductLineItem +@dynamic productId, productOfferDetails; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_ProductOfferDetails +// + +@implementation GTLRAndroidPublisher_ProductOfferDetails +@dynamic consumptionState, offerId, offerTags, offerToken, purchaseOptionId, + quantity, refundableQuantity, rentOfferDetails; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"offerTags" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_ProductPurchase @@ -2532,6 +2581,43 @@ @implementation GTLRAndroidPublisher_ProductPurchasesAcknowledgeRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_ProductPurchaseV2 +// + +@implementation GTLRAndroidPublisher_ProductPurchaseV2 +@dynamic acknowledgementState, kind, obfuscatedExternalAccountId, + obfuscatedExternalProfileId, orderId, productLineItem, + purchaseCompletionTime, purchaseStateContext, regionCode, + testPurchaseContext; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"productLineItem" : [GTLRAndroidPublisher_ProductLineItem 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 + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_PurchaseStateContext +// + +@implementation GTLRAndroidPublisher_PurchaseStateContext +@dynamic purchaseState; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_RecurringExternalTransaction @@ -2699,6 +2785,15 @@ @implementation GTLRAndroidPublisher_RemoteInAppUpdateDataPerBundle @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_RentOfferDetails +// + +@implementation GTLRAndroidPublisher_RentOfferDetails +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_ReplacementCancellation @@ -3404,6 +3499,16 @@ @implementation GTLRAndroidPublisher_TestPurchase @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_TestPurchaseContext +// + +@implementation GTLRAndroidPublisher_TestPurchaseContext +@dynamic fopType; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_TextureCompressionFormat diff --git a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m index 46d659f2c..7ebe3cfed 100644 --- a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m +++ b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m @@ -2689,6 +2689,29 @@ + (instancetype)queryWithPackageName:(NSString *)packageName @end +@implementation GTLRAndroidPublisherQuery_PurchasesProductsv2Getproductpurchasev2 + +@dynamic packageName, token; + ++ (instancetype)queryWithPackageName:(NSString *)packageName + token:(NSString *)token { + NSArray *pathParams = @[ + @"packageName", @"token" + ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/purchases/productsv2/tokens/{token}"; + GTLRAndroidPublisherQuery_PurchasesProductsv2Getproductpurchasev2 *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.packageName = packageName; + query.token = token; + query.expectedObjectClass = [GTLRAndroidPublisher_ProductPurchaseV2 class]; + query.loggingName = @"androidpublisher.purchases.productsv2.getproductpurchasev2"; + return query; +} + +@end + @implementation GTLRAndroidPublisherQuery_PurchasesSubscriptionsAcknowledge @dynamic packageName, subscriptionId, token; diff --git a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h index 8627da934..38d9d2605 100644 --- a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h +++ b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h @@ -126,6 +126,9 @@ @class GTLRAndroidPublisher_PrepaidPlan; @class GTLRAndroidPublisher_Price; @class GTLRAndroidPublisher_ProcessedEvent; +@class GTLRAndroidPublisher_ProductLineItem; +@class GTLRAndroidPublisher_ProductOfferDetails; +@class GTLRAndroidPublisher_PurchaseStateContext; @class GTLRAndroidPublisher_RecurringExternalTransaction; @class GTLRAndroidPublisher_RefundDetails; @class GTLRAndroidPublisher_RefundEvent; @@ -140,6 +143,7 @@ @class GTLRAndroidPublisher_RemoteInAppUpdate; @class GTLRAndroidPublisher_RemoteInAppUpdateData; @class GTLRAndroidPublisher_RemoteInAppUpdateDataPerBundle; +@class GTLRAndroidPublisher_RentOfferDetails; @class GTLRAndroidPublisher_ReplacementCancellation; @class GTLRAndroidPublisher_RestrictedPaymentCountries; @class GTLRAndroidPublisher_Review; @@ -181,6 +185,7 @@ @class GTLRAndroidPublisher_TargetingRuleScopeThisSubscription; @class GTLRAndroidPublisher_TargetingUpdate; @class GTLRAndroidPublisher_TestPurchase; +@class GTLRAndroidPublisher_TestPurchaseContext; @class GTLRAndroidPublisher_TextureCompressionFormat; @class GTLRAndroidPublisher_TextureCompressionFormatTargeting; @class GTLRAndroidPublisher_Timestamp; @@ -1096,6 +1101,80 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PrepaidBasePlanType_Tim */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PrepaidBasePlanType_TimeExtension_TimeExtensionUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_ProductOfferDetails.consumptionState + +/** + * Consumed already. + * + * Value: "CONSUMPTION_STATE_CONSUMED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ProductOfferDetails_ConsumptionState_ConsumptionStateConsumed; +/** + * Consumption state unspecified. This value should never be set. + * + * Value: "CONSUMPTION_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ProductOfferDetails_ConsumptionState_ConsumptionStateUnspecified; +/** + * Yet to be consumed. + * + * Value: "CONSUMPTION_STATE_YET_TO_BE_CONSUMED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ProductOfferDetails_ConsumptionState_ConsumptionStateYetToBeConsumed; + +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_ProductPurchaseV2.acknowledgementState + +/** + * The purchase is acknowledged. + * + * Value: "ACKNOWLEDGEMENT_STATE_ACKNOWLEDGED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ProductPurchaseV2_AcknowledgementState_AcknowledgementStateAcknowledged; +/** + * The purchase is not acknowledged yet. + * + * Value: "ACKNOWLEDGEMENT_STATE_PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ProductPurchaseV2_AcknowledgementState_AcknowledgementStatePending; +/** + * Unspecified acknowledgement state. + * + * Value: "ACKNOWLEDGEMENT_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ProductPurchaseV2_AcknowledgementState_AcknowledgementStateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_PurchaseStateContext.purchaseState + +/** + * Purchase canceled. + * + * Value: "CANCELLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PurchaseStateContext_PurchaseState_Cancelled; +/** + * The purchase is in a pending state and has not yet been completed. For more + * information on handling pending purchases, see + * https://developer.android.com/google/play/billing/integrate#pending. + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PurchaseStateContext_PurchaseState_Pending; +/** + * Purchased successfully. + * + * Value: "PURCHASED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PurchaseStateContext_PurchaseState_Purchased; +/** + * Purchase state unspecified. This value should never be set. + * + * Value: "PURCHASE_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PurchaseStateContext_PurchaseState_PurchaseStateUnspecified; + // ---------------------------------------------------------------------------- // GTLRAndroidPublisher_RecurringExternalTransaction.migratedTransactionProgram @@ -1515,6 +1594,22 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_SubscriptionTaxAndCompl /** Value: "WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_SubscriptionTaxAndComplianceSettings_EeaWithdrawalRightType_WithdrawalRightTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_TestPurchaseContext.fopType + +/** + * Fop type unspecified. This value should never be set. + * + * Value: "FOP_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_TestPurchaseContext_FopType_FopTypeUnspecified; +/** + * The purchase was made using a test card. + * + * Value: "TEST" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_TestPurchaseContext_FopType_Test; + // ---------------------------------------------------------------------------- // GTLRAndroidPublisher_TextureCompressionFormat.alias @@ -5641,6 +5736,78 @@ GTLR_DEPRECATED @end +/** + * Contains item-level info for a ProductPurchaseV2. + */ +@interface GTLRAndroidPublisher_ProductLineItem : GTLRObject + +/** The purchased product ID (for example, 'monthly001'). */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** The offer details for this item. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_ProductOfferDetails *productOfferDetails; + +@end + + +/** + * Offer details information related to a purchase line item. + */ +@interface GTLRAndroidPublisher_ProductOfferDetails : GTLRObject + +/** + * Output only. The consumption state of the purchase. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_ProductOfferDetails_ConsumptionState_ConsumptionStateConsumed + * Consumed already. (Value: "CONSUMPTION_STATE_CONSUMED") + * @arg @c kGTLRAndroidPublisher_ProductOfferDetails_ConsumptionState_ConsumptionStateUnspecified + * Consumption state unspecified. This value should never be set. (Value: + * "CONSUMPTION_STATE_UNSPECIFIED") + * @arg @c kGTLRAndroidPublisher_ProductOfferDetails_ConsumptionState_ConsumptionStateYetToBeConsumed + * Yet to be consumed. (Value: "CONSUMPTION_STATE_YET_TO_BE_CONSUMED") + */ +@property(nonatomic, copy, nullable) NSString *consumptionState; + +/** The offer ID. Only present for offers. */ +@property(nonatomic, copy, nullable) NSString *offerId; + +/** + * The latest offer tags associated with the offer. It includes tags inherited + * from the purchase option. + */ +@property(nonatomic, strong, nullable) NSArray *offerTags; + +/** The per-transaction offer token used to make this purchase line item. */ +@property(nonatomic, copy, nullable) NSString *offerToken; + +/** The purchase option ID. */ +@property(nonatomic, copy, nullable) NSString *purchaseOptionId; + +/** + * The quantity associated with the purchase of the inapp product. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *quantity; + +/** + * The quantity eligible for refund, i.e. quantity that hasn't been refunded. + * The value reflects quantity-based partial refunds and full refunds. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *refundableQuantity; + +/** + * Offer details about rent offers. This will only be set for rental line + * items. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_RentOfferDetails *rentOfferDetails; + +@end + + /** * A ProductPurchase resource indicates the status of a user's inapp product * purchase. @@ -5765,6 +5932,114 @@ GTLR_DEPRECATED @end +/** + * A ProductPurchaseV2 resource indicates the status of a user's inapp product + * purchase. + */ +@interface GTLRAndroidPublisher_ProductPurchaseV2 : GTLRObject + +/** + * Output only. The acknowledgement state of the purchase. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_ProductPurchaseV2_AcknowledgementState_AcknowledgementStateAcknowledged + * The purchase is acknowledged. (Value: + * "ACKNOWLEDGEMENT_STATE_ACKNOWLEDGED") + * @arg @c kGTLRAndroidPublisher_ProductPurchaseV2_AcknowledgementState_AcknowledgementStatePending + * The purchase is not acknowledged yet. (Value: + * "ACKNOWLEDGEMENT_STATE_PENDING") + * @arg @c kGTLRAndroidPublisher_ProductPurchaseV2_AcknowledgementState_AcknowledgementStateUnspecified + * Unspecified acknowledgement state. (Value: + * "ACKNOWLEDGEMENT_STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *acknowledgementState; + +/** + * This kind represents a ProductPurchaseV2 object in the androidpublisher + * service. + */ +@property(nonatomic, copy, nullable) NSString *kind; + +/** + * An obfuscated version of the id that is uniquely associated with the user's + * account in your app. Only present if specified using + * https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedaccountid + * when the purchase was made. + */ +@property(nonatomic, copy, nullable) NSString *obfuscatedExternalAccountId; + +/** + * An obfuscated version of the id that is uniquely associated with the user's + * profile in your app. Only present if specified using + * https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedprofileid + * when the purchase was made. + */ +@property(nonatomic, copy, nullable) NSString *obfuscatedExternalProfileId; + +/** + * The order id associated with the purchase of the inapp product. May not be + * set if there is no order associated with the purchase. + */ +@property(nonatomic, copy, nullable) NSString *orderId; + +/** Contains item-level info for a ProductPurchaseV2. */ +@property(nonatomic, strong, nullable) NSArray *productLineItem; + +/** + * The time when the purchase was successful, i.e., when the PurchaseState has + * changed to PURCHASED. This field will not be present until the payment is + * complete. For example, if the user initiated a pending transaction + * (https://developer.android.com/google/play/billing/integrate#pending), this + * field will not be populated until the user successfully completes the steps + * required to complete the transaction. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *purchaseCompletionTime; + +/** Information about the purchase state of the purchase. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_PurchaseStateContext *purchaseStateContext; + +/** + * ISO 3166-1 alpha-2 billing region code of the user at the time the product + * was granted. + */ +@property(nonatomic, copy, nullable) NSString *regionCode; + +/** + * Information related to test purchases. This will only be set for test + * purchases. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_TestPurchaseContext *testPurchaseContext; + +@end + + +/** + * Context about the purchase state. + */ +@interface GTLRAndroidPublisher_PurchaseStateContext : GTLRObject + +/** + * Output only. The purchase state of the purchase. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_PurchaseStateContext_PurchaseState_Cancelled + * Purchase canceled. (Value: "CANCELLED") + * @arg @c kGTLRAndroidPublisher_PurchaseStateContext_PurchaseState_Pending + * The purchase is in a pending state and has not yet been completed. For + * more information on handling pending purchases, see + * https://developer.android.com/google/play/billing/integrate#pending. + * (Value: "PENDING") + * @arg @c kGTLRAndroidPublisher_PurchaseStateContext_PurchaseState_Purchased + * Purchased successfully. (Value: "PURCHASED") + * @arg @c kGTLRAndroidPublisher_PurchaseStateContext_PurchaseState_PurchaseStateUnspecified + * Purchase state unspecified. This value should never be set. (Value: + * "PURCHASE_STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *purchaseState; + +@end + + /** * Represents a transaction that is part of a recurring series of payments. * This can be a subscription or a one-time product with multiple payments @@ -6192,6 +6467,13 @@ GTLR_DEPRECATED @end +/** + * Offer details information related to a rental line item. + */ +@interface GTLRAndroidPublisher_RentOfferDetails : GTLRObject +@end + + /** * Information specific to cancellations caused by subscription replacement. */ @@ -6294,8 +6576,8 @@ GTLR_DEPRECATED @interface GTLRAndroidPublisher_RevocationContext : GTLRObject /** - * Optional. Used when users should be refunded the full amount of the latest - * order of the subscription. + * Optional. Used when users should be refunded the full amount of latest + * charge on each item in the subscription. */ @property(nonatomic, strong, nullable) GTLRAndroidPublisher_RevocationContextFullRefund *fullRefund; @@ -7666,6 +7948,26 @@ GTLR_DEPRECATED @end +/** + * Context about a test purchase. + */ +@interface GTLRAndroidPublisher_TestPurchaseContext : GTLRObject + +/** + * The fop type of the test purchase. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_TestPurchaseContext_FopType_FopTypeUnspecified + * Fop type unspecified. This value should never be set. (Value: + * "FOP_TYPE_UNSPECIFIED") + * @arg @c kGTLRAndroidPublisher_TestPurchaseContext_FopType_Test The + * purchase was made using a test card. (Value: "TEST") + */ +@property(nonatomic, copy, nullable) NSString *fopType; + +@end + + /** * Represents texture compression format. */ diff --git a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h index d0071dd22..7d8f1556e 100644 --- a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h +++ b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h @@ -4639,6 +4639,45 @@ GTLR_DEPRECATED @end +/** + * Checks the purchase and consumption status of an inapp item. + * + * Method: androidpublisher.purchases.productsv2.getproductpurchasev2 + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_PurchasesProductsv2Getproductpurchasev2 : GTLRAndroidPublisherQuery + +/** + * The package name of the application the inapp product was sold in (for + * example, 'com.some.thing'). + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * The token provided to the user's device when the inapp product was + * purchased. + */ +@property(nonatomic, copy, nullable) NSString *token; + +/** + * Fetches a @c GTLRAndroidPublisher_ProductPurchaseV2. + * + * Checks the purchase and consumption status of an inapp item. + * + * @param packageName The package name of the application the inapp product was + * sold in (for example, 'com.some.thing'). + * @param token The token provided to the user's device when the inapp product + * was purchased. + * + * @return GTLRAndroidPublisherQuery_PurchasesProductsv2Getproductpurchasev2 + */ ++ (instancetype)queryWithPackageName:(NSString *)packageName + token:(NSString *)token; + +@end + /** * Acknowledges a subscription purchase. * diff --git a/Sources/GeneratedServices/Apigee/GTLRApigeeObjects.m b/Sources/GeneratedServices/Apigee/GTLRApigeeObjects.m index 9bde1245e..6f036a02d 100644 --- a/Sources/GeneratedServices/Apigee/GTLRApigeeObjects.m +++ b/Sources/GeneratedServices/Apigee/GTLRApigeeObjects.m @@ -3546,7 +3546,8 @@ @implementation GTLRApigee_GoogleCloudApigeeV1Organization authorizedNetwork, billingType, caCertificate, controlPlaneEncryptionKeyName, createdAt, customerName, descriptionProperty, disableVpcPeering, displayName, environments, - expiresAt, lastModifiedAt, name, portalDisabled, projectId, properties, + expiresAt, lastModifiedAt, name, networkEgressRestricted, + portalDisabled, projectId, properties, runtimeDatabaseEncryptionKeyName, runtimeType, state, subscriptionPlan, subscriptionType, type; diff --git a/Sources/GeneratedServices/Apigee/GTLRApigeeQuery.m b/Sources/GeneratedServices/Apigee/GTLRApigeeQuery.m index 207ca2514..ffda09252 100644 --- a/Sources/GeneratedServices/Apigee/GTLRApigeeQuery.m +++ b/Sources/GeneratedServices/Apigee/GTLRApigeeQuery.m @@ -4479,6 +4479,25 @@ + (instancetype)queryWithObject:(GTLRApigee_GoogleCloudApigeeV1SecurityAction *) @end +@implementation GTLRApigeeQuery_OrganizationsEnvironmentsSecurityActionsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRApigeeQuery_OrganizationsEnvironmentsSecurityActionsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRApigee_GoogleProtobufEmpty class]; + query.loggingName = @"apigee.organizations.environments.securityActions.delete"; + return query; +} + +@end + @implementation GTLRApigeeQuery_OrganizationsEnvironmentsSecurityActionsDisable @dynamic name; @@ -4571,6 +4590,33 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRApigeeQuery_OrganizationsEnvironmentsSecurityActionsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRApigee_GoogleCloudApigeeV1SecurityAction *)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}"; + GTLRApigeeQuery_OrganizationsEnvironmentsSecurityActionsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRApigee_GoogleCloudApigeeV1SecurityAction class]; + query.loggingName = @"apigee.organizations.environments.securityActions.patch"; + return query; +} + +@end + @implementation GTLRApigeeQuery_OrganizationsEnvironmentsSecurityIncidentsBatchUpdate @dynamic parent; diff --git a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h index c514f4c74..89efe10b3 100644 --- a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h +++ b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeObjects.h @@ -8425,6 +8425,15 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType /** Output only. Name of the Apigee organization. */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Optional. Flag that specifies if internet egress is restricted for VPC + * Service Controls. Valid only when runtime_type is `CLOUD` and + * disable_vpc_peering is `true`. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *networkEgressRestricted; + /** * Optional. Configuration for the Portals settings. * @@ -11964,6 +11973,8 @@ FOUNDATION_EXTERN NSString * const kGTLRApigee_GoogleIamV1AuditLogConfig_LogType /** * Note that only Scopes and Attributes of the AppGroupAppKey can be amended. + * Scopes and Attributes mentioned in the request will be inserted and the + * existing scopes and attributes will be removed. */ @property(nonatomic, strong, nullable) GTLRApigee_GoogleCloudApigeeV1AppGroupAppKey *appGroupAppKey; diff --git a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h index 7949774fe..cb5fa1684 100644 --- a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h +++ b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h @@ -2863,7 +2863,7 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; */ @property(nonatomic, copy, nullable) NSString *parent; -/** Optional. Maximum number of app IDs to return. Defaults to 10000. */ +/** Optional. Maximum number of app IDs to return. Defaults to 1000. */ @property(nonatomic, assign) long long rows; /** Returns the list of apps starting from the specified app ID. */ @@ -8791,6 +8791,37 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; @end +/** + * Delete a SecurityAction. + * + * Method: apigee.organizations.environments.securityActions.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeApigeeCloudPlatform + */ +@interface GTLRApigeeQuery_OrganizationsEnvironmentsSecurityActionsDelete : GTLRApigeeQuery + +/** + * Required. The name of the security monitoring condition to delete. Format: + * `organizations/{org}/environment/{env}/securityActions/{security_action}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRApigee_GoogleProtobufEmpty. + * + * Delete a SecurityAction. + * + * @param name Required. The name of the security monitoring condition to + * delete. Format: + * `organizations/{org}/environment/{env}/securityActions/{security_action}` + * + * @return GTLRApigeeQuery_OrganizationsEnvironmentsSecurityActionsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Disable a SecurityAction. The `state` of the SecurityAction after disabling * is `DISABLED`. `DisableSecurityAction` can be called on SecurityActions in @@ -8962,6 +8993,52 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; @end +/** + * Update a SecurityAction. + * + * Method: apigee.organizations.environments.securityActions.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeApigeeCloudPlatform + */ +@interface GTLRApigeeQuery_OrganizationsEnvironmentsSecurityActionsPatch : GTLRApigeeQuery + +/** + * Immutable. This field is ignored during creation as per AIP-133. Please set + * the `security_action_id` field in the CreateSecurityActionRequest when + * creating a new SecurityAction. Format: + * organizations/{org}/environments/{env}/securityActions/{security_action} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The list of fields to update. Valid fields to update are + * `description`, `state`, `allow`, `deny`, and `flag`, `expire_time`, and + * `ttl`, `api_proxies`, and `condition_config`. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRApigee_GoogleCloudApigeeV1SecurityAction. + * + * Update a SecurityAction. + * + * @param object The @c GTLRApigee_GoogleCloudApigeeV1SecurityAction to include + * in the query. + * @param name Immutable. This field is ignored during creation as per AIP-133. + * Please set the `security_action_id` field in the + * CreateSecurityActionRequest when creating a new SecurityAction. Format: + * organizations/{org}/environments/{env}/securityActions/{security_action} + * + * @return GTLRApigeeQuery_OrganizationsEnvironmentsSecurityActionsPatch + */ ++ (instancetype)queryWithObject:(GTLRApigee_GoogleCloudApigeeV1SecurityAction *)object + name:(NSString *)name; + +@end + /** * BatchUpdateSecurityIncident updates multiple existing security incidents. * diff --git a/Sources/GeneratedServices/Appengine/GTLRAppengineQuery.m b/Sources/GeneratedServices/Appengine/GTLRAppengineQuery.m index 1b9fe88c7..c12d1324c 100644 --- a/Sources/GeneratedServices/Appengine/GTLRAppengineQuery.m +++ b/Sources/GeneratedServices/Appengine/GTLRAppengineQuery.m @@ -1011,6 +1011,158 @@ + (instancetype)queryWithObject:(GTLRAppengine_Version *)object @end +@implementation GTLRAppengineQuery_ProjectsLocationsApplicationsAuthorizedCertificatesCreate + +@dynamic applicationsId, locationsId, projectsId; + ++ (instancetype)queryWithObject:(GTLRAppengine_AuthorizedCertificate *)object + projectsId:(NSString *)projectsId + locationsId:(NSString *)locationsId + applicationsId:(NSString *)applicationsId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"applicationsId", @"locationsId", @"projectsId" + ]; + NSString *pathURITemplate = @"v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedCertificates"; + GTLRAppengineQuery_ProjectsLocationsApplicationsAuthorizedCertificatesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.projectsId = projectsId; + query.locationsId = locationsId; + query.applicationsId = applicationsId; + query.expectedObjectClass = [GTLRAppengine_AuthorizedCertificate class]; + query.loggingName = @"appengine.projects.locations.applications.authorizedCertificates.create"; + return query; +} + +@end + +@implementation GTLRAppengineQuery_ProjectsLocationsApplicationsAuthorizedCertificatesDelete + +@dynamic applicationsId, authorizedCertificatesId, locationsId, projectsId; + ++ (instancetype)queryWithProjectsId:(NSString *)projectsId + locationsId:(NSString *)locationsId + applicationsId:(NSString *)applicationsId + authorizedCertificatesId:(NSString *)authorizedCertificatesId { + NSArray *pathParams = @[ + @"applicationsId", @"authorizedCertificatesId", @"locationsId", + @"projectsId" + ]; + NSString *pathURITemplate = @"v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedCertificates/{authorizedCertificatesId}"; + GTLRAppengineQuery_ProjectsLocationsApplicationsAuthorizedCertificatesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.projectsId = projectsId; + query.locationsId = locationsId; + query.applicationsId = applicationsId; + query.authorizedCertificatesId = authorizedCertificatesId; + query.expectedObjectClass = [GTLRAppengine_Empty class]; + query.loggingName = @"appengine.projects.locations.applications.authorizedCertificates.delete"; + return query; +} + +@end + +@implementation GTLRAppengineQuery_ProjectsLocationsApplicationsAuthorizedCertificatesGet + +@dynamic applicationsId, authorizedCertificatesId, locationsId, projectsId, + view; + ++ (instancetype)queryWithProjectsId:(NSString *)projectsId + locationsId:(NSString *)locationsId + applicationsId:(NSString *)applicationsId + authorizedCertificatesId:(NSString *)authorizedCertificatesId { + NSArray *pathParams = @[ + @"applicationsId", @"authorizedCertificatesId", @"locationsId", + @"projectsId" + ]; + NSString *pathURITemplate = @"v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedCertificates/{authorizedCertificatesId}"; + GTLRAppengineQuery_ProjectsLocationsApplicationsAuthorizedCertificatesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.projectsId = projectsId; + query.locationsId = locationsId; + query.applicationsId = applicationsId; + query.authorizedCertificatesId = authorizedCertificatesId; + query.expectedObjectClass = [GTLRAppengine_AuthorizedCertificate class]; + query.loggingName = @"appengine.projects.locations.applications.authorizedCertificates.get"; + return query; +} + +@end + +@implementation GTLRAppengineQuery_ProjectsLocationsApplicationsAuthorizedCertificatesList + +@dynamic applicationsId, locationsId, pageSize, pageToken, projectsId, view; + ++ (instancetype)queryWithProjectsId:(NSString *)projectsId + locationsId:(NSString *)locationsId + applicationsId:(NSString *)applicationsId { + NSArray *pathParams = @[ + @"applicationsId", @"locationsId", @"projectsId" + ]; + NSString *pathURITemplate = @"v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedCertificates"; + GTLRAppengineQuery_ProjectsLocationsApplicationsAuthorizedCertificatesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.projectsId = projectsId; + query.locationsId = locationsId; + query.applicationsId = applicationsId; + query.expectedObjectClass = [GTLRAppengine_ListAuthorizedCertificatesResponse class]; + query.loggingName = @"appengine.projects.locations.applications.authorizedCertificates.list"; + return query; +} + +@end + +@implementation GTLRAppengineQuery_ProjectsLocationsApplicationsAuthorizedCertificatesPatch + +@dynamic applicationsId, authorizedCertificatesId, locationsId, projectsId, + updateMask; + ++ (instancetype)queryWithObject:(GTLRAppengine_AuthorizedCertificate *)object + projectsId:(NSString *)projectsId + locationsId:(NSString *)locationsId + applicationsId:(NSString *)applicationsId + authorizedCertificatesId:(NSString *)authorizedCertificatesId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"applicationsId", @"authorizedCertificatesId", @"locationsId", + @"projectsId" + ]; + NSString *pathURITemplate = @"v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedCertificates/{authorizedCertificatesId}"; + GTLRAppengineQuery_ProjectsLocationsApplicationsAuthorizedCertificatesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.projectsId = projectsId; + query.locationsId = locationsId; + query.applicationsId = applicationsId; + query.authorizedCertificatesId = authorizedCertificatesId; + query.expectedObjectClass = [GTLRAppengine_AuthorizedCertificate class]; + query.loggingName = @"appengine.projects.locations.applications.authorizedCertificates.patch"; + return query; +} + +@end + @implementation GTLRAppengineQuery_ProjectsLocationsApplicationsAuthorizedDomainsList @dynamic applicationsId, locationsId, pageSize, pageToken, projectsId; @@ -1036,6 +1188,39 @@ + (instancetype)queryWithProjectsId:(NSString *)projectsId @end +@implementation GTLRAppengineQuery_ProjectsLocationsApplicationsDomainMappingsCreate + +@dynamic applicationsId, locationsId, overrideStrategy, projectsId; + ++ (instancetype)queryWithObject:(GTLRAppengine_DomainMapping *)object + projectsId:(NSString *)projectsId + locationsId:(NSString *)locationsId + applicationsId:(NSString *)applicationsId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"applicationsId", @"locationsId", @"projectsId" + ]; + NSString *pathURITemplate = @"v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/domainMappings"; + GTLRAppengineQuery_ProjectsLocationsApplicationsDomainMappingsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.projectsId = projectsId; + query.locationsId = locationsId; + query.applicationsId = applicationsId; + query.expectedObjectClass = [GTLRAppengine_Operation class]; + query.loggingName = @"appengine.projects.locations.applications.domainMappings.create"; + return query; +} + +@end + @implementation GTLRAppengineQuery_ProjectsLocationsApplicationsDomainMappingsGet @dynamic applicationsId, domainMappingsId, locationsId, projectsId; diff --git a/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h b/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h index dd122fe4e..0502850cf 100644 --- a/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h +++ b/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h @@ -1975,6 +1975,284 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @end +/** + * Uploads the specified SSL certificate. + * + * Method: appengine.projects.locations.applications.authorizedCertificates.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAppengineCloudPlatform + */ +@interface GTLRAppengineQuery_ProjectsLocationsApplicationsAuthorizedCertificatesCreate : GTLRAppengineQuery + +/** Part of `parent`. See documentation of `projectsId`. */ +@property(nonatomic, copy, nullable) NSString *applicationsId; + +/** Part of `parent`. See documentation of `projectsId`. */ +@property(nonatomic, copy, nullable) NSString *locationsId; + +/** + * Part of `parent`. Name of the parent Application resource. Example: + * apps/myapp. + */ +@property(nonatomic, copy, nullable) NSString *projectsId; + +/** + * Fetches a @c GTLRAppengine_AuthorizedCertificate. + * + * Uploads the specified SSL certificate. + * + * @param object The @c GTLRAppengine_AuthorizedCertificate to include in the + * query. + * @param projectsId Part of `parent`. Name of the parent Application resource. + * Example: apps/myapp. + * @param locationsId Part of `parent`. See documentation of `projectsId`. + * @param applicationsId Part of `parent`. See documentation of `projectsId`. + * + * @return GTLRAppengineQuery_ProjectsLocationsApplicationsAuthorizedCertificatesCreate + */ ++ (instancetype)queryWithObject:(GTLRAppengine_AuthorizedCertificate *)object + projectsId:(NSString *)projectsId + locationsId:(NSString *)locationsId + applicationsId:(NSString *)applicationsId; + +@end + +/** + * Deletes the specified SSL certificate. + * + * Method: appengine.projects.locations.applications.authorizedCertificates.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAppengineCloudPlatform + */ +@interface GTLRAppengineQuery_ProjectsLocationsApplicationsAuthorizedCertificatesDelete : GTLRAppengineQuery + +/** Part of `name`. See documentation of `projectsId`. */ +@property(nonatomic, copy, nullable) NSString *applicationsId; + +/** Part of `name`. See documentation of `projectsId`. */ +@property(nonatomic, copy, nullable) NSString *authorizedCertificatesId; + +/** Part of `name`. See documentation of `projectsId`. */ +@property(nonatomic, copy, nullable) NSString *locationsId; + +/** + * Part of `name`. Name of the resource to delete. Example: + * apps/myapp/authorizedCertificates/12345. + */ +@property(nonatomic, copy, nullable) NSString *projectsId; + +/** + * Fetches a @c GTLRAppengine_Empty. + * + * Deletes the specified SSL certificate. + * + * @param projectsId Part of `name`. Name of the resource to delete. Example: + * apps/myapp/authorizedCertificates/12345. + * @param locationsId Part of `name`. See documentation of `projectsId`. + * @param applicationsId Part of `name`. See documentation of `projectsId`. + * @param authorizedCertificatesId Part of `name`. See documentation of + * `projectsId`. + * + * @return GTLRAppengineQuery_ProjectsLocationsApplicationsAuthorizedCertificatesDelete + */ ++ (instancetype)queryWithProjectsId:(NSString *)projectsId + locationsId:(NSString *)locationsId + applicationsId:(NSString *)applicationsId + authorizedCertificatesId:(NSString *)authorizedCertificatesId; + +@end + +/** + * Gets the specified SSL certificate. + * + * Method: appengine.projects.locations.applications.authorizedCertificates.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAppengineAdmin + * @c kGTLRAuthScopeAppengineCloudPlatform + * @c kGTLRAuthScopeAppengineCloudPlatformReadOnly + */ +@interface GTLRAppengineQuery_ProjectsLocationsApplicationsAuthorizedCertificatesGet : GTLRAppengineQuery + +/** Part of `name`. See documentation of `projectsId`. */ +@property(nonatomic, copy, nullable) NSString *applicationsId; + +/** Part of `name`. See documentation of `projectsId`. */ +@property(nonatomic, copy, nullable) NSString *authorizedCertificatesId; + +/** Part of `name`. See documentation of `projectsId`. */ +@property(nonatomic, copy, nullable) NSString *locationsId; + +/** + * Part of `name`. Name of the resource requested. Example: + * apps/myapp/authorizedCertificates/12345. + */ +@property(nonatomic, copy, nullable) NSString *projectsId; + +/** + * Controls the set of fields returned in the GET response. + * + * Likely values: + * @arg @c kGTLRAppengineViewBasicCertificate Basic certificate information, + * including applicable domains and expiration date. (Value: + * "BASIC_CERTIFICATE") + * @arg @c kGTLRAppengineViewFullCertificate The information from + * BASIC_CERTIFICATE, plus detailed information on the domain mappings + * that have this certificate mapped. (Value: "FULL_CERTIFICATE") + */ +@property(nonatomic, copy, nullable) NSString *view; + +/** + * Fetches a @c GTLRAppengine_AuthorizedCertificate. + * + * Gets the specified SSL certificate. + * + * @param projectsId Part of `name`. Name of the resource requested. Example: + * apps/myapp/authorizedCertificates/12345. + * @param locationsId Part of `name`. See documentation of `projectsId`. + * @param applicationsId Part of `name`. See documentation of `projectsId`. + * @param authorizedCertificatesId Part of `name`. See documentation of + * `projectsId`. + * + * @return GTLRAppengineQuery_ProjectsLocationsApplicationsAuthorizedCertificatesGet + */ ++ (instancetype)queryWithProjectsId:(NSString *)projectsId + locationsId:(NSString *)locationsId + applicationsId:(NSString *)applicationsId + authorizedCertificatesId:(NSString *)authorizedCertificatesId; + +@end + +/** + * Lists all SSL certificates the user is authorized to administer. + * + * Method: appengine.projects.locations.applications.authorizedCertificates.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAppengineAdmin + * @c kGTLRAuthScopeAppengineCloudPlatform + * @c kGTLRAuthScopeAppengineCloudPlatformReadOnly + */ +@interface GTLRAppengineQuery_ProjectsLocationsApplicationsAuthorizedCertificatesList : GTLRAppengineQuery + +/** Part of `parent`. See documentation of `projectsId`. */ +@property(nonatomic, copy, nullable) NSString *applicationsId; + +/** Part of `parent`. See documentation of `projectsId`. */ +@property(nonatomic, copy, nullable) NSString *locationsId; + +/** Maximum results to return per page. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** Continuation token for fetching the next page of results. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Part of `parent`. Name of the parent Application resource. Example: + * apps/myapp. + */ +@property(nonatomic, copy, nullable) NSString *projectsId; + +/** + * Controls the set of fields returned in the LIST response. + * + * Likely values: + * @arg @c kGTLRAppengineViewBasicCertificate Basic certificate information, + * including applicable domains and expiration date. (Value: + * "BASIC_CERTIFICATE") + * @arg @c kGTLRAppengineViewFullCertificate The information from + * BASIC_CERTIFICATE, plus detailed information on the domain mappings + * that have this certificate mapped. (Value: "FULL_CERTIFICATE") + */ +@property(nonatomic, copy, nullable) NSString *view; + +/** + * Fetches a @c GTLRAppengine_ListAuthorizedCertificatesResponse. + * + * Lists all SSL certificates the user is authorized to administer. + * + * @param projectsId Part of `parent`. Name of the parent Application resource. + * Example: apps/myapp. + * @param locationsId Part of `parent`. See documentation of `projectsId`. + * @param applicationsId Part of `parent`. See documentation of `projectsId`. + * + * @return GTLRAppengineQuery_ProjectsLocationsApplicationsAuthorizedCertificatesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithProjectsId:(NSString *)projectsId + locationsId:(NSString *)locationsId + applicationsId:(NSString *)applicationsId; + +@end + +/** + * Updates the specified SSL certificate. To renew a certificate and maintain + * its existing domain mappings, update certificate_data with a new + * certificate. The new certificate must be applicable to the same domains as + * the original certificate. The certificate display_name may also be updated. + * + * Method: appengine.projects.locations.applications.authorizedCertificates.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeAppengineCloudPlatform + */ +@interface GTLRAppengineQuery_ProjectsLocationsApplicationsAuthorizedCertificatesPatch : GTLRAppengineQuery + +/** Part of `name`. See documentation of `projectsId`. */ +@property(nonatomic, copy, nullable) NSString *applicationsId; + +/** Part of `name`. See documentation of `projectsId`. */ +@property(nonatomic, copy, nullable) NSString *authorizedCertificatesId; + +/** Part of `name`. See documentation of `projectsId`. */ +@property(nonatomic, copy, nullable) NSString *locationsId; + +/** + * Part of `name`. Name of the resource to update. Example: + * apps/myapp/authorizedCertificates/12345. + */ +@property(nonatomic, copy, nullable) NSString *projectsId; + +/** + * Standard field mask for the set of fields to be updated. Updates are only + * supported on the certificate_raw_data and display_name fields. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRAppengine_AuthorizedCertificate. + * + * Updates the specified SSL certificate. To renew a certificate and maintain + * its existing domain mappings, update certificate_data with a new + * certificate. The new certificate must be applicable to the same domains as + * the original certificate. The certificate display_name may also be updated. + * + * @param object The @c GTLRAppengine_AuthorizedCertificate to include in the + * query. + * @param projectsId Part of `name`. Name of the resource to update. Example: + * apps/myapp/authorizedCertificates/12345. + * @param locationsId Part of `name`. See documentation of `projectsId`. + * @param applicationsId Part of `name`. See documentation of `projectsId`. + * @param authorizedCertificatesId Part of `name`. See documentation of + * `projectsId`. + * + * @return GTLRAppengineQuery_ProjectsLocationsApplicationsAuthorizedCertificatesPatch + */ ++ (instancetype)queryWithObject:(GTLRAppengine_AuthorizedCertificate *)object + projectsId:(NSString *)projectsId + locationsId:(NSString *)locationsId + applicationsId:(NSString *)applicationsId + authorizedCertificatesId:(NSString *)authorizedCertificatesId; + +@end + /** * Lists all domains the user is authorized to administer. * @@ -2027,6 +2305,72 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @end +/** + * Maps a domain to an application. A user must be authorized to administer a + * domain in order to map it to an application. For a list of available + * authorized domains, see AuthorizedDomains.ListAuthorizedDomains. + * + * Method: appengine.projects.locations.applications.domainMappings.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAppengineCloudPlatform + */ +@interface GTLRAppengineQuery_ProjectsLocationsApplicationsDomainMappingsCreate : GTLRAppengineQuery + +/** Part of `parent`. See documentation of `projectsId`. */ +@property(nonatomic, copy, nullable) NSString *applicationsId; + +/** Part of `parent`. See documentation of `projectsId`. */ +@property(nonatomic, copy, nullable) NSString *locationsId; + +/** + * Whether the domain creation should override any existing mappings for this + * domain. By default, overrides are rejected. + * + * Likely values: + * @arg @c kGTLRAppengineOverrideStrategyUnspecifiedDomainOverrideStrategy + * Strategy unspecified. Defaults to STRICT. (Value: + * "UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY") + * @arg @c kGTLRAppengineOverrideStrategyStrict Overrides not allowed. If a + * mapping already exists for the specified domain, the request will + * return an ALREADY_EXISTS (409). (Value: "STRICT") + * @arg @c kGTLRAppengineOverrideStrategyOverride Overrides allowed. If a + * mapping already exists for the specified domain, the request will + * overwrite it. Note that this might stop another Google product from + * serving. For example, if the domain is mapped to another App Engine + * application, that app will no longer serve from that domain. (Value: + * "OVERRIDE") + */ +@property(nonatomic, copy, nullable) NSString *overrideStrategy; + +/** + * Part of `parent`. Name of the parent Application resource. Example: + * apps/myapp. + */ +@property(nonatomic, copy, nullable) NSString *projectsId; + +/** + * Fetches a @c GTLRAppengine_Operation. + * + * Maps a domain to an application. A user must be authorized to administer a + * domain in order to map it to an application. For a list of available + * authorized domains, see AuthorizedDomains.ListAuthorizedDomains. + * + * @param object The @c GTLRAppengine_DomainMapping to include in the query. + * @param projectsId Part of `parent`. Name of the parent Application resource. + * Example: apps/myapp. + * @param locationsId Part of `parent`. See documentation of `projectsId`. + * @param applicationsId Part of `parent`. See documentation of `projectsId`. + * + * @return GTLRAppengineQuery_ProjectsLocationsApplicationsDomainMappingsCreate + */ ++ (instancetype)queryWithObject:(GTLRAppengine_DomainMapping *)object + projectsId:(NSString *)projectsId + locationsId:(NSString *)locationsId + applicationsId:(NSString *)applicationsId; + +@end + /** * Gets the specified domain mapping. * diff --git a/Sources/GeneratedServices/AreaInsights/GTLRAreaInsightsObjects.m b/Sources/GeneratedServices/AreaInsights/GTLRAreaInsightsObjects.m index 87910ace4..871291123 100644 --- a/Sources/GeneratedServices/AreaInsights/GTLRAreaInsightsObjects.m +++ b/Sources/GeneratedServices/AreaInsights/GTLRAreaInsightsObjects.m @@ -6,7 +6,7 @@ // Description: // Places Aggregate API. // Documentation: -// https://g3doc.corp.google.com/geo/platform/area_insights/README.md?cl=head +// https://developers.google.com/maps/documentation/places-aggregate/overview #import diff --git a/Sources/GeneratedServices/AreaInsights/GTLRAreaInsightsQuery.m b/Sources/GeneratedServices/AreaInsights/GTLRAreaInsightsQuery.m index 9a164d615..4d7494ea5 100644 --- a/Sources/GeneratedServices/AreaInsights/GTLRAreaInsightsQuery.m +++ b/Sources/GeneratedServices/AreaInsights/GTLRAreaInsightsQuery.m @@ -6,7 +6,7 @@ // Description: // Places Aggregate API. // Documentation: -// https://g3doc.corp.google.com/geo/platform/area_insights/README.md?cl=head +// https://developers.google.com/maps/documentation/places-aggregate/overview #import diff --git a/Sources/GeneratedServices/AreaInsights/GTLRAreaInsightsService.m b/Sources/GeneratedServices/AreaInsights/GTLRAreaInsightsService.m index 2c1da2c66..b8bd47936 100644 --- a/Sources/GeneratedServices/AreaInsights/GTLRAreaInsightsService.m +++ b/Sources/GeneratedServices/AreaInsights/GTLRAreaInsightsService.m @@ -6,7 +6,7 @@ // Description: // Places Aggregate API. // Documentation: -// https://g3doc.corp.google.com/geo/platform/area_insights/README.md?cl=head +// https://developers.google.com/maps/documentation/places-aggregate/overview #import diff --git a/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsights.h b/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsights.h index e029c2ec6..f14e74eda 100644 --- a/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsights.h +++ b/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsights.h @@ -6,7 +6,7 @@ // Description: // Places Aggregate API. // Documentation: -// https://g3doc.corp.google.com/geo/platform/area_insights/README.md?cl=head +// https://developers.google.com/maps/documentation/places-aggregate/overview #import "GTLRAreaInsightsObjects.h" #import "GTLRAreaInsightsQuery.h" diff --git a/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsightsObjects.h b/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsightsObjects.h index b131c29b7..1ecdc8d81 100644 --- a/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsightsObjects.h +++ b/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsightsObjects.h @@ -6,7 +6,7 @@ // Description: // Places Aggregate API. // Documentation: -// https://g3doc.corp.google.com/geo/platform/area_insights/README.md?cl=head +// https://developers.google.com/maps/documentation/places-aggregate/overview #import diff --git a/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsightsQuery.h b/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsightsQuery.h index 2db094f7f..8fbec1a1a 100644 --- a/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsightsQuery.h +++ b/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsightsQuery.h @@ -6,7 +6,7 @@ // Description: // Places Aggregate API. // Documentation: -// https://g3doc.corp.google.com/geo/platform/area_insights/README.md?cl=head +// https://developers.google.com/maps/documentation/places-aggregate/overview #import diff --git a/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsightsService.h b/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsightsService.h index be1e89502..8daa6af74 100644 --- a/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsightsService.h +++ b/Sources/GeneratedServices/AreaInsights/Public/GoogleAPIClientForREST/GTLRAreaInsightsService.h @@ -6,7 +6,7 @@ // Description: // Places Aggregate API. // Documentation: -// https://g3doc.corp.google.com/geo/platform/area_insights/README.md?cl=head +// https://developers.google.com/maps/documentation/places-aggregate/overview #import diff --git a/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m b/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m index bee3d994f..7e7684d5b 100644 --- a/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m +++ b/Sources/GeneratedServices/Assuredworkloads/GTLRAssuredworkloadsObjects.m @@ -60,10 +60,12 @@ 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"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_JapanDataBoundary = @"JAPAN_DATA_BOUNDARY"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_JpRegionsAndSupport = @"JP_REGIONS_AND_SUPPORT"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_KsaDataBoundaryWithAccessJustifications = @"KSA_DATA_BOUNDARY_WITH_ACCESS_JUSTIFICATIONS"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_KsaRegionsAndSupportWithSovereigntyControls = @"KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalControls = @"REGIONAL_CONTROLS"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalDataBoundary = @"REGIONAL_DATA_BOUNDARY"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_UsDataBoundaryAndSupport = @"US_DATA_BOUNDARY_AND_SUPPORT"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_UsDataBoundaryForHealthcareAndLifeSciences = @"US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_UsDataBoundaryForHealthcareAndLifeSciencesWithSupport = @"US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES_WITH_SUPPORT"; @@ -131,10 +133,12 @@ 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"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_JapanDataBoundary = @"JAPAN_DATA_BOUNDARY"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_JpRegionsAndSupport = @"JP_REGIONS_AND_SUPPORT"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_KsaDataBoundaryWithAccessJustifications = @"KSA_DATA_BOUNDARY_WITH_ACCESS_JUSTIFICATIONS"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_KsaRegionsAndSupportWithSovereigntyControls = @"KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalControls = @"REGIONAL_CONTROLS"; +NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalDataBoundary = @"REGIONAL_DATA_BOUNDARY"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_UsDataBoundaryAndSupport = @"US_DATA_BOUNDARY_AND_SUPPORT"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_UsDataBoundaryForHealthcareAndLifeSciences = @"US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES"; NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_UsDataBoundaryForHealthcareAndLifeSciencesWithSupport = @"US_DATA_BOUNDARY_FOR_HEALTHCARE_AND_LIFE_SCIENCES_WITH_SUPPORT"; diff --git a/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h b/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h index 7b6c6dff7..afc9d3571 100644 --- a/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h +++ b/Sources/GeneratedServices/Assuredworkloads/Public/GoogleAPIClientForREST/GTLRAssuredworkloadsObjects.h @@ -323,6 +323,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * Value: "ITAR" */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_Itar; +/** + * JAPAN Data Boundary + * + * Value: "JAPAN_DATA_BOUNDARY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_JapanDataBoundary; /** * Assured Workloads for Japan Regions * @@ -347,6 +353,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * Value: "REGIONAL_CONTROLS" */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalControls; +/** + * Regional Data Boundary + * + * Value: "REGIONAL_DATA_BOUNDARY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalDataBoundary; /** * Data Boundary for US Regions and Support * @@ -718,6 +730,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * Value: "ITAR" */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_Itar; +/** + * JAPAN Data Boundary + * + * Value: "JAPAN_DATA_BOUNDARY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_JapanDataBoundary; /** * Assured Workloads for Japan Regions * @@ -742,6 +760,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * Value: "REGIONAL_CONTROLS" */ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalControls; +/** + * Regional Data Boundary + * + * Value: "REGIONAL_DATA_BOUNDARY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalDataBoundary; /** * Data Boundary for US Regions and Support * @@ -1348,6 +1372,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * "ISR_REGIONS_AND_SUPPORT") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_Itar * International Traffic in Arms Regulations (Value: "ITAR") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_JapanDataBoundary + * JAPAN Data Boundary (Value: "JAPAN_DATA_BOUNDARY") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_JpRegionsAndSupport * Assured Workloads for Japan Regions (Value: "JP_REGIONS_AND_SUPPORT") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_KsaDataBoundaryWithAccessJustifications @@ -1358,6 +1384,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * "KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalControls * Assured Workloads for Regional Controls (Value: "REGIONAL_CONTROLS") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_RegionalDataBoundary + * Regional Data Boundary (Value: "REGIONAL_DATA_BOUNDARY") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata_ComplianceRegime_UsDataBoundaryAndSupport * Data Boundary for US Regions and Support (Value: * "US_DATA_BOUNDARY_AND_SUPPORT") @@ -2070,6 +2098,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * "ISR_REGIONS_AND_SUPPORT") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_Itar * International Traffic in Arms Regulations (Value: "ITAR") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_JapanDataBoundary + * JAPAN Data Boundary (Value: "JAPAN_DATA_BOUNDARY") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_JpRegionsAndSupport * Assured Workloads for Japan Regions (Value: "JP_REGIONS_AND_SUPPORT") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_KsaDataBoundaryWithAccessJustifications @@ -2080,6 +2110,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAssuredworkloads_GoogleCloudAssuredworkl * "KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalControls * Assured Workloads for Regional Controls (Value: "REGIONAL_CONTROLS") + * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_RegionalDataBoundary + * Regional Data Boundary (Value: "REGIONAL_DATA_BOUNDARY") * @arg @c kGTLRAssuredworkloads_GoogleCloudAssuredworkloadsV1Workload_ComplianceRegime_UsDataBoundaryAndSupport * Data Boundary for US Regions and Support (Value: * "US_DATA_BOUNDARY_AND_SUPPORT") diff --git a/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m b/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m index 775a1b5b3..0d9eb8b4f 100644 --- a/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m +++ b/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m @@ -63,6 +63,7 @@ // GTLRBackupdr_Backup.backupType NSString * const kGTLRBackupdr_Backup_BackupType_BackupTypeUnspecified = @"BACKUP_TYPE_UNSPECIFIED"; NSString * const kGTLRBackupdr_Backup_BackupType_OnDemand = @"ON_DEMAND"; +NSString * const kGTLRBackupdr_Backup_BackupType_OnDemandOperational = @"ON_DEMAND_OPERATIONAL"; NSString * const kGTLRBackupdr_Backup_BackupType_Scheduled = @"SCHEDULED"; // GTLRBackupdr_Backup.state @@ -71,6 +72,7 @@ NSString * const kGTLRBackupdr_Backup_State_Deleting = @"DELETING"; NSString * const kGTLRBackupdr_Backup_State_Error = @"ERROR"; NSString * const kGTLRBackupdr_Backup_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRBackupdr_Backup_State_Uploading = @"UPLOADING"; // GTLRBackupdr_BackupConfigDetails.state NSString * const kGTLRBackupdr_BackupConfigDetails_State_Active = @"ACTIVE"; @@ -114,6 +116,13 @@ NSString * const kGTLRBackupdr_BackupPlanAssociation_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRBackupdr_BackupPlanAssociation_State_Updating = @"UPDATING"; +// GTLRBackupdr_BackupPlanRevision.state +NSString * const kGTLRBackupdr_BackupPlanRevision_State_Active = @"ACTIVE"; +NSString * const kGTLRBackupdr_BackupPlanRevision_State_Creating = @"CREATING"; +NSString * const kGTLRBackupdr_BackupPlanRevision_State_Deleting = @"DELETING"; +NSString * const kGTLRBackupdr_BackupPlanRevision_State_Inactive = @"INACTIVE"; +NSString * const kGTLRBackupdr_BackupPlanRevision_State_StateUnspecified = @"STATE_UNSPECIFIED"; + // GTLRBackupdr_BackupVault.accessRestriction NSString * const kGTLRBackupdr_BackupVault_AccessRestriction_AccessRestrictionUnspecified = @"ACCESS_RESTRICTION_UNSPECIFIED"; NSString * const kGTLRBackupdr_BackupVault_AccessRestriction_Unrestricted = @"UNRESTRICTED"; @@ -129,6 +138,11 @@ NSString * const kGTLRBackupdr_BackupVault_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRBackupdr_BackupVault_State_Updating = @"UPDATING"; +// GTLRBackupdr_CloudSqlInstanceInitializationConfig.edition +NSString * const kGTLRBackupdr_CloudSqlInstanceInitializationConfig_Edition_EditionUnspecified = @"EDITION_UNSPECIFIED"; +NSString * const kGTLRBackupdr_CloudSqlInstanceInitializationConfig_Edition_Enterprise = @"ENTERPRISE"; +NSString * const kGTLRBackupdr_CloudSqlInstanceInitializationConfig_Edition_EnterprisePlus = @"ENTERPRISE_PLUS"; + // GTLRBackupdr_ComputeInstanceBackupProperties.keyRevocationActionType NSString * const kGTLRBackupdr_ComputeInstanceBackupProperties_KeyRevocationActionType_KeyRevocationActionTypeUnspecified = @"KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED"; NSString * const kGTLRBackupdr_ComputeInstanceBackupProperties_KeyRevocationActionType_None = @"NONE"; @@ -157,6 +171,18 @@ NSString * const kGTLRBackupdr_DataSource_State_Error = @"ERROR"; NSString * const kGTLRBackupdr_DataSource_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRBackupdr_DataSourceBackupConfigInfo.lastBackupState +NSString * const kGTLRBackupdr_DataSourceBackupConfigInfo_LastBackupState_Failed = @"FAILED"; +NSString * const kGTLRBackupdr_DataSourceBackupConfigInfo_LastBackupState_FirstBackupPending = @"FIRST_BACKUP_PENDING"; +NSString * const kGTLRBackupdr_DataSourceBackupConfigInfo_LastBackupState_LastBackupStateUnspecified = @"LAST_BACKUP_STATE_UNSPECIFIED"; +NSString * const kGTLRBackupdr_DataSourceBackupConfigInfo_LastBackupState_PermissionDenied = @"PERMISSION_DENIED"; +NSString * const kGTLRBackupdr_DataSourceBackupConfigInfo_LastBackupState_Succeeded = @"SUCCEEDED"; + +// GTLRBackupdr_DataSourceReference.dataSourceBackupConfigState +NSString * const kGTLRBackupdr_DataSourceReference_DataSourceBackupConfigState_Active = @"ACTIVE"; +NSString * const kGTLRBackupdr_DataSourceReference_DataSourceBackupConfigState_BackupConfigStateUnspecified = @"BACKUP_CONFIG_STATE_UNSPECIFIED"; +NSString * const kGTLRBackupdr_DataSourceReference_DataSourceBackupConfigState_Passive = @"PASSIVE"; + // GTLRBackupdr_DiskBackupProperties.architecture NSString * const kGTLRBackupdr_DiskBackupProperties_Architecture_ArchitectureUnspecified = @"ARCHITECTURE_UNSPECIFIED"; NSString * const kGTLRBackupdr_DiskBackupProperties_Architecture_Arm64 = @"ARM64"; @@ -455,10 +481,11 @@ @implementation GTLRBackupdr_AuditLogConfig @implementation GTLRBackupdr_Backup @dynamic backupApplianceBackupProperties, backupApplianceLocks, backupType, - computeInstanceBackupProperties, consistencyTime, createTime, - descriptionProperty, diskBackupProperties, enforcedRetentionEndTime, - ETag, expireTime, gcpBackupPlanInfo, labels, name, resourceSizeBytes, - satisfiesPzi, satisfiesPzs, serviceLocks, state, updateTime; + cloudSqlInstanceBackupProperties, computeInstanceBackupProperties, + consistencyTime, createTime, descriptionProperty, diskBackupProperties, + enforcedRetentionEndTime, ETag, expireTime, gcpBackupPlanInfo, labels, + name, resourceSizeBytes, satisfiesPzi, satisfiesPzs, serviceLocks, + state, updateTime; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -585,8 +612,9 @@ @implementation GTLRBackupdr_BackupLock @implementation GTLRBackupdr_BackupPlan @dynamic backupRules, backupVault, backupVaultServiceAccount, createTime, - descriptionProperty, ETag, labels, name, resourceType, state, - supportedResourceTypes, updateTime; + descriptionProperty, ETag, labels, logRetentionDays, name, + resourceType, revisionId, revisionName, state, supportedResourceTypes, + updateTime; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -627,8 +655,10 @@ + (Class)classForAdditionalProperties { // @implementation GTLRBackupdr_BackupPlanAssociation -@dynamic backupPlan, createTime, dataSource, name, resource, resourceType, - rulesConfigInfo, state, updateTime; +@dynamic backupPlan, backupPlanRevisionId, backupPlanRevisionName, + cloudSqlInstanceBackupPlanAssociationProperties, createTime, + dataSource, name, resource, resourceType, rulesConfigInfo, state, + updateTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -640,6 +670,16 @@ @implementation GTLRBackupdr_BackupPlanAssociation @end +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_BackupPlanRevision +// + +@implementation GTLRBackupdr_BackupPlanRevision +@dynamic backupPlanSnapshot, createTime, name, revisionId, state; +@end + + // ---------------------------------------------------------------------------- // // GTLRBackupdr_BackupRule @@ -737,6 +777,56 @@ @implementation GTLRBackupdr_CancelOperationRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_CloudSqlInstanceBackupPlanAssociationProperties +// + +@implementation GTLRBackupdr_CloudSqlInstanceBackupPlanAssociationProperties +@dynamic instanceCreateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_CloudSqlInstanceBackupProperties +// + +@implementation GTLRBackupdr_CloudSqlInstanceBackupProperties +@dynamic databaseInstalledVersion, finalBackup, instanceTier, sourceInstance; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_CloudSqlInstanceDataSourceProperties +// + +@implementation GTLRBackupdr_CloudSqlInstanceDataSourceProperties +@dynamic databaseInstalledVersion, instanceCreateTime, instanceTier, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_CloudSqlInstanceDataSourceReferenceProperties +// + +@implementation GTLRBackupdr_CloudSqlInstanceDataSourceReferenceProperties +@dynamic databaseInstalledVersion, instanceCreateTime, instanceTier, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_CloudSqlInstanceInitializationConfig +// + +@implementation GTLRBackupdr_CloudSqlInstanceInitializationConfig +@dynamic edition; +@end + + // ---------------------------------------------------------------------------- // // GTLRBackupdr_ComputeInstanceBackupProperties @@ -918,17 +1008,50 @@ @implementation GTLRBackupdr_DataSourceBackupApplianceApplication @end +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_DataSourceBackupConfigInfo +// + +@implementation GTLRBackupdr_DataSourceBackupConfigInfo +@dynamic lastBackupState, lastSuccessfulBackupConsistencyTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRBackupdr_DataSourceGcpResource // @implementation GTLRBackupdr_DataSourceGcpResource -@dynamic computeInstanceDatasourceProperties, diskDatasourceProperties, +@dynamic cloudSqlInstanceDatasourceProperties, + computeInstanceDatasourceProperties, diskDatasourceProperties, gcpResourcename, location, type; @end +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_DataSourceGcpResourceInfo +// + +@implementation GTLRBackupdr_DataSourceGcpResourceInfo +@dynamic cloudSqlInstanceProperties, gcpResourcename, location, type; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_DataSourceReference +// + +@implementation GTLRBackupdr_DataSourceReference +@dynamic createTime, dataSource, dataSourceBackupConfigInfo, + dataSourceBackupConfigState, dataSourceBackupCount, + dataSourceGcpResourceInfo, name; +@end + + // ---------------------------------------------------------------------------- // // GTLRBackupdr_DiskBackupProperties @@ -1107,6 +1230,50 @@ @implementation GTLRBackupdr_FetchAccessTokenResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_FetchBackupPlanAssociationsForResourceTypeResponse +// + +@implementation GTLRBackupdr_FetchBackupPlanAssociationsForResourceTypeResponse +@dynamic backupPlanAssociations, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"backupPlanAssociations" : [GTLRBackupdr_BackupPlanAssociation class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"backupPlanAssociations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_FetchDataSourceReferencesForResourceTypeResponse +// + +@implementation GTLRBackupdr_FetchDataSourceReferencesForResourceTypeResponse +@dynamic dataSourceReferences, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dataSourceReferences" : [GTLRBackupdr_DataSourceReference class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"dataSourceReferences"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBackupdr_FetchUsableBackupVaultsResponse @@ -1153,7 +1320,7 @@ @implementation GTLRBackupdr_FinalizeBackupRequest @implementation GTLRBackupdr_GcpBackupConfig @dynamic backupPlan, backupPlanAssociation, backupPlanDescription, - backupPlanRules; + backupPlanRevisionId, backupPlanRevisionName, backupPlanRules; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1171,7 +1338,8 @@ @implementation GTLRBackupdr_GcpBackupConfig // @implementation GTLRBackupdr_GCPBackupPlanInfo -@dynamic backupPlan, backupPlanRuleId; +@dynamic backupPlan, backupPlanRevisionId, backupPlanRevisionName, + backupPlanRuleId; @end @@ -1219,7 +1387,7 @@ @implementation GTLRBackupdr_InitializeParams // @implementation GTLRBackupdr_InitializeServiceRequest -@dynamic requestId, resourceType; +@dynamic cloudSqlInstanceInitializationConfig, requestId, resourceType; @end @@ -1290,6 +1458,29 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_ListBackupPlanRevisionsResponse +// + +@implementation GTLRBackupdr_ListBackupPlanRevisionsResponse +@dynamic backupPlanRevisions, nextPageToken, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"backupPlanRevisions" : [GTLRBackupdr_BackupPlanRevision class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"backupPlanRevisions"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBackupdr_ListBackupPlansResponse diff --git a/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m b/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m index 83bcf49a6..7578a1bcf 100644 --- a/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m +++ b/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m @@ -75,6 +75,25 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRBackupdrQuery_ProjectsLocationsBackupPlanAssociationsFetchForResourceType + +@dynamic filter, orderBy, pageSize, pageToken, parent, resourceType; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/backupPlanAssociations:fetchForResourceType"; + GTLRBackupdrQuery_ProjectsLocationsBackupPlanAssociationsFetchForResourceType *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRBackupdr_FetchBackupPlanAssociationsForResourceTypeResponse class]; + query.loggingName = @"backupdr.projects.locations.backupPlanAssociations.fetchForResourceType"; + return query; +} + +@end + @implementation GTLRBackupdrQuery_ProjectsLocationsBackupPlanAssociationsGet @dynamic name; @@ -251,6 +270,71 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRBackupdrQuery_ProjectsLocationsBackupPlansPatch + +@dynamic name, requestId, updateMask; + ++ (instancetype)queryWithObject:(GTLRBackupdr_BackupPlan *)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}"; + GTLRBackupdrQuery_ProjectsLocationsBackupPlansPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRBackupdr_Operation class]; + query.loggingName = @"backupdr.projects.locations.backupPlans.patch"; + return query; +} + +@end + +@implementation GTLRBackupdrQuery_ProjectsLocationsBackupPlansRevisionsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRBackupdrQuery_ProjectsLocationsBackupPlansRevisionsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRBackupdr_BackupPlanRevision class]; + query.loggingName = @"backupdr.projects.locations.backupPlans.revisions.get"; + return query; +} + +@end + +@implementation GTLRBackupdrQuery_ProjectsLocationsBackupPlansRevisionsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/revisions"; + GTLRBackupdrQuery_ProjectsLocationsBackupPlansRevisionsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRBackupdr_ListBackupPlanRevisionsResponse class]; + query.loggingName = @"backupdr.projects.locations.backupPlans.revisions.list"; + return query; +} + +@end + @implementation GTLRBackupdrQuery_ProjectsLocationsBackupVaultsCreate @dynamic backupVaultId, parent, requestId, validateOnly; @@ -752,6 +836,44 @@ + (instancetype)queryWithObject:(GTLRBackupdr_TestIamPermissionsRequest *)object @end +@implementation GTLRBackupdrQuery_ProjectsLocationsDataSourceReferencesFetchForResourceType + +@dynamic filter, orderBy, pageSize, pageToken, parent, resourceType; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/dataSourceReferences:fetchForResourceType"; + GTLRBackupdrQuery_ProjectsLocationsDataSourceReferencesFetchForResourceType *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRBackupdr_FetchDataSourceReferencesForResourceTypeResponse class]; + query.loggingName = @"backupdr.projects.locations.dataSourceReferences.fetchForResourceType"; + return query; +} + +@end + +@implementation GTLRBackupdrQuery_ProjectsLocationsDataSourceReferencesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRBackupdrQuery_ProjectsLocationsDataSourceReferencesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRBackupdr_DataSourceReference class]; + query.loggingName = @"backupdr.projects.locations.dataSourceReferences.get"; + return query; +} + +@end + @implementation GTLRBackupdrQuery_ProjectsLocationsGet @dynamic name; diff --git a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h index 1dcf0428d..f467966c0 100644 --- a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h +++ b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h @@ -32,12 +32,18 @@ @class GTLRBackupdr_BackupPlan; @class GTLRBackupdr_BackupPlan_Labels; @class GTLRBackupdr_BackupPlanAssociation; +@class GTLRBackupdr_BackupPlanRevision; @class GTLRBackupdr_BackupRule; @class GTLRBackupdr_BackupVault; @class GTLRBackupdr_BackupVault_Annotations; @class GTLRBackupdr_BackupVault_Labels; @class GTLRBackupdr_BackupWindow; @class GTLRBackupdr_Binding; +@class GTLRBackupdr_CloudSqlInstanceBackupPlanAssociationProperties; +@class GTLRBackupdr_CloudSqlInstanceBackupProperties; +@class GTLRBackupdr_CloudSqlInstanceDataSourceProperties; +@class GTLRBackupdr_CloudSqlInstanceDataSourceReferenceProperties; +@class GTLRBackupdr_CloudSqlInstanceInitializationConfig; @class GTLRBackupdr_ComputeInstanceBackupProperties; @class GTLRBackupdr_ComputeInstanceBackupProperties_Labels; @class GTLRBackupdr_ComputeInstanceDataSourceProperties; @@ -49,7 +55,10 @@ @class GTLRBackupdr_DataSource; @class GTLRBackupdr_DataSource_Labels; @class GTLRBackupdr_DataSourceBackupApplianceApplication; +@class GTLRBackupdr_DataSourceBackupConfigInfo; @class GTLRBackupdr_DataSourceGcpResource; +@class GTLRBackupdr_DataSourceGcpResourceInfo; +@class GTLRBackupdr_DataSourceReference; @class GTLRBackupdr_DiskBackupProperties; @class GTLRBackupdr_DiskDataSourceProperties; @class GTLRBackupdr_DiskRestoreProperties; @@ -356,6 +365,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_Backup_BackupType_BackupTypeUns * Value: "ON_DEMAND" */ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_Backup_BackupType_OnDemand; +/** + * Operational backup. + * + * Value: "ON_DEMAND_OPERATIONAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_Backup_BackupType_OnDemandOperational; /** * Scheduled backup. * @@ -396,6 +411,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_Backup_State_Error; * Value: "STATE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_Backup_State_StateUnspecified; +/** + * The backup is being uploaded. + * + * Value: "UPLOADING" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_Backup_State_Uploading; // ---------------------------------------------------------------------------- // GTLRBackupdr_BackupConfigDetails.state @@ -606,6 +627,40 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_BackupPlanAssociation_State_Sta */ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_BackupPlanAssociation_State_Updating; +// ---------------------------------------------------------------------------- +// GTLRBackupdr_BackupPlanRevision.state + +/** + * The resource has been created and is fully usable. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_BackupPlanRevision_State_Active; +/** + * The resource is being created. + * + * Value: "CREATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_BackupPlanRevision_State_Creating; +/** + * The resource is being deleted. + * + * Value: "DELETING" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_BackupPlanRevision_State_Deleting; +/** + * The resource has been created but is not usable. + * + * Value: "INACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_BackupPlanRevision_State_Inactive; +/** + * State not set. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_BackupPlanRevision_State_StateUnspecified; + // ---------------------------------------------------------------------------- // GTLRBackupdr_BackupVault.accessRestriction @@ -683,6 +738,28 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_BackupVault_State_StateUnspecif */ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_BackupVault_State_Updating; +// ---------------------------------------------------------------------------- +// GTLRBackupdr_CloudSqlInstanceInitializationConfig.edition + +/** + * Unspecified edition. + * + * Value: "EDITION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_CloudSqlInstanceInitializationConfig_Edition_EditionUnspecified; +/** + * Enterprise edition. + * + * Value: "ENTERPRISE" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_CloudSqlInstanceInitializationConfig_Edition_Enterprise; +/** + * Enterprise Plus edition. + * + * Value: "ENTERPRISE_PLUS" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_CloudSqlInstanceInitializationConfig_Edition_EnterprisePlus; + // ---------------------------------------------------------------------------- // GTLRBackupdr_ComputeInstanceBackupProperties.keyRevocationActionType @@ -817,6 +894,64 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_DataSource_State_Error; */ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_DataSource_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRBackupdr_DataSourceBackupConfigInfo.lastBackupState + +/** + * The most recent backup failed + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_DataSourceBackupConfigInfo_LastBackupState_Failed; +/** + * The first backup has not yet completed + * + * Value: "FIRST_BACKUP_PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_DataSourceBackupConfigInfo_LastBackupState_FirstBackupPending; +/** + * Status not set. + * + * Value: "LAST_BACKUP_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_DataSourceBackupConfigInfo_LastBackupState_LastBackupStateUnspecified; +/** + * The most recent backup could not be run/failed because of the lack of + * permissions + * + * Value: "PERMISSION_DENIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_DataSourceBackupConfigInfo_LastBackupState_PermissionDenied; +/** + * The most recent backup was successful + * + * Value: "SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_DataSourceBackupConfigInfo_LastBackupState_Succeeded; + +// ---------------------------------------------------------------------------- +// GTLRBackupdr_DataSourceReference.dataSourceBackupConfigState + +/** + * The data source is actively protected (i.e. there is a BackupPlanAssociation + * or Appliance SLA pointing to it) + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_DataSourceReference_DataSourceBackupConfigState_Active; +/** + * The possible states of backup configuration. Status not set. + * + * Value: "BACKUP_CONFIG_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_DataSourceReference_DataSourceBackupConfigState_BackupConfigStateUnspecified; +/** + * The data source is no longer protected (but may have backups under it) + * + * Value: "PASSIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_DataSourceReference_DataSourceBackupConfigState_Passive; + // ---------------------------------------------------------------------------- // GTLRBackupdr_DiskBackupProperties.architecture @@ -2038,11 +2173,16 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week * is unspecified. (Value: "BACKUP_TYPE_UNSPECIFIED") * @arg @c kGTLRBackupdr_Backup_BackupType_OnDemand On demand backup. (Value: * "ON_DEMAND") + * @arg @c kGTLRBackupdr_Backup_BackupType_OnDemandOperational Operational + * backup. (Value: "ON_DEMAND_OPERATIONAL") * @arg @c kGTLRBackupdr_Backup_BackupType_Scheduled Scheduled backup. * (Value: "SCHEDULED") */ @property(nonatomic, copy, nullable) NSString *backupType; +/** Output only. Cloud SQL specific backup properties. */ +@property(nonatomic, strong, nullable) GTLRBackupdr_CloudSqlInstanceBackupProperties *cloudSqlInstanceBackupProperties; + /** Output only. Compute Engine specific backup properties. */ @property(nonatomic, strong, nullable) GTLRBackupdr_ComputeInstanceBackupProperties *computeInstanceBackupProperties; @@ -2136,6 +2276,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week * issue and might be unusable. (Value: "ERROR") * @arg @c kGTLRBackupdr_Backup_State_StateUnspecified State not set. (Value: * "STATE_UNSPECIFIED") + * @arg @c kGTLRBackupdr_Backup_State_Uploading The backup is being uploaded. + * (Value: "UPLOADING") */ @property(nonatomic, copy, nullable) NSString *state; @@ -2521,6 +2663,15 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week */ @property(nonatomic, strong, nullable) GTLRBackupdr_BackupPlan_Labels *labels; +/** + * Optional. Required for CloudSQL resource_type Configures how long logs will + * be stored. It is defined in “days”. This value should be greater than or + * equal to minimum enforced log retention duration of the backup vault. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *logRetentionDays; + /** * Output only. Identifier. The resource name of the `BackupPlan`. Format: * `projects/{project}/locations/{location}/backupPlans/{backup_plan}` @@ -2530,6 +2681,18 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week /** Required. */ @property(nonatomic, copy, nullable) NSString *resourceType; +/** + * Output only. The user friendly revision ID of the `BackupPlanRevision`. + * Example: v0, v1, v2, etc. + */ +@property(nonatomic, copy, nullable) NSString *revisionId; + +/** + * Output only. The resource id of the `BackupPlanRevision`. Format: + * `projects/{project}/locations/{location}/backupPlans/{backup_plan}/revisions/{revision_id}` + */ +@property(nonatomic, copy, nullable) NSString *revisionName; + /** * Output only. The `State` for the `BackupPlan`. * @@ -2584,6 +2747,21 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week */ @property(nonatomic, copy, nullable) NSString *backupPlan; +/** + * Output only. The user friendly revision ID of the `BackupPlanRevision`. + * Example: v0, v1, v2, etc. + */ +@property(nonatomic, copy, nullable) NSString *backupPlanRevisionId; + +/** + * Output only. The resource id of the `BackupPlanRevision`. Format: + * `projects/{project}/locations/{location}/backupPlans/{backup_plan}/revisions/{revision_id}` + */ +@property(nonatomic, copy, nullable) NSString *backupPlanRevisionName; + +/** Output only. Cloud SQL instance's backup plan association properties. */ +@property(nonatomic, strong, nullable) GTLRBackupdr_CloudSqlInstanceBackupPlanAssociationProperties *cloudSqlInstanceBackupPlanAssociationProperties; + /** Output only. The time when the instance was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; @@ -2602,8 +2780,11 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week @property(nonatomic, copy, nullable) NSString *name; /** - * Required. Immutable. Resource name of workload on which backupplan is - * applied + * Required. Immutable. Resource name of workload on which the backup plan is + * applied. The format can either be the resource name (e.g., + * "projects/my-project/zones/us-central1-a/instances/my-instance") or the full + * resource URI (e.g., + * "https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a/instances/my-instance"). */ @property(nonatomic, copy, nullable) NSString *resource; @@ -2638,6 +2819,51 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week @end +/** + * `BackupPlanRevision` represents a snapshot of a `BackupPlan` at a point in + * time. + */ +@interface GTLRBackupdr_BackupPlanRevision : GTLRObject + +/** The Backup Plan being encompassed by this revision. */ +@property(nonatomic, strong, nullable) GTLRBackupdr_BackupPlan *backupPlanSnapshot; + +/** Output only. The timestamp that the revision was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Output only. Identifier. The resource name of the `BackupPlanRevision`. + * Format: + * `projects/{project}/locations/{location}/backupPlans/{backup_plan}/revisions/{revision}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The user friendly revision ID of the `BackupPlanRevision`. + * Example: v0, v1, v2, etc. + */ +@property(nonatomic, copy, nullable) NSString *revisionId; + +/** + * Output only. Resource State + * + * Likely values: + * @arg @c kGTLRBackupdr_BackupPlanRevision_State_Active The resource has + * been created and is fully usable. (Value: "ACTIVE") + * @arg @c kGTLRBackupdr_BackupPlanRevision_State_Creating The resource is + * being created. (Value: "CREATING") + * @arg @c kGTLRBackupdr_BackupPlanRevision_State_Deleting The resource is + * being deleted. (Value: "DELETING") + * @arg @c kGTLRBackupdr_BackupPlanRevision_State_Inactive The resource has + * been created but is not usable. (Value: "INACTIVE") + * @arg @c kGTLRBackupdr_BackupPlanRevision_State_StateUnspecified State not + * set. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + /** * `BackupRule` binds the backup schedule to a retention policy. */ @@ -2647,11 +2873,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week * Required. Configures the duration for which backup data will be kept. It is * defined in “days”. The value should be greater than or equal to minimum * enforced retention of the backup vault. Minimum value is 1 and maximum value - * is 36159 for custom retention on-demand backup. Minimum value is 1 and - * maximum value is 90 for hourly backups. Minimum value is 1 and maximum value - * is 186 for daily backups. Minimum value is 7 and maximum value is 366 for - * weekly backups. Minimum value is 30 and maximum value is 732 for monthly - * backups. Minimum value is 365 and maximum value is 36159 for yearly backups. + * is 36159 for custom retention on-demand backup. Minimum and maximum values + * are workload specific for all other rules. * * Uses NSNumber of intValue. */ @@ -2955,6 +3178,127 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week @end +/** + * Cloud SQL instance's BPA properties. + */ +@interface GTLRBackupdr_CloudSqlInstanceBackupPlanAssociationProperties : GTLRObject + +/** Output only. The time when the instance was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *instanceCreateTime; + +@end + + +/** + * CloudSqlInstanceBackupProperties represents Cloud SQL Instance Backup + * properties. . + */ +@interface GTLRBackupdr_CloudSqlInstanceBackupProperties : GTLRObject + +/** + * Output only. The installed database version of the Cloud SQL instance when + * the backup was taken. + */ +@property(nonatomic, copy, nullable) NSString *databaseInstalledVersion; + +/** + * Output only. Whether the backup is a final backup. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *finalBackup; + +/** + * Output only. The tier (or machine type) for this instance. Example: + * `db-custom-1-3840` + */ +@property(nonatomic, copy, nullable) NSString *instanceTier; + +/** + * Output only. The source instance of the backup. Format: + * projects/{project}/instances/{instance} + */ +@property(nonatomic, copy, nullable) NSString *sourceInstance; + +@end + + +/** + * CloudSqlInstanceDataSourceProperties represents the properties of a Cloud + * SQL resource that are stored in the DataSource. . + */ +@interface GTLRBackupdr_CloudSqlInstanceDataSourceProperties : GTLRObject + +/** Output only. The installed database version of the Cloud SQL instance. */ +@property(nonatomic, copy, nullable) NSString *databaseInstalledVersion; + +/** Output only. The instance creation timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *instanceCreateTime; + +/** + * Output only. The tier (or machine type) for this instance. Example: + * `db-custom-1-3840` + */ +@property(nonatomic, copy, nullable) NSString *instanceTier; + +/** + * Output only. Name of the Cloud SQL instance backed up by the datasource. + * Format: projects/{project}/instances/{instance} + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + +/** + * CloudSqlInstanceDataSourceReferenceProperties represents the properties of a + * Cloud SQL resource that are stored in the DataSourceReference. . + */ +@interface GTLRBackupdr_CloudSqlInstanceDataSourceReferenceProperties : GTLRObject + +/** Output only. The installed database version of the Cloud SQL instance. */ +@property(nonatomic, copy, nullable) NSString *databaseInstalledVersion; + +/** Output only. The instance creation timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *instanceCreateTime; + +/** + * Output only. The tier (or machine type) for this instance. Example: + * `db-custom-1-3840` + */ +@property(nonatomic, copy, nullable) NSString *instanceTier; + +/** + * Output only. Name of the Cloud SQL instance backed up by the datasource. + * Format: projects/{project}/instances/{instance} + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + +/** + * CloudSqlInstanceInitializationConfig contains the configuration for + * initializing a Cloud SQL instance. + */ +@interface GTLRBackupdr_CloudSqlInstanceInitializationConfig : GTLRObject + +/** + * Required. The edition of the Cloud SQL instance. + * + * Likely values: + * @arg @c kGTLRBackupdr_CloudSqlInstanceInitializationConfig_Edition_EditionUnspecified + * Unspecified edition. (Value: "EDITION_UNSPECIFIED") + * @arg @c kGTLRBackupdr_CloudSqlInstanceInitializationConfig_Edition_Enterprise + * Enterprise edition. (Value: "ENTERPRISE") + * @arg @c kGTLRBackupdr_CloudSqlInstanceInitializationConfig_Edition_EnterprisePlus + * Enterprise Plus edition. (Value: "ENTERPRISE_PLUS") + */ +@property(nonatomic, copy, nullable) NSString *edition; + +@end + + /** * ComputeInstanceBackupProperties represents Compute Engine instance backup * properties. @@ -3521,6 +3865,37 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week @end +/** + * Information of backup configuration on the DataSource. + */ +@interface GTLRBackupdr_DataSourceBackupConfigInfo : GTLRObject + +/** + * Output only. The status of the last backup in this DataSource + * + * Likely values: + * @arg @c kGTLRBackupdr_DataSourceBackupConfigInfo_LastBackupState_Failed + * The most recent backup failed (Value: "FAILED") + * @arg @c kGTLRBackupdr_DataSourceBackupConfigInfo_LastBackupState_FirstBackupPending + * The first backup has not yet completed (Value: "FIRST_BACKUP_PENDING") + * @arg @c kGTLRBackupdr_DataSourceBackupConfigInfo_LastBackupState_LastBackupStateUnspecified + * Status not set. (Value: "LAST_BACKUP_STATE_UNSPECIFIED") + * @arg @c kGTLRBackupdr_DataSourceBackupConfigInfo_LastBackupState_PermissionDenied + * The most recent backup could not be run/failed because of the lack of + * permissions (Value: "PERMISSION_DENIED") + * @arg @c kGTLRBackupdr_DataSourceBackupConfigInfo_LastBackupState_Succeeded + * The most recent backup was successful (Value: "SUCCEEDED") + */ +@property(nonatomic, copy, nullable) NSString *lastBackupState; + +/** + * Output only. Timestamp of the last successful backup to this DataSource. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastSuccessfulBackupConsistencyTime; + +@end + + /** * DataSourceGcpResource is used for protected resources that are Google Cloud * Resources. This name is easeier to understand than GcpResourceDataSource or @@ -3528,6 +3903,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week */ @interface GTLRBackupdr_DataSourceGcpResource : GTLRObject +/** + * Output only. CloudSqlInstanceDataSourceProperties has a subset of Cloud SQL + * Instance properties that are useful at the Datasource level. + */ +@property(nonatomic, strong, nullable) GTLRBackupdr_CloudSqlInstanceDataSourceProperties *cloudSqlInstanceDatasourceProperties; + /** * ComputeInstanceDataSourceProperties has a subset of Compute Instance * properties that are useful at the Datasource level. @@ -3557,6 +3938,87 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week @end +/** + * The GCP resource that the DataSource is associated with. + */ +@interface GTLRBackupdr_DataSourceGcpResourceInfo : GTLRObject + +/** Output only. The properties of the Cloud SQL instance. */ +@property(nonatomic, strong, nullable) GTLRBackupdr_CloudSqlInstanceDataSourceReferenceProperties *cloudSqlInstanceProperties; + +/** + * Output only. The resource name of the GCP resource. Ex: + * projects/{project}/zones/{zone}/instances/{instance} + */ +@property(nonatomic, copy, nullable) NSString *gcpResourcename; + +/** + * Output only. The location of the GCP resource. Ex: //"global"/"unspecified" + */ +@property(nonatomic, copy, nullable) NSString *location; + +/** + * Output only. The type of the GCP resource. Ex: + * compute.googleapis.com/Instance + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * DataSourceReference is a reference to a DataSource resource. + */ +@interface GTLRBackupdr_DataSourceReference : GTLRObject + +/** Output only. The time when the DataSourceReference was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Output only. The resource name of the DataSource. Format: + * projects/{project}/locations/{location}/backupVaults/{backupVault}/dataSources/{dataSource} + */ +@property(nonatomic, copy, nullable) NSString *dataSource; + +/** Output only. Information of backup configuration on the DataSource. */ +@property(nonatomic, strong, nullable) GTLRBackupdr_DataSourceBackupConfigInfo *dataSourceBackupConfigInfo; + +/** + * Output only. The backup configuration state of the DataSource. + * + * Likely values: + * @arg @c kGTLRBackupdr_DataSourceReference_DataSourceBackupConfigState_Active + * The data source is actively protected (i.e. there is a + * BackupPlanAssociation or Appliance SLA pointing to it) (Value: + * "ACTIVE") + * @arg @c kGTLRBackupdr_DataSourceReference_DataSourceBackupConfigState_BackupConfigStateUnspecified + * The possible states of backup configuration. Status not set. (Value: + * "BACKUP_CONFIG_STATE_UNSPECIFIED") + * @arg @c kGTLRBackupdr_DataSourceReference_DataSourceBackupConfigState_Passive + * The data source is no longer protected (but may have backups under it) + * (Value: "PASSIVE") + */ +@property(nonatomic, copy, nullable) NSString *dataSourceBackupConfigState; + +/** + * Output only. Number of backups in the DataSource. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *dataSourceBackupCount; + +/** Output only. The GCP resource that the DataSource is associated with. */ +@property(nonatomic, strong, nullable) GTLRBackupdr_DataSourceGcpResourceInfo *dataSourceGcpResourceInfo; + +/** + * Identifier. The resource name of the DataSourceReference. Format: + * projects/{project}/locations/{location}/dataSourceReferences/{data_source_reference} + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * DiskBackupProperties represents the properties of a Disk backup. */ @@ -3958,6 +4420,60 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week @end +/** + * Response for the FetchBackupPlanAssociationsForResourceType method. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "backupPlanAssociations" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRBackupdr_FetchBackupPlanAssociationsForResourceTypeResponse : GTLRCollectionObject + +/** + * Output only. The BackupPlanAssociations from the specified parent. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *backupPlanAssociations; + +/** + * Output only. A token, which can be sent as `page_token` to retrieve the next + * page. If this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * Response for the FetchDataSourceReferencesForResourceType method. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "dataSourceReferences" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRBackupdr_FetchDataSourceReferencesForResourceTypeResponse : GTLRCollectionObject + +/** + * The DataSourceReferences from the specified parent. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *dataSourceReferences; + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + /** * Response message for fetching usable BackupVaults. * @@ -4066,6 +4582,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week /** The description of the backup plan. */ @property(nonatomic, copy, nullable) NSString *backupPlanDescription; +/** The user friendly id of the backup plan revision. E.g. v0, v1 etc. */ +@property(nonatomic, copy, nullable) NSString *backupPlanRevisionId; + +/** The name of the backup plan revision. */ +@property(nonatomic, copy, nullable) NSString *backupPlanRevisionName; + /** The names of the backup plan rules which point to this backupvault */ @property(nonatomic, strong, nullable) NSArray *backupPlanRules; @@ -4085,6 +4607,19 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week */ @property(nonatomic, copy, nullable) NSString *backupPlan; +/** + * The user friendly id of the backup plan revision which triggered this backup + * in case of scheduled backup or used for on demand backup. + */ +@property(nonatomic, copy, nullable) NSString *backupPlanRevisionId; + +/** + * Resource name of the backup plan revision which triggered this backup in + * case of scheduled backup or used for on demand backup. Format: + * projects/{project}/locations/{location}/backupPlans/{backupPlanId}/revisions/{revisionId} + */ +@property(nonatomic, copy, nullable) NSString *backupPlanRevisionName; + /** * The rule id of the backup plan which triggered this backup in case of * scheduled backup or used for @@ -4186,6 +4721,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week */ @interface GTLRBackupdr_InitializeServiceRequest : GTLRObject +/** Optional. The configuration for initializing a Cloud SQL instance. */ +@property(nonatomic, strong, nullable) GTLRBackupdr_CloudSqlInstanceInitializationConfig *cloudSqlInstanceInitializationConfig; + /** * 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 @@ -4318,6 +4856,41 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week @end +/** + * The response message for getting a list of `BackupPlanRevision`. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "backupPlanRevisions" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRBackupdr_ListBackupPlanRevisionsResponse : GTLRCollectionObject + +/** + * The list of `BackupPlanRevisions` in the project for the specified location. + * If the `{location}` value in the request is "-", the response contains a + * list of resources from all locations. In case any location is unreachable, + * the response will only return backup plans in reachable locations and the + * 'unreachable' field will be populated with a list of unreachable locations. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *backupPlanRevisions; + +/** + * A token which may be sent as page_token in a subsequent + * `ListBackupPlanRevisions` call to retrieve the next page of results. If this + * field is omitted or empty, then there are no more results to return. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + /** * The response message for getting a list of `BackupPlan`. * diff --git a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h index acc3d049f..154f0980c 100644 --- a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h +++ b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h @@ -182,6 +182,77 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdrViewBackupViewUnspecified; @end +/** + * List BackupPlanAssociations for a given resource type. + * + * Method: backupdr.projects.locations.backupPlanAssociations.fetchForResourceType + * + * Authorization scope(s): + * @c kGTLRAuthScopeBackupdrCloudPlatform + */ +@interface GTLRBackupdrQuery_ProjectsLocationsBackupPlanAssociationsFetchForResourceType : GTLRBackupdrQuery + +/** + * Optional. A filter expression that filters the results fetched in the + * response. The expression must specify the field name, a comparison operator, + * and the value that you want to use for filtering. Supported fields: * + * resource * backup_plan * state * data_source * + * cloud_sql_instance_backup_plan_association_properties.instance_create_time + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. A comma-separated list of fields to order by, sorted in ascending + * order. Use "desc" after a field name for descending. Supported fields: * + * name + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. The maximum number of BackupPlanAssociations to return. The + * service may return fewer than this value. If unspecified, at most 50 + * BackupPlanAssociations will be returned. The maximum value is 100; values + * above 100 will be coerced to 100. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous call of + * `FetchBackupPlanAssociationsForResourceType`. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `FetchBackupPlanAssociationsForResourceType` must match the call that + * provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent resource name. Format: + * projects/{project}/locations/{location} + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** Required. The type of the GCP resource. Ex: sql.googleapis.com/Instance */ +@property(nonatomic, copy, nullable) NSString *resourceType; + +/** + * Fetches a @c + * GTLRBackupdr_FetchBackupPlanAssociationsForResourceTypeResponse. + * + * List BackupPlanAssociations for a given resource type. + * + * @param parent Required. The parent resource name. Format: + * projects/{project}/locations/{location} + * + * @return GTLRBackupdrQuery_ProjectsLocationsBackupPlanAssociationsFetchForResourceType + * + * @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 details of a single BackupPlanAssociation. * @@ -559,6 +630,153 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdrViewBackupViewUnspecified; @end +/** + * Update a BackupPlan + * + * Method: backupdr.projects.locations.backupPlans.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeBackupdrCloudPlatform + */ +@interface GTLRBackupdrQuery_ProjectsLocationsBackupPlansPatch : GTLRBackupdrQuery + +/** + * Output only. Identifier. The resource name of the `BackupPlan`. Format: + * `projects/{project}/locations/{location}/backupPlans/{backup_plan}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and t he 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; + +/** + * Required. The list of fields to update. Field mask is used to specify the + * fields to be overwritten in the BackupPlan 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 the request will fail. Currently, these fields + * are supported in update: description, schedules, retention period, adding + * and removing Backup Rules. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRBackupdr_Operation. + * + * Update a BackupPlan + * + * @param object The @c GTLRBackupdr_BackupPlan to include in the query. + * @param name Output only. Identifier. The resource name of the `BackupPlan`. + * Format: + * `projects/{project}/locations/{location}/backupPlans/{backup_plan}` + * + * @return GTLRBackupdrQuery_ProjectsLocationsBackupPlansPatch + */ ++ (instancetype)queryWithObject:(GTLRBackupdr_BackupPlan *)object + name:(NSString *)name; + +@end + +/** + * Gets details of a single BackupPlanRevision. + * + * Method: backupdr.projects.locations.backupPlans.revisions.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeBackupdrCloudPlatform + */ +@interface GTLRBackupdrQuery_ProjectsLocationsBackupPlansRevisionsGet : GTLRBackupdrQuery + +/** + * Required. The resource name of the `BackupPlanRevision` to retrieve. Format: + * `projects/{project}/locations/{location}/backupPlans/{backup_plan}/revisions/{revision}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRBackupdr_BackupPlanRevision. + * + * Gets details of a single BackupPlanRevision. + * + * @param name Required. The resource name of the `BackupPlanRevision` to + * retrieve. Format: + * `projects/{project}/locations/{location}/backupPlans/{backup_plan}/revisions/{revision}` + * + * @return GTLRBackupdrQuery_ProjectsLocationsBackupPlansRevisionsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists BackupPlanRevisions in a given project and location. + * + * Method: backupdr.projects.locations.backupPlans.revisions.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeBackupdrCloudPlatform + */ +@interface GTLRBackupdrQuery_ProjectsLocationsBackupPlansRevisionsList : GTLRBackupdrQuery + +/** + * Optional. The maximum number of `BackupPlans` to return in a single + * response. If not specified, a default value will be chosen by the service. + * Note that the response may include a partial list and a caller should only + * rely on the response's next_page_token to determine if there are more + * instances left to be queried. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. The value of next_page_token received from a previous + * `ListBackupPlans` call. Provide this to retrieve the subsequent page in a + * multi-page list of results. When paginating, all other parameters provided + * to `ListBackupPlans` must match the call that provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The project and location for which to retrieve + * `BackupPlanRevisions` information. Format: + * `projects/{project}/locations/{location}/backupPlans/{backup_plan}`. In + * Cloud BackupDR, locations map to GCP regions, for e.g. **us-central1**. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRBackupdr_ListBackupPlanRevisionsResponse. + * + * Lists BackupPlanRevisions in a given project and location. + * + * @param parent Required. The project and location for which to retrieve + * `BackupPlanRevisions` information. Format: + * `projects/{project}/locations/{location}/backupPlans/{backup_plan}`. In + * Cloud BackupDR, locations map to GCP regions, for e.g. **us-central1**. + * + * @return GTLRBackupdrQuery_ProjectsLocationsBackupPlansRevisionsList + * + * @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 BackupVault in a given project and location. * @@ -1603,6 +1821,112 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdrViewBackupViewUnspecified; @end +/** + * Fetch DataSourceReferences for a given project, location and resource type. + * + * Method: backupdr.projects.locations.dataSourceReferences.fetchForResourceType + * + * Authorization scope(s): + * @c kGTLRAuthScopeBackupdrCloudPlatform + */ +@interface GTLRBackupdrQuery_ProjectsLocationsDataSourceReferencesFetchForResourceType : GTLRBackupdrQuery + +/** + * Optional. A filter expression that filters the results fetched in the + * response. The expression must specify the field name, a comparison operator, + * and the value that you want to use for filtering. Supported fields: * + * data_source * data_source_gcp_resource_info.gcp_resourcename * + * data_source_backup_config_state * data_source_backup_count * + * data_source_backup_config_info.last_backup_state * + * data_source_gcp_resource_info.gcp_resourcename * + * data_source_gcp_resource_info.type * data_source_gcp_resource_info.location + * * + * data_source_gcp_resource_info.cloud_sql_instance_properties.instance_create_time + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. A comma-separated list of fields to order by, sorted in ascending + * order. Use "desc" after a field name for descending. Supported fields: * + * name + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. The maximum number of DataSourceReferences to return. The service + * may return fewer than this value. If unspecified, at most 50 + * DataSourceReferences will be returned. The maximum value is 100; values + * above 100 will be coerced to 100. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous call of + * `FetchDataSourceReferencesForResourceType`. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `FetchDataSourceReferencesForResourceType` must match the call that provided + * the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent resource name. Format: + * projects/{project}/locations/{location} + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** Required. The type of the GCP resource. Ex: sql.googleapis.com/Instance */ +@property(nonatomic, copy, nullable) NSString *resourceType; + +/** + * Fetches a @c GTLRBackupdr_FetchDataSourceReferencesForResourceTypeResponse. + * + * Fetch DataSourceReferences for a given project, location and resource type. + * + * @param parent Required. The parent resource name. Format: + * projects/{project}/locations/{location} + * + * @return GTLRBackupdrQuery_ProjectsLocationsDataSourceReferencesFetchForResourceType + * + * @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 details of a single DataSourceReference. + * + * Method: backupdr.projects.locations.dataSourceReferences.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeBackupdrCloudPlatform + */ +@interface GTLRBackupdrQuery_ProjectsLocationsDataSourceReferencesGet : GTLRBackupdrQuery + +/** + * Required. The name of the DataSourceReference to retrieve. Format: + * projects/{project}/locations/{location}/dataSourceReferences/{data_source_reference} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRBackupdr_DataSourceReference. + * + * Gets details of a single DataSourceReference. + * + * @param name Required. The name of the DataSourceReference to retrieve. + * Format: + * projects/{project}/locations/{location}/dataSourceReferences/{data_source_reference} + * + * @return GTLRBackupdrQuery_ProjectsLocationsDataSourceReferencesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Gets information about a location. * diff --git a/Sources/GeneratedServices/BackupforGKE/GTLRBackupforGKEObjects.m b/Sources/GeneratedServices/BackupforGKE/GTLRBackupforGKEObjects.m index 786c39138..b27e8bd46 100644 --- a/Sources/GeneratedServices/BackupforGKE/GTLRBackupforGKEObjects.m +++ b/Sources/GeneratedServices/BackupforGKE/GTLRBackupforGKEObjects.m @@ -189,8 +189,8 @@ @implementation GTLRBackupforGKE_Backup deleteLockExpireTime, descriptionProperty, encryptionKey, ETag, labels, manual, name, permissiveMode, podCount, resourceCount, retainDays, retainExpireTime, satisfiesPzi, satisfiesPzs, selectedApplications, - selectedNamespaces, sizeBytes, state, stateReason, uid, updateTime, - volumeCount; + selectedNamespaceLabels, selectedNamespaces, sizeBytes, state, + stateReason, uid, updateTime, volumeCount; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -258,7 +258,8 @@ + (Class)classForAdditionalProperties { @implementation GTLRBackupforGKE_BackupConfig @dynamic allNamespaces, encryptionKey, includeSecrets, includeVolumeData, - permissiveMode, selectedApplications, selectedNamespaces; + permissiveMode, selectedApplications, selectedNamespaceLabels, + selectedNamespaces; @end @@ -620,6 +621,16 @@ @implementation GTLRBackupforGKE_GroupKindDependency @end +// ---------------------------------------------------------------------------- +// +// GTLRBackupforGKE_Label +// + +@implementation GTLRBackupforGKE_Label +@dynamic key, value; +@end + + // ---------------------------------------------------------------------------- // // GTLRBackupforGKE_ListBackupChannelsResponse @@ -1012,6 +1023,24 @@ @implementation GTLRBackupforGKE_ResourceFilter @end +// ---------------------------------------------------------------------------- +// +// GTLRBackupforGKE_ResourceLabels +// + +@implementation GTLRBackupforGKE_ResourceLabels +@dynamic resourceLabels; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"resourceLabels" : [GTLRBackupforGKE_Label class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBackupforGKE_ResourceSelector diff --git a/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEObjects.h b/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEObjects.h index 15b45faf0..f81940610 100644 --- a/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEObjects.h +++ b/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEObjects.h @@ -44,6 +44,7 @@ @class GTLRBackupforGKE_GoogleRpcStatus_Details_Item; @class GTLRBackupforGKE_GroupKind; @class GTLRBackupforGKE_GroupKindDependency; +@class GTLRBackupforGKE_Label; @class GTLRBackupforGKE_Location; @class GTLRBackupforGKE_Location_Labels; @class GTLRBackupforGKE_Location_Metadata; @@ -52,6 +53,7 @@ @class GTLRBackupforGKE_Namespaces; @class GTLRBackupforGKE_Policy; @class GTLRBackupforGKE_ResourceFilter; +@class GTLRBackupforGKE_ResourceLabels; @class GTLRBackupforGKE_ResourceSelector; @class GTLRBackupforGKE_ResourceSelector_Labels; @class GTLRBackupforGKE_Restore; @@ -1023,6 +1025,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo */ @property(nonatomic, strong, nullable) GTLRBackupforGKE_NamespacedNames *selectedApplications; +/** + * Output only. If set, the list of labels whose constituent namespaces were + * included in the Backup. + */ +@property(nonatomic, strong, nullable) GTLRBackupforGKE_ResourceLabels *selectedNamespaceLabels; + /** * Output only. If set, the list of namespaces that were included in the * Backup. @@ -1230,6 +1238,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo */ @property(nonatomic, strong, nullable) GTLRBackupforGKE_NamespacedNames *selectedApplications; +/** + * If set, the list of labels whose constituent namespaces were included in the + * Backup. + */ +@property(nonatomic, strong, nullable) GTLRBackupforGKE_ResourceLabels *selectedNamespaceLabels; + /** If set, include just the resources in the listed namespaces. */ @property(nonatomic, strong, nullable) GTLRBackupforGKE_Namespaces *selectedNamespaces; @@ -2170,6 +2184,20 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo @end +/** + * A single Kubernetes label-value pair. + */ +@interface GTLRBackupforGKE_Label : GTLRObject + +/** Optional. The key/name of the label. */ +@property(nonatomic, copy, nullable) NSString *key; + +/** Optional. The value of the label. */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + + /** * Response message for ListBackupChannels. * @@ -2764,6 +2792,17 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo @end +/** + * A list of Kubernetes labels. + */ +@interface GTLRBackupforGKE_ResourceLabels : GTLRObject + +/** Optional. A list of Kubernetes label-value pairs. */ +@property(nonatomic, strong, nullable) NSArray *resourceLabels; + +@end + + /** * Defines a selector to identify a single or a group of resources. Conditions * in the selector are optional, but at least one field should be set to a diff --git a/Sources/GeneratedServices/BeyondCorp/GTLRBeyondCorpQuery.m b/Sources/GeneratedServices/BeyondCorp/GTLRBeyondCorpQuery.m index ca224ed07..29e1631e1 100644 --- a/Sources/GeneratedServices/BeyondCorp/GTLRBeyondCorpQuery.m +++ b/Sources/GeneratedServices/BeyondCorp/GTLRBeyondCorpQuery.m @@ -19,87 +19,6 @@ @implementation GTLRBeyondCorpQuery @end -@implementation GTLRBeyondCorpQuery_OrganizationsLocationsGlobalPartnerTenantsBrowserDlpRulesTestIamPermissions - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRBeyondCorp_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"; - GTLRBeyondCorpQuery_OrganizationsLocationsGlobalPartnerTenantsBrowserDlpRulesTestIamPermissions *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRBeyondCorp_GoogleIamV1TestIamPermissionsResponse class]; - query.loggingName = @"beyondcorp.organizations.locations.global.partnerTenants.browserDlpRules.testIamPermissions"; - return query; -} - -@end - -@implementation GTLRBeyondCorpQuery_OrganizationsLocationsGlobalPartnerTenantsProxyConfigsTestIamPermissions - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRBeyondCorp_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"; - GTLRBeyondCorpQuery_OrganizationsLocationsGlobalPartnerTenantsProxyConfigsTestIamPermissions *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRBeyondCorp_GoogleIamV1TestIamPermissionsResponse class]; - query.loggingName = @"beyondcorp.organizations.locations.global.partnerTenants.proxyConfigs.testIamPermissions"; - return query; -} - -@end - -@implementation GTLRBeyondCorpQuery_OrganizationsLocationsGlobalPartnerTenantsTestIamPermissions - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRBeyondCorp_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"; - GTLRBeyondCorpQuery_OrganizationsLocationsGlobalPartnerTenantsTestIamPermissions *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRBeyondCorp_GoogleIamV1TestIamPermissionsResponse class]; - query.loggingName = @"beyondcorp.organizations.locations.global.partnerTenants.testIamPermissions"; - return query; -} - -@end - @implementation GTLRBeyondCorpQuery_OrganizationsLocationsOperationsCancel @dynamic name; @@ -786,133 +705,6 @@ + (instancetype)queryWithObject:(GTLRBeyondCorp_GoogleIamV1TestIamPermissionsReq @end -@implementation GTLRBeyondCorpQuery_ProjectsLocationsClientConnectorServicesGetIamPolicy - -@dynamic optionsRequestedPolicyVersion, resource; - -+ (NSDictionary *)parameterNameMap { - return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; -} - -+ (instancetype)queryWithResource:(NSString *)resource { - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; - GTLRBeyondCorpQuery_ProjectsLocationsClientConnectorServicesGetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.resource = resource; - query.expectedObjectClass = [GTLRBeyondCorp_GoogleIamV1Policy class]; - query.loggingName = @"beyondcorp.projects.locations.clientConnectorServices.getIamPolicy"; - return query; -} - -@end - -@implementation GTLRBeyondCorpQuery_ProjectsLocationsClientConnectorServicesSetIamPolicy - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRBeyondCorp_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"; - GTLRBeyondCorpQuery_ProjectsLocationsClientConnectorServicesSetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRBeyondCorp_GoogleIamV1Policy class]; - query.loggingName = @"beyondcorp.projects.locations.clientConnectorServices.setIamPolicy"; - return query; -} - -@end - -@implementation GTLRBeyondCorpQuery_ProjectsLocationsClientConnectorServicesTestIamPermissions - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRBeyondCorp_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"; - GTLRBeyondCorpQuery_ProjectsLocationsClientConnectorServicesTestIamPermissions *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRBeyondCorp_GoogleIamV1TestIamPermissionsResponse class]; - query.loggingName = @"beyondcorp.projects.locations.clientConnectorServices.testIamPermissions"; - return query; -} - -@end - -@implementation GTLRBeyondCorpQuery_ProjectsLocationsClientGatewaysGetIamPolicy - -@dynamic optionsRequestedPolicyVersion, resource; - -+ (NSDictionary *)parameterNameMap { - return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; -} - -+ (instancetype)queryWithResource:(NSString *)resource { - NSArray *pathParams = @[ @"resource" ]; - NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; - GTLRBeyondCorpQuery_ProjectsLocationsClientGatewaysGetIamPolicy *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.resource = resource; - query.expectedObjectClass = [GTLRBeyondCorp_GoogleIamV1Policy class]; - query.loggingName = @"beyondcorp.projects.locations.clientGateways.getIamPolicy"; - return query; -} - -@end - -@implementation GTLRBeyondCorpQuery_ProjectsLocationsClientGatewaysTestIamPermissions - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRBeyondCorp_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"; - GTLRBeyondCorpQuery_ProjectsLocationsClientGatewaysTestIamPermissions *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRBeyondCorp_GoogleIamV1TestIamPermissionsResponse class]; - query.loggingName = @"beyondcorp.projects.locations.clientGateways.testIamPermissions"; - return query; -} - -@end - @implementation GTLRBeyondCorpQuery_ProjectsLocationsGet @dynamic name; @@ -932,87 +724,6 @@ + (instancetype)queryWithName:(NSString *)name { @end -@implementation GTLRBeyondCorpQuery_ProjectsLocationsGlobalSecurityGatewaysApplicationsCreate - -@dynamic applicationId, parent, requestId; - -+ (instancetype)queryWithObject:(GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1Application *)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}/applications"; - GTLRBeyondCorpQuery_ProjectsLocationsGlobalSecurityGatewaysApplicationsCreate *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.parent = parent; - query.expectedObjectClass = [GTLRBeyondCorp_GoogleLongrunningOperation class]; - query.loggingName = @"beyondcorp.projects.locations.global.securityGateways.applications.create"; - return query; -} - -@end - -@implementation GTLRBeyondCorpQuery_ProjectsLocationsGlobalSecurityGatewaysApplicationsPatch - -@dynamic name, requestId, updateMask; - -+ (instancetype)queryWithObject:(GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1Application *)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}"; - GTLRBeyondCorpQuery_ProjectsLocationsGlobalSecurityGatewaysApplicationsPatch *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"PATCH" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.name = name; - query.expectedObjectClass = [GTLRBeyondCorp_GoogleLongrunningOperation class]; - query.loggingName = @"beyondcorp.projects.locations.global.securityGateways.applications.patch"; - return query; -} - -@end - -@implementation GTLRBeyondCorpQuery_ProjectsLocationsGlobalSecurityGatewaysApplicationsTestIamPermissions - -@dynamic resource; - -+ (instancetype)queryWithObject:(GTLRBeyondCorp_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"; - GTLRBeyondCorpQuery_ProjectsLocationsGlobalSecurityGatewaysApplicationsTestIamPermissions *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.resource = resource; - query.expectedObjectClass = [GTLRBeyondCorp_GoogleIamV1TestIamPermissionsResponse class]; - query.loggingName = @"beyondcorp.projects.locations.global.securityGateways.applications.testIamPermissions"; - return query; -} - -@end - @implementation GTLRBeyondCorpQuery_ProjectsLocationsList @dynamic extraLocationTypes, filter, name, pageSize, pageToken; @@ -1123,6 +834,33 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRBeyondCorpQuery_ProjectsLocationsSecurityGatewaysApplicationsCreate + +@dynamic applicationId, parent, requestId; + ++ (instancetype)queryWithObject:(GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1Application *)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}/applications"; + GTLRBeyondCorpQuery_ProjectsLocationsSecurityGatewaysApplicationsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRBeyondCorp_GoogleLongrunningOperation class]; + query.loggingName = @"beyondcorp.projects.locations.securityGateways.applications.create"; + return query; +} + +@end + @implementation GTLRBeyondCorpQuery_ProjectsLocationsSecurityGatewaysApplicationsDelete @dynamic name, requestId, validateOnly; @@ -1203,6 +941,33 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRBeyondCorpQuery_ProjectsLocationsSecurityGatewaysApplicationsPatch + +@dynamic name, requestId, updateMask; + ++ (instancetype)queryWithObject:(GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1Application *)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}"; + GTLRBeyondCorpQuery_ProjectsLocationsSecurityGatewaysApplicationsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRBeyondCorp_GoogleLongrunningOperation class]; + query.loggingName = @"beyondcorp.projects.locations.securityGateways.applications.patch"; + return query; +} + +@end + @implementation GTLRBeyondCorpQuery_ProjectsLocationsSecurityGatewaysApplicationsSetIamPolicy @dynamic resource; @@ -1230,6 +995,33 @@ + (instancetype)queryWithObject:(GTLRBeyondCorp_GoogleIamV1SetIamPolicyRequest * @end +@implementation GTLRBeyondCorpQuery_ProjectsLocationsSecurityGatewaysApplicationsTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRBeyondCorp_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"; + GTLRBeyondCorpQuery_ProjectsLocationsSecurityGatewaysApplicationsTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRBeyondCorp_GoogleIamV1TestIamPermissionsResponse class]; + query.loggingName = @"beyondcorp.projects.locations.securityGateways.applications.testIamPermissions"; + return query; +} + +@end + @implementation GTLRBeyondCorpQuery_ProjectsLocationsSecurityGatewaysCreate @dynamic parent, requestId, securityGatewayId; diff --git a/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpObjects.h b/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpObjects.h index 8a2d3e9a9..e82a047cd 100644 --- a/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpObjects.h +++ b/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpObjects.h @@ -1868,7 +1868,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBeyondCorp_GoogleIamV1AuditLogConfig_Log /** - * Information about a BeyoncCorp SecurityGateway resource. + * Information about a BeyondCorp SecurityGateway resource. */ @interface GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway : GTLRObject diff --git a/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpQuery.h b/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpQuery.h index e8bd7585d..257fc606e 100644 --- a/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpQuery.h +++ b/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpQuery.h @@ -36,138 +36,6 @@ NS_ASSUME_NONNULL_BEGIN @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: beyondcorp.organizations.locations.global.partnerTenants.browserDlpRules.testIamPermissions - * - * Authorization scope(s): - * @c kGTLRAuthScopeBeyondCorpCloudPlatform - */ -@interface GTLRBeyondCorpQuery_OrganizationsLocationsGlobalPartnerTenantsBrowserDlpRulesTestIamPermissions : GTLRBeyondCorpQuery - -/** - * 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 GTLRBeyondCorp_GoogleIamV1TestIamPermissionsResponse. - * - * Returns permissions that a caller has on the specified resource. If the - * resource does not exist, this will return an empty set of permissions, not a - * `NOT_FOUND` error. Note: This operation is designed to be used for building - * permission-aware UIs and command-line tools, not for authorization checking. - * This operation may "fail open" without warning. - * - * @param object The @c GTLRBeyondCorp_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 GTLRBeyondCorpQuery_OrganizationsLocationsGlobalPartnerTenantsBrowserDlpRulesTestIamPermissions - */ -+ (instancetype)queryWithObject:(GTLRBeyondCorp_GoogleIamV1TestIamPermissionsRequest *)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: beyondcorp.organizations.locations.global.partnerTenants.proxyConfigs.testIamPermissions - * - * Authorization scope(s): - * @c kGTLRAuthScopeBeyondCorpCloudPlatform - */ -@interface GTLRBeyondCorpQuery_OrganizationsLocationsGlobalPartnerTenantsProxyConfigsTestIamPermissions : GTLRBeyondCorpQuery - -/** - * 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 GTLRBeyondCorp_GoogleIamV1TestIamPermissionsResponse. - * - * Returns permissions that a caller has on the specified resource. If the - * resource does not exist, this will return an empty set of permissions, not a - * `NOT_FOUND` error. Note: This operation is designed to be used for building - * permission-aware UIs and command-line tools, not for authorization checking. - * This operation may "fail open" without warning. - * - * @param object The @c GTLRBeyondCorp_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 GTLRBeyondCorpQuery_OrganizationsLocationsGlobalPartnerTenantsProxyConfigsTestIamPermissions - */ -+ (instancetype)queryWithObject:(GTLRBeyondCorp_GoogleIamV1TestIamPermissionsRequest *)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: beyondcorp.organizations.locations.global.partnerTenants.testIamPermissions - * - * Authorization scope(s): - * @c kGTLRAuthScopeBeyondCorpCloudPlatform - */ -@interface GTLRBeyondCorpQuery_OrganizationsLocationsGlobalPartnerTenantsTestIamPermissions : GTLRBeyondCorpQuery - -/** - * 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 GTLRBeyondCorp_GoogleIamV1TestIamPermissionsResponse. - * - * Returns permissions that a caller has on the specified resource. If the - * resource does not exist, this will return an empty set of permissions, not a - * `NOT_FOUND` error. Note: This operation is designed to be used for building - * permission-aware UIs and command-line tools, not for authorization checking. - * This operation may "fail open" without warning. - * - * @param object The @c GTLRBeyondCorp_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 GTLRBeyondCorpQuery_OrganizationsLocationsGlobalPartnerTenantsTestIamPermissions - */ -+ (instancetype)queryWithObject:(GTLRBeyondCorp_GoogleIamV1TestIamPermissionsRequest *)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. @@ -1582,478 +1450,106 @@ 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. + * Gets information about a location. * - * Method: beyondcorp.projects.locations.clientConnectorServices.getIamPolicy + * Method: beyondcorp.projects.locations.get * * Authorization scope(s): * @c kGTLRAuthScopeBeyondCorpCloudPlatform */ -@interface GTLRBeyondCorpQuery_ProjectsLocationsClientConnectorServicesGetIamPolicy : GTLRBeyondCorpQuery - -/** - * 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; +@interface GTLRBeyondCorpQuery_ProjectsLocationsGet : GTLRBeyondCorpQuery -/** - * 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; +/** Resource name for the location. */ +@property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c GTLRBeyondCorp_GoogleIamV1Policy. + * Fetches a @c GTLRBeyondCorp_GoogleCloudLocationLocation. * - * Gets the access control policy for a resource. Returns an empty policy if - * the resource exists and does not have a policy set. + * Gets information about a location. * - * @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. + * @param name Resource name for the location. * - * @return GTLRBeyondCorpQuery_ProjectsLocationsClientConnectorServicesGetIamPolicy + * @return GTLRBeyondCorpQuery_ProjectsLocationsGet */ -+ (instancetype)queryWithResource:(NSString *)resource; ++ (instancetype)queryWithName:(NSString *)name; @end /** - * Sets the access control policy on the specified resource. Replaces any - * existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and - * `PERMISSION_DENIED` errors. + * Lists information about the supported locations for this service. * - * Method: beyondcorp.projects.locations.clientConnectorServices.setIamPolicy + * Method: beyondcorp.projects.locations.list * * Authorization scope(s): * @c kGTLRAuthScopeBeyondCorpCloudPlatform */ -@interface GTLRBeyondCorpQuery_ProjectsLocationsClientConnectorServicesSetIamPolicy : GTLRBeyondCorpQuery +@interface GTLRBeyondCorpQuery_ProjectsLocationsList : GTLRBeyondCorpQuery /** - * 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. + * Optional. A list of extra location types that should be used as conditions + * for controlling the visibility of the locations. */ -@property(nonatomic, copy, nullable) NSString *resource; +@property(nonatomic, strong, nullable) NSArray *extraLocationTypes; /** - * Fetches a @c GTLRBeyondCorp_GoogleIamV1Policy. - * - * Sets the access control policy on the specified resource. Replaces any - * existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and - * `PERMISSION_DENIED` errors. - * - * @param object The @c GTLRBeyondCorp_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 GTLRBeyondCorpQuery_ProjectsLocationsClientConnectorServicesSetIamPolicy + * 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). */ -+ (instancetype)queryWithObject:(GTLRBeyondCorp_GoogleIamV1SetIamPolicyRequest *)object - resource:(NSString *)resource; +@property(nonatomic, copy, nullable) NSString *filter; -@end +/** The resource that owns the locations collection, if applicable. */ +@property(nonatomic, copy, nullable) NSString *name; /** - * 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: beyondcorp.projects.locations.clientConnectorServices.testIamPermissions - * - * Authorization scope(s): - * @c kGTLRAuthScopeBeyondCorpCloudPlatform + * The maximum number of results to return. If not set, the service selects a + * default. */ -@interface GTLRBeyondCorpQuery_ProjectsLocationsClientConnectorServicesTestIamPermissions : GTLRBeyondCorpQuery +@property(nonatomic, assign) NSInteger pageSize; /** - * 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. + * 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 *resource; +@property(nonatomic, copy, nullable) NSString *pageToken; /** - * Fetches a @c GTLRBeyondCorp_GoogleIamV1TestIamPermissionsResponse. + * Fetches a @c GTLRBeyondCorp_GoogleCloudLocationListLocationsResponse. * - * 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. + * Lists information about the supported locations for this service. * - * @param object The @c GTLRBeyondCorp_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. + * @param name The resource that owns the locations collection, if applicable. * - * @return GTLRBeyondCorpQuery_ProjectsLocationsClientConnectorServicesTestIamPermissions + * @return GTLRBeyondCorpQuery_ProjectsLocationsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. */ -+ (instancetype)queryWithObject:(GTLRBeyondCorp_GoogleIamV1TestIamPermissionsRequest *)object - resource:(NSString *)resource; ++ (instancetype)queryWithName:(NSString *)name; @end /** - * Gets the access control policy for a resource. Returns an empty policy if - * the resource exists and does not have a policy set. + * 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: beyondcorp.projects.locations.clientGateways.getIamPolicy + * Method: beyondcorp.projects.locations.operations.cancel * * Authorization scope(s): * @c kGTLRAuthScopeBeyondCorpCloudPlatform */ -@interface GTLRBeyondCorpQuery_ProjectsLocationsClientGatewaysGetIamPolicy : GTLRBeyondCorpQuery - -/** - * 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 GTLRBeyondCorp_GoogleIamV1Policy. - * - * Gets the access control policy for a resource. Returns an empty policy if - * the resource exists and does not have a policy set. - * - * @param resource REQUIRED: The resource for which the policy is being - * requested. See [Resource - * names](https://cloud.google.com/apis/design/resource_names) for the - * appropriate value for this field. - * - * @return GTLRBeyondCorpQuery_ProjectsLocationsClientGatewaysGetIamPolicy - */ -+ (instancetype)queryWithResource:(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: beyondcorp.projects.locations.clientGateways.testIamPermissions - * - * Authorization scope(s): - * @c kGTLRAuthScopeBeyondCorpCloudPlatform - */ -@interface GTLRBeyondCorpQuery_ProjectsLocationsClientGatewaysTestIamPermissions : GTLRBeyondCorpQuery - -/** - * 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 GTLRBeyondCorp_GoogleIamV1TestIamPermissionsResponse. - * - * Returns permissions that a caller has on the specified resource. If the - * resource does not exist, this will return an empty set of permissions, not a - * `NOT_FOUND` error. Note: This operation is designed to be used for building - * permission-aware UIs and command-line tools, not for authorization checking. - * This operation may "fail open" without warning. - * - * @param object The @c GTLRBeyondCorp_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 GTLRBeyondCorpQuery_ProjectsLocationsClientGatewaysTestIamPermissions - */ -+ (instancetype)queryWithObject:(GTLRBeyondCorp_GoogleIamV1TestIamPermissionsRequest *)object - resource:(NSString *)resource; - -@end - -/** - * Gets information about a location. - * - * Method: beyondcorp.projects.locations.get - * - * Authorization scope(s): - * @c kGTLRAuthScopeBeyondCorpCloudPlatform - */ -@interface GTLRBeyondCorpQuery_ProjectsLocationsGet : GTLRBeyondCorpQuery - -/** Resource name for the location. */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Fetches a @c GTLRBeyondCorp_GoogleCloudLocationLocation. - * - * Gets information about a location. - * - * @param name Resource name for the location. - * - * @return GTLRBeyondCorpQuery_ProjectsLocationsGet - */ -+ (instancetype)queryWithName:(NSString *)name; - -@end - -/** - * Creates a new Application in a given project and location. - * - * Method: beyondcorp.projects.locations.global.securityGateways.applications.create - * - * Authorization scope(s): - * @c kGTLRAuthScopeBeyondCorpCloudPlatform - */ -@interface GTLRBeyondCorpQuery_ProjectsLocationsGlobalSecurityGatewaysApplicationsCreate : GTLRBeyondCorpQuery - -/** - * Optional. User-settable Application resource ID. * Must start with a letter. - * * Must contain between 4-63 characters from `/a-z-/`. * Must end with a - * number or letter. - */ -@property(nonatomic, copy, nullable) NSString *applicationId; - -/** - * Required. The resource name of the parent SecurityGateway using the form: - * `projects/{project_id}/locations/global/securityGateways/{security_gateway_id}` - */ -@property(nonatomic, copy, nullable) NSString *parent; - -/** - * Optional. An optional request ID to identify requests. Specify a unique - * request ID so that if you must retry your request, the server will know to - * ignore request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. - */ -@property(nonatomic, copy, nullable) NSString *requestId; - -/** - * Fetches a @c GTLRBeyondCorp_GoogleLongrunningOperation. - * - * Creates a new Application in a given project and location. - * - * @param object The @c - * GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1Application to - * include in the query. - * @param parent Required. The resource name of the parent SecurityGateway - * using the form: - * `projects/{project_id}/locations/global/securityGateways/{security_gateway_id}` - * - * @return GTLRBeyondCorpQuery_ProjectsLocationsGlobalSecurityGatewaysApplicationsCreate - */ -+ (instancetype)queryWithObject:(GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1Application *)object - parent:(NSString *)parent; - -@end - -/** - * Updates the parameters of a single Application. - * - * Method: beyondcorp.projects.locations.global.securityGateways.applications.patch - * - * Authorization scope(s): - * @c kGTLRAuthScopeBeyondCorpCloudPlatform - */ -@interface GTLRBeyondCorpQuery_ProjectsLocationsGlobalSecurityGatewaysApplicationsPatch : GTLRBeyondCorpQuery - -/** Identifier. Name of the resource. */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Optional. An optional request ID to identify requests. Specify a unique - * request ID so that if you must retry your request, the server will know to - * ignore the request if it has already been completed. The server will - * guarantee that for at least 60 minutes after the first request. For example, - * consider a situation where you make an initial request and the request timed - * 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. Mutable fields include: display_name. - * - * String format is a comma-separated list of fields. - */ -@property(nonatomic, copy, nullable) NSString *updateMask; - -/** - * Fetches a @c GTLRBeyondCorp_GoogleLongrunningOperation. - * - * Updates the parameters of a single Application. - * - * @param object The @c - * GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1Application to - * include in the query. - * @param name Identifier. Name of the resource. - * - * @return GTLRBeyondCorpQuery_ProjectsLocationsGlobalSecurityGatewaysApplicationsPatch - */ -+ (instancetype)queryWithObject:(GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1Application *)object - name:(NSString *)name; - -@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: beyondcorp.projects.locations.global.securityGateways.applications.testIamPermissions - * - * Authorization scope(s): - * @c kGTLRAuthScopeBeyondCorpCloudPlatform - */ -@interface GTLRBeyondCorpQuery_ProjectsLocationsGlobalSecurityGatewaysApplicationsTestIamPermissions : GTLRBeyondCorpQuery - -/** - * 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 GTLRBeyondCorp_GoogleIamV1TestIamPermissionsResponse. - * - * Returns permissions that a caller has on the specified resource. If the - * resource does not exist, this will return an empty set of permissions, not a - * `NOT_FOUND` error. Note: This operation is designed to be used for building - * permission-aware UIs and command-line tools, not for authorization checking. - * This operation may "fail open" without warning. - * - * @param object The @c GTLRBeyondCorp_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 GTLRBeyondCorpQuery_ProjectsLocationsGlobalSecurityGatewaysApplicationsTestIamPermissions - */ -+ (instancetype)queryWithObject:(GTLRBeyondCorp_GoogleIamV1TestIamPermissionsRequest *)object - resource:(NSString *)resource; - -@end - -/** - * Lists information about the supported locations for this service. - * - * Method: beyondcorp.projects.locations.list - * - * Authorization scope(s): - * @c kGTLRAuthScopeBeyondCorpCloudPlatform - */ -@interface GTLRBeyondCorpQuery_ProjectsLocationsList : GTLRBeyondCorpQuery - -/** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. - */ -@property(nonatomic, strong, nullable) NSArray *extraLocationTypes; - -/** - * A filter to narrow down results to a preferred subset. The filtering - * language accepts strings like `"displayName=tokyo"`, and is documented in - * more detail in [AIP-160](https://google.aip.dev/160). - */ -@property(nonatomic, copy, nullable) NSString *filter; - -/** The resource that owns the locations collection, if applicable. */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * The maximum number of results to return. If not set, the service selects a - * default. - */ -@property(nonatomic, assign) NSInteger pageSize; - -/** - * A page token received from the `next_page_token` field in the response. Send - * that page token to receive the subsequent page. - */ -@property(nonatomic, copy, nullable) NSString *pageToken; - -/** - * Fetches a @c GTLRBeyondCorp_GoogleCloudLocationListLocationsResponse. - * - * Lists information about the supported locations for this service. - * - * @param name The resource that owns the locations collection, if applicable. - * - * @return GTLRBeyondCorpQuery_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: beyondcorp.projects.locations.operations.cancel - * - * Authorization scope(s): - * @c kGTLRAuthScopeBeyondCorpCloudPlatform - */ -@interface GTLRBeyondCorpQuery_ProjectsLocationsOperationsCancel : GTLRBeyondCorpQuery - -/** The name of the operation resource to be cancelled. */ -@property(nonatomic, copy, nullable) NSString *name; +@interface GTLRBeyondCorpQuery_ProjectsLocationsOperationsCancel : GTLRBeyondCorpQuery + +/** The name of the operation resource to be cancelled. */ +@property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRBeyondCorp_Empty. @@ -2182,6 +1678,56 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Creates a new Application in a given project and location. + * + * Method: beyondcorp.projects.locations.securityGateways.applications.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeBeyondCorpCloudPlatform + */ +@interface GTLRBeyondCorpQuery_ProjectsLocationsSecurityGatewaysApplicationsCreate : GTLRBeyondCorpQuery + +/** + * Optional. User-settable Application resource ID. * Must start with a letter. + * * Must contain between 4-63 characters from `/a-z-/`. * Must end with a + * number or letter. + */ +@property(nonatomic, copy, nullable) NSString *applicationId; + +/** + * Required. The resource name of the parent SecurityGateway using the form: + * `projects/{project_id}/locations/global/securityGateways/{security_gateway_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore request if it has already been completed. The server will guarantee + * that for at least 60 minutes since the first request. + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRBeyondCorp_GoogleLongrunningOperation. + * + * Creates a new Application in a given project and location. + * + * @param object The @c + * GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1Application to + * include in the query. + * @param parent Required. The resource name of the parent SecurityGateway + * using the form: + * `projects/{project_id}/locations/global/securityGateways/{security_gateway_id}` + * + * @return GTLRBeyondCorpQuery_ProjectsLocationsSecurityGatewaysApplicationsCreate + */ ++ (instancetype)queryWithObject:(GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1Application *)object + parent:(NSString *)parent; + +@end + /** * Deletes a single Application. * @@ -2374,6 +1920,58 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Updates the parameters of a single Application. + * + * Method: beyondcorp.projects.locations.securityGateways.applications.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeBeyondCorpCloudPlatform + */ +@interface GTLRBeyondCorpQuery_ProjectsLocationsSecurityGatewaysApplicationsPatch : GTLRBeyondCorpQuery + +/** Identifier. Name of the resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes after the first request. For example, + * consider a situation where you make an initial request and the request timed + * 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. Mutable fields include: display_name. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRBeyondCorp_GoogleLongrunningOperation. + * + * Updates the parameters of a single Application. + * + * @param object The @c + * GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1Application to + * include in the query. + * @param name Identifier. Name of the resource. + * + * @return GTLRBeyondCorpQuery_ProjectsLocationsSecurityGatewaysApplicationsPatch + */ ++ (instancetype)queryWithObject:(GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1Application *)object + name:(NSString *)name; + +@end + /** * Sets the access control policy on the specified resource. Replaces any * existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and @@ -2414,6 +2012,50 @@ NS_ASSUME_NONNULL_BEGIN @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: beyondcorp.projects.locations.securityGateways.applications.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeBeyondCorpCloudPlatform + */ +@interface GTLRBeyondCorpQuery_ProjectsLocationsSecurityGatewaysApplicationsTestIamPermissions : GTLRBeyondCorpQuery + +/** + * 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 GTLRBeyondCorp_GoogleIamV1TestIamPermissionsResponse. + * + * Returns permissions that a caller has on the specified resource. If the + * resource does not exist, this will return an empty set of permissions, not a + * `NOT_FOUND` error. Note: This operation is designed to be used for building + * permission-aware UIs and command-line tools, not for authorization checking. + * This operation may "fail open" without warning. + * + * @param object The @c GTLRBeyondCorp_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 GTLRBeyondCorpQuery_ProjectsLocationsSecurityGatewaysApplicationsTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRBeyondCorp_GoogleIamV1TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + /** * Creates a new SecurityGateway in a given project and location. * diff --git a/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationObjects.m b/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationObjects.m index 522441903..c7df03ddc 100644 --- a/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationObjects.m +++ b/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationObjects.m @@ -4,7 +4,7 @@ // API: // BigQuery Reservation API (bigqueryreservation/v1) // Description: -// A service to modify your BigQuery flat-rate reservations. +// A service to modify your BigQuery reservations. // Documentation: // https://cloud.google.com/bigquery/ @@ -267,6 +267,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryReservation_ListReservationGroupsResponse +// + +@implementation GTLRBigQueryReservation_ListReservationGroupsResponse +@dynamic nextPageToken, reservationGroups; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"reservationGroups" : [GTLRBigQueryReservation_ReservationGroup class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"reservationGroups"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBigQueryReservation_ListReservationsResponse @@ -358,8 +380,8 @@ @implementation GTLRBigQueryReservation_ReplicationStatus @implementation GTLRBigQueryReservation_Reservation @dynamic autoscale, concurrency, creationTime, edition, ignoreIdleSlots, labels, maxSlots, multiRegionAuxiliary, name, originalPrimaryLocation, - primaryLocation, replicationStatus, scalingMode, secondaryLocation, - slotCapacity, updateTime; + primaryLocation, replicationStatus, reservationGroup, scalingMode, + secondaryLocation, slotCapacity, updateTime; @end @@ -377,6 +399,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRBigQueryReservation_ReservationGroup +// + +@implementation GTLRBigQueryReservation_ReservationGroup +@dynamic name; +@end + + // ---------------------------------------------------------------------------- // // GTLRBigQueryReservation_SearchAllAssignmentsResponse diff --git a/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationQuery.m b/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationQuery.m index c7aa56460..64fc837a9 100644 --- a/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationQuery.m +++ b/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationQuery.m @@ -4,7 +4,7 @@ // API: // BigQuery Reservation API (bigqueryreservation/v1) // Description: -// A service to modify your BigQuery flat-rate reservations. +// A service to modify your BigQuery reservations. // Documentation: // https://cloud.google.com/bigquery/ @@ -203,6 +203,90 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRBigQueryReservationQuery_ProjectsLocationsReservationGroupsCreate + +@dynamic parent, reservationGroupId; + ++ (instancetype)queryWithObject:(GTLRBigQueryReservation_ReservationGroup *)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}/reservationGroups"; + GTLRBigQueryReservationQuery_ProjectsLocationsReservationGroupsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRBigQueryReservation_ReservationGroup class]; + query.loggingName = @"bigqueryreservation.projects.locations.reservationGroups.create"; + return query; +} + +@end + +@implementation GTLRBigQueryReservationQuery_ProjectsLocationsReservationGroupsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRBigQueryReservationQuery_ProjectsLocationsReservationGroupsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRBigQueryReservation_Empty class]; + query.loggingName = @"bigqueryreservation.projects.locations.reservationGroups.delete"; + return query; +} + +@end + +@implementation GTLRBigQueryReservationQuery_ProjectsLocationsReservationGroupsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRBigQueryReservationQuery_ProjectsLocationsReservationGroupsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRBigQueryReservation_ReservationGroup class]; + query.loggingName = @"bigqueryreservation.projects.locations.reservationGroups.get"; + return query; +} + +@end + +@implementation GTLRBigQueryReservationQuery_ProjectsLocationsReservationGroupsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/reservationGroups"; + GTLRBigQueryReservationQuery_ProjectsLocationsReservationGroupsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRBigQueryReservation_ListReservationGroupsResponse class]; + query.loggingName = @"bigqueryreservation.projects.locations.reservationGroups.list"; + return query; +} + +@end + @implementation GTLRBigQueryReservationQuery_ProjectsLocationsReservationsAssignmentsCreate @dynamic assignmentId, parent; diff --git a/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationService.m b/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationService.m index 81a0e89f4..8ecea9c86 100644 --- a/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationService.m +++ b/Sources/GeneratedServices/BigQueryReservation/GTLRBigQueryReservationService.m @@ -4,7 +4,7 @@ // API: // BigQuery Reservation API (bigqueryreservation/v1) // Description: -// A service to modify your BigQuery flat-rate reservations. +// A service to modify your BigQuery reservations. // Documentation: // https://cloud.google.com/bigquery/ diff --git a/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservation.h b/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservation.h index ba5193f36..00ea8e3cd 100644 --- a/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservation.h +++ b/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservation.h @@ -4,7 +4,7 @@ // API: // BigQuery Reservation API (bigqueryreservation/v1) // Description: -// A service to modify your BigQuery flat-rate reservations. +// A service to modify your BigQuery reservations. // Documentation: // https://cloud.google.com/bigquery/ diff --git a/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationObjects.h b/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationObjects.h index 7d4afd31e..52e2a50f4 100644 --- a/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationObjects.h +++ b/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationObjects.h @@ -4,7 +4,7 @@ // API: // BigQuery Reservation API (bigqueryreservation/v1) // Description: -// A service to modify your BigQuery flat-rate reservations. +// A service to modify your BigQuery reservations. // Documentation: // https://cloud.google.com/bigquery/ @@ -25,6 +25,7 @@ @class GTLRBigQueryReservation_ReplicationStatus; @class GTLRBigQueryReservation_Reservation; @class GTLRBigQueryReservation_Reservation_Labels; +@class GTLRBigQueryReservation_ReservationGroup; @class GTLRBigQueryReservation_Status; @class GTLRBigQueryReservation_Status_Details_Item; @class GTLRBigQueryReservation_TableReference; @@ -1098,6 +1099,33 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Reservation_ScalingM @end +/** + * The response for ReservationService.ListReservationGroups. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "reservationGroups" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRBigQueryReservation_ListReservationGroupsResponse : GTLRCollectionObject + +/** + * Token to retrieve the next page of results, or empty if there are no more + * results in the list. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * List of reservations visible to the user. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *reservationGroups; + +@end + + /** * The response for ReservationService.ListReservations. * @@ -1352,8 +1380,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Reservation_ScalingM /** * Optional. The labels associated with this reservation. You can use these to - * organize and group your reservations. You can set this property when - * inserting or updating a reservation. + * organize and group your reservations. You can set this property when you + * create or update a reservation. */ @property(nonatomic, strong, nullable) GTLRBigQueryReservation_Reservation_Labels *labels; @@ -1442,6 +1470,15 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Reservation_ScalingM */ @property(nonatomic, strong, nullable) GTLRBigQueryReservation_ReplicationStatus *replicationStatus; +/** + * Optional. The reservation group that this reservation belongs to. You can + * set this property when you create or update a reservation. Reservations do + * not need to belong to a reservation group. Format: + * projects/{project}/locations/{location}/reservationGroups/{reservation_group} + * or just {reservation_group} + */ +@property(nonatomic, copy, nullable) NSString *reservationGroup; + /** * Optional. The scaling mode for the reservation. If the field is present but * max_slots is not present, requests will be rejected with error code @@ -1530,8 +1567,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Reservation_ScalingM /** * Optional. The labels associated with this reservation. You can use these to - * organize and group your reservations. You can set this property when - * inserting or updating a reservation. + * organize and group your reservations. You can set this property when you + * create or update a reservation. * * @note This class is documented as having more properties of NSString. Use @c * -additionalJSONKeys and @c -additionalPropertyForName: to get the list @@ -1542,6 +1579,23 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryReservation_Reservation_ScalingM @end +/** + * A reservation group is a container for reservations. + */ +@interface GTLRBigQueryReservation_ReservationGroup : GTLRObject + +/** + * Identifier. The resource name of the reservation group, e.g., `projects/ * + * /locations/ * /reservationGroups/team1-prod`. The reservation_group_id must + * only contain lower case alphanumeric characters or dashes. It must start + * with a letter and must not end with a dash. Its maximum length is 64 + * characters. + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * The response for ReservationService.SearchAllAssignments. * diff --git a/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationQuery.h b/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationQuery.h index 220681081..19dc901ae 100644 --- a/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationQuery.h +++ b/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationQuery.h @@ -4,7 +4,7 @@ // API: // BigQuery Reservation API (bigqueryreservation/v1) // Description: -// A service to modify your BigQuery flat-rate reservations. +// A service to modify your BigQuery reservations. // Documentation: // https://cloud.google.com/bigquery/ @@ -366,6 +366,151 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Creates a new reservation group. + * + * Method: bigqueryreservation.projects.locations.reservationGroups.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigQueryReservationBigquery + * @c kGTLRAuthScopeBigQueryReservationCloudPlatform + */ +@interface GTLRBigQueryReservationQuery_ProjectsLocationsReservationGroupsCreate : GTLRBigQueryReservationQuery + +/** Required. Project, location. E.g., `projects/myproject/locations/US` */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Required. The reservation group ID. It must only contain lower case + * alphanumeric characters or dashes. It must start with a letter and must not + * end with a dash. Its maximum length is 64 characters. + */ +@property(nonatomic, copy, nullable) NSString *reservationGroupId; + +/** + * Fetches a @c GTLRBigQueryReservation_ReservationGroup. + * + * Creates a new reservation group. + * + * @param object The @c GTLRBigQueryReservation_ReservationGroup to include in + * the query. + * @param parent Required. Project, location. E.g., + * `projects/myproject/locations/US` + * + * @return GTLRBigQueryReservationQuery_ProjectsLocationsReservationGroupsCreate + */ ++ (instancetype)queryWithObject:(GTLRBigQueryReservation_ReservationGroup *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a reservation. Returns `google.rpc.Code.FAILED_PRECONDITION` when + * reservation has assignments. + * + * Method: bigqueryreservation.projects.locations.reservationGroups.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigQueryReservationBigquery + * @c kGTLRAuthScopeBigQueryReservationCloudPlatform + */ +@interface GTLRBigQueryReservationQuery_ProjectsLocationsReservationGroupsDelete : GTLRBigQueryReservationQuery + +/** + * Required. Resource name of the reservation group to retrieve. E.g., + * `projects/myproject/locations/US/reservationGroups/team1-prod` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRBigQueryReservation_Empty. + * + * Deletes a reservation. Returns `google.rpc.Code.FAILED_PRECONDITION` when + * reservation has assignments. + * + * @param name Required. Resource name of the reservation group to retrieve. + * E.g., `projects/myproject/locations/US/reservationGroups/team1-prod` + * + * @return GTLRBigQueryReservationQuery_ProjectsLocationsReservationGroupsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Returns information about the reservation group. + * + * Method: bigqueryreservation.projects.locations.reservationGroups.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigQueryReservationBigquery + * @c kGTLRAuthScopeBigQueryReservationCloudPlatform + */ +@interface GTLRBigQueryReservationQuery_ProjectsLocationsReservationGroupsGet : GTLRBigQueryReservationQuery + +/** + * Required. Resource name of the reservation group to retrieve. E.g., + * `projects/myproject/locations/US/reservationGroups/team1-prod` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRBigQueryReservation_ReservationGroup. + * + * Returns information about the reservation group. + * + * @param name Required. Resource name of the reservation group to retrieve. + * E.g., `projects/myproject/locations/US/reservationGroups/team1-prod` + * + * @return GTLRBigQueryReservationQuery_ProjectsLocationsReservationGroupsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists all the reservation groups for the project in the specified location. + * + * Method: bigqueryreservation.projects.locations.reservationGroups.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigQueryReservationBigquery + * @c kGTLRAuthScopeBigQueryReservationCloudPlatform + */ +@interface GTLRBigQueryReservationQuery_ProjectsLocationsReservationGroupsList : GTLRBigQueryReservationQuery + +/** The maximum number of items to return per page. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * The next_page_token value returned from a previous List request, if any. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent resource name containing project and location, e.g.: + * `projects/myproject/locations/US` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRBigQueryReservation_ListReservationGroupsResponse. + * + * Lists all the reservation groups for the project in the specified location. + * + * @param parent Required. The parent resource name containing project and + * location, e.g.: `projects/myproject/locations/US` + * + * @return GTLRBigQueryReservationQuery_ProjectsLocationsReservationGroupsList + * + * @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 an assignment object which allows the given project to submit jobs * of a certain type using slots from the specified reservation. Currently a diff --git a/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationService.h b/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationService.h index 775f419dd..a1f1b8cc6 100644 --- a/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationService.h +++ b/Sources/GeneratedServices/BigQueryReservation/Public/GoogleAPIClientForREST/GTLRBigQueryReservationService.h @@ -4,7 +4,7 @@ // API: // BigQuery Reservation API (bigqueryreservation/v1) // Description: -// A service to modify your BigQuery flat-rate reservations. +// A service to modify your BigQuery reservations. // Documentation: // https://cloud.google.com/bigquery/ @@ -46,7 +46,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeBigQueryReservationCloudPlatfor /** * Service for executing BigQuery Reservation API queries. * - * A service to modify your BigQuery flat-rate reservations. + * A service to modify your BigQuery reservations. */ @interface GTLRBigQueryReservationService : GTLRService diff --git a/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m b/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m index 32b2d029f..73fcab1ec 100644 --- a/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m +++ b/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m @@ -158,6 +158,7 @@ NSString * const kGTLRBigquery_IndexUnusedReason_Code_BaseTableTooSmall = @"BASE_TABLE_TOO_SMALL"; NSString * const kGTLRBigquery_IndexUnusedReason_Code_BaseTableTruncated = @"BASE_TABLE_TRUNCATED"; NSString * const kGTLRBigquery_IndexUnusedReason_Code_CodeUnspecified = @"CODE_UNSPECIFIED"; +NSString * const kGTLRBigquery_IndexUnusedReason_Code_ColumnMetadataIndexNotUsed = @"COLUMN_METADATA_INDEX_NOT_USED"; NSString * const kGTLRBigquery_IndexUnusedReason_Code_EstimatedPerformanceGainTooLow = @"ESTIMATED_PERFORMANCE_GAIN_TOO_LOW"; NSString * const kGTLRBigquery_IndexUnusedReason_Code_IndexConfigModified = @"INDEX_CONFIG_MODIFIED"; NSString * const kGTLRBigquery_IndexUnusedReason_Code_IndexConfigNotAvailable = @"INDEX_CONFIG_NOT_AVAILABLE"; @@ -408,7 +409,7 @@ NSString * const kGTLRBigquery_Table_DefaultRoundingMode_RoundingModeUnspecified = @"ROUNDING_MODE_UNSPECIFIED"; // GTLRBigquery_Table.managedTableType -NSString * const kGTLRBigquery_Table_ManagedTableType_Iceberg = @"ICEBERG"; +NSString * const kGTLRBigquery_Table_ManagedTableType_Biglake = @"BIGLAKE"; NSString * const kGTLRBigquery_Table_ManagedTableType_ManagedTableTypeUnspecified = @"MANAGED_TABLE_TYPE_UNSPECIFIED"; NSString * const kGTLRBigquery_Table_ManagedTableType_Native = @"NATIVE"; @@ -1766,6 +1767,17 @@ @implementation GTLRBigquery_ExternalDatasetReference @end +// ---------------------------------------------------------------------------- +// +// GTLRBigquery_ExternalRuntimeOptions +// + +@implementation GTLRBigquery_ExternalRuntimeOptions +@dynamic containerCpu, containerMemory, maxBatchingRows, runtimeConnection, + runtimeVersion; +@end + + // ---------------------------------------------------------------------------- // // GTLRBigquery_ExternalServiceCost @@ -3013,6 +3025,24 @@ @implementation GTLRBigquery_ProjectReference @end +// ---------------------------------------------------------------------------- +// +// GTLRBigquery_PythonOptions +// + +@implementation GTLRBigquery_PythonOptions +@dynamic entryPoint, packages; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"packages" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBigquery_QueryInfo @@ -3287,10 +3317,10 @@ @implementation GTLRBigquery_RestrictionConfig @implementation GTLRBigquery_Routine @dynamic arguments, creationTime, dataGovernanceType, definitionBody, - descriptionProperty, determinismLevel, ETag, importedLibraries, - language, lastModifiedTime, remoteFunctionOptions, returnTableType, - returnType, routineReference, routineType, securityMode, sparkOptions, - strictMode; + descriptionProperty, determinismLevel, ETag, externalRuntimeOptions, + importedLibraries, language, lastModifiedTime, pythonOptions, + remoteFunctionOptions, returnTableType, returnType, routineReference, + routineType, securityMode, sparkOptions, strictMode; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/Bigquery/GTLRBigqueryQuery.m b/Sources/GeneratedServices/Bigquery/GTLRBigqueryQuery.m index 536f11f32..6ea7f484a 100644 --- a/Sources/GeneratedServices/Bigquery/GTLRBigqueryQuery.m +++ b/Sources/GeneratedServices/Bigquery/GTLRBigqueryQuery.m @@ -711,6 +711,33 @@ + (instancetype)queryWithObject:(GTLRBigquery_SetIamPolicyRequest *)object @end +@implementation GTLRBigqueryQuery_RoutinesTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRBigquery_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 = @"{+resource}:testIamPermissions"; + GTLRBigqueryQuery_RoutinesTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRBigquery_TestIamPermissionsResponse class]; + query.loggingName = @"bigquery.routines.testIamPermissions"; + return query; +} + +@end + @implementation GTLRBigqueryQuery_RoutinesUpdate @dynamic datasetId, projectId, routineId; diff --git a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h index 0405c6f9b..54d9ef133 100644 --- a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h +++ b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h @@ -84,6 +84,7 @@ @class GTLRBigquery_ExternalCatalogTableOptions_Parameters; @class GTLRBigquery_ExternalDataConfiguration; @class GTLRBigquery_ExternalDatasetReference; +@class GTLRBigquery_ExternalRuntimeOptions; @class GTLRBigquery_ExternalServiceCost; @class GTLRBigquery_FeatureValue; @class GTLRBigquery_ForeignTypeInfo; @@ -152,6 +153,7 @@ @class GTLRBigquery_PrivacyPolicy; @class GTLRBigquery_ProjectList_Projects_Item; @class GTLRBigquery_ProjectReference; +@class GTLRBigquery_PythonOptions; @class GTLRBigquery_QueryInfo; @class GTLRBigquery_QueryInfo_OptimizationDetails; @class GTLRBigquery_QueryParameter; @@ -952,6 +954,15 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_IndexUnusedReason_Code_BaseTabl * Value: "CODE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRBigquery_IndexUnusedReason_Code_CodeUnspecified; +/** + * Indicates that the column metadata index (which the search index depends on) + * is not used. User can refer to the [column metadata index + * usage](https://cloud.google.com/bigquery/docs/metadata-indexing-managed-tables#view_column_metadata_index_usage) + * for more details on why it was not used. + * + * Value: "COLUMN_METADATA_INDEX_NOT_USED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_IndexUnusedReason_Code_ColumnMetadataIndexNotUsed; /** * Indicates that the estimated performance gain from using the search index is * too low for the given search query. @@ -2277,11 +2288,11 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_Table_DefaultRoundingMode_Round // GTLRBigquery_Table.managedTableType /** - * The managed table is a BigQuery table for Apache Iceberg. + * The managed table is a BigLake table for Apache Iceberg in BigQuery. * - * Value: "ICEBERG" + * Value: "BIGLAKE" */ -FOUNDATION_EXTERN NSString * const kGTLRBigquery_Table_ManagedTableType_Iceberg; +FOUNDATION_EXTERN NSString * const kGTLRBigquery_Table_ManagedTableType_Biglake; /** * No managed table type specified. * @@ -6912,6 +6923,48 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @end +/** + * Options for the runtime of the external system. + */ +@interface GTLRBigquery_ExternalRuntimeOptions : GTLRObject + +/** + * Optional. Amount of CPU provisioned for the container instance. If not + * specified, the default value is 0.33 vCPUs. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *containerCpu; + +/** + * Optional. Amount of memory provisioned for the container instance. Format: + * {number}{unit} where unit is one of "M", "G", "Mi" and "Gi" (e.g. 1G, + * 512Mi). If not specified, the default value is 512Mi. + */ +@property(nonatomic, copy, nullable) NSString *containerMemory; + +/** + * Optional. Maximum number of rows in each batch sent to the external runtime. + * If absent or if 0, BigQuery dynamically decides the number of rows in a + * batch. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxBatchingRows; + +/** + * Optional. Fully qualified name of the connection whose service account will + * be used to execute the code in the container. Format: + * ```"projects/{project_id}/locations/{location_id}/connections/{connection_id}"``` + */ +@property(nonatomic, copy, nullable) NSString *runtimeConnection; + +/** Optional. Language runtime version (e.g. python-3.11). */ +@property(nonatomic, copy, nullable) NSString *runtimeVersion; + +@end + + /** * The external service cost is a portion of the total cost, these costs are * not additive with total_bytes_billed. Moreover, this field only track @@ -7519,6 +7572,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa * was refreshed. (Value: "BASE_TABLE_TRUNCATED") * @arg @c kGTLRBigquery_IndexUnusedReason_Code_CodeUnspecified Code not * specified. (Value: "CODE_UNSPECIFIED") + * @arg @c kGTLRBigquery_IndexUnusedReason_Code_ColumnMetadataIndexNotUsed + * Indicates that the column metadata index (which the search index + * depends on) is not used. User can refer to the [column metadata index + * usage](https://cloud.google.com/bigquery/docs/metadata-indexing-managed-tables#view_column_metadata_index_usage) + * for more details on why it was not used. (Value: + * "COLUMN_METADATA_INDEX_NOT_USED") * @arg @c kGTLRBigquery_IndexUnusedReason_Code_EstimatedPerformanceGainTooLow * Indicates that the estimated performance gain from using the search * index is too low for the given search query. (Value: @@ -7751,10 +7810,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @property(nonatomic, copy, nullable) NSString *identifier; -/** - * Output only. The reason why a Job was created. - * [Preview](https://cloud.google.com/products/#product-launch-stages) - */ +/** Output only. The reason why a Job was created. */ @property(nonatomic, strong, nullable) GTLRBigquery_JobCreationReason *jobCreationReason; /** Optional. Reference describing the unique-per-user name of the job. */ @@ -8733,7 +8789,6 @@ 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](https://cloud.google.com/products/#product-launch-stages) */ @interface GTLRBigquery_JobCreationReason : GTLRObject @@ -10741,6 +10796,24 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @end +/** + * Options for a user-defined Python function. + */ +@interface GTLRBigquery_PythonOptions : GTLRObject + +/** Required. The entry point function in the user's Python code. */ +@property(nonatomic, copy, nullable) NSString *entryPoint; + +/** + * Optional. A list of package names along with versions to be installed. + * Follows requirements.txt syntax (e.g. numpy==2.0, permutation, + * urllib3<2.2.1) + */ +@property(nonatomic, strong, nullable) NSArray *packages; + +@end + + /** * Query optimization information for a QUERY job. */ @@ -10913,7 +10986,6 @@ 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](https://cloud.google.com/products/#product-launch-stages) * * Likely values: * @arg @c kGTLRBigquery_QueryRequest_JobCreationMode_JobCreationModeUnspecified @@ -11158,7 +11230,6 @@ 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](https://cloud.google.com/products/#product-launch-stages) */ @property(nonatomic, strong, nullable) GTLRBigquery_JobCreationReason *jobCreationReason; @@ -11200,10 +11271,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @property(nonatomic, copy, nullable) NSString *pageToken; -/** - * Auto-generated ID for the query. - * [Preview](https://cloud.google.com/products/#product-launch-stages) - */ +/** Auto-generated ID for the query. */ @property(nonatomic, copy, nullable) NSString *queryId; /** @@ -11695,6 +11763,13 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa /** Output only. A hash of this resource. */ @property(nonatomic, copy, nullable) NSString *ETag; +/** + * Optional. Options for the runtime of the external system executing the + * routine. This field is only applicable for Python UDFs. + * [Preview](https://cloud.google.com/products/#product-launch-stages) + */ +@property(nonatomic, strong, nullable) GTLRBigquery_ExternalRuntimeOptions *externalRuntimeOptions; + /** * Optional. If language = "JAVASCRIPT", this field stores the path of the * imported JAVASCRIPT libraries. @@ -11727,6 +11802,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @property(nonatomic, strong, nullable) NSNumber *lastModifiedTime; +/** + * Optional. Options for Python UDF. + * [Preview](https://cloud.google.com/products/#product-launch-stages) + */ +@property(nonatomic, strong, nullable) GTLRBigquery_PythonOptions *pythonOptions; + /** Optional. Remote function specific options. */ @property(nonatomic, strong, nullable) GTLRBigquery_RemoteFunctionOptions *remoteFunctionOptions; @@ -12877,8 +12958,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa * dataset. * * Likely values: - * @arg @c kGTLRBigquery_Table_ManagedTableType_Iceberg The managed table is - * a BigQuery table for Apache Iceberg. (Value: "ICEBERG") + * @arg @c kGTLRBigquery_Table_ManagedTableType_Biglake The managed table is + * a BigLake table for Apache Iceberg in BigQuery. (Value: "BIGLAKE") * @arg @c kGTLRBigquery_Table_ManagedTableType_ManagedTableTypeUnspecified * No managed table type specified. (Value: * "MANAGED_TABLE_TYPE_UNSPECIFIED") diff --git a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryQuery.h b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryQuery.h index 64c4a3dd6..0fc4029dc 100644 --- a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryQuery.h +++ b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryQuery.h @@ -30,8 +30,8 @@ NS_ASSUME_NONNULL_BEGIN // datasetView /** - * Updates ACL information for the dataset, which defines dataset access for - * one or more entities. + * View ACL information for the dataset, which defines dataset access for one + * or more entities. * * Value: "ACL" */ @@ -43,13 +43,13 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryDatasetViewAcl; */ FOUNDATION_EXTERN NSString * const kGTLRBigqueryDatasetViewDatasetViewUnspecified; /** - * Updates both dataset metadata and ACL information. + * View both dataset metadata and ACL information. * * Value: "FULL" */ FOUNDATION_EXTERN NSString * const kGTLRBigqueryDatasetViewFull; /** - * Updates metadata information for the dataset, such as friendlyName, + * View metadata information for the dataset, such as friendlyName, * description, labels, etc. * * Value: "METADATA" @@ -256,13 +256,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified * Likely values: * @arg @c kGTLRBigqueryDatasetViewDatasetViewUnspecified The default value. * Default to the FULL view. (Value: "DATASET_VIEW_UNSPECIFIED") - * @arg @c kGTLRBigqueryDatasetViewMetadata Updates metadata information for - * the dataset, such as friendlyName, description, labels, etc. (Value: + * @arg @c kGTLRBigqueryDatasetViewMetadata View metadata information for the + * dataset, such as friendlyName, description, labels, etc. (Value: * "METADATA") - * @arg @c kGTLRBigqueryDatasetViewAcl Updates ACL information for the - * dataset, which defines dataset access for one or more entities. - * (Value: "ACL") - * @arg @c kGTLRBigqueryDatasetViewFull Updates both dataset metadata and ACL + * @arg @c kGTLRBigqueryDatasetViewAcl View ACL information for the dataset, + * which defines dataset access for one or more entities. (Value: "ACL") + * @arg @c kGTLRBigqueryDatasetViewFull View both dataset metadata and ACL * information. (Value: "FULL") */ @property(nonatomic, copy, nullable) NSString *datasetView; @@ -1476,6 +1475,52 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified @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: bigquery.routines.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigquery + * @c kGTLRAuthScopeBigqueryCloudPlatform + * @c kGTLRAuthScopeBigqueryCloudPlatformReadOnly + */ +@interface GTLRBigqueryQuery_RoutinesTestIamPermissions : GTLRBigqueryQuery + +/** + * 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 GTLRBigquery_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 GTLRBigquery_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 GTLRBigqueryQuery_RoutinesTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRBigquery_TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + /** * Updates information in an existing routine. The update method replaces the * entire Routine resource. diff --git a/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.m b/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.m index c2b65d692..525a66341 100644 --- a/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.m +++ b/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.m @@ -506,6 +506,16 @@ @implementation GTLRBigtableAdmin_CreateMaterializedViewRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRBigtableAdmin_CreateSchemaBundleMetadata +// + +@implementation GTLRBigtableAdmin_CreateSchemaBundleMetadata +@dynamic endTime, name, startTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRBigtableAdmin_CreateTableRequest @@ -1275,6 +1285,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRBigtableAdmin_ListSchemaBundlesResponse +// + +@implementation GTLRBigtableAdmin_ListSchemaBundlesResponse +@dynamic nextPageToken, schemaBundles; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"schemaBundles" : [GTLRBigtableAdmin_SchemaBundle class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"schemaBundles"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBigtableAdmin_ListTablesResponse @@ -1527,6 +1559,16 @@ @implementation GTLRBigtableAdmin_Policy @end +// ---------------------------------------------------------------------------- +// +// GTLRBigtableAdmin_ProtoSchema +// + +@implementation GTLRBigtableAdmin_ProtoSchema +@dynamic protoDescriptors; +@end + + // ---------------------------------------------------------------------------- // // GTLRBigtableAdmin_RestoreInfo @@ -1566,6 +1608,21 @@ @implementation GTLRBigtableAdmin_RowAffinity @end +// ---------------------------------------------------------------------------- +// +// GTLRBigtableAdmin_SchemaBundle +// + +@implementation GTLRBigtableAdmin_SchemaBundle +@dynamic ETag, name, protoSchema; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBigtableAdmin_SetIamPolicyRequest @@ -1655,7 +1712,7 @@ + (Class)classForAdditionalProperties { @implementation GTLRBigtableAdmin_Table @dynamic automatedBackupPolicy, changeStreamConfig, clusterStates, columnFamilies, deletionProtection, granularity, name, restoreInfo, - rowKeySchema, stats; + rowKeySchema, stats, tieredStorageConfig; @end @@ -1744,6 +1801,26 @@ @implementation GTLRBigtableAdmin_TestIamPermissionsResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRBigtableAdmin_TieredStorageConfig +// + +@implementation GTLRBigtableAdmin_TieredStorageConfig +@dynamic infrequentAccess; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBigtableAdmin_TieredStorageRule +// + +@implementation GTLRBigtableAdmin_TieredStorageRule +@dynamic includeIfOlderThan; +@end + + // ---------------------------------------------------------------------------- // // GTLRBigtableAdmin_Type @@ -1861,6 +1938,16 @@ @implementation GTLRBigtableAdmin_UpdateLogicalViewRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRBigtableAdmin_UpdateSchemaBundleMetadata +// + +@implementation GTLRBigtableAdmin_UpdateSchemaBundleMetadata +@dynamic endTime, name, startTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRBigtableAdmin_UpdateTableMetadata diff --git a/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminQuery.m b/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminQuery.m index c7bc67ab9..8f3e82b1a 100644 --- a/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminQuery.m +++ b/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminQuery.m @@ -1623,6 +1623,202 @@ + (instancetype)queryWithObject:(GTLRBigtableAdmin_RestoreTableRequest *)object @end +@implementation GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesCreate + +@dynamic parent, schemaBundleId; + ++ (instancetype)queryWithObject:(GTLRBigtableAdmin_SchemaBundle *)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}/schemaBundles"; + GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRBigtableAdmin_Operation class]; + query.loggingName = @"bigtableadmin.projects.instances.tables.schemaBundles.create"; + return query; +} + +@end + +@implementation GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesDelete + +@dynamic ETag, name; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2/{+name}"; + GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRBigtableAdmin_Empty class]; + query.loggingName = @"bigtableadmin.projects.instances.tables.schemaBundles.delete"; + return query; +} + +@end + +@implementation GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2/{+name}"; + GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRBigtableAdmin_SchemaBundle class]; + query.loggingName = @"bigtableadmin.projects.instances.tables.schemaBundles.get"; + return query; +} + +@end + +@implementation GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesGetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRBigtableAdmin_GetIamPolicyRequest *)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 = @"v2/{+resource}:getIamPolicy"; + GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRBigtableAdmin_Policy class]; + query.loggingName = @"bigtableadmin.projects.instances.tables.schemaBundles.getIamPolicy"; + return query; +} + +@end + +@implementation GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v2/{+parent}/schemaBundles"; + GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRBigtableAdmin_ListSchemaBundlesResponse class]; + query.loggingName = @"bigtableadmin.projects.instances.tables.schemaBundles.list"; + return query; +} + +@end + +@implementation GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesPatch + +@dynamic ignoreWarnings, name, updateMask; + ++ (instancetype)queryWithObject:(GTLRBigtableAdmin_SchemaBundle *)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}"; + GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRBigtableAdmin_Operation class]; + query.loggingName = @"bigtableadmin.projects.instances.tables.schemaBundles.patch"; + return query; +} + +@end + +@implementation GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRBigtableAdmin_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 = @"v2/{+resource}:setIamPolicy"; + GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRBigtableAdmin_Policy class]; + query.loggingName = @"bigtableadmin.projects.instances.tables.schemaBundles.setIamPolicy"; + return query; +} + +@end + +@implementation GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRBigtableAdmin_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 = @"v2/{+resource}:testIamPermissions"; + GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRBigtableAdmin_TestIamPermissionsResponse class]; + query.loggingName = @"bigtableadmin.projects.instances.tables.schemaBundles.testIamPermissions"; + return query; +} + +@end + @implementation GTLRBigtableAdminQuery_ProjectsInstancesTablesSetIamPolicy @dynamic resource; diff --git a/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h b/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h index 8ebb7f753..fe15cfecc 100644 --- a/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h +++ b/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h @@ -96,8 +96,10 @@ @class GTLRBigtableAdmin_PartialUpdateClusterRequest; @class GTLRBigtableAdmin_PartialUpdateInstanceRequest; @class GTLRBigtableAdmin_Policy; +@class GTLRBigtableAdmin_ProtoSchema; @class GTLRBigtableAdmin_RestoreInfo; @class GTLRBigtableAdmin_RowAffinity; +@class GTLRBigtableAdmin_SchemaBundle; @class GTLRBigtableAdmin_SingleClusterRouting; @class GTLRBigtableAdmin_Split; @class GTLRBigtableAdmin_StandardIsolation; @@ -109,6 +111,8 @@ @class GTLRBigtableAdmin_Table_ColumnFamilies; @class GTLRBigtableAdmin_TableProgress; @class GTLRBigtableAdmin_TableStats; +@class GTLRBigtableAdmin_TieredStorageConfig; +@class GTLRBigtableAdmin_TieredStorageRule; @class GTLRBigtableAdmin_Type; @class GTLRBigtableAdmin_Union; @class GTLRBigtableAdmin_UpdateAuthorizedViewRequest; @@ -1666,6 +1670,26 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateU @end +/** + * The metadata for the Operation returned by CreateSchemaBundle. + */ +@interface GTLRBigtableAdmin_CreateSchemaBundleMetadata : GTLRObject + +/** If set, the time at which this operation finished or was canceled. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** + * The unique name identifying this schema bundle. Values are of the form + * `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** The time at which this operation started. */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; + +@end + + /** * Request message for google.bigtable.admin.v2.BigtableTableAdmin.CreateTable */ @@ -2890,6 +2914,33 @@ GTLR_DEPRECATED @end +/** + * The response for ListSchemaBundles. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "schemaBundles" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRBigtableAdmin_ListSchemaBundlesResponse : GTLRCollectionObject + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The schema bundles from the specified table. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *schemaBundles; + +@end + + /** * Response message for google.bigtable.admin.v2.BigtableTableAdmin.ListTables * @@ -3404,6 +3455,31 @@ GTLR_DEPRECATED @end +/** + * Represents a protobuf schema. + */ +@interface GTLRBigtableAdmin_ProtoSchema : GTLRObject + +/** + * Required. Contains a protobuf-serialized + * [google.protobuf.FileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto), + * which could include multiple proto files. To generate it, + * [install](https://grpc.io/docs/protoc-installation/) and run `protoc` with + * `--include_imports` and `--descriptor_set_out`. For example, to generate for + * moon/shot/app.proto, run ``` $protoc --proto_path=/app_path + * --proto_path=/lib_path \\ --include_imports \\ + * --descriptor_set_out=descriptors.pb \\ moon/shot/app.proto ``` For more + * details, see protobuffer [self + * description](https://developers.google.com/protocol-buffers/docs/techniques#self-description). + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *protoDescriptors; + +@end + + /** * Information about a table restore. */ @@ -3504,6 +3580,31 @@ GTLR_DEPRECATED @end +/** + * A named collection of related schemas. + */ +@interface GTLRBigtableAdmin_SchemaBundle : GTLRObject + +/** + * Optional. The etag for this schema bundle. This may be sent on update and + * delete requests to ensure the client has an up-to-date value before + * proceeding. The server returns an ABORTED error on a mismatched etag. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Identifier. The unique name identifying this schema bundle. Values are of + * the form + * `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Schema for Protobufs. */ +@property(nonatomic, strong, nullable) GTLRBigtableAdmin_ProtoSchema *protoSchema; + +@end + + /** * Request message for `SetIamPolicy` method. */ @@ -3761,6 +3862,16 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRBigtableAdmin_TableStats *stats; +/** + * Rules to specify what data is stored in each storage tier. Different tiers + * store data differently, providing different trade-offs between cost and + * performance. Different parts of a table can be stored separately on + * different tiers. If a config is specified, tiered storage is enabled for + * this table. Otherwise, tiered storage is disabled. Only SSD instances can + * configure tiered storage. + */ +@property(nonatomic, strong, nullable) GTLRBigtableAdmin_TieredStorageConfig *tieredStorageConfig; + @end @@ -3914,6 +4025,37 @@ GTLR_DEPRECATED @end +/** + * Config for tiered storage. A valid config must have a valid + * TieredStorageRule. Otherwise the whole TieredStorageConfig must be unset. By + * default all data is stored in the SSD tier (only SSD instances can configure + * tiered storage). + */ +@interface GTLRBigtableAdmin_TieredStorageConfig : GTLRObject + +/** + * Rule to specify what data is stored in the infrequent access(IA) tier. The + * IA tier allows storing more data per node with reduced performance. + */ +@property(nonatomic, strong, nullable) GTLRBigtableAdmin_TieredStorageRule *infrequentAccess; + +@end + + +/** + * Rule to specify what data is stored in a storage tier. + */ +@interface GTLRBigtableAdmin_TieredStorageRule : GTLRObject + +/** + * Include cells older than the given age. For the infrequent access tier, this + * value must be at least 30 days. + */ +@property(nonatomic, strong, nullable) GTLRDuration *includeIfOlderThan; + +@end + + /** * `Type` represents the type of data that is written to, read from, or stored * in Bigtable. It is heavily based on the GoogleSQL standard to help maintain @@ -4154,6 +4296,26 @@ GTLR_DEPRECATED @end +/** + * The metadata for the Operation returned by UpdateSchemaBundle. + */ +@interface GTLRBigtableAdmin_UpdateSchemaBundleMetadata : GTLRObject + +/** If set, the time at which this operation finished or was canceled. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** + * The unique name identifying this schema bundle. Values are of the form + * `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** The time at which this operation started. */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; + +@end + + /** * Metadata type for the operation returned by UpdateTable. */ diff --git a/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminQuery.h b/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminQuery.h index 3eedf25bc..4e2929961 100644 --- a/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminQuery.h +++ b/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminQuery.h @@ -3196,6 +3196,358 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdminViewViewUnspecified; @end +/** + * Creates a new schema bundle in the specified table. + * + * Method: bigtableadmin.projects.instances.tables.schemaBundles.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigtableAdminBigtableAdmin + * @c kGTLRAuthScopeBigtableAdminBigtableAdminTable + * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdmin + * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdminTable + * @c kGTLRAuthScopeBigtableAdminCloudPlatform + */ +@interface GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesCreate : GTLRBigtableAdminQuery + +/** + * Required. The parent resource where this schema bundle will be created. + * Values are of the form + * `projects/{project}/instances/{instance}/tables/{table}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Required. The unique ID to use for the schema bundle, which will become the + * final component of the schema bundle's resource name. + */ +@property(nonatomic, copy, nullable) NSString *schemaBundleId; + +/** + * Fetches a @c GTLRBigtableAdmin_Operation. + * + * Creates a new schema bundle in the specified table. + * + * @param object The @c GTLRBigtableAdmin_SchemaBundle to include in the query. + * @param parent Required. The parent resource where this schema bundle will be + * created. Values are of the form + * `projects/{project}/instances/{instance}/tables/{table}`. + * + * @return GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesCreate + */ ++ (instancetype)queryWithObject:(GTLRBigtableAdmin_SchemaBundle *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a schema bundle in the specified table. + * + * Method: bigtableadmin.projects.instances.tables.schemaBundles.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigtableAdminBigtableAdmin + * @c kGTLRAuthScopeBigtableAdminBigtableAdminTable + * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdmin + * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdminTable + * @c kGTLRAuthScopeBigtableAdminCloudPlatform + */ +@interface GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesDelete : GTLRBigtableAdminQuery + +/** + * Optional. The etag of the schema bundle. If this is provided, it must match + * the server's etag. The server returns an ABORTED error on a mismatched etag. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Required. The unique name of the schema bundle to delete. Values are of the + * form + * `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRBigtableAdmin_Empty. + * + * Deletes a schema bundle in the specified table. + * + * @param name Required. The unique name of the schema bundle to delete. Values + * are of the form + * `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}` + * + * @return GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets metadata information about the specified schema bundle. + * + * Method: bigtableadmin.projects.instances.tables.schemaBundles.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigtableAdminBigtableAdmin + * @c kGTLRAuthScopeBigtableAdminBigtableAdminTable + * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdmin + * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdminTable + * @c kGTLRAuthScopeBigtableAdminCloudPlatform + */ +@interface GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesGet : GTLRBigtableAdminQuery + +/** + * Required. The unique name of the schema bundle to retrieve. Values are of + * the form + * `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRBigtableAdmin_SchemaBundle. + * + * Gets metadata information about the specified schema bundle. + * + * @param name Required. The unique name of the schema bundle to retrieve. + * Values are of the form + * `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}` + * + * @return GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets the access control policy for a Bigtable resource. Returns an empty + * policy if the resource exists but does not have a policy set. + * + * Method: bigtableadmin.projects.instances.tables.schemaBundles.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigtableAdminBigtableAdmin + * @c kGTLRAuthScopeBigtableAdminBigtableAdminTable + * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdmin + * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdminTable + * @c kGTLRAuthScopeBigtableAdminCloudPlatform + */ +@interface GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesGetIamPolicy : GTLRBigtableAdminQuery + +/** + * 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 GTLRBigtableAdmin_Policy. + * + * Gets the access control policy for a Bigtable resource. Returns an empty + * policy if the resource exists but does not have a policy set. + * + * @param object The @c GTLRBigtableAdmin_GetIamPolicyRequest to include in the + * query. + * @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 GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesGetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRBigtableAdmin_GetIamPolicyRequest *)object + resource:(NSString *)resource; + +@end + +/** + * Lists all schema bundles associated with the specified table. + * + * Method: bigtableadmin.projects.instances.tables.schemaBundles.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigtableAdminBigtableAdmin + * @c kGTLRAuthScopeBigtableAdminBigtableAdminTable + * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdmin + * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdminTable + * @c kGTLRAuthScopeBigtableAdminCloudPlatform + */ +@interface GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesList : GTLRBigtableAdminQuery + +/** + * The maximum number of schema bundles to return. If the value is positive, + * the server may return at most this value. If unspecified, the server will + * return the maximum allowed page size. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous `ListSchemaBundles` call. Provide + * this to retrieve the subsequent page. When paginating, all other parameters + * provided to `ListSchemaBundles` must match the call that provided the page + * token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent, which owns this collection of schema bundles. Values + * are of the form `projects/{project}/instances/{instance}/tables/{table}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRBigtableAdmin_ListSchemaBundlesResponse. + * + * Lists all schema bundles associated with the specified table. + * + * @param parent Required. The parent, which owns this collection of schema + * bundles. Values are of the form + * `projects/{project}/instances/{instance}/tables/{table}`. + * + * @return GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesList + * + * @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 schema bundle in the specified table. + * + * Method: bigtableadmin.projects.instances.tables.schemaBundles.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigtableAdminBigtableAdmin + * @c kGTLRAuthScopeBigtableAdminBigtableAdminTable + * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdmin + * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdminTable + * @c kGTLRAuthScopeBigtableAdminCloudPlatform + */ +@interface GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesPatch : GTLRBigtableAdminQuery + +/** + * Optional. If set, ignore the safety checks when updating the Schema Bundle. + * The safety checks are: - The new Schema Bundle is backwards compatible with + * the existing Schema Bundle. + */ +@property(nonatomic, assign) BOOL ignoreWarnings; + +/** + * Identifier. The unique name identifying this schema bundle. Values are of + * the form + * `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The list of fields to update. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRBigtableAdmin_Operation. + * + * Updates a schema bundle in the specified table. + * + * @param object The @c GTLRBigtableAdmin_SchemaBundle to include in the query. + * @param name Identifier. The unique name identifying this schema bundle. + * Values are of the form + * `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}` + * + * @return GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesPatch + */ ++ (instancetype)queryWithObject:(GTLRBigtableAdmin_SchemaBundle *)object + name:(NSString *)name; + +@end + +/** + * Sets the access control policy on a Bigtable resource. Replaces any existing + * policy. + * + * Method: bigtableadmin.projects.instances.tables.schemaBundles.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigtableAdminBigtableAdmin + * @c kGTLRAuthScopeBigtableAdminBigtableAdminTable + * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdmin + * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdminTable + * @c kGTLRAuthScopeBigtableAdminCloudPlatform + */ +@interface GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesSetIamPolicy : GTLRBigtableAdminQuery + +/** + * 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 GTLRBigtableAdmin_Policy. + * + * Sets the access control policy on a Bigtable resource. Replaces any existing + * policy. + * + * @param object The @c GTLRBigtableAdmin_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 GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRBigtableAdmin_SetIamPolicyRequest *)object + resource:(NSString *)resource; + +@end + +/** + * Returns permissions that the caller has on the specified Bigtable resource. + * + * Method: bigtableadmin.projects.instances.tables.schemaBundles.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeBigtableAdminBigtableAdmin + * @c kGTLRAuthScopeBigtableAdminBigtableAdminTable + * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdmin + * @c kGTLRAuthScopeBigtableAdminCloudBigtableAdminTable + * @c kGTLRAuthScopeBigtableAdminCloudPlatform + */ +@interface GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesTestIamPermissions : GTLRBigtableAdminQuery + +/** + * 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 GTLRBigtableAdmin_TestIamPermissionsResponse. + * + * Returns permissions that the caller has on the specified Bigtable resource. + * + * @param object The @c GTLRBigtableAdmin_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 GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRBigtableAdmin_TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + /** * Sets the access control policy on a Bigtable resource. Replaces any existing * policy. diff --git a/Sources/GeneratedServices/CertificateAuthorityService/GTLRCertificateAuthorityServiceObjects.m b/Sources/GeneratedServices/CertificateAuthorityService/GTLRCertificateAuthorityServiceObjects.m index a7331cad4..6c89fde82 100644 --- a/Sources/GeneratedServices/CertificateAuthorityService/GTLRCertificateAuthorityServiceObjects.m +++ b/Sources/GeneratedServices/CertificateAuthorityService/GTLRCertificateAuthorityServiceObjects.m @@ -16,6 +16,17 @@ // ---------------------------------------------------------------------------- // Constants +// GTLRCertificateAuthorityService_AttributeTypeAndValue.type +NSString * const kGTLRCertificateAuthorityService_AttributeTypeAndValue_Type_AttributeTypeUnspecified = @"ATTRIBUTE_TYPE_UNSPECIFIED"; +NSString * const kGTLRCertificateAuthorityService_AttributeTypeAndValue_Type_CommonName = @"COMMON_NAME"; +NSString * const kGTLRCertificateAuthorityService_AttributeTypeAndValue_Type_CountryCode = @"COUNTRY_CODE"; +NSString * const kGTLRCertificateAuthorityService_AttributeTypeAndValue_Type_Locality = @"LOCALITY"; +NSString * const kGTLRCertificateAuthorityService_AttributeTypeAndValue_Type_Organization = @"ORGANIZATION"; +NSString * const kGTLRCertificateAuthorityService_AttributeTypeAndValue_Type_OrganizationalUnit = @"ORGANIZATIONAL_UNIT"; +NSString * const kGTLRCertificateAuthorityService_AttributeTypeAndValue_Type_PostalCode = @"POSTAL_CODE"; +NSString * const kGTLRCertificateAuthorityService_AttributeTypeAndValue_Type_Province = @"PROVINCE"; +NSString * const kGTLRCertificateAuthorityService_AttributeTypeAndValue_Type_StreetAddress = @"STREET_ADDRESS"; + // GTLRCertificateAuthorityService_AuditLogConfig.logType NSString * const kGTLRCertificateAuthorityService_AuditLogConfig_LogType_AdminRead = @"ADMIN_READ"; NSString * const kGTLRCertificateAuthorityService_AuditLogConfig_LogType_DataRead = @"DATA_READ"; @@ -29,6 +40,7 @@ // GTLRCertificateAuthorityService_Certificate.subjectMode NSString * const kGTLRCertificateAuthorityService_Certificate_SubjectMode_Default = @"DEFAULT"; +NSString * const kGTLRCertificateAuthorityService_Certificate_SubjectMode_RdnSequence = @"RDN_SEQUENCE"; NSString * const kGTLRCertificateAuthorityService_Certificate_SubjectMode_ReflectedSpiffe = @"REFLECTED_SPIFFE"; NSString * const kGTLRCertificateAuthorityService_Certificate_SubjectMode_SubjectRequestModeUnspecified = @"SUBJECT_REQUEST_MODE_UNSPECIFIED"; @@ -166,6 +178,16 @@ @implementation GTLRCertificateAuthorityService_AllowedKeyType @end +// ---------------------------------------------------------------------------- +// +// GTLRCertificateAuthorityService_AttributeTypeAndValue +// + +@implementation GTLRCertificateAuthorityService_AttributeTypeAndValue +@dynamic objectId, type, value; +@end + + // ---------------------------------------------------------------------------- // // GTLRCertificateAuthorityService_AuditConfig @@ -1023,6 +1045,24 @@ @implementation GTLRCertificateAuthorityService_ReconciliationOperationMetadata @end +// ---------------------------------------------------------------------------- +// +// GTLRCertificateAuthorityService_RelativeDistinguishedName +// + +@implementation GTLRCertificateAuthorityService_RelativeDistinguishedName +@dynamic attributes; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"attributes" : [GTLRCertificateAuthorityService_AttributeTypeAndValue class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCertificateAuthorityService_RevocationDetails @@ -1112,7 +1152,15 @@ + (Class)classForAdditionalProperties { @implementation GTLRCertificateAuthorityService_Subject @dynamic commonName, countryCode, locality, organization, organizationalUnit, - postalCode, province, streetAddress; + postalCode, province, rdnSequence, streetAddress; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"rdnSequence" : [GTLRCertificateAuthorityService_RelativeDistinguishedName class] + }; + return map; +} + @end diff --git a/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceObjects.h b/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceObjects.h index 40136d45b..27e43bb5f 100644 --- a/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceObjects.h +++ b/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceObjects.h @@ -19,6 +19,7 @@ @class GTLRCertificateAuthorityService_AccessUrls; @class GTLRCertificateAuthorityService_AllowedKeyType; +@class GTLRCertificateAuthorityService_AttributeTypeAndValue; @class GTLRCertificateAuthorityService_AuditConfig; @class GTLRCertificateAuthorityService_AuditLogConfig; @class GTLRCertificateAuthorityService_Binding; @@ -60,6 +61,7 @@ @class GTLRCertificateAuthorityService_Policy; @class GTLRCertificateAuthorityService_PublicKey; @class GTLRCertificateAuthorityService_PublishingOptions; +@class GTLRCertificateAuthorityService_RelativeDistinguishedName; @class GTLRCertificateAuthorityService_RevocationDetails; @class GTLRCertificateAuthorityService_RevokedCertificate; @class GTLRCertificateAuthorityService_RsaKeyType; @@ -85,6 +87,64 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the classes' properties below. +// ---------------------------------------------------------------------------- +// GTLRCertificateAuthorityService_AttributeTypeAndValue.type + +/** + * Attribute type is unspecified. + * + * Value: "ATTRIBUTE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_AttributeTypeAndValue_Type_AttributeTypeUnspecified; +/** + * The "common name" of the subject. + * + * Value: "COMMON_NAME" + */ +FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_AttributeTypeAndValue_Type_CommonName; +/** + * The country code of the subject. + * + * Value: "COUNTRY_CODE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_AttributeTypeAndValue_Type_CountryCode; +/** + * The locality or city of the subject. + * + * Value: "LOCALITY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_AttributeTypeAndValue_Type_Locality; +/** + * The organization of the subject. + * + * Value: "ORGANIZATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_AttributeTypeAndValue_Type_Organization; +/** + * The organizational unit of the subject. + * + * Value: "ORGANIZATIONAL_UNIT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_AttributeTypeAndValue_Type_OrganizationalUnit; +/** + * The postal code of the subject. + * + * Value: "POSTAL_CODE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_AttributeTypeAndValue_Type_PostalCode; +/** + * The province, territory, or regional state of the subject. + * + * Value: "PROVINCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_AttributeTypeAndValue_Type_Province; +/** + * The street address of the subject. + * + * Value: "STREET_ADDRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_AttributeTypeAndValue_Type_StreetAddress; + // ---------------------------------------------------------------------------- // GTLRCertificateAuthorityService_AuditLogConfig.logType @@ -147,6 +207,17 @@ FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_CaPool_Tier_ * Value: "DEFAULT" */ FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_Certificate_SubjectMode_Default; +/** + * A mode used to get an accurate representation of the Subject field's + * distinguished name. Indicates that the certificate's Subject and/or + * SubjectAltNames are specified in the certificate request. When parsing a PEM + * CSR this mode will maintain the sequence of RDNs found in the CSR's subject + * field in the issued Certificate. This mode requires the caller to have the + * `privateca.certificates.create` permission. + * + * Value: "RDN_SEQUENCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_Certificate_SubjectMode_RdnSequence; /** * A mode reserved for special cases. Indicates that the certificate should * have one SPIFFE SubjectAltNames set by the service based on the caller's @@ -767,6 +838,47 @@ FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_RevokedCerti @end +/** + * AttributeTypeAndValue specifies an attribute type and value. It can use + * either a OID or enum value to specify the attribute type. + */ +@interface GTLRCertificateAuthorityService_AttributeTypeAndValue : GTLRObject + +/** Object ID for an attribute type of an attribute and value pair. */ +@property(nonatomic, strong, nullable) GTLRCertificateAuthorityService_ObjectId *objectId; + +/** + * The attribute type of the attribute and value pair. + * + * Likely values: + * @arg @c kGTLRCertificateAuthorityService_AttributeTypeAndValue_Type_AttributeTypeUnspecified + * Attribute type is unspecified. (Value: "ATTRIBUTE_TYPE_UNSPECIFIED") + * @arg @c kGTLRCertificateAuthorityService_AttributeTypeAndValue_Type_CommonName + * The "common name" of the subject. (Value: "COMMON_NAME") + * @arg @c kGTLRCertificateAuthorityService_AttributeTypeAndValue_Type_CountryCode + * The country code of the subject. (Value: "COUNTRY_CODE") + * @arg @c kGTLRCertificateAuthorityService_AttributeTypeAndValue_Type_Locality + * The locality or city of the subject. (Value: "LOCALITY") + * @arg @c kGTLRCertificateAuthorityService_AttributeTypeAndValue_Type_Organization + * The organization of the subject. (Value: "ORGANIZATION") + * @arg @c kGTLRCertificateAuthorityService_AttributeTypeAndValue_Type_OrganizationalUnit + * The organizational unit of the subject. (Value: "ORGANIZATIONAL_UNIT") + * @arg @c kGTLRCertificateAuthorityService_AttributeTypeAndValue_Type_PostalCode + * The postal code of the subject. (Value: "POSTAL_CODE") + * @arg @c kGTLRCertificateAuthorityService_AttributeTypeAndValue_Type_Province + * The province, territory, or regional state of the subject. (Value: + * "PROVINCE") + * @arg @c kGTLRCertificateAuthorityService_AttributeTypeAndValue_Type_StreetAddress + * The street address of the subject. (Value: "STREET_ADDRESS") + */ +@property(nonatomic, copy, nullable) NSString *type; + +/** The value for the attribute type. */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + + /** * Specifies the audit configuration for a service. The configuration * determines which permission types are logged, and what identities, if any, @@ -1101,6 +1213,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_RevokedCerti * Subject and/or SubjectAltNames are specified in the certificate * request. This mode requires the caller to have the * `privateca.certificates.create` permission. (Value: "DEFAULT") + * @arg @c kGTLRCertificateAuthorityService_Certificate_SubjectMode_RdnSequence + * A mode used to get an accurate representation of the Subject field's + * distinguished name. Indicates that the certificate's Subject and/or + * SubjectAltNames are specified in the certificate request. When parsing + * a PEM CSR this mode will maintain the sequence of RDNs found in the + * CSR's subject field in the issued Certificate. This mode requires the + * caller to have the `privateca.certificates.create` permission. (Value: + * "RDN_SEQUENCE") * @arg @c kGTLRCertificateAuthorityService_Certificate_SubjectMode_ReflectedSpiffe * A mode reserved for special cases. Indicates that the certificate * should have one SPIFFE SubjectAltNames set by the service based on the @@ -2851,6 +2971,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_RevokedCerti @end +/** + * RelativeDistinguishedName specifies a relative distinguished name which will + * be used to build a distinguished name. + */ +@interface GTLRCertificateAuthorityService_RelativeDistinguishedName : GTLRObject + +/** Attributes describes the attribute value assertions in the RDN. */ +@property(nonatomic, strong, nullable) NSArray *attributes; + +@end + + /** * Describes fields that are relavent to the revocation of a Certificate. */ @@ -3128,6 +3260,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_RevokedCerti /** The province, territory, or regional state of the subject. */ @property(nonatomic, copy, nullable) NSString *province; +/** This field can be used in place of the named subject fields. */ +@property(nonatomic, strong, nullable) NSArray *rdnSequence; + /** The street address of the subject. */ @property(nonatomic, copy, nullable) NSString *streetAddress; diff --git a/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m b/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m index 3b21d3b55..668c6c7da 100644 --- a/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m +++ b/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m @@ -56,7 +56,6 @@ NSString * const kGTLRChromeManagement_GoogleChromeManagementV1BrowserVersion_Channel_Beta = @"BETA"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1BrowserVersion_Channel_Canary = @"CANARY"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1BrowserVersion_Channel_Dev = @"DEV"; -NSString * const kGTLRChromeManagement_GoogleChromeManagementV1BrowserVersion_Channel_Lts = @"LTS"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1BrowserVersion_Channel_ReleaseChannelUnspecified = @"RELEASE_CHANNEL_UNSPECIFIED"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1BrowserVersion_Channel_Stable = @"STABLE"; @@ -101,6 +100,7 @@ NSString * const kGTLRChromeManagement_GoogleChromeManagementV1DeviceAueCountReport_AueMonth_September = @"SEPTEMBER"; // GTLRChromeManagement_GoogleChromeManagementV1HeartbeatStatusReport.state +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1HeartbeatStatusReport_State_DeviceOutdated = @"DEVICE_OUTDATED"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1HeartbeatStatusReport_State_Offline = @"OFFLINE"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1HeartbeatStatusReport_State_Online = @"ONLINE"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1HeartbeatStatusReport_State_StateUnspecified = @"STATE_UNSPECIFIED"; @@ -188,6 +188,7 @@ // GTLRChromeManagement_GoogleChromeManagementV1RiskAssessmentEntry.provider NSString * const kGTLRChromeManagement_GoogleChromeManagementV1RiskAssessmentEntry_Provider_RiskAssessmentProviderCrxcavator = @"RISK_ASSESSMENT_PROVIDER_CRXCAVATOR"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1RiskAssessmentEntry_Provider_RiskAssessmentProviderLayerx = @"RISK_ASSESSMENT_PROVIDER_LAYERX"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1RiskAssessmentEntry_Provider_RiskAssessmentProviderSpinAi = @"RISK_ASSESSMENT_PROVIDER_SPIN_AI"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1RiskAssessmentEntry_Provider_RiskAssessmentProviderUnspecified = @"RISK_ASSESSMENT_PROVIDER_UNSPECIFIED"; diff --git a/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h b/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h index 8001c0d00..c0619fcee 100644 --- a/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h +++ b/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h @@ -169,7 +169,7 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1AppUsageData_AppType_ApplicationTypeBruschetta; /** - * Deprecated. This vaule is no longer used. Application type built-in. + * Deprecated. This value is no longer used. Application type built-in. * * Value: "APPLICATION_TYPE_BUILT_IN" */ @@ -211,21 +211,21 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1AppUsageData_AppType_ApplicationTypeRemote; /** - * Deprecated. This vaule is no longer used. Application type standalone + * Deprecated. This value is no longer used. Application type standalone * browser (Lacros browser app). * * Value: "APPLICATION_TYPE_STANDALONE_BROWSER" */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1AppUsageData_AppType_ApplicationTypeStandaloneBrowser GTLR_DEPRECATED; /** - * Deprecated. This vaule is no longer used. Application type standalone + * Deprecated. This value is no longer used. Application type standalone * browser chrome app. * * Value: "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP" */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1AppUsageData_AppType_ApplicationTypeStandaloneBrowserChromeApp GTLR_DEPRECATED; /** - * Deprecated. This vaule is no longer used. Application type standalone + * Deprecated. This value is no longer used. Application type standalone * browser extension. * * Value: "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION" @@ -335,12 +335,6 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV * Value: "DEV" */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1BrowserVersion_Channel_Dev; -/** - * Long-term support release channel. - * - * Value: "LTS" - */ -FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1BrowserVersion_Channel_Lts; /** * No release channel specified. * @@ -557,6 +551,12 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV // ---------------------------------------------------------------------------- // GTLRChromeManagement_GoogleChromeManagementV1HeartbeatStatusReport.state +/** + * Device is outdated + * + * Value: "DEVICE_OUTDATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1HeartbeatStatusReport_State_DeviceOutdated; /** * Device is offline * @@ -977,6 +977,12 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV * Value: "RISK_ASSESSMENT_PROVIDER_CRXCAVATOR" */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1RiskAssessmentEntry_Provider_RiskAssessmentProviderCrxcavator; +/** + * LayerX Security. + * + * Value: "RISK_ASSESSMENT_PROVIDER_LAYERX" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1RiskAssessmentEntry_Provider_RiskAssessmentProviderLayerx; /** * Spin.Ai. * @@ -1166,7 +1172,7 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeBruschetta; /** - * Deprecated. This vaule is no longer used. Application type built-in. + * Deprecated. This value is no longer used. Application type built-in. * * Value: "APPLICATION_TYPE_BUILT_IN" */ @@ -1208,21 +1214,21 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeRemote; /** - * Deprecated. This vaule is no longer used. Application type standalone + * Deprecated. This value is no longer used. Application type standalone * browser (Lacros browser app). * * Value: "APPLICATION_TYPE_STANDALONE_BROWSER" */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeStandaloneBrowser GTLR_DEPRECATED; /** - * Deprecated. This vaule is no longer used. Application type standalone + * Deprecated. This value is no longer used. Application type standalone * browser chrome app. * * Value: "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP" */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeStandaloneBrowserChromeApp GTLR_DEPRECATED; /** - * Deprecated. This vaule is no longer used. Application type standalone + * Deprecated. This value is no longer used. Application type standalone * browser extension. * * Value: "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION" @@ -1540,7 +1546,7 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeBruschetta; /** - * Deprecated. This vaule is no longer used. Application type built-in. + * Deprecated. This value is no longer used. Application type built-in. * * Value: "APPLICATION_TYPE_BUILT_IN" */ @@ -1582,21 +1588,21 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeRemote; /** - * Deprecated. This vaule is no longer used. Application type standalone + * Deprecated. This value is no longer used. Application type standalone * browser (Lacros browser app). * * Value: "APPLICATION_TYPE_STANDALONE_BROWSER" */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeStandaloneBrowser GTLR_DEPRECATED; /** - * Deprecated. This vaule is no longer used. Application type standalone + * Deprecated. This value is no longer used. Application type standalone * browser chrome app. * * Value: "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP" */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeStandaloneBrowserChromeApp GTLR_DEPRECATED; /** - * Deprecated. This vaule is no longer used. Application type standalone + * Deprecated. This value is no longer used. Application type standalone * browser extension. * * Value: "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION" @@ -1643,7 +1649,7 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeBruschetta; /** - * Deprecated. This vaule is no longer used. Application type built-in. + * Deprecated. This value is no longer used. Application type built-in. * * Value: "APPLICATION_TYPE_BUILT_IN" */ @@ -1685,21 +1691,21 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeRemote; /** - * Deprecated. This vaule is no longer used. Application type standalone + * Deprecated. This value is no longer used. Application type standalone * browser (Lacros browser app). * * Value: "APPLICATION_TYPE_STANDALONE_BROWSER" */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeStandaloneBrowser GTLR_DEPRECATED; /** - * Deprecated. This vaule is no longer used. Application type standalone + * Deprecated. This value is no longer used. Application type standalone * browser chrome app. * * Value: "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP" */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeStandaloneBrowserChromeApp GTLR_DEPRECATED; /** - * Deprecated. This vaule is no longer used. Application type standalone + * Deprecated. This value is no longer used. Application type standalone * browser extension. * * Value: "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION" @@ -2638,7 +2644,7 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1AppUsageData_AppType_ApplicationTypeBruschetta * Application type bruschetta. (Value: "APPLICATION_TYPE_BRUSCHETTA") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1AppUsageData_AppType_ApplicationTypeBuiltIn - * Deprecated. This vaule is no longer used. Application type built-in. + * Deprecated. This value is no longer used. Application type built-in. * (Value: "APPLICATION_TYPE_BUILT_IN") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1AppUsageData_AppType_ApplicationTypeChromeApp * Application type Chrome app. (Value: "APPLICATION_TYPE_CHROME_APP") @@ -2654,15 +2660,15 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1AppUsageData_AppType_ApplicationTypeRemote * Application type remote. (Value: "APPLICATION_TYPE_REMOTE") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1AppUsageData_AppType_ApplicationTypeStandaloneBrowser - * Deprecated. This vaule is no longer used. Application type standalone + * Deprecated. This value is no longer used. Application type standalone * browser (Lacros browser app). (Value: * "APPLICATION_TYPE_STANDALONE_BROWSER") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1AppUsageData_AppType_ApplicationTypeStandaloneBrowserChromeApp - * Deprecated. This vaule is no longer used. Application type standalone + * Deprecated. This value is no longer used. Application type standalone * browser chrome app. (Value: * "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1AppUsageData_AppType_ApplicationTypeStandaloneBrowserExtension - * Deprecated. This vaule is no longer used. Application type standalone + * Deprecated. This value is no longer used. Application type standalone * browser extension. (Value: * "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1AppUsageData_AppType_ApplicationTypeSystemWeb @@ -2965,8 +2971,6 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV * Canary release channel. (Value: "CANARY") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1BrowserVersion_Channel_Dev * Dev release channel. (Value: "DEV") - * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1BrowserVersion_Channel_Lts - * Long-term support release channel. (Value: "LTS") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1BrowserVersion_Channel_ReleaseChannelUnspecified * No release channel specified. (Value: "RELEASE_CHANNEL_UNSPECIFIED") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1BrowserVersion_Channel_Stable @@ -4171,6 +4175,8 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV * State the device changed to * * Likely values: + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1HeartbeatStatusReport_State_DeviceOutdated + * Device is outdated (Value: "DEVICE_OUTDATED") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1HeartbeatStatusReport_State_Offline * Device is offline (Value: "OFFLINE") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1HeartbeatStatusReport_State_Online @@ -5038,6 +5044,8 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV * Likely values: * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1RiskAssessmentEntry_Provider_RiskAssessmentProviderCrxcavator * CRXcavator. (Value: "RISK_ASSESSMENT_PROVIDER_CRXCAVATOR") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1RiskAssessmentEntry_Provider_RiskAssessmentProviderLayerx + * LayerX Security. (Value: "RISK_ASSESSMENT_PROVIDER_LAYERX") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1RiskAssessmentEntry_Provider_RiskAssessmentProviderSpinAi * Spin.Ai. (Value: "RISK_ASSESSMENT_PROVIDER_SPIN_AI") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1RiskAssessmentEntry_Provider_RiskAssessmentProviderUnspecified @@ -5288,7 +5296,7 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeBruschetta * Application type bruschetta. (Value: "APPLICATION_TYPE_BRUSCHETTA") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeBuiltIn - * Deprecated. This vaule is no longer used. Application type built-in. + * Deprecated. This value is no longer used. Application type built-in. * (Value: "APPLICATION_TYPE_BUILT_IN") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeChromeApp * Application type Chrome app. (Value: "APPLICATION_TYPE_CHROME_APP") @@ -5304,15 +5312,15 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeRemote * Application type remote. (Value: "APPLICATION_TYPE_REMOTE") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeStandaloneBrowser - * Deprecated. This vaule is no longer used. Application type standalone + * Deprecated. This value is no longer used. Application type standalone * browser (Lacros browser app). (Value: * "APPLICATION_TYPE_STANDALONE_BROWSER") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeStandaloneBrowserChromeApp - * Deprecated. This vaule is no longer used. Application type standalone + * Deprecated. This value is no longer used. Application type standalone * browser chrome app. (Value: * "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeStandaloneBrowserExtension - * Deprecated. This vaule is no longer used. Application type standalone + * Deprecated. This value is no longer used. Application type standalone * browser extension. (Value: * "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppInstallEvent_AppType_ApplicationTypeSystemWeb @@ -5492,7 +5500,7 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeBruschetta * Application type bruschetta. (Value: "APPLICATION_TYPE_BRUSCHETTA") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeBuiltIn - * Deprecated. This vaule is no longer used. Application type built-in. + * Deprecated. This value is no longer used. Application type built-in. * (Value: "APPLICATION_TYPE_BUILT_IN") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeChromeApp * Application type Chrome app. (Value: "APPLICATION_TYPE_CHROME_APP") @@ -5508,15 +5516,15 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeRemote * Application type remote. (Value: "APPLICATION_TYPE_REMOTE") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeStandaloneBrowser - * Deprecated. This vaule is no longer used. Application type standalone + * Deprecated. This value is no longer used. Application type standalone * browser (Lacros browser app). (Value: * "APPLICATION_TYPE_STANDALONE_BROWSER") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeStandaloneBrowserChromeApp - * Deprecated. This vaule is no longer used. Application type standalone + * Deprecated. This value is no longer used. Application type standalone * browser chrome app. (Value: * "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeStandaloneBrowserExtension - * Deprecated. This vaule is no longer used. Application type standalone + * Deprecated. This value is no longer used. Application type standalone * browser extension. (Value: * "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppLaunchEvent_AppType_ApplicationTypeSystemWeb @@ -5554,7 +5562,7 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeBruschetta * Application type bruschetta. (Value: "APPLICATION_TYPE_BRUSCHETTA") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeBuiltIn - * Deprecated. This vaule is no longer used. Application type built-in. + * Deprecated. This value is no longer used. Application type built-in. * (Value: "APPLICATION_TYPE_BUILT_IN") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeChromeApp * Application type Chrome app. (Value: "APPLICATION_TYPE_CHROME_APP") @@ -5570,15 +5578,15 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeRemote * Application type remote. (Value: "APPLICATION_TYPE_REMOTE") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeStandaloneBrowser - * Deprecated. This vaule is no longer used. Application type standalone + * Deprecated. This value is no longer used. Application type standalone * browser (Lacros browser app). (Value: * "APPLICATION_TYPE_STANDALONE_BROWSER") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeStandaloneBrowserChromeApp - * Deprecated. This vaule is no longer used. Application type standalone + * Deprecated. This value is no longer used. Application type standalone * browser chrome app. (Value: * "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeStandaloneBrowserExtension - * Deprecated. This vaule is no longer used. Application type standalone + * Deprecated. This value is no longer used. Application type standalone * browser extension. (Value: * "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryAppUninstallEvent_AppType_ApplicationTypeSystemWeb diff --git a/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m b/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m index 90134c5a1..2cc985a1b 100644 --- a/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m +++ b/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m @@ -578,8 +578,10 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainRetentionSettings_RetentionUnit_Time = @"TIME"; // GTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct.engine +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineAdbServerlessOracle = @"ENGINE_ADB_SERVERLESS_ORACLE"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineCloudSpannerWithGooglesqlDialect = @"ENGINE_CLOUD_SPANNER_WITH_GOOGLESQL_DIALECT"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineCloudSpannerWithPostgresDialect = @"ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineExadataOracle = @"ENGINE_EXADATA_ORACLE"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineFirestoreWithDatastoreMode = @"ENGINE_FIRESTORE_WITH_DATASTORE_MODE"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineFirestoreWithNativeMode = @"ENGINE_FIRESTORE_WITH_NATIVE_MODE"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineMemorystoreForRedis = @"ENGINE_MEMORYSTORE_FOR_REDIS"; @@ -606,6 +608,7 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeFirestore = @"PRODUCT_TYPE_FIRESTORE"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeMemorystore = @"PRODUCT_TYPE_MEMORYSTORE"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeOnPrem = @"PRODUCT_TYPE_ON_PREM"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeOracleOnGcp = @"PRODUCT_TYPE_ORACLE_ON_GCP"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeOther = @"PRODUCT_TYPE_OTHER"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeSpanner = @"PRODUCT_TYPE_SPANNER"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeUnspecified = @"PRODUCT_TYPE_UNSPECIFIED"; @@ -1946,7 +1949,7 @@ @implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatab @implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData @dynamic additionalMetadata, compliance, descriptionProperty, eventTime, - externalUri, name, provider, resourceContainer, resourceName, + externalUri, location, name, provider, resourceContainer, resourceName, signalClass, signalId, signalSeverity, signalType, state; + (NSDictionary *)propertyToJSONKeyMap { diff --git a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h index 5787bfc99..0e9318974 100644 --- a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h +++ b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h @@ -377,10 +377,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_Cluster_State_Ready; */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_Cluster_State_StateUnspecified; /** - * The cluster is stopped. All instances in the cluster are stopped. Customers - * can start a stopped cluster at any point and all their instances will come - * back to life with same names and IP resources. In this state, customer pays - * for storage. Associated backups could also be present in a stopped cluster. + * This is unused. Even when all instances in the cluster are stopped, the + * cluster remains in READY state. * * Value: "STOPPED" */ @@ -1686,7 +1684,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * * Value: "SIGNAL_TYPE_NO_PROMOTABLE_REPLICA" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeNoPromotableReplica; +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeNoPromotableReplica GTLR_DEPRECATED; /** * Represents if a Cloud SQL database has a password configured for the root * account or not. @@ -2637,7 +2635,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * * Value: "SIGNAL_TYPE_NO_PROMOTABLE_REPLICA" */ -FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeNoPromotableReplica; +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeNoPromotableReplica GTLR_DEPRECATED; /** * Represents if a Cloud SQL database has a password configured for the root * account or not. @@ -3182,6 +3180,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP // ---------------------------------------------------------------------------- // GTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct.engine +/** + * Oracle Autonomous DB Serverless engine. + * + * Value: "ENGINE_ADB_SERVERLESS_ORACLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineAdbServerlessOracle; /** * Cloud Spanner with Google SQL dialect. * @@ -3194,6 +3198,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineCloudSpannerWithPostgresDialect; +/** + * Oracle Exadata engine. + * + * Value: "ENGINE_EXADATA_ORACLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineExadataOracle; /** * Firestore with datastore mode. * @@ -3343,6 +3353,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "PRODUCT_TYPE_ON_PREM" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeOnPrem; +/** + * Oracle product area in GCP + * + * Value: "PRODUCT_TYPE_ORACLE_ON_GCP" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeOracleOnGcp; /** * Other refers to rest of other product type. This is to be when product type * is known, but it is not present in this enum. @@ -4342,12 +4358,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * and running. (Value: "READY") * @arg @c kGTLRCloudAlloyDBAdmin_Cluster_State_StateUnspecified The state of * the cluster is unknown. (Value: "STATE_UNSPECIFIED") - * @arg @c kGTLRCloudAlloyDBAdmin_Cluster_State_Stopped The cluster is - * stopped. All instances in the cluster are stopped. Customers can start - * a stopped cluster at any point and all their instances will come back - * to life with same names and IP resources. In this state, customer pays - * for storage. Associated backups could also be present in a stopped - * cluster. (Value: "STOPPED") + * @arg @c kGTLRCloudAlloyDBAdmin_Cluster_State_Stopped This is unused. Even + * when all instances in the cluster are stopped, the cluster remains in + * READY state. (Value: "STOPPED") */ @property(nonatomic, copy, nullable) NSString *state; @@ -5429,8 +5442,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * instance, for example: "google-managed-services-default". If set, the * instance IPs will be created from this allocated range and will override the * IP range used by the parent cluster. The range name must comply with [RFC - * 1035](http://go/rfc/1035). Specifically, the name must be 1-63 characters - * long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. + * 1035](http://datatracker.ietf.org/doc/html/rfc1035). Specifically, the name + * must be 1-63 characters long and match the regular expression + * [a-z]([-a-z0-9]*[a-z0-9])?. */ @property(nonatomic, copy, nullable) NSString *allocatedIpRangeOverride; @@ -6938,7 +6952,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW /** * DatabaseResourceFeed is the top level proto to be used to ingest different - * database resource level events into Condor platform. + * database resource level events into Condor platform. Next ID: 8 */ @interface GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed : GTLRObject @@ -7018,6 +7032,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW */ @property(nonatomic, copy, nullable) NSString *externalUri; +/** + * This is used to identify the location of the resource. Example: + * "us-central1" + */ +@property(nonatomic, copy, nullable) NSString *location; + /** * Required. The name of the signal, ex: PUBLIC_SQL_INSTANCE, * SQL_LOG_ERROR_VERBOSITY etc. @@ -7518,13 +7538,17 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW @property(nonatomic, copy, nullable) NSString *providerDescription; /** - * Required. The type of resource this ID is identifying. Ex + * Required. The type of resource this ID is identifying. Ex go/keep-sorted + * start alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance, + * bigtableadmin.googleapis.com/Cluster, bigtableadmin.googleapis.com/Instance + * compute.googleapis.com/Instance firestore.googleapis.com/Database, * redis.googleapis.com/Instance, redis.googleapis.com/Cluster, - * alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance, + * oracledatabase.googleapis.com/CloudExadataInfrastructure + * oracledatabase.googleapis.com/CloudVmCluster + * oracledatabase.googleapis.com/AutonomousDatabase * spanner.googleapis.com/Instance, spanner.googleapis.com/Database, - * firestore.googleapis.com/Database, sqladmin.googleapis.com/Instance, - * bigtableadmin.googleapis.com/Cluster, bigtableadmin.googleapis.com/Instance - * REQUIRED Please refer go/condor-common-datamodel + * sqladmin.googleapis.com/Instance, go/keep-sorted end REQUIRED Please refer + * go/condor-common-datamodel */ @property(nonatomic, copy, nullable) NSString *resourceType; @@ -8434,7 +8458,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW */ @property(nonatomic, copy, nullable) NSString *retentionUnit GTLR_DEPRECATED; -@property(nonatomic, strong, nullable) GTLRDuration *timeBasedRetention; +@property(nonatomic, strong, nullable) GTLRDuration *timeBasedRetention GTLR_DEPRECATED; /** Timestamp based retention period i.e. 2024-05-01T00:00:00Z */ @property(nonatomic, strong, nullable) GTLRDateTime *timestampBasedRetentionTime; @@ -8500,12 +8524,17 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * The specific engine that the underlying database is running. * * Likely values: + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineAdbServerlessOracle + * Oracle Autonomous DB Serverless engine. (Value: + * "ENGINE_ADB_SERVERLESS_ORACLE") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineCloudSpannerWithGooglesqlDialect * Cloud Spanner with Google SQL dialect. (Value: * "ENGINE_CLOUD_SPANNER_WITH_GOOGLESQL_DIALECT") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineCloudSpannerWithPostgresDialect * Cloud Spanner with PostgreSQL dialect. (Value: * "ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineExadataOracle + * Oracle Exadata engine. (Value: "ENGINE_EXADATA_ORACLE") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineFirestoreWithDatastoreMode * Firestore with datastore mode. (Value: * "ENGINE_FIRESTORE_WITH_DATASTORE_MODE") @@ -8576,6 +8605,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * Memorystore product area in GCP (Value: "PRODUCT_TYPE_MEMORYSTORE") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeOnPrem * On premises database product. (Value: "PRODUCT_TYPE_ON_PREM") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeOracleOnGcp + * Oracle product area in GCP (Value: "PRODUCT_TYPE_ORACLE_ON_GCP") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Type_ProductTypeOther * Other refers to rest of other product type. This is to be when product * type is known, but it is not present in this enum. (Value: diff --git a/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetObjects.h b/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetObjects.h index fa065ffd0..79cae5e4a 100644 --- a/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetObjects.h +++ b/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetObjects.h @@ -1448,7 +1448,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAsset_TemporalAsset_PriorAssetState * If the destination table already exists and this flag is `TRUE`, the table * will be overwritten by the contents of assets snapshot. If the flag is * `FALSE` or unset and the destination table already exists, the export call - * returns an INVALID_ARGUMEMT error. + * returns an INVALID_ARGUMENT error. * * Uses NSNumber of boolValue. */ diff --git a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h index c3a691613..749a78a3e 100644 --- a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h +++ b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h @@ -3108,8 +3108,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ /** * Required. The datatype of this field. The following values are - * supported:Primitive types: string integer boolean double datetime. Must be - * of the format RFC3339 UTC "Zulu" (Examples: "2014-10-02T15:01:23Z" and + * supported:Primitive types: string int bool double datetime. Must be of the + * format RFC3339 UTC "Zulu" (Examples: "2014-10-02T15:01:23Z" and * "2014-10-02T15:01:23.045123456Z").Complex types: enum array map record */ @property(nonatomic, copy, nullable) NSString *type; @@ -4853,8 +4853,8 @@ GTLR_DEPRECATED /** * Required. The dimension a rule belongs to. Results are also aggregated at - * the dimension level. Supported dimensions are "COMPLETENESS", "ACCURACY", - * "CONSISTENCY", "VALIDITY", "UNIQUENESS", "FRESHNESS", "VOLUME" + * the dimension level. Custom dimension name is supported with all uppercase + * letters and maximum length of 30 characters. */ @property(nonatomic, copy, nullable) NSString *dimension; @@ -5465,7 +5465,7 @@ GTLR_DEPRECATED * (https://cloud.google.com/dataplex/docs/data-profiling-overview). Data * discovery: scans data in Cloud Storage buckets to extract and then catalog * metadata. For more information, see Discover and catalog Cloud Storage data - * (https://cloud.google.com/bigquery/docs/automatic-discovery). + * (https://cloud.google.com/bigquery/docs/automatic-discovery). LINT.IfChange */ @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataScan : GTLRObject @@ -6053,8 +6053,10 @@ GTLR_DEPRECATED /** * Immutable. The service-qualified full resource name of the cloud resource - * for a DataScan job to scan against. The field could be: BigQuery table of - * type "TABLE" for DataProfileScan/DataQualityScan Format: + * for a DataScan job to scan against. The field could eitherbe: Cloud Storage + * bucket for DataDiscoveryScan Format: + * //storage.googleapis.com/projects/PROJECT_ID/buckets/BUCKET_ID or BigQuery + * table of type "TABLE" for DataProfileScan/DataQualityScan Format: * //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID */ @property(nonatomic, copy, nullable) NSString *resource; diff --git a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h index 03987b84d..180e91c4e 100644 --- a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h +++ b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h @@ -8765,7 +8765,10 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *scope; -/** Optional. Internal only. */ +/** + * Optional. Specifies whether the search should understand the meaning and + * intent behind the query, rather than just matching keywords. + */ @property(nonatomic, assign) BOOL semanticSearch; /** diff --git a/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareObjects.m b/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareObjects.m index d4cc7adf1..77114f2e7 100644 --- a/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareObjects.m +++ b/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareObjects.m @@ -117,6 +117,7 @@ // GTLRCloudHealthcare_FhirStore.version NSString * const kGTLRCloudHealthcare_FhirStore_Version_Dstu2 = @"DSTU2"; NSString * const kGTLRCloudHealthcare_FhirStore_Version_R4 = @"R4"; +NSString * const kGTLRCloudHealthcare_FhirStore_Version_R5 = @"R5"; NSString * const kGTLRCloudHealthcare_FhirStore_Version_Stu3 = @"STU3"; NSString * const kGTLRCloudHealthcare_FhirStore_Version_VersionUnspecified = @"VERSION_UNSPECIFIED"; diff --git a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h index 9d0cc74f3..0623a7da5 100644 --- a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h +++ b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h @@ -682,6 +682,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_FhirStore_Version_Dstu2; * Value: "R4" */ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_FhirStore_Version_R4; +/** + * [Release 5](https://www.hl7.org/fhir/R5) + * + * Value: "R5" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_FhirStore_Version_R5; /** * Standard for Trial Use, [Release 3](https://www.hl7.org/fhir/STU3) * @@ -3577,7 +3583,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; * store will not change, references in complex data types will not be parsed. * New stores will have this value set to ENABLED after a notification period. * Warning: turning on this flag causes processing existing resources to fail - * if they contain references to non-existent resources. + * if they contain references to non-existent resources. Cannot be disabled in + * R5. * * Likely values: * @arg @c kGTLRCloudHealthcare_FhirStore_ComplexDataTypeReferenceParsing_ComplexDataTypeReferenceParsingUnspecified @@ -3593,7 +3600,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; /** * Optional. Specifies whether this store has consent enforcement. Not - * available for DSTU2 FHIR version due to absence of Consent resources. + * available for DSTU2 FHIR version due to absence of Consent resources. Not + * supported for R5 FHIR version. */ @property(nonatomic, strong, nullable) GTLRCloudHealthcare_ConsentConfig *consentConfig; @@ -3674,7 +3682,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; * Deprecated. Use `notification_configs` instead. If non-empty, publish all * resource modifications of this FHIR store to this destination. The Pub/Sub * message attributes contain a map with a string describing the action that - * has triggered the notification. For example, "action":"CreateResource". + * has triggered the notification. For example, "action":"CreateResource". Not + * supported in R5. Use `notification_configs` instead. */ @property(nonatomic, strong, nullable) GTLRCloudHealthcare_NotificationConfig *notificationConfig GTLR_DEPRECATED; @@ -3718,6 +3727,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; * "DSTU2") * @arg @c kGTLRCloudHealthcare_FhirStore_Version_R4 [Release * 4](https://www.hl7.org/fhir/R4) (Value: "R4") + * @arg @c kGTLRCloudHealthcare_FhirStore_Version_R5 [Release + * 5](https://www.hl7.org/fhir/R5) (Value: "R5") * @arg @c kGTLRCloudHealthcare_FhirStore_Version_Stu3 Standard for Trial * Use, [Release 3](https://www.hl7.org/fhir/STU3) (Value: "STU3") * @arg @c kGTLRCloudHealthcare_FhirStore_Version_VersionUnspecified Users @@ -6272,7 +6283,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; * For a complete list, see the FHIR Resource Index * ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), - * [R4](https://hl7.org/fhir/R4/resourcelist.html)). + * [R4](https://hl7.org/fhir/R4/resourcelist.html)), + * [R5](https://hl7.org/fhir/R5/resourcelist.html)). */ @property(nonatomic, copy, nullable) NSString *resourceType; @@ -6575,7 +6587,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; * store must have disable_referential_integrity set to true. If a resource * cannot be de-identified, errors will be logged to Cloud Logging (see * [Viewing error logs in Cloud - * Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). + * Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). Not + * supported for R5 stores. */ @property(nonatomic, strong, nullable) GTLRCloudHealthcare_DeidentifiedStoreDestination *deidentifiedStoreDestination; diff --git a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h index 58ebdf7a0..78c3427dc 100644 --- a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h +++ b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h @@ -1870,7 +1870,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * Required. Source dataset resource name. For example, - * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`. + * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`. R5 + * FHIR stores are not supported and will be skipped. */ @property(nonatomic, copy, nullable) NSString *sourceDataset; @@ -1890,7 +1891,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * @param object The @c GTLRCloudHealthcare_DeidentifyDatasetRequest to include * in the query. * @param sourceDataset Required. Source dataset resource name. For example, - * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`. + * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`. R5 + * FHIR stores are not supported and will be skipped. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDeidentify */ @@ -3778,7 +3780,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * instead of an Operation. No resources will be reindexed and the * `consent_config.enforced_admin_consents` field will be unchanged. To enforce * a consent check for data access, `consent_config.access_enforced` must be - * set to true for the FhirStore. + * set to true for the FhirStore. FHIR Consent is not supported in DSTU2 or R5. * * Method: healthcare.projects.locations.datasets.fhirStores.applyAdminConsents * @@ -3811,7 +3813,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * instead of an Operation. No resources will be reindexed and the * `consent_config.enforced_admin_consents` field will be unchanged. To enforce * a consent check for data access, `consent_config.access_enforced` must be - * set to true for the FhirStore. + * set to true for the FhirStore. FHIR Consent is not supported in DSTU2 or R5. * * @param object The @c GTLRCloudHealthcare_ApplyAdminConsentsRequest to * include in the query. @@ -3838,7 +3840,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Cloud Logging (see [Viewing error logs in Cloud * Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). To * enforce consent check for data access, `consent_config.access_enforced` must - * be set to true for the FhirStore. + * be set to true for the FhirStore. FHIR Consent is not supported in DSTU2 or + * R5. * * Method: healthcare.projects.locations.datasets.fhirStores.applyConsents * @@ -3869,7 +3872,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Cloud Logging (see [Viewing error logs in Cloud * Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). To * enforce consent check for data access, `consent_config.access_enforced` must - * be set to true for the FhirStore. + * be set to true for the FhirStore. FHIR Consent is not supported in DSTU2 or + * R5. * * @param object The @c GTLRCloudHealthcare_ApplyConsentsRequest to include in * the query. @@ -4065,6 +4069,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * Required. Source FHIR store resource name. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. + * R5 stores are not supported. */ @property(nonatomic, copy, nullable) NSString *sourceStore; @@ -4082,6 +4087,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * include in the query. * @param sourceStore Required. Source FHIR store resource name. For example, * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. + * R5 stores are not supported. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresDeidentify */ @@ -4119,7 +4125,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * Explains all the permitted/denied actor, purpose and environment for a given - * resource. + * resource. FHIR Consent is not supported in DSTU2 or R5. * * Method: healthcare.projects.locations.datasets.fhirStores.explainDataAccess * @@ -4145,7 +4151,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Fetches a @c GTLRCloudHealthcare_ExplainDataAccessResponse. * * Explains all the permitted/denied actor, purpose and environment for a given - * resource. + * resource. FHIR Consent is not supported in DSTU2 or R5. * * @param name Required. The name of the FHIR store to enforce, in the format * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`. @@ -4216,8 +4222,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * 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` field (`DSTU2` and `STU3`), or the `data` field (`R4` and `R5`). + * 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 @@ -4261,8 +4267,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * 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` field (`DSTU2` and `STU3`), or the `data` field (`R4` and `R5`). + * 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 @@ -4351,14 +4357,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * 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 + * and `STU3`), or the `data` field (`R4` and `R5`). 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) @@ -4400,14 +4406,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * 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 + * and `STU3`), or the `data` field (`R4` and `R5`). 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) @@ -4579,12 +4585,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * Gets the FHIR capability statement * ([STU3](https://hl7.org/fhir/STU3/capabilitystatement.html), - * [R4](https://hl7.org/fhir/R4/capabilitystatement.html)), or the [conformance + * [R4](https://hl7.org/fhir/R4/capabilitystatement.html), + * [R5](https://hl7.org/fhir/R5/capabilitystatement.html)), or the [conformance * statement](https://hl7.org/fhir/DSTU2/conformance.html) in the DSTU2 case * for the store, which contains a description of functionality supported by * the server. Implements the FHIR standard capabilities interaction * ([STU3](https://hl7.org/fhir/STU3/http.html#capabilities), - * [R4](https://hl7.org/fhir/R4/http.html#capabilities)), or the [conformance + * [R4](https://hl7.org/fhir/R4/http.html#capabilities), + * [R5](https://hl7.org/fhir/R5/http.html#capabilities)), or the [conformance * interaction](https://hl7.org/fhir/DSTU2/http.html#conformance) in the DSTU2 * case. On success, the response body contains a JSON-encoded representation * of a `CapabilityStatement` resource. @@ -4605,12 +4613,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * * Gets the FHIR capability statement * ([STU3](https://hl7.org/fhir/STU3/capabilitystatement.html), - * [R4](https://hl7.org/fhir/R4/capabilitystatement.html)), or the [conformance + * [R4](https://hl7.org/fhir/R4/capabilitystatement.html), + * [R5](https://hl7.org/fhir/R5/capabilitystatement.html)), or the [conformance * statement](https://hl7.org/fhir/DSTU2/conformance.html) in the DSTU2 case * for the store, which contains a description of functionality supported by * the server. Implements the FHIR standard capabilities interaction * ([STU3](https://hl7.org/fhir/STU3/http.html#capabilities), - * [R4](https://hl7.org/fhir/R4/http.html#capabilities)), or the [conformance + * [R4](https://hl7.org/fhir/R4/http.html#capabilities), + * [R5](https://hl7.org/fhir/R5/http.html#capabilities)), or the [conformance * interaction](https://hl7.org/fhir/DSTU2/http.html#conformance) in the DSTU2 * case. On success, the response body contains a JSON-encoded representation * of a `CapabilityStatement` resource. @@ -4654,7 +4664,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For a complete list, see the FHIR Resource Index * ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), - * [R4](https://hl7.org/fhir/R4/resourcelist.html)). + * [R4](https://hl7.org/fhir/R4/resourcelist.html), + * [R5](https://hl7.org/fhir/R5/resourcelist.html)). */ @property(nonatomic, copy, nullable) NSString *type; @@ -4679,7 +4690,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Observation. For a complete list, see the FHIR Resource Index * ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), - * [R4](https://hl7.org/fhir/R4/resourcelist.html)). + * [R4](https://hl7.org/fhir/R4/resourcelist.html), + * [R5](https://hl7.org/fhir/R5/resourcelist.html)). * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirConditionalDelete */ @@ -4725,7 +4737,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For a complete list, see the FHIR Resource Index * ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), - * [R4](https://hl7.org/fhir/R4/resourcelist.html)). + * [R4](https://hl7.org/fhir/R4/resourcelist.html), + * [R5](https://hl7.org/fhir/R5/resourcelist.html)). */ @property(nonatomic, copy, nullable) NSString *type; @@ -4758,7 +4771,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Observation. For a complete list, see the FHIR Resource Index * ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), - * [R4](https://hl7.org/fhir/R4/resourcelist.html)). + * [R4](https://hl7.org/fhir/R4/resourcelist.html), + * [R5](https://hl7.org/fhir/R5/resourcelist.html)). * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirConditionalPatch */ @@ -4812,7 +4826,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For a complete list, see the FHIR Resource Index * ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), - * [R4](https://hl7.org/fhir/R4/resourcelist.html)). Must match the resource + * [R4](https://hl7.org/fhir/R4/resourcelist.html), + * [R5](https://hl7.org/fhir/R5/resourcelist.html)). Must match the resource * type in the provided content. */ @property(nonatomic, copy, nullable) NSString *type; @@ -4853,7 +4868,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Observation. For a complete list, see the FHIR Resource Index * ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), - * [R4](https://hl7.org/fhir/R4/resourcelist.html)). Must match the resource + * [R4](https://hl7.org/fhir/R4/resourcelist.html), + * [R5](https://hl7.org/fhir/R5/resourcelist.html)). Must match the resource * type in the provided content. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirConditionalUpdate @@ -4907,12 +4923,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Creates a FHIR resource. Implements the FHIR standard create interaction * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#create), * [STU3](https://hl7.org/fhir/STU3/http.html#create), - * [R4](https://hl7.org/fhir/R4/http.html#create)), which creates a new + * [R4](https://hl7.org/fhir/R4/http.html#create), + * [R5](https://hl7.org/fhir/R5/http.html#create)), which creates a new * resource with a server-assigned resource ID. Also supports the FHIR standard * conditional create interaction * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#ccreate), * [STU3](https://hl7.org/fhir/STU3/http.html#ccreate), - * [R4](https://hl7.org/fhir/R4/http.html#ccreate)), specified by supplying an + * [R4](https://hl7.org/fhir/R4/http.html#ccreate), + * [R5](https://hl7.org/fhir/R5/http.html#ccreate)), specified by supplying an * `If-None-Exist` header containing a FHIR search query, limited to searching * by resource identifier. If no resources match this search query, the server * processes the create operation as normal. When using conditional create, the @@ -4946,7 +4964,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For a complete list, see the FHIR Resource Index * ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), - * [R4](https://hl7.org/fhir/R4/resourcelist.html)). Must match the resource + * [R4](https://hl7.org/fhir/R4/resourcelist.html), + * [R5](https://hl7.org/fhir/R5/resourcelist.html)). Must match the resource * type in the provided content. */ @property(nonatomic, copy, nullable) NSString *type; @@ -4957,12 +4976,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Creates a FHIR resource. Implements the FHIR standard create interaction * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#create), * [STU3](https://hl7.org/fhir/STU3/http.html#create), - * [R4](https://hl7.org/fhir/R4/http.html#create)), which creates a new + * [R4](https://hl7.org/fhir/R4/http.html#create), + * [R5](https://hl7.org/fhir/R5/http.html#create)), which creates a new * resource with a server-assigned resource ID. Also supports the FHIR standard * conditional create interaction * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#ccreate), * [STU3](https://hl7.org/fhir/STU3/http.html#ccreate), - * [R4](https://hl7.org/fhir/R4/http.html#ccreate)), specified by supplying an + * [R4](https://hl7.org/fhir/R4/http.html#ccreate), + * [R5](https://hl7.org/fhir/R5/http.html#ccreate)), specified by supplying an * `If-None-Exist` header containing a FHIR search query, limited to searching * by resource identifier. If no resources match this search query, the server * processes the create operation as normal. When using conditional create, the @@ -4986,7 +5007,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Observation. For a complete list, see the FHIR Resource Index * ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), - * [R4](https://hl7.org/fhir/R4/resourcelist.html)). Must match the resource + * [R4](https://hl7.org/fhir/R4/resourcelist.html), + * [R5](https://hl7.org/fhir/R5/resourcelist.html)). Must match the resource * type in the provided content. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirCreate @@ -5001,7 +5023,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Deletes a FHIR resource. Implements the FHIR standard delete interaction * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#delete), * [STU3](https://hl7.org/fhir/STU3/http.html#delete), - * [R4](https://hl7.org/fhir/R4/http.html#delete)). Note: Unless resource + * [R4](https://hl7.org/fhir/R4/http.html#delete), + * [R5](https://hl7.org/fhir/R5/http.html#delete)). Note: Unless resource * versioning is disabled by setting the disable_resource_versioning flag on * the FHIR store, the deleted resources will be moved to a history repository * that can still be retrieved through vread and related methods, unless they @@ -5026,7 +5049,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Deletes a FHIR resource. Implements the FHIR standard delete interaction * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#delete), * [STU3](https://hl7.org/fhir/STU3/http.html#delete), - * [R4](https://hl7.org/fhir/R4/http.html#delete)). Note: Unless resource + * [R4](https://hl7.org/fhir/R4/http.html#delete), + * [R5](https://hl7.org/fhir/R5/http.html#delete)). Note: Unless resource * versioning is disabled by setting the disable_resource_versioning flag on * the FHIR store, the deleted resources will be moved to a history repository * that can still be retrieved through vread and related methods, unless they @@ -5047,15 +5071,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * batch/transaction interaction * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#transaction), * [STU3](https://hl7.org/fhir/STU3/http.html#transaction), - * [R4](https://hl7.org/fhir/R4/http.html#transaction)). Supports all + * [R4](https://hl7.org/fhir/R4/http.html#transaction), + * [R5](https://hl7.org/fhir/R5/http.html#transaction)). Supports all * interactions within a bundle, except search. This method accepts Bundles of * type `batch` and `transaction`, processing them according to the batch * processing rules ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#2.1.0.16.1), * [STU3](https://hl7.org/fhir/STU3/http.html#2.21.0.17.1), - * [R4](https://hl7.org/fhir/R4/http.html#brules)) and transaction processing + * [R4](https://hl7.org/fhir/R4/http.html#brules), + * [R5](https://hl7.org/fhir/R5/http.html#brules)) and transaction processing * rules ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#2.1.0.16.2), * [STU3](https://hl7.org/fhir/STU3/http.html#2.21.0.17.2), - * [R4](https://hl7.org/fhir/R4/http.html#trules)). The request body must + * [R4](https://hl7.org/fhir/R4/http.html#trules), + * [R5](https://hl7.org/fhir/R5/http.html#trules)). The request body must * contain a JSON-encoded FHIR `Bundle` resource, and the request headers must * contain `Content-Type: application/fhir+json`. For a batch bundle or a * successful transaction, the response body contains a JSON-encoded @@ -5096,15 +5123,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * batch/transaction interaction * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#transaction), * [STU3](https://hl7.org/fhir/STU3/http.html#transaction), - * [R4](https://hl7.org/fhir/R4/http.html#transaction)). Supports all + * [R4](https://hl7.org/fhir/R4/http.html#transaction), + * [R5](https://hl7.org/fhir/R5/http.html#transaction)). Supports all * interactions within a bundle, except search. This method accepts Bundles of * type `batch` and `transaction`, processing them according to the batch * processing rules ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#2.1.0.16.1), * [STU3](https://hl7.org/fhir/STU3/http.html#2.21.0.17.1), - * [R4](https://hl7.org/fhir/R4/http.html#brules)) and transaction processing + * [R4](https://hl7.org/fhir/R4/http.html#brules), + * [R5](https://hl7.org/fhir/R5/http.html#brules)) and transaction processing * rules ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#2.1.0.16.2), * [STU3](https://hl7.org/fhir/STU3/http.html#2.21.0.17.2), - * [R4](https://hl7.org/fhir/R4/http.html#trules)). The request body must + * [R4](https://hl7.org/fhir/R4/http.html#trules), + * [R5](https://hl7.org/fhir/R5/http.html#trules)). The request body must * contain a JSON-encoded FHIR `Bundle` resource, and the request headers must * contain `Content-Type: application/fhir+json`. For a batch bundle or a * successful transaction, the response body contains a JSON-encoded @@ -5144,7 +5174,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * the FHIR standard history interaction * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#history), * [STU3](https://hl7.org/fhir/STU3/http.html#history), - * [R4](https://hl7.org/fhir/R4/http.html#history)). On success, the response + * [R4](https://hl7.org/fhir/R4/http.html#history), + * [R5](https://hl7.org/fhir/R5/http.html#history)). On success, the response * body contains a JSON-encoded representation of a `Bundle` resource of type * `history`, containing the version history sorted from most recent to oldest * versions. Errors generated by the FHIR store contain a JSON-encoded @@ -5207,7 +5238,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * the FHIR standard history interaction * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#history), * [STU3](https://hl7.org/fhir/STU3/http.html#history), - * [R4](https://hl7.org/fhir/R4/http.html#history)). On success, the response + * [R4](https://hl7.org/fhir/R4/http.html#history), + * [R5](https://hl7.org/fhir/R5/http.html#history)). On success, the response * body contains a JSON-encoded representation of a `Bundle` resource of type * `history`, containing the version history sorted from most recent to oldest * versions. Errors generated by the FHIR store contain a JSON-encoded @@ -5229,7 +5261,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Updates part of an existing resource by applying the operations specified in * a [JSON Patch](http://jsonpatch.com/) document. Implements the FHIR standard * patch interaction ([STU3](https://hl7.org/fhir/STU3/http.html#patch), - * [R4](https://hl7.org/fhir/R4/http.html#patch)). DSTU2 doesn't define a patch + * [R4](https://hl7.org/fhir/R4/http.html#patch), + * [R5](https://hl7.org/fhir/R5/http.html#patch)). DSTU2 doesn't define a patch * method, but the server supports it in the same way it supports STU3. The * request body must contain a JSON Patch document, and the request headers * must contain `Content-Type: application/json-patch+json`. On success, the @@ -5258,7 +5291,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Updates part of an existing resource by applying the operations specified in * a [JSON Patch](http://jsonpatch.com/) document. Implements the FHIR standard * patch interaction ([STU3](https://hl7.org/fhir/STU3/http.html#patch), - * [R4](https://hl7.org/fhir/R4/http.html#patch)). DSTU2 doesn't define a patch + * [R4](https://hl7.org/fhir/R4/http.html#patch), + * [R5](https://hl7.org/fhir/R5/http.html#patch)). DSTU2 doesn't define a patch * method, but the server supports it in the same way it supports STU3. The * request body must contain a JSON Patch document, and the request headers * must contain `Content-Type: application/json-patch+json`. On success, the @@ -5344,7 +5378,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Implements the FHIR extended operation Patient-everything * ([DSTU2](https://hl7.org/fhir/DSTU2/patient-operations.html#everything), * [STU3](https://hl7.org/fhir/STU3/patient-operations.html#everything), - * [R4](https://hl7.org/fhir/R4/patient-operation-everything.html)). On + * [R4](https://hl7.org/fhir/R4/patient-operation-everything.html), + * [R5](https://hl7.org/fhir/R5/patient-operation-everything.html)). On * success, the response body contains a JSON-encoded representation of a * `Bundle` resource of type `searchset`, containing the results of the * operation. Errors generated by the FHIR store contain a JSON-encoded @@ -5357,7 +5392,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * on the membership rules in the patient compartment definition * ([DSTU2](http://hl7.org/fhir/DSTU2/compartment-patient.html), * [STU3](http://www.hl7.org/fhir/stu3/compartmentdefinition-patient.html), - * [R4](http://hl7.org/fhir/R4/compartmentdefinition-patient.html)), which + * [R4](http://hl7.org/fhir/R4/compartmentdefinition-patient.html), + * [R5](http://hl7.org/fhir/R5/compartmentdefinition-patient.html)), which * details the eligible resource types and referencing search parameters. For * samples that show how to call `Patient-everything`, see [Getting all patient * compartment @@ -5430,7 +5466,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Implements the FHIR extended operation Patient-everything * ([DSTU2](https://hl7.org/fhir/DSTU2/patient-operations.html#everything), * [STU3](https://hl7.org/fhir/STU3/patient-operations.html#everything), - * [R4](https://hl7.org/fhir/R4/patient-operation-everything.html)). On + * [R4](https://hl7.org/fhir/R4/patient-operation-everything.html), + * [R5](https://hl7.org/fhir/R5/patient-operation-everything.html)). On * success, the response body contains a JSON-encoded representation of a * `Bundle` resource of type `searchset`, containing the results of the * operation. Errors generated by the FHIR store contain a JSON-encoded @@ -5443,7 +5480,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * on the membership rules in the patient compartment definition * ([DSTU2](http://hl7.org/fhir/DSTU2/compartment-patient.html), * [STU3](http://www.hl7.org/fhir/stu3/compartmentdefinition-patient.html), - * [R4](http://hl7.org/fhir/R4/compartmentdefinition-patient.html)), which + * [R4](http://hl7.org/fhir/R4/compartmentdefinition-patient.html), + * [R5](http://hl7.org/fhir/R5/compartmentdefinition-patient.html)), which * details the eligible resource types and referencing search parameters. For * samples that show how to call `Patient-everything`, see [Getting all patient * compartment @@ -5462,11 +5500,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Gets the contents of a FHIR resource. Implements the FHIR standard read * interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#read), * [STU3](https://hl7.org/fhir/STU3/http.html#read), - * [R4](https://hl7.org/fhir/R4/http.html#read)). Also supports the FHIR + * [R4](https://hl7.org/fhir/R4/http.html#read), + * [R5](https://hl7.org/fhir/R5/http.html#read)). Also supports the FHIR * standard conditional read interaction * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#cread), * [STU3](https://hl7.org/fhir/STU3/http.html#cread), - * [R4](https://hl7.org/fhir/R4/http.html#cread)) specified by supplying an + * [R4](https://hl7.org/fhir/R4/http.html#cread), + * [R5](https://hl7.org/fhir/R5/http.html#cread)) specified by supplying an * `If-Modified-Since` header with a date/time value or an `If-None-Match` * header with an ETag value. On success, the response body contains a * JSON-encoded representation of the resource. Errors generated by the FHIR @@ -5493,11 +5533,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Gets the contents of a FHIR resource. Implements the FHIR standard read * interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#read), * [STU3](https://hl7.org/fhir/STU3/http.html#read), - * [R4](https://hl7.org/fhir/R4/http.html#read)). Also supports the FHIR + * [R4](https://hl7.org/fhir/R4/http.html#read), + * [R5](https://hl7.org/fhir/R5/http.html#read)). Also supports the FHIR * standard conditional read interaction * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#cread), * [STU3](https://hl7.org/fhir/STU3/http.html#cread), - * [R4](https://hl7.org/fhir/R4/http.html#cread)) specified by supplying an + * [R4](https://hl7.org/fhir/R4/http.html#cread), + * [R5](https://hl7.org/fhir/R5/http.html#cread)) specified by supplying an * `If-Modified-Since` header with a date/time value or an `If-None-Match` * header with an ETag value. On success, the response body contains a * JSON-encoded representation of the resource. Errors generated by the FHIR @@ -5557,8 +5599,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * profiles configured on the FHIR store. Implements the FHIR extended * operation $validate * ([DSTU2](https://hl7.org/fhir/DSTU2/resource-operations.html#validate), - * [STU3](https://hl7.org/fhir/STU3/resource-operations.html#validate), or - * [R4](https://hl7.org/fhir/R4/resource-operation-validate.html)). The request + * [STU3](https://hl7.org/fhir/STU3/resource-operations.html#validate), + * [R4](https://hl7.org/fhir/R4/resource-operation-validate.html). or + * [R5](https://hl7.org/fhir/R5/resource-operation-validate.html)). The request * body must contain a JSON-encoded FHIR resource, and the request headers must * contain `Content-Type: application/fhir+json`. The `Parameters` input syntax * is not supported. The `profile` query parameter can be used to request that @@ -5596,8 +5639,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Required. The FHIR resource type of the resource being validated. For a * complete list, see the FHIR Resource Index * ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), - * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), or - * [R4](https://hl7.org/fhir/R4/resourcelist.html)). Must match the resource + * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), + * [R4](https://hl7.org/fhir/R4/resourcelist.html), or + * [R5](https://hl7.org/fhir/R5/resourcelist.html)). Must match the resource * type in the provided content. */ @property(nonatomic, copy, nullable) NSString *type; @@ -5609,8 +5653,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * profiles configured on the FHIR store. Implements the FHIR extended * operation $validate * ([DSTU2](https://hl7.org/fhir/DSTU2/resource-operations.html#validate), - * [STU3](https://hl7.org/fhir/STU3/resource-operations.html#validate), or - * [R4](https://hl7.org/fhir/R4/resource-operation-validate.html)). The request + * [STU3](https://hl7.org/fhir/STU3/resource-operations.html#validate), + * [R4](https://hl7.org/fhir/R4/resource-operation-validate.html). or + * [R5](https://hl7.org/fhir/R5/resource-operation-validate.html)). The request * body must contain a JSON-encoded FHIR resource, and the request headers must * contain `Content-Type: application/fhir+json`. The `Parameters` input syntax * is not supported. The `profile` query parameter can be used to request that @@ -5627,8 +5672,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * @param type Required. The FHIR resource type of the resource being * validated. For a complete list, see the FHIR Resource Index * ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), - * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), or - * [R4](https://hl7.org/fhir/R4/resourcelist.html)). Must match the resource + * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), + * [R4](https://hl7.org/fhir/R4/resourcelist.html), or + * [R5](https://hl7.org/fhir/R5/resourcelist.html)). Must match the resource * type in the provided content. * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirResourceValidate @@ -5644,11 +5690,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * specified as query parameters. Implements the FHIR standard search * interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#search), * [STU3](https://hl7.org/fhir/STU3/http.html#search), - * [R4](https://hl7.org/fhir/R4/http.html#search)) using the search semantics + * [R4](https://hl7.org/fhir/R4/http.html#search), + * [R5](https://hl7.org/fhir/R5/http.html#search)) using the search semantics * described in the FHIR Search specification * ([DSTU2](https://hl7.org/fhir/DSTU2/search.html), * [STU3](https://hl7.org/fhir/STU3/search.html), - * [R4](https://hl7.org/fhir/R4/search.html)). Supports four methods of search + * [R4](https://hl7.org/fhir/R4/search.html), + * [R5](https://hl7.org/fhir/R5/search.html)). Supports four methods of search * defined by the specification: * `GET [base]?[parameters]` to search across * all resources. * `GET [base]/[type]?[parameters]` to search resources of a * specified type. * `POST [base]/_search?[parameters]` as an alternate form @@ -5667,12 +5715,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * resource. A list of all search parameters defined by the specification can * be found in the FHIR Search Parameter Registry * ([STU3](https://hl7.org/fhir/STU3/searchparameter-registry.html), - * [R4](https://hl7.org/fhir/R4/searchparameter-registry.html)). FHIR search + * [R4](https://hl7.org/fhir/R4/searchparameter-registry.html), + * [R5](https://hl7.org/fhir/R5/searchparameter-registry.html)). FHIR search * parameters for DSTU2 can be found on each resource's definition page. * Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`, * `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `recurse` - * (DSTU2 and STU3) or `:iterate` (R4). Supported search result parameters: - * `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, + * (DSTU2 and STU3) or `:iterate` (R4 and R5). Supported search result + * parameters: `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, * `_summary=data`, and `_elements`. The maximum number of search results * returned defaults to 100, which can be overridden by the `_count` parameter * up to a maximum limit of 1000. The server might return fewer resources than @@ -5724,11 +5773,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * specified as query parameters. Implements the FHIR standard search * interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#search), * [STU3](https://hl7.org/fhir/STU3/http.html#search), - * [R4](https://hl7.org/fhir/R4/http.html#search)) using the search semantics + * [R4](https://hl7.org/fhir/R4/http.html#search), + * [R5](https://hl7.org/fhir/R5/http.html#search)) using the search semantics * described in the FHIR Search specification * ([DSTU2](https://hl7.org/fhir/DSTU2/search.html), * [STU3](https://hl7.org/fhir/STU3/search.html), - * [R4](https://hl7.org/fhir/R4/search.html)). Supports four methods of search + * [R4](https://hl7.org/fhir/R4/search.html), + * [R5](https://hl7.org/fhir/R5/search.html)). Supports four methods of search * defined by the specification: * `GET [base]?[parameters]` to search across * all resources. * `GET [base]/[type]?[parameters]` to search resources of a * specified type. * `POST [base]/_search?[parameters]` as an alternate form @@ -5747,12 +5798,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * resource. A list of all search parameters defined by the specification can * be found in the FHIR Search Parameter Registry * ([STU3](https://hl7.org/fhir/STU3/searchparameter-registry.html), - * [R4](https://hl7.org/fhir/R4/searchparameter-registry.html)). FHIR search + * [R4](https://hl7.org/fhir/R4/searchparameter-registry.html), + * [R5](https://hl7.org/fhir/R5/searchparameter-registry.html)). FHIR search * parameters for DSTU2 can be found on each resource's definition page. * Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`, * `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `recurse` - * (DSTU2 and STU3) or `:iterate` (R4). Supported search result parameters: - * `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, + * (DSTU2 and STU3) or `:iterate` (R4 and R5). Supported search result + * parameters: `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, * `_summary=data`, and `_elements`. The maximum number of search results * returned defaults to 100, which can be overridden by the `_count` parameter * up to a maximum limit of 1000. The server might return fewer resources than @@ -5802,11 +5854,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * specified as query parameters. Implements the FHIR standard search * interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#search), * [STU3](https://hl7.org/fhir/STU3/http.html#search), - * [R4](https://hl7.org/fhir/R4/http.html#search)) using the search semantics + * [R4](https://hl7.org/fhir/R4/http.html#search), + * [R5](https://hl7.org/fhir/R5/http.html#search)) using the search semantics * described in the FHIR Search specification * ([DSTU2](https://hl7.org/fhir/DSTU2/search.html), * [STU3](https://hl7.org/fhir/STU3/search.html), - * [R4](https://hl7.org/fhir/R4/search.html)). Supports four methods of search + * [R4](https://hl7.org/fhir/R4/search.html), + * [R5](https://hl7.org/fhir/R5/search.html)). Supports four methods of search * defined by the specification: * `GET [base]?[parameters]` to search across * all resources. * `GET [base]/[type]?[parameters]` to search resources of a * specified type. * `POST [base]/_search?[parameters]` as an alternate form @@ -5825,12 +5879,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * resource. A list of all search parameters defined by the specification can * be found in the FHIR Search Parameter Registry * ([STU3](https://hl7.org/fhir/STU3/searchparameter-registry.html), - * [R4](https://hl7.org/fhir/R4/searchparameter-registry.html)). FHIR search + * [R4](https://hl7.org/fhir/R4/searchparameter-registry.html), + * [R5](https://hl7.org/fhir/R5/searchparameter-registry.html)). FHIR search * parameters for DSTU2 can be found on each resource's definition page. * Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`, * `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `recurse` - * (DSTU2 and STU3) or `:iterate` (R4). Supported search result parameters: - * `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, + * (DSTU2 and STU3) or `:iterate` (R4 and R5). Supported search result + * parameters: `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, * `_summary=data`, and `_elements`. The maximum number of search results * returned defaults to 100, which can be overridden by the `_count` parameter * up to a maximum limit of 1000. The server might return fewer resources than @@ -5880,7 +5935,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * For a complete list, see the FHIR Resource Index * ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), - * [R4](https://hl7.org/fhir/R4/resourcelist.html)). + * [R4](https://hl7.org/fhir/R4/resourcelist.html)), + * [R5](https://hl7.org/fhir/R5/resourcelist.html)). */ @property(nonatomic, copy, nullable) NSString *resourceType; @@ -5891,11 +5947,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * specified as query parameters. Implements the FHIR standard search * interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#search), * [STU3](https://hl7.org/fhir/STU3/http.html#search), - * [R4](https://hl7.org/fhir/R4/http.html#search)) using the search semantics + * [R4](https://hl7.org/fhir/R4/http.html#search), + * [R5](https://hl7.org/fhir/R5/http.html#search)) using the search semantics * described in the FHIR Search specification * ([DSTU2](https://hl7.org/fhir/DSTU2/search.html), * [STU3](https://hl7.org/fhir/STU3/search.html), - * [R4](https://hl7.org/fhir/R4/search.html)). Supports four methods of search + * [R4](https://hl7.org/fhir/R4/search.html), + * [R5](https://hl7.org/fhir/R5/search.html)). Supports four methods of search * defined by the specification: * `GET [base]?[parameters]` to search across * all resources. * `GET [base]/[type]?[parameters]` to search resources of a * specified type. * `POST [base]/_search?[parameters]` as an alternate form @@ -5914,12 +5972,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * resource. A list of all search parameters defined by the specification can * be found in the FHIR Search Parameter Registry * ([STU3](https://hl7.org/fhir/STU3/searchparameter-registry.html), - * [R4](https://hl7.org/fhir/R4/searchparameter-registry.html)). FHIR search + * [R4](https://hl7.org/fhir/R4/searchparameter-registry.html), + * [R5](https://hl7.org/fhir/R5/searchparameter-registry.html)). FHIR search * parameters for DSTU2 can be found on each resource's definition page. * Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`, * `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `recurse` - * (DSTU2 and STU3) or `:iterate` (R4). Supported search result parameters: - * `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, + * (DSTU2 and STU3) or `:iterate` (R4 and R5). Supported search result + * parameters: `_sort`, `_count`, `_include`, `_revinclude`, `_summary=text`, * `_summary=data`, and `_elements`. The maximum number of search results * returned defaults to 100, which can be overridden by the `_count` parameter * up to a maximum limit of 1000. The server might return fewer resources than @@ -5960,7 +6019,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Patient or Observation. For a complete list, see the FHIR Resource Index * ([DSTU2](https://hl7.org/fhir/DSTU2/resourcelist.html), * [STU3](https://hl7.org/fhir/STU3/resourcelist.html), - * [R4](https://hl7.org/fhir/R4/resourcelist.html)). + * [R4](https://hl7.org/fhir/R4/resourcelist.html)), + * [R5](https://hl7.org/fhir/R5/resourcelist.html)). * * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsFhirStoresFhirSearchType */ @@ -5974,7 +6034,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Updates the entire contents of a resource. Implements the FHIR standard * update interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#update), * [STU3](https://hl7.org/fhir/STU3/http.html#update), - * [R4](https://hl7.org/fhir/R4/http.html#update)). If the specified resource + * [R4](https://hl7.org/fhir/R4/http.html#update), + * [R5](https://hl7.org/fhir/R5/http.html#update)). 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 @@ -5989,7 +6050,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * by the FHIR store contain a JSON-encoded `OperationOutcome` resource * describing the reason for the error. If the request cannot be mapped to a * valid API method on a FHIR store, a generic GCP error might be returned - * instead. For samples that show how to call `update`, see [Updating a FHIR + * instead. In R5, the conditional update interaction If-None-Match is + * supported, including the wildcard behaviour. For samples that show how to + * call `update`, see [Updating a FHIR * resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#updating_a_fhir_resource). * * Method: healthcare.projects.locations.datasets.fhirStores.fhir.update @@ -6009,7 +6072,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Updates the entire contents of a resource. Implements the FHIR standard * update interaction ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#update), * [STU3](https://hl7.org/fhir/STU3/http.html#update), - * [R4](https://hl7.org/fhir/R4/http.html#update)). If the specified resource + * [R4](https://hl7.org/fhir/R4/http.html#update), + * [R5](https://hl7.org/fhir/R5/http.html#update)). 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 @@ -6024,7 +6088,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * by the FHIR store contain a JSON-encoded `OperationOutcome` resource * describing the reason for the error. If the request cannot be mapped to a * valid API method on a FHIR store, a generic GCP error might be returned - * instead. For samples that show how to call `update`, see [Updating a FHIR + * instead. In R5, the conditional update interaction If-None-Match is + * supported, including the wildcard behaviour. For samples that show how to + * call `update`, see [Updating a FHIR * resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#updating_a_fhir_resource). * * @param object The @c GTLRCloudHealthcare_HttpBody to include in the query. @@ -6042,7 +6108,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * version ID. Implements the FHIR standard vread interaction * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#vread), * [STU3](https://hl7.org/fhir/STU3/http.html#vread), - * [R4](https://hl7.org/fhir/R4/http.html#vread)). On success, the response + * [R4](https://hl7.org/fhir/R4/http.html#vread), + * [R5](https://hl7.org/fhir/R5/http.html#vread)). On success, the response * body contains a JSON-encoded representation of the resource. Errors * generated by the FHIR store contain a JSON-encoded `OperationOutcome` * resource describing the reason for the error. If the request cannot be @@ -6069,7 +6136,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * version ID. Implements the FHIR standard vread interaction * ([DSTU2](https://hl7.org/fhir/DSTU2/http.html#vread), * [STU3](https://hl7.org/fhir/STU3/http.html#vread), - * [R4](https://hl7.org/fhir/R4/http.html#vread)). On success, the response + * [R4](https://hl7.org/fhir/R4/http.html#vread), + * [R5](https://hl7.org/fhir/R5/http.html#vread)). On success, the response * body contains a JSON-encoded representation of the resource. Errors * generated by the FHIR store contain a JSON-encoded `OperationOutcome` * resource describing the reason for the error. If the request cannot be diff --git a/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityObjects.h b/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityObjects.h index 4a46dc431..bc1b17e5d 100644 --- a/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityObjects.h +++ b/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityObjects.h @@ -2534,9 +2534,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State @property(nonatomic, strong, nullable) GTLRCloudIdentity_EntityKey *groupKey; /** - * Required. One or more label entries that apply to the Group. Currently - * supported labels contain a key with an empty value. Google Groups are the - * default type of group and have a label with a key of + * Required. One or more label entries that apply to the Group. Labels contain + * a key with an empty value. Google Groups are the default type of group and + * have a label with a key of * `cloudidentity.googleapis.com/groups.discussion_forum` and an empty value. * Existing Google Groups can have an additional label with a key of * `cloudidentity.googleapis.com/groups.security` and an empty value added to @@ -2544,7 +2544,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State * once added.** Dynamic groups have a label with a key of * `cloudidentity.googleapis.com/groups.dynamic`. Identity-mapped groups for * Cloud Search have a label with a key of `system/groups/external` and an - * empty value. + * empty value. Google Groups can be + * [locked](https://support.google.com/a?p=locked-groups). To lock a group, add + * a label with a key of `cloudidentity.googleapis.com/groups.locked` and an + * empty value. Doing so locks the group. To unlock the group, remove this + * label. */ @property(nonatomic, strong, nullable) GTLRCloudIdentity_Group_Labels *labels; @@ -2573,9 +2577,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State /** - * Required. One or more label entries that apply to the Group. Currently - * supported labels contain a key with an empty value. Google Groups are the - * default type of group and have a label with a key of + * Required. One or more label entries that apply to the Group. Labels contain + * a key with an empty value. Google Groups are the default type of group and + * have a label with a key of * `cloudidentity.googleapis.com/groups.discussion_forum` and an empty value. * Existing Google Groups can have an additional label with a key of * `cloudidentity.googleapis.com/groups.security` and an empty value added to @@ -2583,7 +2587,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State * once added.** Dynamic groups have a label with a key of * `cloudidentity.googleapis.com/groups.dynamic`. Identity-mapped groups for * Cloud Search have a label with a key of `system/groups/external` and an - * empty value. + * empty value. Google Groups can be + * [locked](https://support.google.com/a?p=locked-groups). To lock a group, add + * a label with a key of `cloudidentity.googleapis.com/groups.locked` and an + * empty value. Doing so locks the group. To unlock the group, remove this + * label. * * @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/CloudKMS/GTLRCloudKMSObjects.m b/Sources/GeneratedServices/CloudKMS/GTLRCloudKMSObjects.m index 52586d896..0dda1cc16 100644 --- a/Sources/GeneratedServices/CloudKMS/GTLRCloudKMSObjects.m +++ b/Sources/GeneratedServices/CloudKMS/GTLRCloudKMSObjects.m @@ -67,6 +67,7 @@ NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_HmacSha256 = @"HMAC_SHA256"; NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_HmacSha384 = @"HMAC_SHA384"; NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_HmacSha512 = @"HMAC_SHA512"; +NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_PqSignHashSlhDsaSha2128sSha256 = @"PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256"; NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_PqSignMlDsa65 = @"PQ_SIGN_ML_DSA_65"; NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_PqSignSlhDsaSha2128s = @"PQ_SIGN_SLH_DSA_SHA2_128S"; NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_RsaDecryptOaep2048Sha1 = @"RSA_DECRYPT_OAEP_2048_SHA1"; @@ -127,6 +128,7 @@ NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_HmacSha256 = @"HMAC_SHA256"; NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_HmacSha384 = @"HMAC_SHA384"; NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_HmacSha512 = @"HMAC_SHA512"; +NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_PqSignHashSlhDsaSha2128sSha256 = @"PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256"; NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_PqSignMlDsa65 = @"PQ_SIGN_ML_DSA_65"; NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_PqSignSlhDsaSha2128s = @"PQ_SIGN_SLH_DSA_SHA2_128S"; NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_RsaDecryptOaep2048Sha1 = @"RSA_DECRYPT_OAEP_2048_SHA1"; @@ -200,6 +202,7 @@ NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_HmacSha256 = @"HMAC_SHA256"; NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_HmacSha384 = @"HMAC_SHA384"; NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_HmacSha512 = @"HMAC_SHA512"; +NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_PqSignHashSlhDsaSha2128sSha256 = @"PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256"; NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_PqSignMlDsa65 = @"PQ_SIGN_ML_DSA_65"; NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_PqSignSlhDsaSha2128s = @"PQ_SIGN_SLH_DSA_SHA2_128S"; NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_RsaDecryptOaep2048Sha1 = @"RSA_DECRYPT_OAEP_2048_SHA1"; @@ -295,6 +298,7 @@ NSString * const kGTLRCloudKMS_PublicKey_Algorithm_HmacSha256 = @"HMAC_SHA256"; NSString * const kGTLRCloudKMS_PublicKey_Algorithm_HmacSha384 = @"HMAC_SHA384"; NSString * const kGTLRCloudKMS_PublicKey_Algorithm_HmacSha512 = @"HMAC_SHA512"; +NSString * const kGTLRCloudKMS_PublicKey_Algorithm_PqSignHashSlhDsaSha2128sSha256 = @"PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256"; NSString * const kGTLRCloudKMS_PublicKey_Algorithm_PqSignMlDsa65 = @"PQ_SIGN_ML_DSA_65"; NSString * const kGTLRCloudKMS_PublicKey_Algorithm_PqSignSlhDsaSha2128s = @"PQ_SIGN_SLH_DSA_SHA2_128S"; NSString * const kGTLRCloudKMS_PublicKey_Algorithm_RsaDecryptOaep2048Sha1 = @"RSA_DECRYPT_OAEP_2048_SHA1"; diff --git a/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h b/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h index 3ccdf6ea6..81000d75b 100644 --- a/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h +++ b/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h @@ -344,6 +344,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_Hmac * Value: "HMAC_SHA512" */ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_HmacSha512; +/** + * The post-quantum stateless hash-based digital signature algorithm, at + * security level 1. Randomized pre-hash version supporting SHA256 digests. + * + * Value: "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_PqSignHashSlhDsaSha2128sSha256; /** * The post-quantum Module-Lattice-Based Digital Signature Algorithm, at * security level 3. Randomized version. @@ -706,6 +713,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algori * Value: "HMAC_SHA512" */ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_HmacSha512; +/** + * The post-quantum stateless hash-based digital signature algorithm, at + * security level 1. Randomized pre-hash version supporting SHA256 digests. + * + * Value: "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_PqSignHashSlhDsaSha2128sSha256; /** * The post-quantum Module-Lattice-Based Digital Signature Algorithm, at * security level 3. Randomized version. @@ -1118,6 +1132,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_A * Value: "HMAC_SHA512" */ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_HmacSha512; +/** + * The post-quantum stateless hash-based digital signature algorithm, at + * security level 1. Randomized pre-hash version supporting SHA256 digests. + * + * Value: "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_PqSignHashSlhDsaSha2128sSha256; /** * The post-quantum Module-Lattice-Based Digital Signature Algorithm, at * security level 3. Randomized version. @@ -1677,6 +1698,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_PublicKey_Algorithm_HmacSha384; * Value: "HMAC_SHA512" */ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_PublicKey_Algorithm_HmacSha512; +/** + * The post-quantum stateless hash-based digital signature algorithm, at + * security level 1. Randomized pre-hash version supporting SHA256 digests. + * + * Value: "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_PublicKey_Algorithm_PqSignHashSlhDsaSha2128sSha256; /** * The post-quantum Module-Lattice-Based Digital Signature Algorithm, at * security level 3. Randomized version. @@ -2694,6 +2722,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe * signing with a 384 bit key. (Value: "HMAC_SHA384") * @arg @c kGTLRCloudKMS_CryptoKeyVersion_Algorithm_HmacSha512 HMAC-SHA512 * signing with a 512 bit key. (Value: "HMAC_SHA512") + * @arg @c kGTLRCloudKMS_CryptoKeyVersion_Algorithm_PqSignHashSlhDsaSha2128sSha256 + * The post-quantum stateless hash-based digital signature algorithm, at + * security level 1. Randomized pre-hash version supporting SHA256 + * digests. (Value: "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256") * @arg @c kGTLRCloudKMS_CryptoKeyVersion_Algorithm_PqSignMlDsa65 The * post-quantum Module-Lattice-Based Digital Signature Algorithm, at * security level 3. Randomized version. (Value: "PQ_SIGN_ML_DSA_65") @@ -2981,6 +3013,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe * HMAC-SHA384 signing with a 384 bit key. (Value: "HMAC_SHA384") * @arg @c kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_HmacSha512 * HMAC-SHA512 signing with a 512 bit key. (Value: "HMAC_SHA512") + * @arg @c kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_PqSignHashSlhDsaSha2128sSha256 + * The post-quantum stateless hash-based digital signature algorithm, at + * security level 1. Randomized pre-hash version supporting SHA256 + * digests. (Value: "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256") * @arg @c kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_PqSignMlDsa65 The * post-quantum Module-Lattice-Based Digital Signature Algorithm, at * security level 3. Randomized version. (Value: "PQ_SIGN_ML_DSA_65") @@ -3671,6 +3707,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe * HMAC-SHA384 signing with a 384 bit key. (Value: "HMAC_SHA384") * @arg @c kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_HmacSha512 * HMAC-SHA512 signing with a 512 bit key. (Value: "HMAC_SHA512") + * @arg @c kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_PqSignHashSlhDsaSha2128sSha256 + * The post-quantum stateless hash-based digital signature algorithm, at + * security level 1. Randomized pre-hash version supporting SHA256 + * digests. (Value: "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256") * @arg @c kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_PqSignMlDsa65 * The post-quantum Module-Lattice-Based Digital Signature Algorithm, at * security level 3. Randomized version. (Value: "PQ_SIGN_ML_DSA_65") @@ -4866,6 +4906,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe * with a 384 bit key. (Value: "HMAC_SHA384") * @arg @c kGTLRCloudKMS_PublicKey_Algorithm_HmacSha512 HMAC-SHA512 signing * with a 512 bit key. (Value: "HMAC_SHA512") + * @arg @c kGTLRCloudKMS_PublicKey_Algorithm_PqSignHashSlhDsaSha2128sSha256 + * The post-quantum stateless hash-based digital signature algorithm, at + * security level 1. Randomized pre-hash version supporting SHA256 + * digests. (Value: "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256") * @arg @c kGTLRCloudKMS_PublicKey_Algorithm_PqSignMlDsa65 The post-quantum * Module-Lattice-Based Digital Signature Algorithm, at security level 3. * Randomized version. (Value: "PQ_SIGN_ML_DSA_65") diff --git a/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderObjects.m b/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderObjects.m new file mode 100644 index 000000000..198f595bd --- /dev/null +++ b/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderObjects.m @@ -0,0 +1,139 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Cloud Location Finder API (cloudlocationfinder/v1alpha) +// Documentation: +// https://cloud.google.com/location-finder/docs + +#import + +// ---------------------------------------------------------------------------- +// Constants + +// GTLRCloudLocationFinder_CloudLocation.cloudLocationType +NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeRegion = @"CLOUD_LOCATION_TYPE_REGION"; +NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeRegionExtension = @"CLOUD_LOCATION_TYPE_REGION_EXTENSION"; +NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeUnspecified = @"CLOUD_LOCATION_TYPE_UNSPECIFIED"; +NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeZone = @"CLOUD_LOCATION_TYPE_ZONE"; + +// GTLRCloudLocationFinder_CloudLocation.cloudProvider +NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudProvider_CloudProviderAws = @"CLOUD_PROVIDER_AWS"; +NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudProvider_CloudProviderAzure = @"CLOUD_PROVIDER_AZURE"; +NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudProvider_CloudProviderGcp = @"CLOUD_PROVIDER_GCP"; +NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudProvider_CloudProviderOci = @"CLOUD_PROVIDER_OCI"; +NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudProvider_CloudProviderUnspecified = @"CLOUD_PROVIDER_UNSPECIFIED"; + +// ---------------------------------------------------------------------------- +// +// GTLRCloudLocationFinder_CloudLocation +// + +@implementation GTLRCloudLocationFinder_CloudLocation +@dynamic carbonFreeEnergyPercentage, cloudLocationType, cloudProvider, + containingCloudLocation, displayName, name, territoryCode; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudLocationFinder_ListCloudLocationsResponse +// + +@implementation GTLRCloudLocationFinder_ListCloudLocationsResponse +@dynamic cloudLocations, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"cloudLocations" : [GTLRCloudLocationFinder_CloudLocation class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"cloudLocations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudLocationFinder_ListLocationsResponse +// + +@implementation GTLRCloudLocationFinder_ListLocationsResponse +@dynamic locations, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"locations" : [GTLRCloudLocationFinder_Location class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"locations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudLocationFinder_Location +// + +@implementation GTLRCloudLocationFinder_Location +@dynamic displayName, labels, locationId, metadata, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudLocationFinder_Location_Labels +// + +@implementation GTLRCloudLocationFinder_Location_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudLocationFinder_Location_Metadata +// + +@implementation GTLRCloudLocationFinder_Location_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudLocationFinder_SearchCloudLocationsResponse +// + +@implementation GTLRCloudLocationFinder_SearchCloudLocationsResponse +@dynamic cloudLocations, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"cloudLocations" : [GTLRCloudLocationFinder_CloudLocation class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"cloudLocations"; +} + +@end diff --git a/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderQuery.m b/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderQuery.m new file mode 100644 index 000000000..2619c0ab9 --- /dev/null +++ b/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderQuery.m @@ -0,0 +1,119 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Cloud Location Finder API (cloudlocationfinder/v1alpha) +// Documentation: +// https://cloud.google.com/location-finder/docs + +#import + +#import + +@implementation GTLRCloudLocationFinderQuery + +@dynamic fields; + +@end + +@implementation GTLRCloudLocationFinderQuery_ProjectsLocationsCloudLocationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1alpha/{+name}"; + GTLRCloudLocationFinderQuery_ProjectsLocationsCloudLocationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudLocationFinder_CloudLocation class]; + query.loggingName = @"cloudlocationfinder.projects.locations.cloudLocations.get"; + return query; +} + +@end + +@implementation GTLRCloudLocationFinderQuery_ProjectsLocationsCloudLocationsList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1alpha/{+parent}/cloudLocations"; + GTLRCloudLocationFinderQuery_ProjectsLocationsCloudLocationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRCloudLocationFinder_ListCloudLocationsResponse class]; + query.loggingName = @"cloudlocationfinder.projects.locations.cloudLocations.list"; + return query; +} + +@end + +@implementation GTLRCloudLocationFinderQuery_ProjectsLocationsCloudLocationsSearch + +@dynamic pageSize, pageToken, parent, query, sourceCloudLocation; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1alpha/{+parent}/cloudLocations:search"; + GTLRCloudLocationFinderQuery_ProjectsLocationsCloudLocationsSearch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRCloudLocationFinder_SearchCloudLocationsResponse class]; + query.loggingName = @"cloudlocationfinder.projects.locations.cloudLocations.search"; + return query; +} + +@end + +@implementation GTLRCloudLocationFinderQuery_ProjectsLocationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1alpha/{+name}"; + GTLRCloudLocationFinderQuery_ProjectsLocationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudLocationFinder_Location class]; + query.loggingName = @"cloudlocationfinder.projects.locations.get"; + return query; +} + +@end + +@implementation GTLRCloudLocationFinderQuery_ProjectsLocationsList + +@dynamic extraLocationTypes, filter, name, pageSize, pageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"extraLocationTypes" : [NSString class] + }; + return map; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1alpha/{+name}/locations"; + GTLRCloudLocationFinderQuery_ProjectsLocationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudLocationFinder_ListLocationsResponse class]; + query.loggingName = @"cloudlocationfinder.projects.locations.list"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderService.m b/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderService.m new file mode 100644 index 000000000..9b528348d --- /dev/null +++ b/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderService.m @@ -0,0 +1,33 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Cloud Location Finder API (cloudlocationfinder/v1alpha) +// Documentation: +// https://cloud.google.com/location-finder/docs + +#import + +// ---------------------------------------------------------------------------- +// Authorization scope + +NSString * const kGTLRAuthScopeCloudLocationFinderCloudPlatform = @"https://www.googleapis.com/auth/cloud-platform"; + +// ---------------------------------------------------------------------------- +// GTLRCloudLocationFinderService +// + +@implementation GTLRCloudLocationFinderService + +- (instancetype)init { + self = [super init]; + if (self) { + // From discovery. + self.rootURLString = @"https://cloudlocationfinder.googleapis.com/"; + self.batchPath = @"batch"; + self.prettyPrintQueryParameterNames = @[ @"prettyPrint" ]; + } + return self; +} + +@end diff --git a/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinder.h b/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinder.h new file mode 100644 index 000000000..129b3ecc3 --- /dev/null +++ b/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinder.h @@ -0,0 +1,11 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Cloud Location Finder API (cloudlocationfinder/v1alpha) +// Documentation: +// https://cloud.google.com/location-finder/docs + +#import "GTLRCloudLocationFinderObjects.h" +#import "GTLRCloudLocationFinderQuery.h" +#import "GTLRCloudLocationFinderService.h" diff --git a/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderObjects.h b/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderObjects.h new file mode 100644 index 000000000..4a7f09648 --- /dev/null +++ b/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderObjects.h @@ -0,0 +1,316 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Cloud Location Finder API (cloudlocationfinder/v1alpha) +// Documentation: +// https://cloud.google.com/location-finder/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 GTLRCloudLocationFinder_CloudLocation; +@class GTLRCloudLocationFinder_Location; +@class GTLRCloudLocationFinder_Location_Labels; +@class GTLRCloudLocationFinder_Location_Metadata; + +// 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. + +// ---------------------------------------------------------------------------- +// GTLRCloudLocationFinder_CloudLocation.cloudLocationType + +/** + * CloudLocation type for region. + * + * Value: "CLOUD_LOCATION_TYPE_REGION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeRegion; +/** + * CloudLocation type for region extension. + * + * Value: "CLOUD_LOCATION_TYPE_REGION_EXTENSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeRegionExtension; +/** + * Unspecified type. + * + * Value: "CLOUD_LOCATION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeUnspecified; +/** + * CloudLocation type for zone. + * + * Value: "CLOUD_LOCATION_TYPE_ZONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeZone; + +// ---------------------------------------------------------------------------- +// GTLRCloudLocationFinder_CloudLocation.cloudProvider + +/** + * Cloud provider type for AWS. + * + * Value: "CLOUD_PROVIDER_AWS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudProvider_CloudProviderAws; +/** + * Cloud provider type for Azure. + * + * Value: "CLOUD_PROVIDER_AZURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudProvider_CloudProviderAzure; +/** + * Cloud provider type for Google Cloud. + * + * Value: "CLOUD_PROVIDER_GCP" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudProvider_CloudProviderGcp; +/** + * Cloud provider type for OCI. + * + * Value: "CLOUD_PROVIDER_OCI" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudProvider_CloudProviderOci; +/** + * Unspecified type. + * + * Value: "CLOUD_PROVIDER_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudProvider_CloudProviderUnspecified; + +/** + * Represents resource cloud locations. + */ +@interface GTLRCloudLocationFinder_CloudLocation : GTLRObject + +/** + * Optional. The carbon free energy percentage of the cloud location. This + * represents the average percentage of time customers' application will be + * running on carbon-free energy. See + * https://cloud.google.com/sustainability/region-carbon for more details. + * There is a difference between default value 0 and unset value. 0 means the + * carbon free energy percentage is 0%, while unset value means the carbon + * footprint data is not available. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *carbonFreeEnergyPercentage; + +/** + * Optional. The type of the cloud location. + * + * Likely values: + * @arg @c kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeRegion + * CloudLocation type for region. (Value: "CLOUD_LOCATION_TYPE_REGION") + * @arg @c kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeRegionExtension + * CloudLocation type for region extension. (Value: + * "CLOUD_LOCATION_TYPE_REGION_EXTENSION") + * @arg @c kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeUnspecified + * Unspecified type. (Value: "CLOUD_LOCATION_TYPE_UNSPECIFIED") + * @arg @c kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeZone + * CloudLocation type for zone. (Value: "CLOUD_LOCATION_TYPE_ZONE") + */ +@property(nonatomic, copy, nullable) NSString *cloudLocationType; + +/** + * Optional. The provider of the cloud location. Values can be Google Cloud or + * third-party providers, including AWS, Azure, or Oracle Cloud Infrastructure. + * + * Likely values: + * @arg @c kGTLRCloudLocationFinder_CloudLocation_CloudProvider_CloudProviderAws + * Cloud provider type for AWS. (Value: "CLOUD_PROVIDER_AWS") + * @arg @c kGTLRCloudLocationFinder_CloudLocation_CloudProvider_CloudProviderAzure + * Cloud provider type for Azure. (Value: "CLOUD_PROVIDER_AZURE") + * @arg @c kGTLRCloudLocationFinder_CloudLocation_CloudProvider_CloudProviderGcp + * Cloud provider type for Google Cloud. (Value: "CLOUD_PROVIDER_GCP") + * @arg @c kGTLRCloudLocationFinder_CloudLocation_CloudProvider_CloudProviderOci + * Cloud provider type for OCI. (Value: "CLOUD_PROVIDER_OCI") + * @arg @c kGTLRCloudLocationFinder_CloudLocation_CloudProvider_CloudProviderUnspecified + * Unspecified type. (Value: "CLOUD_PROVIDER_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *cloudProvider; + +/** + * Output only. The containing cloud location in the strict nesting hierarchy. + * For example, the containing cloud location of a zone is a region. + */ +@property(nonatomic, copy, nullable) NSString *containingCloudLocation; + +/** + * Optional. The human-readable name of the cloud location. Example: us-east-2, + * us-east1. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Identifier. Name of the cloud location. Unique name of the cloud location + * including project and location using the form: + * `projects/{project_id}/locations/{location}/cloudLocations/{cloud_location}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The two-letter ISO 3166-1 alpha-2 code of the cloud location. + * Examples: US, JP, KR. + */ +@property(nonatomic, copy, nullable) NSString *territoryCode; + +@end + + +/** + * Message for response to listing cloud locations. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "cloudLocations" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRCloudLocationFinder_ListCloudLocationsResponse : GTLRCollectionObject + +/** + * Output only. List of cloud locations. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *cloudLocations; + +/** + * Output only. The continuation token, used to page through large result sets. + * Provide this value in a subsequent request as page_token in subsequent + * requests to retrieve the next page. If this field is not present, there are + * no subsequent results. + */ +@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 GTLRCloudLocationFinder_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 + + +/** + * A resource that represents a Google Cloud location. + */ +@interface GTLRCloudLocationFinder_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) GTLRCloudLocationFinder_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) GTLRCloudLocationFinder_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 GTLRCloudLocationFinder_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 GTLRCloudLocationFinder_Location_Metadata : GTLRObject +@end + + +/** + * Message for response to searching cloud locations. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "cloudLocations" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRCloudLocationFinder_SearchCloudLocationsResponse : GTLRCollectionObject + +/** + * Output only. List of cloud locations. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *cloudLocations; + +/** + * Output only. The continuation token, used to page through large result sets. + * Provide this value in a subsequent request as page_token in subsequent + * requests to retrieve the next page. If this field is not present, there are + * no subsequent results. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderQuery.h b/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderQuery.h new file mode 100644 index 000000000..dcd0170b3 --- /dev/null +++ b/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderQuery.h @@ -0,0 +1,265 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Cloud Location Finder API (cloudlocationfinder/v1alpha) +// Documentation: +// https://cloud.google.com/location-finder/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 + +/** + * Parent class for other Cloud Location Finder query classes. + */ +@interface GTLRCloudLocationFinderQuery : GTLRQuery + +/** Selector specifying which fields to include in a partial response. */ +@property(nonatomic, copy, nullable) NSString *fields; + +@end + +/** + * Retrieves a resource containing information about a cloud location. + * + * Method: cloudlocationfinder.projects.locations.cloudLocations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudLocationFinderCloudPlatform + */ +@interface GTLRCloudLocationFinderQuery_ProjectsLocationsCloudLocationsGet : GTLRCloudLocationFinderQuery + +/** Required. Name of the resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudLocationFinder_CloudLocation. + * + * Retrieves a resource containing information about a cloud location. + * + * @param name Required. Name of the resource. + * + * @return GTLRCloudLocationFinderQuery_ProjectsLocationsCloudLocationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists cloud locations under a given project and location. + * + * Method: cloudlocationfinder.projects.locations.cloudLocations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudLocationFinderCloudPlatform + */ +@interface GTLRCloudLocationFinderQuery_ProjectsLocationsCloudLocationsList : GTLRCloudLocationFinderQuery + +/** + * Optional. A filter expression that filters resources listed in the response. + * The expression is in the form of field=value. For example, + * 'cloud_location_type=CLOUD_LOCATION_TYPE_REGION'. Multiple filter queries + * are space-separated. For example, + * 'cloud_location_type=CLOUD_LOCATION_TYPE_REGION territory_code="US"' By + * default, each expression is an AND expression. However, you can include AND + * and OR expressions explicitly. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The maximum number of cloud locations to return per page. The + * service might return fewer cloud locations than this value. If unspecified, + * server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A token identifying a page of results the server should return. + * Provide page token returned by a previous 'ListCloudLocations' call to + * retrieve the next page of results. When paginating, all other parameters + * provided to 'ListCloudLocations' must match the call that provided the page + * token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent, which owns this collection of cloud locations. Format: + * projects/{project}/locations/{location} + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRCloudLocationFinder_ListCloudLocationsResponse. + * + * Lists cloud locations under a given project and location. + * + * @param parent Required. The parent, which owns this collection of cloud + * locations. Format: projects/{project}/locations/{location} + * + * @return GTLRCloudLocationFinderQuery_ProjectsLocationsCloudLocationsList + * + * @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 + +/** + * Searches for cloud locations from a given source location. + * + * Method: cloudlocationfinder.projects.locations.cloudLocations.search + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudLocationFinderCloudPlatform + */ +@interface GTLRCloudLocationFinderQuery_ProjectsLocationsCloudLocationsSearch : GTLRCloudLocationFinderQuery + +/** + * Optional. The maximum number of cloud locations to return. The service might + * return fewer cloud locations than this value. If unspecified, server will + * pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A token identifying a page of results the server should return. + * Provide Page token returned by a previous 'ListCloudLocations' call to + * retrieve the next page of results. When paginating, all other parameters + * provided to 'ListCloudLocations' must match the call that provided the page + * token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent, which owns this collection of cloud locations. Format: + * projects/{project}/locations/{location} + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. The query string in search query syntax. While filter is used to + * filter the search results by attributes, query is used to specify the search + * requirements. + */ +@property(nonatomic, copy, nullable) NSString *query; + +/** + * Required. The source cloud location to search from. Example search can be + * searching nearby cloud locations from the source cloud location by latency. + */ +@property(nonatomic, copy, nullable) NSString *sourceCloudLocation; + +/** + * Fetches a @c GTLRCloudLocationFinder_SearchCloudLocationsResponse. + * + * Searches for cloud locations from a given source location. + * + * @param parent Required. The parent, which owns this collection of cloud + * locations. Format: projects/{project}/locations/{location} + * + * @return GTLRCloudLocationFinderQuery_ProjectsLocationsCloudLocationsSearch + * + * @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: cloudlocationfinder.projects.locations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudLocationFinderCloudPlatform + */ +@interface GTLRCloudLocationFinderQuery_ProjectsLocationsGet : GTLRCloudLocationFinderQuery + +/** Resource name for the location. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudLocationFinder_Location. + * + * Gets information about a location. + * + * @param name Resource name for the location. + * + * @return GTLRCloudLocationFinderQuery_ProjectsLocationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists information about the supported locations for this service. + * + * Method: cloudlocationfinder.projects.locations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudLocationFinderCloudPlatform + */ +@interface GTLRCloudLocationFinderQuery_ProjectsLocationsList : GTLRCloudLocationFinderQuery + +/** + * Optional. A list of extra location types that should be used as conditions + * for controlling the visibility of the locations. + */ +@property(nonatomic, strong, nullable) NSArray *extraLocationTypes; + +/** + * A filter to narrow down results to a preferred subset. The filtering + * language accepts strings like `"displayName=tokyo"`, and is documented in + * more detail in [AIP-160](https://google.aip.dev/160). + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** The resource that owns the locations collection, if applicable. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The maximum number of results to return. If not set, the service selects a + * default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token received from the `next_page_token` field in the response. Send + * that page token to receive the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRCloudLocationFinder_ListLocationsResponse. + * + * Lists information about the supported locations for this service. + * + * @param name The resource that owns the locations collection, if applicable. + * + * @return GTLRCloudLocationFinderQuery_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 + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderService.h b/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderService.h new file mode 100644 index 000000000..99fed109c --- /dev/null +++ b/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderService.h @@ -0,0 +1,69 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Cloud Location Finder API (cloudlocationfinder/v1alpha) +// Documentation: +// https://cloud.google.com/location-finder/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 kGTLRAuthScopeCloudLocationFinderCloudPlatform; + +// ---------------------------------------------------------------------------- +// GTLRCloudLocationFinderService +// + +/** + * Service for executing Cloud Location Finder API queries. + */ +@interface GTLRCloudLocationFinderService : GTLRService + +// No new methods + +// Clients should create a standard query with any of the class methods in +// GTLRCloudLocationFinderQuery.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/CloudRedis/GTLRCloudRedisObjects.m b/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m index 4c555d060..a6c291098 100644 --- a/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m +++ b/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m @@ -501,8 +501,10 @@ NSString * const kGTLRCloudRedis_PersistenceConfig_RdbSnapshotPeriod_TwentyFourHours = @"TWENTY_FOUR_HOURS"; // GTLRCloudRedis_Product.engine +NSString * const kGTLRCloudRedis_Product_Engine_EngineAdbServerlessOracle = @"ENGINE_ADB_SERVERLESS_ORACLE"; NSString * const kGTLRCloudRedis_Product_Engine_EngineCloudSpannerWithGooglesqlDialect = @"ENGINE_CLOUD_SPANNER_WITH_GOOGLESQL_DIALECT"; NSString * const kGTLRCloudRedis_Product_Engine_EngineCloudSpannerWithPostgresDialect = @"ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT"; +NSString * const kGTLRCloudRedis_Product_Engine_EngineExadataOracle = @"ENGINE_EXADATA_ORACLE"; NSString * const kGTLRCloudRedis_Product_Engine_EngineFirestoreWithDatastoreMode = @"ENGINE_FIRESTORE_WITH_DATASTORE_MODE"; NSString * const kGTLRCloudRedis_Product_Engine_EngineFirestoreWithNativeMode = @"ENGINE_FIRESTORE_WITH_NATIVE_MODE"; NSString * const kGTLRCloudRedis_Product_Engine_EngineMemorystoreForRedis = @"ENGINE_MEMORYSTORE_FOR_REDIS"; @@ -529,6 +531,7 @@ NSString * const kGTLRCloudRedis_Product_Type_ProductTypeFirestore = @"PRODUCT_TYPE_FIRESTORE"; NSString * const kGTLRCloudRedis_Product_Type_ProductTypeMemorystore = @"PRODUCT_TYPE_MEMORYSTORE"; NSString * const kGTLRCloudRedis_Product_Type_ProductTypeOnPrem = @"PRODUCT_TYPE_ON_PREM"; +NSString * const kGTLRCloudRedis_Product_Type_ProductTypeOracleOnGcp = @"PRODUCT_TYPE_ORACLE_ON_GCP"; NSString * const kGTLRCloudRedis_Product_Type_ProductTypeOther = @"PRODUCT_TYPE_OTHER"; NSString * const kGTLRCloudRedis_Product_Type_ProductTypeSpanner = @"PRODUCT_TYPE_SPANNER"; NSString * const kGTLRCloudRedis_Product_Type_ProductTypeUnspecified = @"PRODUCT_TYPE_UNSPECIFIED"; @@ -750,14 +753,15 @@ @implementation GTLRCloudRedis_CertificateAuthority // @implementation GTLRCloudRedis_Cluster -@dynamic asyncClusterEndpointsDeletionEnabled, authorizationMode, - automatedBackupConfig, backupCollection, clusterEndpoints, createTime, - crossClusterReplicationConfig, deletionProtectionEnabled, - discoveryEndpoints, encryptionInfo, gcsSource, kmsKey, - maintenancePolicy, maintenanceSchedule, managedBackupSource, name, - nodeType, ondemandMaintenance, persistenceConfig, preciseSizeGb, - pscConfigs, pscConnections, pscServiceAttachments, redisConfigs, - replicaCount, shardCount, sizeGb, state, stateInfo, +@dynamic allowFewerZonesDeployment, asyncClusterEndpointsDeletionEnabled, + authorizationMode, automatedBackupConfig, backupCollection, + clusterEndpoints, createTime, crossClusterReplicationConfig, + deletionProtectionEnabled, discoveryEndpoints, encryptionInfo, + gcsSource, kmsKey, maintenancePolicy, maintenanceSchedule, + managedBackupSource, name, nodeType, ondemandMaintenance, + persistenceConfig, preciseSizeGb, pscConfigs, pscConnections, + pscServiceAttachments, redisConfigs, replicaCount, shardCount, + simulateMaintenanceEvent, sizeGb, state, stateInfo, transitEncryptionMode, uid, zoneDistributionConfig; + (NSDictionary *)arrayPropertyToClassMap { @@ -929,7 +933,7 @@ @implementation GTLRCloudRedis_DatabaseResourceFeed @implementation GTLRCloudRedis_DatabaseResourceHealthSignalData @dynamic additionalMetadata, compliance, descriptionProperty, eventTime, - externalUri, name, provider, resourceContainer, resourceName, + externalUri, location, name, provider, resourceContainer, resourceName, signalClass, signalId, signalSeverity, signalType, state; + (NSDictionary *)propertyToJSONKeyMap { @@ -1235,7 +1239,7 @@ @implementation GTLRCloudRedis_Instance port, readEndpoint, readEndpointPort, readReplicasMode, redisConfigs, redisVersion, replicaCount, reservedIpRange, satisfiesPzi, satisfiesPzs, secondaryIpRange, serverCaCerts, state, statusMessage, - suspensionReasons, tier, transitEncryptionMode; + suspensionReasons, tags, tier, transitEncryptionMode; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1278,6 +1282,20 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRedis_Instance_Tags +// + +@implementation GTLRCloudRedis_Instance_Tags + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRedis_InstanceAuthString diff --git a/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h b/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h index 65560893c..91389f8a3 100644 --- a/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h +++ b/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h @@ -54,6 +54,7 @@ @class GTLRCloudRedis_Instance; @class GTLRCloudRedis_Instance_Labels; @class GTLRCloudRedis_Instance_RedisConfigs; +@class GTLRCloudRedis_Instance_Tags; @class GTLRCloudRedis_InternalResourceMetadata; @class GTLRCloudRedis_Location; @class GTLRCloudRedis_Location_Labels; @@ -2777,6 +2778,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_PersistenceConfig_RdbSnapshot // ---------------------------------------------------------------------------- // GTLRCloudRedis_Product.engine +/** + * Oracle Autonomous DB Serverless engine. + * + * Value: "ENGINE_ADB_SERVERLESS_ORACLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_Product_Engine_EngineAdbServerlessOracle; /** * Cloud Spanner with Google SQL dialect. * @@ -2789,6 +2796,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_Product_Engine_EngineCloudSpa * Value: "ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_Product_Engine_EngineCloudSpannerWithPostgresDialect; +/** + * Oracle Exadata engine. + * + * Value: "ENGINE_EXADATA_ORACLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_Product_Engine_EngineExadataOracle; /** * Firestore with datastore mode. * @@ -2938,6 +2951,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_Product_Type_ProductTypeMemor * Value: "PRODUCT_TYPE_ON_PREM" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_Product_Type_ProductTypeOnPrem; +/** + * Oracle product area in GCP + * + * Value: "PRODUCT_TYPE_ORACLE_ON_GCP" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_Product_Type_ProductTypeOracleOnGcp; /** * Other refers to rest of other product type. This is to be when product type * is known, but it is not present in this enum. @@ -3739,6 +3758,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z */ @interface GTLRCloudRedis_Cluster : GTLRObject +/** + * Optional. Immutable. Allows customers to specify if they are okay with + * deploying a multi-zone cluster in less than 3 zones. Once set, if there is a + * zonal outage during the cluster creation, the cluster will only be deployed + * in 2 zones, and stay within the 2 zones for its lifecycle. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowFewerZonesDeployment; + /** * Optional. If true, cluster endpoints that are created and registered by * customers can be deleted asynchronously. That is, such a cluster endpoint @@ -3902,6 +3931,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z */ @property(nonatomic, strong, nullable) NSNumber *shardCount; +/** + * Optional. Input only. Simulate a maintenance event. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *simulateMaintenanceEvent; + /** * Output only. Redis memory size in GB for the entire cluster rounded up to * the next integer. @@ -4219,7 +4255,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z /** * DatabaseResourceFeed is the top level proto to be used to ingest different - * database resource level events into Condor platform. + * database resource level events into Condor platform. Next ID: 8 */ @interface GTLRCloudRedis_DatabaseResourceFeed : GTLRObject @@ -4299,6 +4335,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z */ @property(nonatomic, copy, nullable) NSString *externalUri; +/** + * This is used to identify the location of the resource. Example: + * "us-central1" + */ +@property(nonatomic, copy, nullable) NSString *location; + /** * Required. The name of the signal, ex: PUBLIC_SQL_INSTANCE, * SQL_LOG_ERROR_VERBOSITY etc. @@ -4798,15 +4840,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @property(nonatomic, copy, nullable) NSString *providerDescription; /** - * Required. The type of resource this ID is identifying. Ex + * Required. The type of resource this ID is identifying. Ex go/keep-sorted + * start alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance, + * bigtableadmin.googleapis.com/Cluster, bigtableadmin.googleapis.com/Instance + * compute.googleapis.com/Instance firestore.googleapis.com/Database, * redis.googleapis.com/Instance, redis.googleapis.com/Cluster, - * alloydb.googleapis.com/Cluster, alloydb.googleapis.com/Instance, + * oracledatabase.googleapis.com/CloudExadataInfrastructure + * oracledatabase.googleapis.com/CloudVmCluster + * oracledatabase.googleapis.com/AutonomousDatabase * spanner.googleapis.com/Instance, spanner.googleapis.com/Database, - * firestore.googleapis.com/Database, sqladmin.googleapis.com/Instance, - * bigtableadmin.googleapis.com/Cluster, bigtableadmin.googleapis.com/Instance - * oracledatabase.googleapis.com/cloudExadataInfrastructures - * oracledatabase.googleapis.com/cloudVmClusters - * oracledatabase.googleapis.com/autonomousDatabases REQUIRED Please refer + * sqladmin.googleapis.com/Instance, go/keep-sorted end REQUIRED Please refer * go/condor-common-datamodel */ @property(nonatomic, copy, nullable) NSString *resourceType; @@ -6086,6 +6129,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z /** Optional. reasons that causes instance in "SUSPENDED" state. */ @property(nonatomic, strong, nullable) NSArray *suspensionReasons; +/** + * Optional. Input only. Immutable. Tag keys/values directly bound to this + * resource. For example: "123/environment": "production", "123/costCenter": + * "marketing" + */ +@property(nonatomic, strong, nullable) GTLRCloudRedis_Instance_Tags *tags; + /** * Required. The service tier of the instance. * @@ -6146,6 +6196,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @end +/** + * Optional. Input only. Immutable. Tag keys/values directly bound to this + * resource. For example: "123/environment": "production", "123/costCenter": + * "marketing" + * + * @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_Instance_Tags : GTLRObject +@end + + /** * Instance AUTH string details. */ @@ -6936,12 +7000,17 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z * The specific engine that the underlying database is running. * * Likely values: + * @arg @c kGTLRCloudRedis_Product_Engine_EngineAdbServerlessOracle Oracle + * Autonomous DB Serverless engine. (Value: + * "ENGINE_ADB_SERVERLESS_ORACLE") * @arg @c kGTLRCloudRedis_Product_Engine_EngineCloudSpannerWithGooglesqlDialect * Cloud Spanner with Google SQL dialect. (Value: * "ENGINE_CLOUD_SPANNER_WITH_GOOGLESQL_DIALECT") * @arg @c kGTLRCloudRedis_Product_Engine_EngineCloudSpannerWithPostgresDialect * Cloud Spanner with PostgreSQL dialect. (Value: * "ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT") + * @arg @c kGTLRCloudRedis_Product_Engine_EngineExadataOracle Oracle Exadata + * engine. (Value: "ENGINE_EXADATA_ORACLE") * @arg @c kGTLRCloudRedis_Product_Engine_EngineFirestoreWithDatastoreMode * Firestore with datastore mode. (Value: * "ENGINE_FIRESTORE_WITH_DATASTORE_MODE") @@ -7002,6 +7071,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z * product area in GCP (Value: "PRODUCT_TYPE_MEMORYSTORE") * @arg @c kGTLRCloudRedis_Product_Type_ProductTypeOnPrem On premises * database product. (Value: "PRODUCT_TYPE_ON_PREM") + * @arg @c kGTLRCloudRedis_Product_Type_ProductTypeOracleOnGcp Oracle product + * area in GCP (Value: "PRODUCT_TYPE_ORACLE_ON_GCP") * @arg @c kGTLRCloudRedis_Product_Type_ProductTypeOther Other refers to rest * of other product type. This is to be when product type is known, but * it is not present in this enum. (Value: "PRODUCT_TYPE_OTHER") @@ -7160,7 +7231,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @property(nonatomic, copy, nullable) NSString *network; /** - * Output only. The port number of the exposed discovery endpoint. + * Output only. port will only be set for Primary/Reader or Discovery endpoint. * * Uses NSNumber of intValue. */ @@ -7423,7 +7494,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z */ @property(nonatomic, copy, nullable) NSString *retentionUnit GTLR_DEPRECATED; -@property(nonatomic, strong, nullable) GTLRDuration *timeBasedRetention; +@property(nonatomic, strong, nullable) GTLRDuration *timeBasedRetention GTLR_DEPRECATED; /** Timestamp based retention period i.e. 2024-05-01T00:00:00Z */ @property(nonatomic, strong, nullable) GTLRDateTime *timestampBasedRetentionTime; diff --git a/Sources/GeneratedServices/CloudResourceManager/GTLRCloudResourceManagerObjects.m b/Sources/GeneratedServices/CloudResourceManager/GTLRCloudResourceManagerObjects.m index 07eb6d218..e6973df5e 100644 --- a/Sources/GeneratedServices/CloudResourceManager/GTLRCloudResourceManagerObjects.m +++ b/Sources/GeneratedServices/CloudResourceManager/GTLRCloudResourceManagerObjects.m @@ -704,13 +704,20 @@ @implementation GTLRCloudResourceManager_Policy // @implementation GTLRCloudResourceManager_Project -@dynamic createTime, deleteTime, displayName, ETag, labels, name, parent, - projectId, state, tags, updateTime; +@dynamic configuredCapabilities, createTime, deleteTime, displayName, ETag, + labels, name, parent, projectId, state, tags, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; } ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"configuredCapabilities" : [NSString class] + }; + return map; +} + @end diff --git a/Sources/GeneratedServices/CloudResourceManager/GTLRCloudResourceManagerQuery.m b/Sources/GeneratedServices/CloudResourceManager/GTLRCloudResourceManagerQuery.m index 1401688db..e73838f6b 100644 --- a/Sources/GeneratedServices/CloudResourceManager/GTLRCloudResourceManagerQuery.m +++ b/Sources/GeneratedServices/CloudResourceManager/GTLRCloudResourceManagerQuery.m @@ -451,9 +451,9 @@ + (instancetype)queryWithName:(NSString *)name { @end -@implementation GTLRCloudResourceManagerQuery_LocationsTagBindingCollectionsPatch +@implementation GTLRCloudResourceManagerQuery_LocationsTagBindingCollectionsUpdate -@dynamic name, updateMask; +@dynamic name; + (instancetype)queryWithObject:(GTLRCloudResourceManager_TagBindingCollection *)object name:(NSString *)name { @@ -465,14 +465,14 @@ + (instancetype)queryWithObject:(GTLRCloudResourceManager_TagBindingCollection * } NSArray *pathParams = @[ @"name" ]; NSString *pathURITemplate = @"v3/{+name}"; - GTLRCloudResourceManagerQuery_LocationsTagBindingCollectionsPatch *query = + GTLRCloudResourceManagerQuery_LocationsTagBindingCollectionsUpdate *query = [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"PATCH" + HTTPMethod:@"PUT" pathParameterNames:pathParams]; query.bodyObject = object; query.name = name; query.expectedObjectClass = [GTLRCloudResourceManager_Operation class]; - query.loggingName = @"cloudresourcemanager.locations.tagBindingCollections.patch"; + query.loggingName = @"cloudresourcemanager.locations.tagBindingCollections.update"; return query; } diff --git a/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerObjects.h b/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerObjects.h index b8c6fc816..5019d9420 100644 --- a/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerObjects.h +++ b/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerObjects.h @@ -1618,6 +1618,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudResourceManager_TagKey_Purpose_Purp */ @interface GTLRCloudResourceManager_Project : GTLRObject +/** + * Output only. If this project is a Management Project, list of capabilities + * configured on the parent folder. Note, presence of any capability implies + * that this is a Management Project. Example: + * `folders/123/capabilities/app-management`. OUTPUT ONLY. + */ +@property(nonatomic, strong, nullable) NSArray *configuredCapabilities; + /** Output only. Creation time. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; diff --git a/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerQuery.h b/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerQuery.h index aa00ccca4..9f663e325 100644 --- a/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerQuery.h +++ b/Sources/GeneratedServices/CloudResourceManager/Public/GoogleAPIClientForREST/GTLRCloudResourceManagerQuery.h @@ -934,15 +934,14 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Updates tag bindings directly attached to a GCP resource. Update_mask can be - * kept empty or "*". + * Updates tag bindings directly attached to a GCP resource. * - * Method: cloudresourcemanager.locations.tagBindingCollections.patch + * Method: cloudresourcemanager.locations.tagBindingCollections.update * * Authorization scope(s): * @c kGTLRAuthScopeCloudResourceManagerCloudPlatform */ -@interface GTLRCloudResourceManagerQuery_LocationsTagBindingCollectionsPatch : GTLRCloudResourceManagerQuery +@interface GTLRCloudResourceManagerQuery_LocationsTagBindingCollectionsUpdate : GTLRCloudResourceManagerQuery /** * Identifier. The name of the TagBindingCollection, following the convention: @@ -953,18 +952,10 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *name; -/** - * Optional. An update mask to selectively update fields. - * - * String format is a comma-separated list of fields. - */ -@property(nonatomic, copy, nullable) NSString *updateMask; - /** * Fetches a @c GTLRCloudResourceManager_Operation. * - * Updates tag bindings directly attached to a GCP resource. Update_mask can be - * kept empty or "*". + * Updates tag bindings directly attached to a GCP resource. * * @param object The @c GTLRCloudResourceManager_TagBindingCollection to * include in the query. @@ -975,7 +966,7 @@ NS_ASSUME_NONNULL_BEGIN * resource the TagBindings are bound to. * "locations/global/tagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f123" * - * @return GTLRCloudResourceManagerQuery_LocationsTagBindingCollectionsPatch + * @return GTLRCloudResourceManagerQuery_LocationsTagBindingCollectionsUpdate */ + (instancetype)queryWithObject:(GTLRCloudResourceManager_TagBindingCollection *)object name:(NSString *)name; diff --git a/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m b/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m index 77290485f..7c9f3c575 100644 --- a/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m +++ b/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m @@ -148,6 +148,11 @@ NSString * const kGTLRCloudRetail_GoogleCloudRetailV2ImportProductsRequest_ReconciliationMode_Incremental = @"INCREMENTAL"; NSString * const kGTLRCloudRetail_GoogleCloudRetailV2ImportProductsRequest_ReconciliationMode_ReconciliationModeUnspecified = @"RECONCILIATION_MODE_UNSPECIFIED"; +// GTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfigInlineForceIntent.operation +NSString * const kGTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfigInlineForceIntent_Operation_Contains = @"CONTAINS"; +NSString * const kGTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfigInlineForceIntent_Operation_ExactMatch = @"EXACT_MATCH"; +NSString * const kGTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfigInlineForceIntent_Operation_OperationUnspecified = @"OPERATION_UNSPECIFIED"; + // GTLRCloudRetail_GoogleCloudRetailV2Model.dataState NSString * const kGTLRCloudRetail_GoogleCloudRetailV2Model_DataState_DataError = @"DATA_ERROR"; NSString * const kGTLRCloudRetail_GoogleCloudRetailV2Model_DataState_DataOk = @"DATA_OK"; @@ -1867,6 +1872,16 @@ @implementation GTLRCloudRetail_GoogleCloudRetailV2Control @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2ConversationalSearchCustomizationConfig +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2ConversationalSearchCustomizationConfig +@dynamic catalog, intentClassificationConfig, retailerDisplayName; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRetail_GoogleCloudRetailV2CreateModelMetadata @@ -2183,6 +2198,65 @@ @implementation GTLRCloudRetail_GoogleCloudRetailV2ImportUserEventsResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfig +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfig +@dynamic blocklistKeywords, disabledIntentTypes, example, inlineSource, + modelPreamble; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"blocklistKeywords" : [NSString class], + @"disabledIntentTypes" : [NSString class], + @"example" : [GTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfigExample class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfigExample +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfigExample +@dynamic classifiedPositive, intentType, query, reason; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfigInlineForceIntent +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfigInlineForceIntent +@dynamic intentType, operation, query; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfigInlineSource +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfigInlineSource +@dynamic inlineForceIntents; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"inlineForceIntents" : [GTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfigInlineForceIntent class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRetail_GoogleCloudRetailV2Interval @@ -3225,8 +3299,8 @@ @implementation GTLRCloudRetail_GoogleCloudRetailV2SearchRequest dynamicFacetSpec, entity, facetSpecs, filter, labels, languageCode, offset, orderBy, pageCategories, pageSize, pageToken, personalizationSpec, placeId, query, queryExpansionSpec, regionCode, - searchMode, spellCorrectionSpec, tileNavigationSpec, userInfo, - variantRollupKeys, visitorId; + searchMode, spellCorrectionSpec, tileNavigationSpec, userAttributes, + userInfo, variantRollupKeys, visitorId; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -3254,6 +3328,20 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2SearchRequest_UserAttributes +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2SearchRequest_UserAttributes + ++ (Class)classForAdditionalProperties { + return [GTLRCloudRetail_GoogleCloudRetailV2StringList class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRetail_GoogleCloudRetailV2SearchRequestBoostSpec @@ -3674,6 +3762,24 @@ @implementation GTLRCloudRetail_GoogleCloudRetailV2SetInventoryResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2StringList +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2StringList +@dynamic values; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"values" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRetail_GoogleCloudRetailV2Tile diff --git a/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailQuery.m b/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailQuery.m index 1f823a6fe..2d0ecbd8b 100644 --- a/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailQuery.m +++ b/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailQuery.m @@ -695,6 +695,25 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRCloudRetailQuery_ProjectsLocationsCatalogsGetConversationalSearchCustomizationConfig + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2/{+name}/conversationalSearchCustomizationConfig"; + GTLRCloudRetailQuery_ProjectsLocationsCatalogsGetConversationalSearchCustomizationConfig *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudRetail_GoogleCloudRetailV2ConversationalSearchCustomizationConfig class]; + query.loggingName = @"retail.projects.locations.catalogs.getConversationalSearchCustomizationConfig"; + return query; +} + +@end + @implementation GTLRCloudRetailQuery_ProjectsLocationsCatalogsGetDefaultBranch @dynamic catalog; @@ -1363,6 +1382,33 @@ + (instancetype)queryWithObject:(GTLRCloudRetail_GoogleCloudRetailV2CompletionCo @end +@implementation GTLRCloudRetailQuery_ProjectsLocationsCatalogsUpdateConversationalSearchCustomizationConfig + +@dynamic catalog, updateMask; + ++ (instancetype)queryWithObject:(GTLRCloudRetail_GoogleCloudRetailV2ConversationalSearchCustomizationConfig *)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}/conversationalSearchCustomizationConfig"; + GTLRCloudRetailQuery_ProjectsLocationsCatalogsUpdateConversationalSearchCustomizationConfig *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.catalog = catalog; + query.expectedObjectClass = [GTLRCloudRetail_GoogleCloudRetailV2ConversationalSearchCustomizationConfig class]; + query.loggingName = @"retail.projects.locations.catalogs.updateConversationalSearchCustomizationConfig"; + return query; +} + +@end + @implementation GTLRCloudRetailQuery_ProjectsLocationsCatalogsUpdateGenerativeQuestion @dynamic catalog, updateMask; diff --git a/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h b/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h index 12f32685d..79224cc75 100644 --- a/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h +++ b/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h @@ -82,6 +82,10 @@ @class GTLRCloudRetail_GoogleCloudRetailV2GenerativeQuestionConfig; @class GTLRCloudRetail_GoogleCloudRetailV2Image; @class GTLRCloudRetail_GoogleCloudRetailV2ImportErrorsConfig; +@class GTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfig; +@class GTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfigExample; +@class GTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfigInlineForceIntent; +@class GTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfigInlineSource; @class GTLRCloudRetail_GoogleCloudRetailV2Interval; @class GTLRCloudRetail_GoogleCloudRetailV2LocalInventory; @class GTLRCloudRetail_GoogleCloudRetailV2LocalInventory_Attributes; @@ -129,6 +133,7 @@ @class GTLRCloudRetail_GoogleCloudRetailV2RuleReplacementAction; @class GTLRCloudRetail_GoogleCloudRetailV2RuleTwowaySynonymsAction; @class GTLRCloudRetail_GoogleCloudRetailV2SearchRequest_Labels; +@class GTLRCloudRetail_GoogleCloudRetailV2SearchRequest_UserAttributes; @class GTLRCloudRetail_GoogleCloudRetailV2SearchRequestBoostSpec; @class GTLRCloudRetail_GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec; @class GTLRCloudRetail_GoogleCloudRetailV2SearchRequestConversationalSearchSpec; @@ -153,6 +158,7 @@ @class GTLRCloudRetail_GoogleCloudRetailV2SearchResponseSearchResult_VariantRollupValues; @class GTLRCloudRetail_GoogleCloudRetailV2SearchResponseTileNavigationResult; @class GTLRCloudRetail_GoogleCloudRetailV2ServingConfig; +@class GTLRCloudRetail_GoogleCloudRetailV2StringList; @class GTLRCloudRetail_GoogleCloudRetailV2Tile; @class GTLRCloudRetail_GoogleCloudRetailV2UpdateGenerativeQuestionConfigRequest; @class GTLRCloudRetail_GoogleCloudRetailV2UserEvent; @@ -839,6 +845,28 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRetail_GoogleCloudRetailV2ImportPro */ FOUNDATION_EXTERN NSString * const kGTLRCloudRetail_GoogleCloudRetailV2ImportProductsRequest_ReconciliationMode_ReconciliationModeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfigInlineForceIntent.operation + +/** + * Contains match. + * + * Value: "CONTAINS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfigInlineForceIntent_Operation_Contains; +/** + * Exact match. + * + * Value: "EXACT_MATCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfigInlineForceIntent_Operation_ExactMatch; +/** + * Unspecified match operation. + * + * Value: "OPERATION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfigInlineForceIntent_Operation_OperationUnspecified; + // ---------------------------------------------------------------------------- // GTLRCloudRetail_GoogleCloudRetailV2Model.dataState @@ -4384,6 +4412,30 @@ GTLR_DEPRECATED @end +/** + * The public proto to represent the conversational search customization + * config. It will be converted to the internal proto in the backend. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2ConversationalSearchCustomizationConfig : GTLRObject + +/** + * Required. Resource name of the catalog. Format: + * projects/{project}/locations/{location}/catalogs/{catalog} + */ +@property(nonatomic, copy, nullable) NSString *catalog; + +/** Optional. The configs for intent classification. */ +@property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfig *intentClassificationConfig; + +/** + * Optional. The retailer's display name that could be used in our LLM answers. + * Example - "Google" + */ +@property(nonatomic, copy, nullable) NSString *retailerDisplayName; + +@end + + /** * Metadata associated with a create operation. */ @@ -4998,6 +5050,114 @@ GTLR_DEPRECATED @end +/** + * The public proto to represent the intent classification config. It will be + * converted to the internal proto in the backend. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfig : GTLRObject + +/** + * Optional. A list of keywords that will be used to classify the query to the + * "BLOCKLISTED" intent type. The keywords are case insensitive. + */ +@property(nonatomic, strong, nullable) NSArray *blocklistKeywords; + +/** + * Optional. A list of intent types that will be disabled for this customer. + * The intent types must match one of the predefined intent types defined at + * https://cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#querytype + */ +@property(nonatomic, strong, nullable) NSArray *disabledIntentTypes; + +/** Optional. A list of examples for intent classification. */ +@property(nonatomic, strong, nullable) NSArray *example; + +/** Optional. Inline source for intent classifications. */ +@property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfigInlineSource *inlineSource; + +/** + * Optional. Customers can use the preamble to specify any requirements for + * blocklisting intent classification. This preamble will be added to the + * blocklisting intent classification model prompt. + */ +@property(nonatomic, copy, nullable) NSString *modelPreamble; + +@end + + +/** + * An example for intent classification. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfigExample : GTLRObject + +/** + * Required. Whether the example is classified positively. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *classifiedPositive; + +/** + * Optional. The intent_type must match one of the predefined intent types + * defined at + * https://cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#querytype + */ +@property(nonatomic, copy, nullable) NSString *intentType; + +/** Required. Example query. */ +@property(nonatomic, copy, nullable) NSString *query; + +/** + * Optional. The reason for the intent classification. This is used to explain + * the intent classification decision. + */ +@property(nonatomic, copy, nullable) NSString *reason; + +@end + + +/** + * An inline force intent classification configuration. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfigInlineForceIntent : GTLRObject + +/** + * Optional. The intent_type must match one of the predefined intent types + * defined at + * https://cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#querytype + */ +@property(nonatomic, copy, nullable) NSString *intentType; + +/** + * Optional. The operation to perform for the query. + * + * Likely values: + * @arg @c kGTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfigInlineForceIntent_Operation_Contains + * Contains match. (Value: "CONTAINS") + * @arg @c kGTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfigInlineForceIntent_Operation_ExactMatch + * Exact match. (Value: "EXACT_MATCH") + * @arg @c kGTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfigInlineForceIntent_Operation_OperationUnspecified + * Unspecified match operation. (Value: "OPERATION_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *operation; + +/** Optional. A example query. */ +@property(nonatomic, copy, nullable) NSString *query; + +@end + + +/** + * Inline source for intent classifications. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2IntentClassificationConfigInlineSource : GTLRObject + +/** Optional. A list of inline force intent classifications. */ +@property(nonatomic, strong, nullable) NSArray *inlineForceIntents; + +@end + + /** * A floating point interval. */ @@ -7530,6 +7690,16 @@ GTLR_DEPRECATED /** Optional. This field specifies tile navigation related parameters. */ @property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2SearchRequestTileNavigationSpec *tileNavigationSpec; +/** + * Optional. The user attributes that could be used for personalization of + * search results. * Populate at most 100 key-value pairs per query. * Only + * supports string keys and repeated string values. * Duplcate keys are not + * allowed within a single query. Example: user_attributes: [ { key: "pets" + * value { values: "dog" values: "cat" } }, { key: "state" value { values: "CA" + * } } ] + */ +@property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2SearchRequest_UserAttributes *userAttributes; + /** User information. */ @property(nonatomic, strong, nullable) GTLRCloudRetail_GoogleCloudRetailV2UserInfo *userInfo; @@ -7603,6 +7773,24 @@ GTLR_DEPRECATED @end +/** + * Optional. The user attributes that could be used for personalization of + * search results. * Populate at most 100 key-value pairs per query. * Only + * supports string keys and repeated string values. * Duplcate keys are not + * allowed within a single query. Example: user_attributes: [ { key: "pets" + * value { values: "dog" values: "cat" } }, { key: "state" value { values: "CA" + * } } ] + * + * @note This class is documented as having more properties of + * GTLRCloudRetail_GoogleCloudRetailV2StringList. 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 GTLRCloudRetail_GoogleCloudRetailV2SearchRequest_UserAttributes : GTLRObject +@end + + /** * Boost specification to boost certain items. */ @@ -7980,9 +8168,9 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *condition; /** - * Whether to pin unexpanded results. If this field is set to true, unexpanded - * products are always at the top of the search results, followed by the - * expanded results. + * Whether to pin unexpanded results. The default value is false. If this field + * is set to true, unexpanded products are always at the top of the search + * results, followed by the expanded results. * * Uses NSNumber of boolValue. */ @@ -8743,6 +8931,17 @@ GTLR_DEPRECATED @end +/** + * A list of string values. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2StringList : GTLRObject + +/** String values. */ +@property(nonatomic, strong, nullable) NSArray *values; + +@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 @@ -8995,7 +9194,7 @@ GTLR_DEPRECATED /** * A unique identifier for tracking a visitor session with a length limit of * 128 bytes. A session is an aggregation of an end user behavior in a time - * span. A general guideline to populate the sesion_id: 1. If user has no + * span. A general guideline to populate the session_id: 1. If user has no * activity for 30 min, a new session_id should be assigned. 2. The session_id * should be unique across users, suggest use uuid or add visitor_id as prefix. */ diff --git a/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailQuery.h b/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailQuery.h index 07a05db6c..6a7e6eaf6 100644 --- a/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailQuery.h +++ b/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailQuery.h @@ -1379,6 +1379,37 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Returns the conversational search customization config for a given catalog. + * + * Method: retail.projects.locations.catalogs.getConversationalSearchCustomizationConfig + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudRetailCloudPlatform + */ +@interface GTLRCloudRetailQuery_ProjectsLocationsCatalogsGetConversationalSearchCustomizationConfig : GTLRCloudRetailQuery + +/** + * Required. Resource name of the parent catalog. Format: + * projects/{project}/locations/{location}/catalogs/{catalog} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c + * GTLRCloudRetail_GoogleCloudRetailV2ConversationalSearchCustomizationConfig. + * + * Returns the conversational search customization config for a given catalog. + * + * @param name Required. Resource name of the parent catalog. Format: + * projects/{project}/locations/{location}/catalogs/{catalog} + * + * @return GTLRCloudRetailQuery_ProjectsLocationsCatalogsGetConversationalSearchCustomizationConfig + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Get which branch is currently default branch set by * CatalogService.SetDefaultBranch method under a specified parent catalog. @@ -2548,6 +2579,50 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Updates the conversational search customization config for a given catalog. + * + * Method: retail.projects.locations.catalogs.updateConversationalSearchCustomizationConfig + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudRetailCloudPlatform + */ +@interface GTLRCloudRetailQuery_ProjectsLocationsCatalogsUpdateConversationalSearchCustomizationConfig : 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 + * ConversationalSearchCustomizationConfig 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_GoogleCloudRetailV2ConversationalSearchCustomizationConfig. + * + * Updates the conversational search customization config for a given catalog. + * + * @param object The @c + * GTLRCloudRetail_GoogleCloudRetailV2ConversationalSearchCustomizationConfig + * to include in the query. + * @param catalog Required. Resource name of the catalog. Format: + * projects/{project}/locations/{location}/catalogs/{catalog} + * + * @return GTLRCloudRetailQuery_ProjectsLocationsCatalogsUpdateConversationalSearchCustomizationConfig + */ ++ (instancetype)queryWithObject:(GTLRCloudRetail_GoogleCloudRetailV2ConversationalSearchCustomizationConfig *)object + catalog:(NSString *)catalog; + +@end + /** * Allows management of individual questions. * diff --git a/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m b/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m index dbc94dff0..cdc294ea9 100644 --- a/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m +++ b/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m @@ -972,6 +972,24 @@ @implementation GTLRCloudRun_GoogleCloudRunV2Metadata @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRun_GoogleCloudRunV2MultiRegionSettings +// + +@implementation GTLRCloudRun_GoogleCloudRunV2MultiRegionSettings +@dynamic multiRegionId, regions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"regions" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRun_GoogleCloudRunV2NetworkInterface @@ -1247,10 +1265,11 @@ @implementation GTLRCloudRun_GoogleCloudRunV2Service conditions, createTime, creator, customAudiences, defaultUriDisabled, deleteTime, descriptionProperty, ETag, expireTime, generation, iapEnabled, ingress, invokerIamDisabled, labels, lastModifier, - latestCreatedRevision, latestReadyRevision, launchStage, name, - observedGeneration, reconciling, satisfiesPzs, scaling, - templateProperty, terminalCondition, threatDetectionEnabled, traffic, - trafficStatuses, uid, updateTime, uri, urls; + latestCreatedRevision, latestReadyRevision, launchStage, + multiRegionSettings, name, observedGeneration, reconciling, + satisfiesPzs, scaling, templateProperty, terminalCondition, + threatDetectionEnabled, traffic, trafficStatuses, uid, updateTime, uri, + urls; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -1426,7 +1445,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRCloudRun_GoogleCloudRunV2TaskAttemptResult -@dynamic exitCode, status; +@dynamic exitCode, status, termSignal; @end @@ -1599,7 +1618,7 @@ + (Class)classForAdditionalProperties { @implementation GTLRCloudRun_GoogleCloudRunV2WorkerPoolRevisionTemplate @dynamic annotations, containers, encryptionKey, encryptionKeyRevocationAction, encryptionKeyShutdownDuration, labels, nodeSelector, revision, - serviceAccount, serviceMesh, sessionAffinity, volumes, vpcAccess; + serviceAccount, serviceMesh, volumes, vpcAccess; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h index b324e3df6..fb6fbce1d 100644 --- a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h +++ b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h @@ -49,6 +49,7 @@ @class GTLRCloudRun_GoogleCloudRunV2Job; @class GTLRCloudRun_GoogleCloudRunV2Job_Annotations; @class GTLRCloudRun_GoogleCloudRunV2Job_Labels; +@class GTLRCloudRun_GoogleCloudRunV2MultiRegionSettings; @class GTLRCloudRun_GoogleCloudRunV2NetworkInterface; @class GTLRCloudRun_GoogleCloudRunV2NFSVolumeSource; @class GTLRCloudRun_GoogleCloudRunV2NodeSelector; @@ -3504,6 +3505,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy @end +/** + * Settings for multi-region deployment. + */ +@interface GTLRCloudRun_GoogleCloudRunV2MultiRegionSettings : GTLRObject + +/** Optional. System-generated unique id for the multi-region Service. */ +@property(nonatomic, copy, nullable) NSString *multiRegionId; + +/** Required. List of regions to deploy to, including primary region. */ +@property(nonatomic, strong, nullable) NSArray *regions; + +@end + + /** * Direct VPC egress settings. */ @@ -4550,6 +4565,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy */ @property(nonatomic, copy, nullable) NSString *launchStage; +/** Optional. Settings for multi-region deployment. */ +@property(nonatomic, strong, nullable) GTLRCloudRun_GoogleCloudRunV2MultiRegionSettings *multiRegionSettings; + /** * The fully qualified name of this Service. In CreateServiceRequest, this * field is ignored, and instead composed from CreateServiceRequest.parent and @@ -5112,7 +5130,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy /** * Output only. The exit code of this attempt. This may be unset if the * container was unable to exit cleanly with a code due to some other failure. - * See status field for possible failure details. + * See status field for possible failure details. At most one of exit_code or + * term_signal will be set. * * Uses NSNumber of intValue. */ @@ -5124,6 +5143,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy */ @property(nonatomic, strong, nullable) GTLRCloudRun_GoogleRpcStatus *status; +/** + * Output only. Termination signal of the container. This is set to non-zero if + * the container is terminated by the system. At most one of exit_code or + * term_signal will be set. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *termSignal; + @end @@ -5821,13 +5849,6 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy /** Optional. Enables service mesh connectivity. */ @property(nonatomic, strong, nullable) GTLRCloudRun_GoogleCloudRunV2ServiceMesh *serviceMesh; -/** - * Optional. Enable session affinity. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *sessionAffinity; - /** Optional. A list of Volumes to make available to containers. */ @property(nonatomic, strong, nullable) NSArray *volumes; @@ -6907,8 +6928,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy @interface GTLRCloudRun_GoogleDevtoolsCloudbuildV1GitSourceRepository : GTLRObject /** - * The Developer Connect Git repository link or the url that matches a - * repository link in the current project, formatted as `projects/ * + * The Developer Connect Git repository link formatted as `projects/ * * /locations/ * /connections/ * /gitRepositoryLink/ *` */ @property(nonatomic, copy, nullable) NSString *developerConnect; diff --git a/Sources/GeneratedServices/CloudScheduler/GTLRCloudSchedulerObjects.m b/Sources/GeneratedServices/CloudScheduler/GTLRCloudSchedulerObjects.m index 26987f675..3d76a92ab 100644 --- a/Sources/GeneratedServices/CloudScheduler/GTLRCloudSchedulerObjects.m +++ b/Sources/GeneratedServices/CloudScheduler/GTLRCloudSchedulerObjects.m @@ -123,8 +123,8 @@ + (Class)classForAdditionalProperties { @implementation GTLRCloudScheduler_Job @dynamic appEngineHttpTarget, attemptDeadline, descriptionProperty, httpTarget, - lastAttemptTime, name, pubsubTarget, retryConfig, schedule, - scheduleTime, state, status, timeZone, userUpdateTime; + lastAttemptTime, name, pubsubTarget, retryConfig, satisfiesPzs, + schedule, scheduleTime, state, status, timeZone, userUpdateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; diff --git a/Sources/GeneratedServices/CloudScheduler/Public/GoogleAPIClientForREST/GTLRCloudSchedulerObjects.h b/Sources/GeneratedServices/CloudScheduler/Public/GoogleAPIClientForREST/GTLRCloudSchedulerObjects.h index f368c7e78..321c6d8e9 100644 --- a/Sources/GeneratedServices/CloudScheduler/Public/GoogleAPIClientForREST/GTLRCloudSchedulerObjects.h +++ b/Sources/GeneratedServices/CloudScheduler/Public/GoogleAPIClientForREST/GTLRCloudSchedulerObjects.h @@ -579,6 +579,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudScheduler_Job_State_UpdateFailed; /** Settings that determine the retry behavior. */ @property(nonatomic, strong, nullable) GTLRCloudScheduler_RetryConfig *retryConfig; +/** + * Output only. Whether or not this Job satisfies the requirements of physical + * zone separation + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *satisfiesPzs; + /** * Required, except when used with UpdateJob. Describes the schedule on which * the job will be executed. The schedule can be either of the following types: @@ -1089,10 +1097,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudScheduler_Job_State_UpdateFailed; /** - * Settings that determine the retry behavior. By default, if a job does not - * complete successfully (meaning that an acknowledgement is not received from - * the handler, then it will be retried with exponential backoff according to - * the settings in RetryConfig. + * Settings that determine the retry behavior. For more information, see [Retry + * jobs](https://cloud.google.com/scheduler/docs/configuring/retry-jobs). By + * default, if a job does not complete successfully (meaning that an + * acknowledgement is not received from the handler, then it will be retried + * with exponential backoff according to the settings in RetryConfig. */ @interface GTLRCloudScheduler_RetryConfig : GTLRObject @@ -1106,24 +1115,21 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudScheduler_Job_State_UpdateFailed; * The time between retries will double `max_doublings` times. A job's retry * interval starts at min_backoff_duration, then doubles `max_doublings` times, * then increases linearly, and finally retries at intervals of - * max_backoff_duration up to retry_count times. For example, if - * min_backoff_duration is 10s, max_backoff_duration is 300s, and - * `max_doublings` is 3, then the job will first be retried in 10s. The retry - * interval will double three times, and then increase linearly by 2^3 * 10s. - * Finally, the job will retry at intervals of max_backoff_duration until the - * job has been attempted retry_count times. Thus, the requests will retry at - * 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, .... The default value of this - * field is 5. + * max_backoff_duration up to retry_count times. For examples, see [Retry + * jobs](https://cloud.google.com/scheduler/docs/configuring/retry-jobs#max-doublings). + * The default value of this field is 5. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *maxDoublings; /** - * The time limit for retrying a failed job, measured from time when an + * The time limit for retrying a failed job, measured from the time when an * execution was first attempted. If specified with retry_count, the job will * be retried until both limits are reached. The default value for * max_retry_duration is zero, which means retry duration is unlimited. + * However, if retry_count is also 0, a job attempt won't be retried if it + * fails. */ @property(nonatomic, strong, nullable) GTLRDuration *maxRetryDuration; @@ -1136,14 +1142,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudScheduler_Job_State_UpdateFailed; /** * The number of attempts that the system will make to run a job using the * exponential backoff procedure described by max_doublings. The default value - * of retry_count is zero. If retry_count is 0, a job attempt will not be - * retried if it fails. Instead the Cloud Scheduler system will wait for the - * next scheduled execution time. Setting retry_count to 0 does not prevent - * failed jobs from running according to schedule after the failure. If - * retry_count is set to a non-zero number then Cloud Scheduler will retry - * failed attempts, using exponential backoff, retry_count times, or until the - * next scheduled execution time, whichever comes first. Values greater than 5 - * and negative values are not allowed. + * of retry_count is zero. If retry_count is 0 (and if max_retry_duration is + * also 0), a job attempt won't be retried if it fails. Instead, Cloud + * Scheduler system will wait for the next scheduled execution time. Setting + * retry_count to 0 doesn't prevent failed jobs from running according to + * schedule after the failure. If retry_count is set to a non-zero number, + * Cloud Scheduler will retry the failed job, using exponential backoff, for + * retry_count times until the job succeeds or the number of retries is + * exhausted. Note that the next scheduled execution time might be skipped if + * the retries continue through that time. Values greater than 5 and negative + * values are not allowed. * * Uses NSNumber of intValue. */ diff --git a/Sources/GeneratedServices/CloudSupport/GTLRCloudSupportObjects.m b/Sources/GeneratedServices/CloudSupport/GTLRCloudSupportObjects.m index cf12e3aaa..3b68b8014 100644 --- a/Sources/GeneratedServices/CloudSupport/GTLRCloudSupportObjects.m +++ b/Sources/GeneratedServices/CloudSupport/GTLRCloudSupportObjects.m @@ -58,17 +58,6 @@ NSString * const kGTLRCloudSupport_Media_ReferenceType_Inline = @"INLINE"; NSString * const kGTLRCloudSupport_Media_ReferenceType_Path = @"PATH"; -// GTLRCloudSupport_WorkflowOperationMetadata.operationAction -NSString * const kGTLRCloudSupport_WorkflowOperationMetadata_OperationAction_CreateSupportAccount = @"CREATE_SUPPORT_ACCOUNT"; -NSString * const kGTLRCloudSupport_WorkflowOperationMetadata_OperationAction_OperationActionUnspecified = @"OPERATION_ACTION_UNSPECIFIED"; -NSString * const kGTLRCloudSupport_WorkflowOperationMetadata_OperationAction_PurchaseSupportAccount = @"PURCHASE_SUPPORT_ACCOUNT"; -NSString * const kGTLRCloudSupport_WorkflowOperationMetadata_OperationAction_UpdateSupportAccount = @"UPDATE_SUPPORT_ACCOUNT"; - -// GTLRCloudSupport_WorkflowOperationMetadata.workflowOperationType -NSString * const kGTLRCloudSupport_WorkflowOperationMetadata_WorkflowOperationType_UnknownOperationType = @"UNKNOWN_OPERATION_TYPE"; -NSString * const kGTLRCloudSupport_WorkflowOperationMetadata_WorkflowOperationType_WorkflowsV1 = @"WORKFLOWS_V1"; -NSString * const kGTLRCloudSupport_WorkflowOperationMetadata_WorkflowOperationType_WorkflowsV2 = @"WORKFLOWS_V2"; - // ---------------------------------------------------------------------------- // // GTLRCloudSupport_Actor @@ -426,18 +415,3 @@ + (NSString *)collectionItemsKey { } @end - - -// ---------------------------------------------------------------------------- -// -// GTLRCloudSupport_WorkflowOperationMetadata -// - -@implementation GTLRCloudSupport_WorkflowOperationMetadata -@dynamic namespaceProperty, operationAction, workflowOperationType; - -+ (NSDictionary *)propertyToJSONKeyMap { - return @{ @"namespaceProperty" : @"namespace" }; -} - -@end diff --git a/Sources/GeneratedServices/CloudSupport/Public/GoogleAPIClientForREST/GTLRCloudSupportObjects.h b/Sources/GeneratedServices/CloudSupport/Public/GoogleAPIClientForREST/GTLRCloudSupportObjects.h index baeef2715..2b0abaca3 100644 --- a/Sources/GeneratedServices/CloudSupport/Public/GoogleAPIClientForREST/GTLRCloudSupportObjects.h +++ b/Sources/GeneratedServices/CloudSupport/Public/GoogleAPIClientForREST/GTLRCloudSupportObjects.h @@ -269,57 +269,6 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudSupport_Media_ReferenceType_Inline; */ FOUNDATION_EXTERN NSString * const kGTLRCloudSupport_Media_ReferenceType_Path; -// ---------------------------------------------------------------------------- -// GTLRCloudSupport_WorkflowOperationMetadata.operationAction - -/** - * Operation pertains to the creation of a new support account. - * - * Value: "CREATE_SUPPORT_ACCOUNT" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudSupport_WorkflowOperationMetadata_OperationAction_CreateSupportAccount; -/** - * Operation action is not specified. - * - * Value: "OPERATION_ACTION_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudSupport_WorkflowOperationMetadata_OperationAction_OperationActionUnspecified; -/** - * Operation pertains to the purchasing of a support plan that may either - * create or update a support account. - * - * Value: "PURCHASE_SUPPORT_ACCOUNT" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudSupport_WorkflowOperationMetadata_OperationAction_PurchaseSupportAccount; -/** - * Operation pertains to the updating of an existing support account. - * - * Value: "UPDATE_SUPPORT_ACCOUNT" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudSupport_WorkflowOperationMetadata_OperationAction_UpdateSupportAccount; - -// ---------------------------------------------------------------------------- -// GTLRCloudSupport_WorkflowOperationMetadata.workflowOperationType - -/** - * Unknown version. - * - * Value: "UNKNOWN_OPERATION_TYPE" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudSupport_WorkflowOperationMetadata_WorkflowOperationType_UnknownOperationType; -/** - * Version 1. - * - * Value: "WORKFLOWS_V1" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudSupport_WorkflowOperationMetadata_WorkflowOperationType_WorkflowsV1; -/** - * Version 2. - * - * Value: "WORKFLOWS_V2" - */ -FOUNDATION_EXTERN NSString * const kGTLRCloudSupport_WorkflowOperationMetadata_WorkflowOperationType_WorkflowsV2; - /** * An Actor represents an entity that performed an action. For example, an * actor could be a user who posted a comment on a support case, a user who @@ -1274,55 +1223,6 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudSupport_WorkflowOperationMetadata_W @end - -/** - * Metadata about the operation. Used to lookup the current status. - */ -@interface GTLRCloudSupport_WorkflowOperationMetadata : GTLRObject - -/** - * The namespace that the job was scheduled in. Must be included in the - * workflow metadata so the workflow status can be retrieved. - * - * Remapped to 'namespaceProperty' to avoid language reserved word 'namespace'. - */ -@property(nonatomic, copy, nullable) NSString *namespaceProperty; - -/** - * The type of action the operation is classified as. - * - * Likely values: - * @arg @c kGTLRCloudSupport_WorkflowOperationMetadata_OperationAction_CreateSupportAccount - * Operation pertains to the creation of a new support account. (Value: - * "CREATE_SUPPORT_ACCOUNT") - * @arg @c kGTLRCloudSupport_WorkflowOperationMetadata_OperationAction_OperationActionUnspecified - * Operation action is not specified. (Value: - * "OPERATION_ACTION_UNSPECIFIED") - * @arg @c kGTLRCloudSupport_WorkflowOperationMetadata_OperationAction_PurchaseSupportAccount - * Operation pertains to the purchasing of a support plan that may either - * create or update a support account. (Value: - * "PURCHASE_SUPPORT_ACCOUNT") - * @arg @c kGTLRCloudSupport_WorkflowOperationMetadata_OperationAction_UpdateSupportAccount - * Operation pertains to the updating of an existing support account. - * (Value: "UPDATE_SUPPORT_ACCOUNT") - */ -@property(nonatomic, copy, nullable) NSString *operationAction; - -/** - * Which version of the workflow service this operation came from. - * - * Likely values: - * @arg @c kGTLRCloudSupport_WorkflowOperationMetadata_WorkflowOperationType_UnknownOperationType - * Unknown version. (Value: "UNKNOWN_OPERATION_TYPE") - * @arg @c kGTLRCloudSupport_WorkflowOperationMetadata_WorkflowOperationType_WorkflowsV1 - * Version 1. (Value: "WORKFLOWS_V1") - * @arg @c kGTLRCloudSupport_WorkflowOperationMetadata_WorkflowOperationType_WorkflowsV2 - * Version 2. (Value: "WORKFLOWS_V2") - */ -@property(nonatomic, copy, nullable) NSString *workflowOperationType; - -@end - NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/CloudSupport/Public/GoogleAPIClientForREST/GTLRCloudSupportQuery.h b/Sources/GeneratedServices/CloudSupport/Public/GoogleAPIClientForREST/GTLRCloudSupportQuery.h index 02240ff46..ff3bb0f8e 100644 --- a/Sources/GeneratedServices/CloudSupport/Public/GoogleAPIClientForREST/GTLRCloudSupportQuery.h +++ b/Sources/GeneratedServices/CloudSupport/Public/GoogleAPIClientForREST/GTLRCloudSupportQuery.h @@ -735,8 +735,10 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Download a file attached to a case. Note: HTTP requests must append - * "?alt=media" to the URL. EXAMPLES: cURL: ```shell + * Download a file attached to a case. When this endpoint is called, no + * "response body" will be returned. Instead, the attachment's blob will be + * returned. Note: HTTP requests must append "?alt=media" to the URL. EXAMPLES: + * cURL: ```shell * name="projects/some-project/cases/43594844/attachments/0674M00000WijAnZAJ" * curl \\ --header "Authorization: Bearer $(gcloud auth print-access-token)" * \\ "https://cloudsupport.googleapis.com/v2/$name:download?alt=media" ``` @@ -762,8 +764,10 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRCloudSupport_Media. * - * Download a file attached to a case. Note: HTTP requests must append - * "?alt=media" to the URL. EXAMPLES: cURL: ```shell + * Download a file attached to a case. When this endpoint is called, no + * "response body" will be returned. Instead, the attachment's blob will be + * returned. Note: HTTP requests must append "?alt=media" to the URL. EXAMPLES: + * cURL: ```shell * name="projects/some-project/cases/43594844/attachments/0674M00000WijAnZAJ" * curl \\ --header "Authorization: Bearer $(gcloud auth print-access-token)" * \\ "https://cloudsupport.googleapis.com/v2/$name:download?alt=media" ``` @@ -785,8 +789,10 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches the requested resource data as a @c GTLRDataObject. * - * Download a file attached to a case. Note: HTTP requests must append - * "?alt=media" to the URL. EXAMPLES: cURL: ```shell + * Download a file attached to a case. When this endpoint is called, no + * "response body" will be returned. Instead, the attachment's blob will be + * returned. Note: HTTP requests must append "?alt=media" to the URL. EXAMPLES: + * cURL: ```shell * name="projects/some-project/cases/43594844/attachments/0674M00000WijAnZAJ" * curl \\ --header "Authorization: Bearer $(gcloud auth print-access-token)" * \\ "https://cloudsupport.googleapis.com/v2/$name:download?alt=media" ``` diff --git a/Sources/GeneratedServices/CloudWorkstations/GTLRCloudWorkstationsObjects.m b/Sources/GeneratedServices/CloudWorkstations/GTLRCloudWorkstationsObjects.m index 983110f05..af87232b4 100644 --- a/Sources/GeneratedServices/CloudWorkstations/GTLRCloudWorkstationsObjects.m +++ b/Sources/GeneratedServices/CloudWorkstations/GTLRCloudWorkstationsObjects.m @@ -206,6 +206,16 @@ @implementation GTLRCloudWorkstations_Expr @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudWorkstations_GatewayConfig +// + +@implementation GTLRCloudWorkstations_GatewayConfig +@dynamic http2Enabled; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudWorkstations_GceConfidentialInstanceConfig @@ -844,8 +854,9 @@ + (Class)classForAdditionalProperties { @implementation GTLRCloudWorkstations_WorkstationCluster @dynamic annotations, conditions, controlPlaneIp, createTime, degraded, - deleteTime, displayName, domainConfig, ETag, labels, name, network, - privateClusterConfig, reconciling, subnetwork, tags, uid, updateTime; + deleteTime, displayName, domainConfig, ETag, gatewayConfig, labels, + name, network, privateClusterConfig, reconciling, subnetwork, tags, + uid, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; diff --git a/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h b/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h index 2c53e5b3b..6dcb095bb 100644 --- a/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h +++ b/Sources/GeneratedServices/CloudWorkstations/Public/GoogleAPIClientForREST/GTLRCloudWorkstationsObjects.h @@ -26,6 +26,7 @@ @class GTLRCloudWorkstations_DomainConfig; @class GTLRCloudWorkstations_EphemeralDirectory; @class GTLRCloudWorkstations_Expr; +@class GTLRCloudWorkstations_GatewayConfig; @class GTLRCloudWorkstations_GceConfidentialInstanceConfig; @class GTLRCloudWorkstations_GceInstance; @class GTLRCloudWorkstations_GceInstance_VmTags; @@ -574,6 +575,22 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudWorkstations_Workstation_State_Stat @end +/** + * Configuration options for Cluster HTTP Gateway. + */ +@interface GTLRCloudWorkstations_GatewayConfig : GTLRObject + +/** + * Optional. Whether HTTP/2 is enabled for this workstation cluster. Defaults + * to false. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *http2Enabled; + +@end + + /** * A set of Compute Engine Confidential VM instance options. */ @@ -1913,6 +1930,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudWorkstations_Workstation_State_Stat */ @property(nonatomic, copy, nullable) NSString *ETag; +/** Optional. Configuration options for Cluster HTTP Gateway. */ +@property(nonatomic, strong, nullable) GTLRCloudWorkstations_GatewayConfig *gatewayConfig; + /** * Optional. * [Labels](https://cloud.google.com/workstations/docs/label-resources) that diff --git a/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelObjects.h b/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelObjects.h index 9265935e4..b5096d0ef 100644 --- a/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelObjects.h +++ b/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelObjects.h @@ -5347,10 +5347,10 @@ GTLR_DEPRECATED @property(nonatomic, strong, nullable) GTLRCloudchannel_GoogleTypeDate *effectiveInvoiceMonth; /** - * Applies the repricing configuration at the entitlement level. Note: If a - * ChannelPartnerRepricingConfig using RepricingConfig.EntitlementGranularity - * becomes effective, then no existing or future - * RepricingConfig.ChannelPartnerGranularity will apply to the + * Required. Applies the repricing configuration at the entitlement level. + * Note: If a ChannelPartnerRepricingConfig using + * RepricingConfig.EntitlementGranularity becomes effective, then no existing + * or future RepricingConfig.ChannelPartnerGranularity will apply to the * RepricingConfig.EntitlementGranularity.entitlement. This is the recommended * value for both CustomerRepricingConfig and ChannelPartnerRepricingConfig. */ @@ -6251,13 +6251,13 @@ GTLR_DEPRECATED /** - * Represents a postal address (for example, for postal delivery or payments - * addresses). Given a postal address, a postal service can deliver items to a - * premise, P.O. box or similar. It is not intended to model geographical - * locations (roads, towns, mountains). In typical usage, an address would be - * created by user input or from importing existing data, depending on the type - * of process. Advice on address input or editing: - Use an - * internationalization-ready address widget such as + * Represents a postal address, such as for postal delivery or payments + * addresses. With a postal address, a postal service can deliver items to a + * premise, P.O. box, or similar. A postal address is not intended to model + * geographical locations like roads, towns, or mountains. In typical usage, an + * address would be created by user input or from importing existing data, + * depending on the type of process. Advice on address input or editing: - Use + * an internationalization-ready address widget such as * https://github.com/google/libaddressinput. - Users should not be presented * with UI elements for input or editing of fields outside countries where that * field is used. For more guidance on how to use this schema, see: diff --git a/Sources/GeneratedServices/Compute/GTLRComputeObjects.m b/Sources/GeneratedServices/Compute/GTLRComputeObjects.m index ba9c5498b..399399362 100644 --- a/Sources/GeneratedServices/Compute/GTLRComputeObjects.m +++ b/Sources/GeneratedServices/Compute/GTLRComputeObjects.m @@ -1338,6 +1338,20 @@ NSString * const kGTLRCompute_FirewallPolicyRule_Direction_Egress = @"EGRESS"; NSString * const kGTLRCompute_FirewallPolicyRule_Direction_Ingress = @"INGRESS"; +// GTLRCompute_FirewallPolicyRuleMatcher.destNetworkType +NSString * const kGTLRCompute_FirewallPolicyRuleMatcher_DestNetworkType_Internet = @"INTERNET"; +NSString * const kGTLRCompute_FirewallPolicyRuleMatcher_DestNetworkType_IntraVpc = @"INTRA_VPC"; +NSString * const kGTLRCompute_FirewallPolicyRuleMatcher_DestNetworkType_NonInternet = @"NON_INTERNET"; +NSString * const kGTLRCompute_FirewallPolicyRuleMatcher_DestNetworkType_Unspecified = @"UNSPECIFIED"; +NSString * const kGTLRCompute_FirewallPolicyRuleMatcher_DestNetworkType_VpcNetworks = @"VPC_NETWORKS"; + +// GTLRCompute_FirewallPolicyRuleMatcher.srcNetworkType +NSString * const kGTLRCompute_FirewallPolicyRuleMatcher_SrcNetworkType_Internet = @"INTERNET"; +NSString * const kGTLRCompute_FirewallPolicyRuleMatcher_SrcNetworkType_IntraVpc = @"INTRA_VPC"; +NSString * const kGTLRCompute_FirewallPolicyRuleMatcher_SrcNetworkType_NonInternet = @"NON_INTERNET"; +NSString * const kGTLRCompute_FirewallPolicyRuleMatcher_SrcNetworkType_Unspecified = @"UNSPECIFIED"; +NSString * const kGTLRCompute_FirewallPolicyRuleMatcher_SrcNetworkType_VpcNetworks = @"VPC_NETWORKS"; + // GTLRCompute_FirewallPolicyRuleSecureTag.state NSString * const kGTLRCompute_FirewallPolicyRuleSecureTag_State_Effective = @"EFFECTIVE"; NSString * const kGTLRCompute_FirewallPolicyRuleSecureTag_State_Ineffective = @"INEFFECTIVE"; @@ -5350,6 +5364,43 @@ NSString * const kGTLRCompute_ReservationsScopedList_Warning_Code_UndeclaredProperties = @"UNDECLARED_PROPERTIES"; NSString * const kGTLRCompute_ReservationsScopedList_Warning_Code_Unreachable = @"UNREACHABLE"; +// GTLRCompute_ReservationSubBlock.status +NSString * const kGTLRCompute_ReservationSubBlock_Status_Creating = @"CREATING"; +NSString * const kGTLRCompute_ReservationSubBlock_Status_Deleting = @"DELETING"; +NSString * const kGTLRCompute_ReservationSubBlock_Status_Invalid = @"INVALID"; +NSString * const kGTLRCompute_ReservationSubBlock_Status_Ready = @"READY"; + +// GTLRCompute_ReservationSubBlocksListResponse_Warning.code +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_CleanupFailed = @"CLEANUP_FAILED"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_DeprecatedResourceUsed = @"DEPRECATED_RESOURCE_USED"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_DeprecatedTypeUsed = @"DEPRECATED_TYPE_USED"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_DiskSizeLargerThanImageSize = @"DISK_SIZE_LARGER_THAN_IMAGE_SIZE"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_ExperimentalTypeUsed = @"EXPERIMENTAL_TYPE_USED"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_ExternalApiWarning = @"EXTERNAL_API_WARNING"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_FieldValueOverriden = @"FIELD_VALUE_OVERRIDEN"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_InjectedKernelsDeprecated = @"INJECTED_KERNELS_DEPRECATED"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_InvalidHealthCheckForDynamicWieghtedLb = @"INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_LargeDeploymentWarning = @"LARGE_DEPLOYMENT_WARNING"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_ListOverheadQuotaExceed = @"LIST_OVERHEAD_QUOTA_EXCEED"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_MissingTypeDependency = @"MISSING_TYPE_DEPENDENCY"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_NextHopAddressNotAssigned = @"NEXT_HOP_ADDRESS_NOT_ASSIGNED"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_NextHopCannotIpForward = @"NEXT_HOP_CANNOT_IP_FORWARD"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_NextHopInstanceHasNoIpv6Interface = @"NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_NextHopInstanceNotFound = @"NEXT_HOP_INSTANCE_NOT_FOUND"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_NextHopInstanceNotOnNetwork = @"NEXT_HOP_INSTANCE_NOT_ON_NETWORK"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_NextHopNotRunning = @"NEXT_HOP_NOT_RUNNING"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_NoResultsOnPage = @"NO_RESULTS_ON_PAGE"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_NotCriticalError = @"NOT_CRITICAL_ERROR"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_PartialSuccess = @"PARTIAL_SUCCESS"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_QuotaInfoUnavailable = @"QUOTA_INFO_UNAVAILABLE"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_RequiredTosAgreement = @"REQUIRED_TOS_AGREEMENT"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_ResourceInUseByOtherResourceWarning = @"RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_ResourceNotDeleted = @"RESOURCE_NOT_DELETED"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_SchemaValidationIgnored = @"SCHEMA_VALIDATION_IGNORED"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_SingleInstancePropertyTemplate = @"SINGLE_INSTANCE_PROPERTY_TEMPLATE"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_UndeclaredProperties = @"UNDECLARED_PROPERTIES"; +NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_Unreachable = @"UNREACHABLE"; + // GTLRCompute_ResourceCommitment.type NSString * const kGTLRCompute_ResourceCommitment_Type_Accelerator = @"ACCELERATOR"; NSString * const kGTLRCompute_ResourceCommitment_Type_LocalSsd = @"LOCAL_SSD"; @@ -5476,6 +5527,15 @@ NSString * const kGTLRCompute_ResourcePolicyWeeklyCycleDayOfWeek_Day_Tuesday = @"TUESDAY"; NSString * const kGTLRCompute_ResourcePolicyWeeklyCycleDayOfWeek_Day_Wednesday = @"WEDNESDAY"; +// GTLRCompute_ResourcePolicyWorkloadPolicy.maxTopologyDistance +NSString * const kGTLRCompute_ResourcePolicyWorkloadPolicy_MaxTopologyDistance_Block = @"BLOCK"; +NSString * const kGTLRCompute_ResourcePolicyWorkloadPolicy_MaxTopologyDistance_Cluster = @"CLUSTER"; +NSString * const kGTLRCompute_ResourcePolicyWorkloadPolicy_MaxTopologyDistance_Subblock = @"SUBBLOCK"; + +// GTLRCompute_ResourcePolicyWorkloadPolicy.type +NSString * const kGTLRCompute_ResourcePolicyWorkloadPolicy_Type_HighAvailability = @"HIGH_AVAILABILITY"; +NSString * const kGTLRCompute_ResourcePolicyWorkloadPolicy_Type_HighThroughput = @"HIGH_THROUGHPUT"; + // GTLRCompute_Route.nextHopOrigin NSString * const kGTLRCompute_Route_NextHopOrigin_Egp = @"EGP"; NSString * const kGTLRCompute_Route_NextHopOrigin_Igp = @"IGP"; @@ -9210,7 +9270,7 @@ @implementation GTLRCompute_BackendService outlierDetection, port, portName, protocol, region, securityPolicy, securitySettings, selfLink, serviceBindings, serviceLbPolicy, sessionAffinity, strongSessionAffinityCookie, subsetting, timeoutSec, - usedBy; + tlsSettings, usedBy; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -9677,6 +9737,34 @@ @implementation GTLRCompute_BackendServicesScopedList_Warning_Data_Item @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_BackendServiceTlsSettings +// + +@implementation GTLRCompute_BackendServiceTlsSettings +@dynamic authenticationConfig, sni, subjectAltNames; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"subjectAltNames" : [GTLRCompute_BackendServiceTlsSettingsSubjectAltName class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_BackendServiceTlsSettingsSubjectAltName +// + +@implementation GTLRCompute_BackendServiceTlsSettingsSubjectAltName +@dynamic dnsName, uniformResourceIdentifier; +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_BackendServiceUsedBy @@ -9852,6 +9940,48 @@ @implementation GTLRCompute_BulkInsertOperationStatus @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_BulkSetLabelsRequest +// + +@implementation GTLRCompute_BulkSetLabelsRequest +@dynamic labelFingerprint, labels; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_BulkSetLabelsRequest_Labels +// + +@implementation GTLRCompute_BulkSetLabelsRequest_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_BulkZoneSetLabelsRequest +// + +@implementation GTLRCompute_BulkZoneSetLabelsRequest +@dynamic requests; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"requests" : [GTLRCompute_BulkSetLabelsRequest class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_CacheInvalidationRule @@ -11429,9 +11559,10 @@ @implementation GTLRCompute_FirewallPolicyRule // @implementation GTLRCompute_FirewallPolicyRuleMatcher -@dynamic destAddressGroups, destFqdns, destIpRanges, destRegionCodes, - destThreatIntelligences, layer4Configs, srcAddressGroups, srcFqdns, - srcIpRanges, srcRegionCodes, srcSecureTags, srcThreatIntelligences; +@dynamic destAddressGroups, destFqdns, destIpRanges, destNetworkType, + destRegionCodes, destThreatIntelligences, layer4Configs, + srcAddressGroups, srcFqdns, srcIpRanges, srcNetworks, srcNetworkType, + srcRegionCodes, srcSecureTags, srcThreatIntelligences; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -11444,6 +11575,7 @@ @implementation GTLRCompute_FirewallPolicyRuleMatcher @"srcAddressGroups" : [NSString class], @"srcFqdns" : [NSString class], @"srcIpRanges" : [NSString class], + @"srcNetworks" : [NSString class], @"srcRegionCodes" : [NSString class], @"srcSecureTags" : [GTLRCompute_FirewallPolicyRuleSecureTag class], @"srcThreatIntelligences" : [NSString class] @@ -11506,8 +11638,9 @@ @implementation GTLRCompute_ForwardingRule isMirroringCollector, kind, labelFingerprint, labels, loadBalancingScheme, metadataFilters, name, network, networkTier, noAutomateDnsZone, portRange, ports, pscConnectionId, - pscConnectionStatus, region, selfLink, serviceDirectoryRegistrations, - serviceLabel, serviceName, sourceIpRanges, subnetwork, target; + pscConnectionStatus, region, selfLink, selfLinkWithId, + serviceDirectoryRegistrations, serviceLabel, serviceName, + sourceIpRanges, subnetwork, target; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -11855,8 +11988,10 @@ @implementation GTLRCompute_GlobalSetPolicyRequest // @implementation GTLRCompute_GroupMaintenanceInfo -@dynamic maintenanceOngoingCount, maintenancePendingCount, schedulingType, - upcomingGroupMaintenance; +@dynamic instanceMaintenanceOngoingCount, instanceMaintenancePendingCount, + maintenanceOngoingCount, maintenancePendingCount, schedulingType, + subblockInfraMaintenanceOngoingCount, + subblockInfraMaintenancePendingCount, upcomingGroupMaintenance; @end @@ -17286,8 +17421,8 @@ @implementation GTLRCompute_Network @dynamic autoCreateSubnetworks, creationTimestamp, descriptionProperty, enableUlaInternalIpv6, firewallPolicy, gatewayIPv4, identifier, internalIpv6Range, IPv4Range, kind, mtu, name, - networkFirewallPolicyEnforcementOrder, networkProfile, peerings, - routingConfig, selfLink, selfLinkWithId, subnetworks; + networkFirewallPolicyEnforcementOrder, networkProfile, params, + peerings, routingConfig, selfLink, selfLinkWithId, subnetworks; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -18162,6 +18297,30 @@ @implementation GTLRCompute_NetworkList_Warning_Data_Item @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_NetworkParams +// + +@implementation GTLRCompute_NetworkParams +@dynamic resourceManagerTags; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_NetworkParams_ResourceManagerTags +// + +@implementation GTLRCompute_NetworkParams_ResourceManagerTags + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_NetworkPeering @@ -21344,10 +21503,10 @@ @implementation GTLRCompute_RequestMirrorPolicy @implementation GTLRCompute_Reservation @dynamic aggregateReservation, commitment, creationTimestamp, deleteAfterDuration, deleteAtTime, deploymentType, descriptionProperty, - identifier, kind, linkedCommitments, name, reservationSharingPolicy, - resourcePolicies, resourceStatus, satisfiesPzs, selfLink, - shareSettings, specificReservation, specificReservationRequired, - status, zoneProperty; + enableEmergentMaintenance, identifier, kind, linkedCommitments, name, + reservationSharingPolicy, resourcePolicies, resourceStatus, + satisfiesPzs, selfLink, shareSettings, specificReservation, + specificReservationRequired, status, zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -21472,8 +21631,9 @@ @implementation GTLRCompute_ReservationAggregatedList_Warning_Data_Item @implementation GTLRCompute_ReservationBlock @dynamic count, creationTimestamp, identifier, inUseCount, kind, name, - physicalTopology, reservationMaintenance, selfLink, selfLinkWithId, - status, zoneProperty; + physicalTopology, reservationMaintenance, reservationSubBlockCount, + reservationSubBlockInUseCount, selfLink, selfLinkWithId, status, + zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -21682,6 +21842,97 @@ @implementation GTLRCompute_ReservationsScopedList_Warning_Data_Item @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_ReservationSubBlock +// + +@implementation GTLRCompute_ReservationSubBlock +@dynamic count, creationTimestamp, identifier, inUseCount, kind, name, + physicalTopology, reservationSubBlockMaintenance, selfLink, + selfLinkWithId, status, zoneProperty; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"identifier" : @"id", + @"zoneProperty" : @"zone" + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_ReservationSubBlockPhysicalTopology +// + +@implementation GTLRCompute_ReservationSubBlockPhysicalTopology +@dynamic block, cluster, subBlock; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_ReservationSubBlocksGetResponse +// + +@implementation GTLRCompute_ReservationSubBlocksGetResponse +@dynamic resource; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_ReservationSubBlocksListResponse +// + +@implementation GTLRCompute_ReservationSubBlocksListResponse +@dynamic identifier, items, kind, nextPageToken, selfLink, warning; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"items" : [GTLRCompute_ReservationSubBlock class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_ReservationSubBlocksListResponse_Warning +// + +@implementation GTLRCompute_ReservationSubBlocksListResponse_Warning +@dynamic code, data, message; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"data" : [GTLRCompute_ReservationSubBlocksListResponse_Warning_Data_Item class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_ReservationSubBlocksListResponse_Warning_Data_Item +// + +@implementation GTLRCompute_ReservationSubBlocksListResponse_Warning_Data_Item +@dynamic key, value; +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_ResourceCommitment @@ -21756,7 +22007,8 @@ @implementation GTLRCompute_ResourcePoliciesScopedList_Warning_Data_Item @implementation GTLRCompute_ResourcePolicy @dynamic creationTimestamp, descriptionProperty, diskConsistencyGroupPolicy, groupPlacementPolicy, identifier, instanceSchedulePolicy, kind, name, - region, resourceStatus, selfLink, snapshotSchedulePolicy, status; + region, resourceStatus, selfLink, snapshotSchedulePolicy, status, + workloadPolicy; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -21863,7 +22115,7 @@ @implementation GTLRCompute_ResourcePolicyDiskConsistencyGroupPolicy // @implementation GTLRCompute_ResourcePolicyGroupPlacementPolicy -@dynamic availabilityDomainCount, collocation, vmCount; +@dynamic availabilityDomainCount, collocation, gpuTopology, vmCount; @end @@ -22061,6 +22313,16 @@ @implementation GTLRCompute_ResourcePolicyWeeklyCycleDayOfWeek @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_ResourcePolicyWorkloadPolicy +// + +@implementation GTLRCompute_ResourcePolicyWorkloadPolicy +@dynamic acceleratorTopology, maxTopologyDistance, type; +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_ResourceStatus @@ -25346,7 +25608,7 @@ @implementation GTLRCompute_Subnetwork @dynamic creationTimestamp, descriptionProperty, enableFlowLogs, externalIpv6Prefix, fingerprint, gatewayAddress, identifier, internalIpv6Prefix, ipCidrRange, ipCollection, ipv6AccessType, - ipv6CidrRange, ipv6GceEndpoint, kind, logConfig, name, network, + ipv6CidrRange, ipv6GceEndpoint, kind, logConfig, name, network, params, privateIpGoogleAccess, privateIpv6GoogleAccess, purpose, region, reservedInternalRange, role, secondaryIpRanges, selfLink, stackType, state, systemReservedExternalIpv6Ranges, @@ -25506,6 +25768,30 @@ @implementation GTLRCompute_SubnetworkLogConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_SubnetworkParams +// + +@implementation GTLRCompute_SubnetworkParams +@dynamic resourceManagerTags; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_SubnetworkParams_ResourceManagerTags +// + +@implementation GTLRCompute_SubnetworkParams_ResourceManagerTags + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_SubnetworkSecondaryRange diff --git a/Sources/GeneratedServices/Compute/GTLRComputeQuery.m b/Sources/GeneratedServices/Compute/GTLRComputeQuery.m index 789be189a..adf629d7c 100644 --- a/Sources/GeneratedServices/Compute/GTLRComputeQuery.m +++ b/Sources/GeneratedServices/Compute/GTLRComputeQuery.m @@ -1376,6 +1376,41 @@ + (instancetype)queryWithObject:(GTLRCompute_BulkInsertDiskResource *)object @end +@implementation GTLRComputeQuery_DisksBulkSetLabels + +@dynamic project, requestId, resource, zoneProperty; + ++ (NSDictionary *)parameterNameMap { + return @{ @"zoneProperty" : @"zone" }; +} + ++ (instancetype)queryWithObject:(GTLRCompute_BulkZoneSetLabelsRequest *)object + project:(NSString *)project + zoneProperty:(NSString *)zoneProperty { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"project", @"zone" + ]; + NSString *pathURITemplate = @"projects/{project}/zones/{zone}/disks/bulkSetLabels"; + GTLRComputeQuery_DisksBulkSetLabels *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.project = project; + query.zoneProperty = zoneProperty; + query.expectedObjectClass = [GTLRCompute_Operation class]; + query.loggingName = @"compute.disks.bulkSetLabels"; + return query; +} + +@end + @implementation GTLRComputeQuery_DisksCreateSnapshot @dynamic disk, guestFlush, project, requestId, zoneProperty; @@ -17997,6 +18032,98 @@ + (instancetype)queryWithObject:(GTLRCompute_TestPermissionsRequest *)object @end +@implementation GTLRComputeQuery_ReservationSubBlocksGet + +@dynamic parentName, project, reservationSubBlock, zoneProperty; + ++ (NSDictionary *)parameterNameMap { + return @{ @"zoneProperty" : @"zone" }; +} + ++ (instancetype)queryWithProject:(NSString *)project + zoneProperty:(NSString *)zoneProperty + parentName:(NSString *)parentName + reservationSubBlock:(NSString *)reservationSubBlock { + NSArray *pathParams = @[ + @"parentName", @"project", @"reservationSubBlock", @"zone" + ]; + NSString *pathURITemplate = @"projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks/{reservationSubBlock}"; + GTLRComputeQuery_ReservationSubBlocksGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.project = project; + query.zoneProperty = zoneProperty; + query.parentName = parentName; + query.reservationSubBlock = reservationSubBlock; + query.expectedObjectClass = [GTLRCompute_ReservationSubBlocksGetResponse class]; + query.loggingName = @"compute.reservationSubBlocks.get"; + return query; +} + +@end + +@implementation GTLRComputeQuery_ReservationSubBlocksList + +@dynamic filter, maxResults, orderBy, pageToken, parentName, project, + returnPartialSuccess, zoneProperty; + ++ (NSDictionary *)parameterNameMap { + return @{ @"zoneProperty" : @"zone" }; +} + ++ (instancetype)queryWithProject:(NSString *)project + zoneProperty:(NSString *)zoneProperty + parentName:(NSString *)parentName { + NSArray *pathParams = @[ + @"parentName", @"project", @"zone" + ]; + NSString *pathURITemplate = @"projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks"; + GTLRComputeQuery_ReservationSubBlocksList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.project = project; + query.zoneProperty = zoneProperty; + query.parentName = parentName; + query.expectedObjectClass = [GTLRCompute_ReservationSubBlocksListResponse class]; + query.loggingName = @"compute.reservationSubBlocks.list"; + return query; +} + +@end + +@implementation GTLRComputeQuery_ReservationSubBlocksPerformMaintenance + +@dynamic parentName, project, requestId, reservationSubBlock, zoneProperty; + ++ (NSDictionary *)parameterNameMap { + return @{ @"zoneProperty" : @"zone" }; +} + ++ (instancetype)queryWithProject:(NSString *)project + zoneProperty:(NSString *)zoneProperty + parentName:(NSString *)parentName + reservationSubBlock:(NSString *)reservationSubBlock { + NSArray *pathParams = @[ + @"parentName", @"project", @"reservationSubBlock", @"zone" + ]; + NSString *pathURITemplate = @"projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks/{reservationSubBlock}/performMaintenance"; + GTLRComputeQuery_ReservationSubBlocksPerformMaintenance *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.project = project; + query.zoneProperty = zoneProperty; + query.parentName = parentName; + query.reservationSubBlock = reservationSubBlock; + query.expectedObjectClass = [GTLRCompute_Operation class]; + query.loggingName = @"compute.reservationSubBlocks.performMaintenance"; + return query; +} + +@end + @implementation GTLRComputeQuery_ReservationsUpdate @dynamic paths, project, requestId, reservation, updateMask, zoneProperty; diff --git a/Sources/GeneratedServices/Compute/GTLRComputeService.m b/Sources/GeneratedServices/Compute/GTLRComputeService.m index 6fdac7c81..003023169 100644 --- a/Sources/GeneratedServices/Compute/GTLRComputeService.m +++ b/Sources/GeneratedServices/Compute/GTLRComputeService.m @@ -189,6 +189,9 @@ - (instancetype)init { // GTLRCompute_ReservationBlock // GTLRCompute_ReservationBlocksListResponse @"compute#reservationList" : [GTLRCompute_ReservationList class], + // Skipping "compute#reservationSubBlock", was used on multiple classes: + // GTLRCompute_ReservationSubBlock + // GTLRCompute_ReservationSubBlocksListResponse @"compute#resourcePolicy" : [GTLRCompute_ResourcePolicy class], @"compute#resourcePolicyAggregatedList" : [GTLRCompute_ResourcePolicyAggregatedList class], @"compute#resourcePolicyList" : [GTLRCompute_ResourcePolicyList class], diff --git a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h index 81b0b034d..f4ee6718a 100644 --- a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h +++ b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h @@ -111,6 +111,8 @@ @class GTLRCompute_BackendServicesScopedList; @class GTLRCompute_BackendServicesScopedList_Warning; @class GTLRCompute_BackendServicesScopedList_Warning_Data_Item; +@class GTLRCompute_BackendServiceTlsSettings; +@class GTLRCompute_BackendServiceTlsSettingsSubjectAltName; @class GTLRCompute_BackendServiceUsedBy; @class GTLRCompute_BfdPacket; @class GTLRCompute_BfdStatus; @@ -122,6 +124,8 @@ @class GTLRCompute_BulkInsertInstanceResource_PerInstanceProperties; @class GTLRCompute_BulkInsertInstanceResourcePerInstanceProperties; @class GTLRCompute_BulkInsertOperationStatus; +@class GTLRCompute_BulkSetLabelsRequest; +@class GTLRCompute_BulkSetLabelsRequest_Labels; @class GTLRCompute_CacheKeyPolicy; @class GTLRCompute_CircuitBreakers; @class GTLRCompute_Commitment; @@ -535,6 +539,8 @@ @class GTLRCompute_NetworkInterface; @class GTLRCompute_NetworkList_Warning; @class GTLRCompute_NetworkList_Warning_Data_Item; +@class GTLRCompute_NetworkParams; +@class GTLRCompute_NetworkParams_ResourceManagerTags; @class GTLRCompute_NetworkPeering; @class GTLRCompute_NetworkPerformanceConfig; @class GTLRCompute_NetworkProfile; @@ -680,6 +686,10 @@ @class GTLRCompute_ReservationsScopedList; @class GTLRCompute_ReservationsScopedList_Warning; @class GTLRCompute_ReservationsScopedList_Warning_Data_Item; +@class GTLRCompute_ReservationSubBlock; +@class GTLRCompute_ReservationSubBlockPhysicalTopology; +@class GTLRCompute_ReservationSubBlocksListResponse_Warning; +@class GTLRCompute_ReservationSubBlocksListResponse_Warning_Data_Item; @class GTLRCompute_ResourceCommitment; @class GTLRCompute_ResourcePoliciesScopedList; @class GTLRCompute_ResourcePoliciesScopedList_Warning; @@ -705,6 +715,7 @@ @class GTLRCompute_ResourcePolicySnapshotSchedulePolicySnapshotProperties_Labels; @class GTLRCompute_ResourcePolicyWeeklyCycle; @class GTLRCompute_ResourcePolicyWeeklyCycleDayOfWeek; +@class GTLRCompute_ResourcePolicyWorkloadPolicy; @class GTLRCompute_ResourceStatus; @class GTLRCompute_ResourceStatusPhysicalHostTopology; @class GTLRCompute_ResourceStatusScheduling; @@ -887,6 +898,8 @@ @class GTLRCompute_SubnetworkList_Warning; @class GTLRCompute_SubnetworkList_Warning_Data_Item; @class GTLRCompute_SubnetworkLogConfig; +@class GTLRCompute_SubnetworkParams; +@class GTLRCompute_SubnetworkParams_ResourceManagerTags; @class GTLRCompute_SubnetworkSecondaryRange; @class GTLRCompute_SubnetworksScopedList; @class GTLRCompute_SubnetworksScopedList_Warning; @@ -8200,6 +8213,34 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPolicyRule_Direction_Egr /** Value: "INGRESS" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPolicyRule_Direction_Ingress; +// ---------------------------------------------------------------------------- +// GTLRCompute_FirewallPolicyRuleMatcher.destNetworkType + +/** Value: "INTERNET" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPolicyRuleMatcher_DestNetworkType_Internet; +/** Value: "INTRA_VPC" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPolicyRuleMatcher_DestNetworkType_IntraVpc; +/** Value: "NON_INTERNET" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPolicyRuleMatcher_DestNetworkType_NonInternet; +/** Value: "UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPolicyRuleMatcher_DestNetworkType_Unspecified; +/** Value: "VPC_NETWORKS" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPolicyRuleMatcher_DestNetworkType_VpcNetworks; + +// ---------------------------------------------------------------------------- +// GTLRCompute_FirewallPolicyRuleMatcher.srcNetworkType + +/** Value: "INTERNET" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPolicyRuleMatcher_SrcNetworkType_Internet; +/** Value: "INTRA_VPC" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPolicyRuleMatcher_SrcNetworkType_IntraVpc; +/** Value: "NON_INTERNET" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPolicyRuleMatcher_SrcNetworkType_NonInternet; +/** Value: "UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPolicyRuleMatcher_SrcNetworkType_Unspecified; +/** Value: "VPC_NETWORKS" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_FirewallPolicyRuleMatcher_SrcNetworkType_VpcNetworks; + // ---------------------------------------------------------------------------- // GTLRCompute_FirewallPolicyRuleSecureTag.state @@ -29496,6 +29537,220 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationsScopedList_Warning_C */ FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationsScopedList_Warning_Code_Unreachable; +// ---------------------------------------------------------------------------- +// GTLRCompute_ReservationSubBlock.status + +/** + * Resources are being allocated for the reservation subBlock. + * + * Value: "CREATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlock_Status_Creating; +/** + * Reservation subBlock is currently being deleted. + * + * Value: "DELETING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlock_Status_Deleting; +/** Value: "INVALID" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlock_Status_Invalid; +/** + * Reservation subBlock has allocated all its resources. + * + * Value: "READY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlock_Status_Ready; + +// ---------------------------------------------------------------------------- +// GTLRCompute_ReservationSubBlocksListResponse_Warning.code + +/** + * Warning about failed cleanup of transient changes made by a failed + * operation. + * + * Value: "CLEANUP_FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_CleanupFailed; +/** + * A link to a deprecated resource was created. + * + * Value: "DEPRECATED_RESOURCE_USED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_DeprecatedResourceUsed; +/** + * When deploying and at least one of the resources has a type marked as + * deprecated + * + * Value: "DEPRECATED_TYPE_USED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_DeprecatedTypeUsed; +/** + * The user created a boot disk that is larger than image size. + * + * Value: "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_DiskSizeLargerThanImageSize; +/** + * When deploying and at least one of the resources has a type marked as + * experimental + * + * Value: "EXPERIMENTAL_TYPE_USED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_ExperimentalTypeUsed; +/** + * Warning that is present in an external api call + * + * Value: "EXTERNAL_API_WARNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_ExternalApiWarning; +/** + * Warning that value of a field has been overridden. Deprecated unused field. + * + * Value: "FIELD_VALUE_OVERRIDEN" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_FieldValueOverriden GTLR_DEPRECATED; +/** + * The operation involved use of an injected kernel, which is deprecated. + * + * Value: "INJECTED_KERNELS_DEPRECATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_InjectedKernelsDeprecated; +/** + * A WEIGHTED_MAGLEV backend service is associated with a health check that is + * not of type HTTP/HTTPS/HTTP2. + * + * Value: "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_InvalidHealthCheckForDynamicWieghtedLb; +/** + * When deploying a deployment with a exceedingly large number of resources + * + * Value: "LARGE_DEPLOYMENT_WARNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_LargeDeploymentWarning; +/** + * Resource can't be retrieved due to list overhead quota exceed which captures + * the amount of resources filtered out by user-defined list filter. + * + * Value: "LIST_OVERHEAD_QUOTA_EXCEED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_ListOverheadQuotaExceed; +/** + * A resource depends on a missing type + * + * Value: "MISSING_TYPE_DEPENDENCY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_MissingTypeDependency; +/** + * The route's nextHopIp address is not assigned to an instance on the network. + * + * Value: "NEXT_HOP_ADDRESS_NOT_ASSIGNED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_NextHopAddressNotAssigned; +/** + * The route's next hop instance cannot ip forward. + * + * Value: "NEXT_HOP_CANNOT_IP_FORWARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_NextHopCannotIpForward; +/** + * The route's nextHopInstance URL refers to an instance that does not have an + * ipv6 interface on the same network as the route. + * + * Value: "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_NextHopInstanceHasNoIpv6Interface; +/** + * The route's nextHopInstance URL refers to an instance that does not exist. + * + * Value: "NEXT_HOP_INSTANCE_NOT_FOUND" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_NextHopInstanceNotFound; +/** + * The route's nextHopInstance URL refers to an instance that is not on the + * same network as the route. + * + * Value: "NEXT_HOP_INSTANCE_NOT_ON_NETWORK" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_NextHopInstanceNotOnNetwork; +/** + * The route's next hop instance does not have a status of RUNNING. + * + * Value: "NEXT_HOP_NOT_RUNNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_NextHopNotRunning; +/** + * No results are present on a particular list page. + * + * Value: "NO_RESULTS_ON_PAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_NoResultsOnPage; +/** + * Error which is not critical. We decided to continue the process despite the + * mentioned error. + * + * Value: "NOT_CRITICAL_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_NotCriticalError; +/** + * Success is reported, but some results may be missing due to errors + * + * Value: "PARTIAL_SUCCESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_PartialSuccess; +/** + * Quota information is not available to client requests (e.g: regions.list). + * + * Value: "QUOTA_INFO_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_QuotaInfoUnavailable; +/** + * The user attempted to use a resource that requires a TOS they have not + * accepted. + * + * Value: "REQUIRED_TOS_AGREEMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_RequiredTosAgreement; +/** + * Warning that a resource is in use. + * + * Value: "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_ResourceInUseByOtherResourceWarning; +/** + * One or more of the resources set to auto-delete could not be deleted because + * they were in use. + * + * Value: "RESOURCE_NOT_DELETED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_ResourceNotDeleted; +/** + * When a resource schema validation is ignored. + * + * Value: "SCHEMA_VALIDATION_IGNORED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_SchemaValidationIgnored; +/** + * Instance template used in instance group manager is valid as such, but its + * application does not make a lot of sense, because it allows only single + * instance in instance group. + * + * Value: "SINGLE_INSTANCE_PROPERTY_TEMPLATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_SingleInstancePropertyTemplate; +/** + * When undeclared properties in the schema are present + * + * Value: "UNDECLARED_PROPERTIES" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_UndeclaredProperties; +/** + * A given scope cannot be reached. + * + * Value: "UNREACHABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_Unreachable; + // ---------------------------------------------------------------------------- // GTLRCompute_ResourceCommitment.type @@ -30148,6 +30403,44 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ResourcePolicyWeeklyCycleDayOfWe /** Value: "WEDNESDAY" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_ResourcePolicyWeeklyCycleDayOfWeek_Day_Wednesday; +// ---------------------------------------------------------------------------- +// GTLRCompute_ResourcePolicyWorkloadPolicy.maxTopologyDistance + +/** + * VMs must be provisioned in the same block. + * + * Value: "BLOCK" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ResourcePolicyWorkloadPolicy_MaxTopologyDistance_Block; +/** + * VMs must be provisioned in the same cluster. + * + * Value: "CLUSTER" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ResourcePolicyWorkloadPolicy_MaxTopologyDistance_Cluster; +/** + * VMs must be provisioned in the same subblock. + * + * Value: "SUBBLOCK" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ResourcePolicyWorkloadPolicy_MaxTopologyDistance_Subblock; + +// ---------------------------------------------------------------------------- +// GTLRCompute_ResourcePolicyWorkloadPolicy.type + +/** + * VMs will be provisioned in such a way which provides high availability. + * + * Value: "HIGH_AVAILABILITY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ResourcePolicyWorkloadPolicy_Type_HighAvailability; +/** + * VMs will be provisioned in such a way which provides high throughput. + * + * Value: "HIGH_THROUGHPUT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ResourcePolicyWorkloadPolicy_Type_HighThroughput; + // ---------------------------------------------------------------------------- // GTLRCompute_Route.nextHopOrigin @@ -49311,6 +49604,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, strong, nullable) NSNumber *timeoutSec; +/** + * Configuration for Backend Authenticated TLS and mTLS. May only be specified + * when the backend protocol is SSL, HTTPS or HTTP2. + */ +@property(nonatomic, strong, nullable) GTLRCompute_BackendServiceTlsSettings *tlsSettings; + /** [Output Only] List of resources referencing given backend service. */ @property(nonatomic, strong, nullable) NSArray *usedBy; @@ -49971,7 +50270,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * fastIPMove. - The regional backend service must set the network field, and * all NEGs must belong to that network. However, individual NEGs can belong to * different subnetworks of that network. - The maximum number of network - * endpoints across all backends of a backend service with fastIPMove is 64. - + * endpoints across all backends of a backend service with fastIPMove is 32. - * The maximum number of backend services with fastIPMove that can have the * same network endpoint attached to one of its backends is 64. - The maximum * number of backend services with fastIPMove in a VPC in a region is 64. - The @@ -50793,6 +51092,61 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * GTLRCompute_BackendServiceTlsSettings + */ +@interface GTLRCompute_BackendServiceTlsSettings : GTLRObject + +/** + * Reference to the BackendAuthenticationConfig resource from the + * networksecurity.googleapis.com namespace. Can be used in authenticating TLS + * connections to the backend, as specified by the authenticationMode field. + * Can only be specified if authenticationMode is not NONE. + */ +@property(nonatomic, copy, nullable) NSString *authenticationConfig; + +/** + * Server Name Indication - see RFC3546 section 3.1. If set, the load balancer + * sends this string as the SNI hostname in the TLS connection to the backend, + * and requires that this string match a Subject Alternative Name (SAN) in the + * backend's server certificate. With a Regional Internet NEG backend, if the + * SNI is specified here, the load balancer uses it regardless of whether the + * Regional Internet NEG is specified with FQDN or IP address and port. When + * both sni and subjectAltNames[] are specified, the load balancer matches the + * backend certificate's SAN only to subjectAltNames[]. + */ +@property(nonatomic, copy, nullable) NSString *sni; + +/** + * A list of Subject Alternative Names (SANs) that the Load Balancer verifies + * during a TLS handshake with the backend. When the server presents its X.509 + * certificate to the Load Balancer, the Load Balancer inspects the + * certificate's SAN field, and requires that at least one SAN match one of the + * subjectAltNames in the list. This field is limited to 5 entries. When both + * sni and subjectAltNames[] are specified, the load balancer matches the + * backend certificate's SAN only to subjectAltNames[]. + */ +@property(nonatomic, strong, nullable) NSArray *subjectAltNames; + +@end + + +/** + * A Subject Alternative Name that the load balancer matches against the SAN + * field in the TLS certificate provided by the backend, specified as either a + * DNS name or a URI, in accordance with RFC 5280 4.2.1.6 + */ +@interface GTLRCompute_BackendServiceTlsSettingsSubjectAltName : GTLRObject + +/** The SAN specified as a DNS Name. */ +@property(nonatomic, copy, nullable) NSString *dnsName; + +/** The SAN specified as a URI. */ +@property(nonatomic, copy, nullable) NSString *uniformResourceIdentifier; + +@end + + /** * GTLRCompute_BackendServiceUsedBy */ @@ -51456,6 +51810,52 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * GTLRCompute_BulkSetLabelsRequest + */ +@interface GTLRCompute_BulkSetLabelsRequest : GTLRObject + +/** + * The fingerprint of the previous set of labels for this resource, used to + * detect conflicts. The fingerprint is initially generated by Compute Engine + * and changes after every request to modify or update labels. You may + * optionally provide an up-to-date fingerprint hash in order to update or + * change labels. Make a get() request to the resource to get the latest + * fingerprint. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *labelFingerprint; + +/** The labels to set for this resource. */ +@property(nonatomic, strong, nullable) GTLRCompute_BulkSetLabelsRequest_Labels *labels; + +@end + + +/** + * The labels to set for this 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 GTLRCompute_BulkSetLabelsRequest_Labels : GTLRObject +@end + + +/** + * GTLRCompute_BulkZoneSetLabelsRequest + */ +@interface GTLRCompute_BulkZoneSetLabelsRequest : GTLRObject + +@property(nonatomic, strong, nullable) NSArray *requests; + +@end + + /** * GTLRCompute_CacheInvalidationRule */ @@ -56682,6 +57082,24 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, strong, nullable) NSArray *destIpRanges; +/** + * Network type of the traffic destination. Allowed values are: - UNSPECIFIED - + * INTERNET - NON_INTERNET + * + * Likely values: + * @arg @c kGTLRCompute_FirewallPolicyRuleMatcher_DestNetworkType_Internet + * Value "INTERNET" + * @arg @c kGTLRCompute_FirewallPolicyRuleMatcher_DestNetworkType_IntraVpc + * Value "INTRA_VPC" + * @arg @c kGTLRCompute_FirewallPolicyRuleMatcher_DestNetworkType_NonInternet + * Value "NON_INTERNET" + * @arg @c kGTLRCompute_FirewallPolicyRuleMatcher_DestNetworkType_Unspecified + * Value "UNSPECIFIED" + * @arg @c kGTLRCompute_FirewallPolicyRuleMatcher_DestNetworkType_VpcNetworks + * Value "VPC_NETWORKS" + */ +@property(nonatomic, copy, nullable) NSString *destNetworkType; + /** * Region codes whose IP addresses will be used to match for destination of * traffic. Should be specified as 2 letter country code defined as per ISO @@ -56717,6 +57135,27 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, strong, nullable) NSArray *srcIpRanges; +/** Networks of the traffic source. It can be either a full or partial url. */ +@property(nonatomic, strong, nullable) NSArray *srcNetworks; + +/** + * Network type of the traffic source. Allowed values are: - UNSPECIFIED - + * INTERNET - INTRA_VPC - NON_INTERNET - VPC_NETWORKS + * + * Likely values: + * @arg @c kGTLRCompute_FirewallPolicyRuleMatcher_SrcNetworkType_Internet + * Value "INTERNET" + * @arg @c kGTLRCompute_FirewallPolicyRuleMatcher_SrcNetworkType_IntraVpc + * Value "INTRA_VPC" + * @arg @c kGTLRCompute_FirewallPolicyRuleMatcher_SrcNetworkType_NonInternet + * Value "NON_INTERNET" + * @arg @c kGTLRCompute_FirewallPolicyRuleMatcher_SrcNetworkType_Unspecified + * Value "UNSPECIFIED" + * @arg @c kGTLRCompute_FirewallPolicyRuleMatcher_SrcNetworkType_VpcNetworks + * Value "VPC_NETWORKS" + */ +@property(nonatomic, copy, nullable) NSString *srcNetworkType; + /** * Region codes whose IP addresses will be used to match for source of traffic. * Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 @@ -57241,6 +57680,11 @@ 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] Server-defined URL for this resource with the resource id. + */ +@property(nonatomic, copy, nullable) NSString *selfLinkWithId; + /** * Service Directory resources to register this forwarding rule with. * Currently, only supports a single Service Directory resource. @@ -58046,6 +58490,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @interface GTLRCompute_GroupMaintenanceInfo : GTLRObject +/** + * Describes number of instances that have ongoing maintenance. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *instanceMaintenanceOngoingCount; + +/** + * Describes number of instances that have pending maintenance. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *instanceMaintenancePendingCount; + /** * Progress for ongoing maintenance for this group of VMs/hosts. Describes * number of hosts in the block that have ongoing maintenance. @@ -58078,6 +58536,26 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, copy, nullable) NSString *schedulingType; +/** + * Describes number of subblock Infrastructure that has ongoing maintenance. + * Here, Subblock Infrastructure Maintenance pertains to upstream hardware + * contained in the Subblock that is necessary for a VM Family(e.g. NVLink + * Domains). Not all VM Families will support this field. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *subblockInfraMaintenanceOngoingCount; + +/** + * Describes number of subblock Infrastructure that has pending maintenance. + * Here, Subblock Infrastructure Maintenance pertains to upstream hardware + * contained in the Subblock that is necessary for a VM Family (e.g. NVLink + * Domains). Not all VM Families will support this field. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *subblockInfraMaintenancePendingCount; + /** Maintenance information on this group of VMs. */ @property(nonatomic, strong, nullable) GTLRCompute_UpcomingMaintenance *upcomingGroupMaintenance; @@ -59819,7 +60297,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * If false, headerValue is appended to any values that already exist for the * header. If true, headerValue is set for the header, discarding any values - * that were set for that header. The default value is false. + * that were set for that header. The default value is true, unless a variable + * is present in headerValue, in which case the default value is false. . * * Uses NSNumber of boolValue. */ @@ -61745,8 +62224,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, copy, nullable) NSString *machineType; /** - * The metadata key/value pairs assigned to this instance. This includes custom - * metadata and predefined keys. + * The metadata key/value pairs assigned to this instance. This includes + * metadata keys that were explicitly defined for the instance. */ @property(nonatomic, strong, nullable) GTLRCompute_Metadata *metadata; @@ -74738,6 +75217,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, copy, nullable) NSString *networkProfile; +/** + * Input only. [Input Only] Additional params passed with the request, but not + * persisted as part of resource payload. + */ +@property(nonatomic, strong, nullable) GTLRCompute_NetworkParams *params; + /** [Output Only] A list of network peerings for the resource. */ @property(nonatomic, strong, nullable) NSArray *peerings; @@ -77646,6 +78131,45 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * Additional network parameters. + */ +@interface GTLRCompute_NetworkParams : GTLRObject + +/** + * Tag keys/values directly bound to this resource. Tag keys and values have + * the same definition as resource manager tags. The field is allowed for + * INSERT only. The keys/values to set on the resource should be specified in + * either ID { : } or Namespaced format { : }. For example the following are + * valid inputs: * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : + * "tagValues/456"} * {"123/environment" : "production", "345/abc" : "xyz"} + * Note: * Invalid combinations of ID & namespaced format is not supported. For + * instance: {"123/environment" : "tagValues/444"} is invalid. + */ +@property(nonatomic, strong, nullable) GTLRCompute_NetworkParams_ResourceManagerTags *resourceManagerTags; + +@end + + +/** + * Tag keys/values directly bound to this resource. Tag keys and values have + * the same definition as resource manager tags. The field is allowed for + * INSERT only. The keys/values to set on the resource should be specified in + * either ID { : } or Namespaced format { : }. For example the following are + * valid inputs: * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : + * "tagValues/456"} * {"123/environment" : "production", "345/abc" : "xyz"} + * Note: * Invalid combinations of ID & namespaced format is not supported. For + * instance: {"123/environment" : "tagValues/444"} is invalid. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRCompute_NetworkParams_ResourceManagerTags : GTLRObject +@end + + /** * A network peering attached to a network resource. The message includes the * peering name, peer network, peering state, and a flag indicating whether @@ -87653,6 +88177,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; +/** + * Indicates whether Compute Engine allows unplanned maintenance for your VMs; + * for example, to fix hardware errors. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableEmergentMaintenance; + /** * [Output Only] The unique identifier for the resource. This identifier is * defined by the server. @@ -88060,6 +88592,23 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** [Output Only] Maintenance information for this reservation block. */ @property(nonatomic, strong, nullable) GTLRCompute_GroupMaintenanceInfo *reservationMaintenance; +/** + * [Output Only] The number of reservation subBlocks associated with this + * reservation block. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *reservationSubBlockCount; + +/** + * [Output Only] The number of in-use reservation subBlocks associated with + * this reservation block. If at least one VM is running on a subBlock, it is + * considered in-use. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *reservationSubBlockInUseCount; + /** [Output Only] Server-defined fully-qualified URL for this resource. */ @property(nonatomic, copy, nullable) NSString *selfLink; @@ -88719,6 +89268,306 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * Represents a reservation subBlock resource. + */ +@interface GTLRCompute_ReservationSubBlock : GTLRObject + +/** + * [Output Only] The number of hosts that are allocated in this reservation + * subBlock. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *count; + +/** [Output Only] Creation timestamp in RFC3339 text format. */ +@property(nonatomic, copy, nullable) NSString *creationTimestamp; + +/** + * [Output Only] The unique identifier for the resource. This identifier is + * defined by the server. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + * + * Uses NSNumber of unsignedLongLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *identifier; + +/** + * [Output Only] The number of instances that are currently in use on this + * reservation subBlock. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *inUseCount; + +/** + * [Output Only] Type of the resource. Always compute#reservationSubBlock for + * reservation subBlocks. + */ +@property(nonatomic, copy, nullable) NSString *kind; + +/** + * [Output Only] The name of this reservation subBlock generated by Google + * Compute Engine. The name must be 1-63 characters long, and comply with + * RFC1035 \@pattern [a-z](?:[-a-z0-9]{0,61}[a-z0-9])? + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** [Output Only] The physical topology of the reservation subBlock. */ +@property(nonatomic, strong, nullable) GTLRCompute_ReservationSubBlockPhysicalTopology *physicalTopology; + +/** Maintenance information for this reservation subBlock. */ +@property(nonatomic, strong, nullable) GTLRCompute_GroupMaintenanceInfo *reservationSubBlockMaintenance; + +/** [Output Only] Server-defined fully-qualified URL for this resource. */ +@property(nonatomic, copy, nullable) NSString *selfLink; + +/** + * [Output Only] Server-defined URL for this resource with the resource id. + */ +@property(nonatomic, copy, nullable) NSString *selfLinkWithId; + +/** + * [Output Only] Status of the reservation subBlock. + * + * Likely values: + * @arg @c kGTLRCompute_ReservationSubBlock_Status_Creating Resources are + * being allocated for the reservation subBlock. (Value: "CREATING") + * @arg @c kGTLRCompute_ReservationSubBlock_Status_Deleting Reservation + * subBlock is currently being deleted. (Value: "DELETING") + * @arg @c kGTLRCompute_ReservationSubBlock_Status_Invalid Value "INVALID" + * @arg @c kGTLRCompute_ReservationSubBlock_Status_Ready Reservation subBlock + * has allocated all its resources. (Value: "READY") + */ +@property(nonatomic, copy, nullable) NSString *status; + +/** + * [Output Only] Zone in which the reservation subBlock resides. + * + * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. + */ +@property(nonatomic, copy, nullable) NSString *zoneProperty; + +@end + + +/** + * GTLRCompute_ReservationSubBlockPhysicalTopology + */ +@interface GTLRCompute_ReservationSubBlockPhysicalTopology : GTLRObject + +/** The hash of the capacity block within the cluster. */ +@property(nonatomic, copy, nullable) NSString *block; + +/** The cluster name of the reservation subBlock. */ +@property(nonatomic, copy, nullable) NSString *cluster; + +/** The hash of the capacity sub-block within the capacity block. */ +@property(nonatomic, copy, nullable) NSString *subBlock; + +@end + + +/** + * GTLRCompute_ReservationSubBlocksGetResponse + */ +@interface GTLRCompute_ReservationSubBlocksGetResponse : GTLRObject + +@property(nonatomic, strong, nullable) GTLRCompute_ReservationSubBlock *resource; + +@end + + +/** + * A list of reservation subBlocks under a single reservation. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "items" property. If returned as the result of a query, it should + * support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRCompute_ReservationSubBlocksListResponse : GTLRCollectionObject + +/** + * Unique identifier for the resource; defined by the server. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * A list of reservation subBlock resources. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *items; + +/** + * Type of the resource. Always compute#reservationSubBlock for a list of + * reservation subBlocks. + */ +@property(nonatomic, copy, nullable) NSString *kind; + +/** + * This token allows you to get the next page of results for list requests. If + * the number of results is larger than maxResults, use the nextPageToken as a + * value for the query parameter pageToken in the next list request. Subsequent + * list requests will have their own nextPageToken to continue paging through + * the results. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** Server-defined URL for this resource. */ +@property(nonatomic, copy, nullable) NSString *selfLink; + +/** Informational warning message. */ +@property(nonatomic, strong, nullable) GTLRCompute_ReservationSubBlocksListResponse_Warning *warning; + +@end + + +/** + * Informational warning message. + */ +@interface GTLRCompute_ReservationSubBlocksListResponse_Warning : GTLRObject + +/** + * [Output Only] A warning code, if applicable. For example, Compute Engine + * returns NO_RESULTS_ON_PAGE if there are no results in the response. + * + * Likely values: + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_CleanupFailed + * Warning about failed cleanup of transient changes made by a failed + * operation. (Value: "CLEANUP_FAILED") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_DeprecatedResourceUsed + * A link to a deprecated resource was created. (Value: + * "DEPRECATED_RESOURCE_USED") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_DeprecatedTypeUsed + * When deploying and at least one of the resources has a type marked as + * deprecated (Value: "DEPRECATED_TYPE_USED") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_DiskSizeLargerThanImageSize + * The user created a boot disk that is larger than image size. (Value: + * "DISK_SIZE_LARGER_THAN_IMAGE_SIZE") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_ExperimentalTypeUsed + * When deploying and at least one of the resources has a type marked as + * experimental (Value: "EXPERIMENTAL_TYPE_USED") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_ExternalApiWarning + * Warning that is present in an external api call (Value: + * "EXTERNAL_API_WARNING") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_FieldValueOverriden + * Warning that value of a field has been overridden. Deprecated unused + * field. (Value: "FIELD_VALUE_OVERRIDEN") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_InjectedKernelsDeprecated + * The operation involved use of an injected kernel, which is deprecated. + * (Value: "INJECTED_KERNELS_DEPRECATED") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_InvalidHealthCheckForDynamicWieghtedLb + * A WEIGHTED_MAGLEV backend service is associated with a health check + * that is not of type HTTP/HTTPS/HTTP2. (Value: + * "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_LargeDeploymentWarning + * When deploying a deployment with a exceedingly large number of + * resources (Value: "LARGE_DEPLOYMENT_WARNING") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_ListOverheadQuotaExceed + * Resource can't be retrieved due to list overhead quota exceed which + * captures the amount of resources filtered out by user-defined list + * filter. (Value: "LIST_OVERHEAD_QUOTA_EXCEED") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_MissingTypeDependency + * A resource depends on a missing type (Value: + * "MISSING_TYPE_DEPENDENCY") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_NextHopAddressNotAssigned + * The route's nextHopIp address is not assigned to an instance on the + * network. (Value: "NEXT_HOP_ADDRESS_NOT_ASSIGNED") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_NextHopCannotIpForward + * The route's next hop instance cannot ip forward. (Value: + * "NEXT_HOP_CANNOT_IP_FORWARD") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_NextHopInstanceHasNoIpv6Interface + * The route's nextHopInstance URL refers to an instance that does not + * have an ipv6 interface on the same network as the route. (Value: + * "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_NextHopInstanceNotFound + * The route's nextHopInstance URL refers to an instance that does not + * exist. (Value: "NEXT_HOP_INSTANCE_NOT_FOUND") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_NextHopInstanceNotOnNetwork + * The route's nextHopInstance URL refers to an instance that is not on + * the same network as the route. (Value: + * "NEXT_HOP_INSTANCE_NOT_ON_NETWORK") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_NextHopNotRunning + * The route's next hop instance does not have a status of RUNNING. + * (Value: "NEXT_HOP_NOT_RUNNING") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_NoResultsOnPage + * No results are present on a particular list page. (Value: + * "NO_RESULTS_ON_PAGE") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_NotCriticalError + * Error which is not critical. We decided to continue the process + * despite the mentioned error. (Value: "NOT_CRITICAL_ERROR") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_PartialSuccess + * Success is reported, but some results may be missing due to errors + * (Value: "PARTIAL_SUCCESS") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_QuotaInfoUnavailable + * Quota information is not available to client requests (e.g: + * regions.list). (Value: "QUOTA_INFO_UNAVAILABLE") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_RequiredTosAgreement + * The user attempted to use a resource that requires a TOS they have not + * accepted. (Value: "REQUIRED_TOS_AGREEMENT") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_ResourceInUseByOtherResourceWarning + * Warning that a resource is in use. (Value: + * "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_ResourceNotDeleted + * One or more of the resources set to auto-delete could not be deleted + * because they were in use. (Value: "RESOURCE_NOT_DELETED") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_SchemaValidationIgnored + * When a resource schema validation is ignored. (Value: + * "SCHEMA_VALIDATION_IGNORED") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_SingleInstancePropertyTemplate + * Instance template used in instance group manager is valid as such, but + * its application does not make a lot of sense, because it allows only + * single instance in instance group. (Value: + * "SINGLE_INSTANCE_PROPERTY_TEMPLATE") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_UndeclaredProperties + * When undeclared properties in the schema are present (Value: + * "UNDECLARED_PROPERTIES") + * @arg @c kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_Unreachable + * A given scope cannot be reached. (Value: "UNREACHABLE") + */ +@property(nonatomic, copy, nullable) NSString *code; + +/** + * [Output Only] Metadata about this warning in key: value format. For example: + * "data": [ { "key": "scope", "value": "zones/us-east1-d" } + */ +@property(nonatomic, strong, nullable) NSArray *data; + +/** [Output Only] A human-readable description of the warning code. */ +@property(nonatomic, copy, nullable) NSString *message; + +@end + + +/** + * GTLRCompute_ReservationSubBlocksListResponse_Warning_Data_Item + */ +@interface GTLRCompute_ReservationSubBlocksListResponse_Warning_Data_Item : GTLRObject + +/** + * [Output Only] A key that provides more detail on the warning being returned. + * For example, for warnings where there are no results in a list request for a + * particular zone, this key might be scope and the key value might be the zone + * name. Other examples might be a key indicating a deprecated resource and a + * suggested replacement, or a warning about invalid network settings (for + * example, if an instance attempts to perform IP forwarding but is not enabled + * for IP forwarding). + */ +@property(nonatomic, copy, nullable) NSString *key; + +/** [Output Only] A warning data value corresponding to the key. */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + + /** * Commitment for a particular hardware resource (a commitment is composed of * one or more of these). @@ -89014,6 +89863,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, copy, nullable) NSString *status; +@property(nonatomic, strong, nullable) GTLRCompute_ResourcePolicyWorkloadPolicy *workloadPolicy; + @end @@ -89271,6 +90122,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, copy, nullable) NSString *collocation; +/** + * Specifies the shape of the GPU slice, in slice based GPU families eg. A4X. + */ +@property(nonatomic, copy, nullable) NSString *gpuTopology; + /** * Number of VMs in this placement group. Google does not recommend that you * use this field unless you use a compact policy and you want your policy to @@ -89746,6 +90602,42 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * Represents the workload policy. + */ +@interface GTLRCompute_ResourcePolicyWorkloadPolicy : GTLRObject + +@property(nonatomic, copy, nullable) NSString *acceleratorTopology; + +/** + * maxTopologyDistance + * + * Likely values: + * @arg @c kGTLRCompute_ResourcePolicyWorkloadPolicy_MaxTopologyDistance_Block + * VMs must be provisioned in the same block. (Value: "BLOCK") + * @arg @c kGTLRCompute_ResourcePolicyWorkloadPolicy_MaxTopologyDistance_Cluster + * VMs must be provisioned in the same cluster. (Value: "CLUSTER") + * @arg @c kGTLRCompute_ResourcePolicyWorkloadPolicy_MaxTopologyDistance_Subblock + * VMs must be provisioned in the same subblock. (Value: "SUBBLOCK") + */ +@property(nonatomic, copy, nullable) NSString *maxTopologyDistance; + +/** + * type + * + * Likely values: + * @arg @c kGTLRCompute_ResourcePolicyWorkloadPolicy_Type_HighAvailability + * VMs will be provisioned in such a way which provides high + * availability. (Value: "HIGH_AVAILABILITY") + * @arg @c kGTLRCompute_ResourcePolicyWorkloadPolicy_Type_HighThroughput VMs + * will be provisioned in such a way which provides high throughput. + * (Value: "HIGH_THROUGHPUT") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + /** * Contains output only fields. Use this sub-message for actual values set on * Instance attributes as compared to the value requested by the user (intent) @@ -100324,6 +101216,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, copy, nullable) NSString *network; +/** + * Input only. [Input Only] Additional params passed with the request, but not + * persisted as part of resource payload. + */ +@property(nonatomic, strong, nullable) GTLRCompute_SubnetworkParams *params; + /** * Whether the VMs in this subnet can access Google services without assigned * external IP addresses. This field can be both set at resource creation time @@ -100924,6 +101822,45 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * Additional subnetwork parameters. + */ +@interface GTLRCompute_SubnetworkParams : GTLRObject + +/** + * Tag keys/values directly bound to this resource. Tag keys and values have + * the same definition as resource manager tags. The field is allowed for + * INSERT only. The keys/values to set on the resource should be specified in + * either ID { : } or Namespaced format { : }. For example the following are + * valid inputs: * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : + * "tagValues/456"} * {"123/environment" : "production", "345/abc" : "xyz"} + * Note: * Invalid combinations of ID & namespaced format is not supported. For + * instance: {"123/environment" : "tagValues/444"} is invalid. + */ +@property(nonatomic, strong, nullable) GTLRCompute_SubnetworkParams_ResourceManagerTags *resourceManagerTags; + +@end + + +/** + * Tag keys/values directly bound to this resource. Tag keys and values have + * the same definition as resource manager tags. The field is allowed for + * INSERT only. The keys/values to set on the resource should be specified in + * either ID { : } or Namespaced format { : }. For example the following are + * valid inputs: * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : + * "tagValues/456"} * {"123/environment" : "production", "345/abc" : "xyz"} + * Note: * Invalid combinations of ID & namespaced format is not supported. For + * instance: {"123/environment" : "tagValues/444"} is invalid. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRCompute_SubnetworkParams_ResourceManagerTags : GTLRObject +@end + + /** * Represents a secondary IP range of a subnetwork. */ diff --git a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h index bf3c6fa15..c369ae167 100644 --- a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h +++ b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h @@ -3134,6 +3134,63 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeRouteTypeUnspecifiedRouteType; @end +/** + * Sets the labels on many disks at once. To learn more about labels, read the + * Labeling Resources documentation. + * + * Method: compute.disks.bulkSetLabels + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + */ +@interface GTLRComputeQuery_DisksBulkSetLabels : GTLRComputeQuery + +/** Project ID for this request. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. For example, consider a situation + * where you make an initial request and the request times out. If you make the + * request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the + * second request. This prevents clients from accidentally creating duplicate + * commitments. The request ID must be a valid UUID with the exception that + * zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** Name or id of the resource for this request. */ +@property(nonatomic, copy, nullable) NSString *resource; + +/** + * The name of the zone for this request. + * + * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. + */ +@property(nonatomic, copy, nullable) NSString *zoneProperty; + +/** + * Fetches a @c GTLRCompute_Operation. + * + * Sets the labels on many disks at once. To learn more about labels, read the + * Labeling Resources documentation. + * + * @param object The @c GTLRCompute_BulkZoneSetLabelsRequest to include in the + * query. + * @param project Project ID for this request. + * @param zoneProperty The name of the zone for this request. + * + * @return GTLRComputeQuery_DisksBulkSetLabels + */ ++ (instancetype)queryWithObject:(GTLRCompute_BulkZoneSetLabelsRequest *)object + project:(NSString *)project + zoneProperty:(NSString *)zoneProperty; + +@end + /** * Creates a snapshot of a specified persistent disk. For regular snapshot * creation, consider using snapshots.insert instead, as that method supports @@ -39446,6 +39503,257 @@ GTLR_DEPRECATED @end +/** + * Retrieves information about the specified reservation subBlock. + * + * Method: compute.reservationSubBlocks.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + * @c kGTLRAuthScopeComputeReadonly + */ +@interface GTLRComputeQuery_ReservationSubBlocksGet : GTLRComputeQuery + +/** + * The name of the parent reservation and parent block. In the format of + * reservations/{reservation_name}/reservationBlocks/{reservation_block_name} + */ +@property(nonatomic, copy, nullable) NSString *parentName; + +/** Project ID for this request. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** + * The name of the reservation subBlock. Name should conform to RFC1035 or be a + * resource ID. + */ +@property(nonatomic, copy, nullable) NSString *reservationSubBlock; + +/** + * Name of the zone for this request. Zone name should conform to RFC1035. + * + * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. + */ +@property(nonatomic, copy, nullable) NSString *zoneProperty; + +/** + * Fetches a @c GTLRCompute_ReservationSubBlocksGetResponse. + * + * Retrieves information about the specified reservation subBlock. + * + * @param project Project ID for this request. + * @param zoneProperty Name of the zone for this request. Zone name should + * conform to RFC1035. + * @param parentName The name of the parent reservation and parent block. In + * the format of + * reservations/{reservation_name}/reservationBlocks/{reservation_block_name} + * @param reservationSubBlock The name of the reservation subBlock. Name should + * conform to RFC1035 or be a resource ID. + * + * @return GTLRComputeQuery_ReservationSubBlocksGet + */ ++ (instancetype)queryWithProject:(NSString *)project + zoneProperty:(NSString *)zoneProperty + parentName:(NSString *)parentName + reservationSubBlock:(NSString *)reservationSubBlock; + +@end + +/** + * Retrieves a list of reservation subBlocks under a single reservation. + * + * Method: compute.reservationSubBlocks.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + * @c kGTLRAuthScopeComputeReadonly + */ +@interface GTLRComputeQuery_ReservationSubBlocksList : GTLRComputeQuery + +/** + * A filter expression that filters resources listed in the response. Most + * Compute resources support two types of filter expressions: expressions that + * support regular expressions and expressions that follow API improvement + * proposal AIP-160. These two types of filter expressions cannot be mixed in + * one request. If you want to use AIP-160, your expression must specify the + * field name, an operator, and the value that you want to use for filtering. + * The value must be a string, a number, or a boolean. The operator must be + * either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are + * filtering Compute Engine instances, you can exclude instances named + * `example-instance` by specifying `name != example-instance`. The `:*` + * comparison can be used to test whether a key has been defined. For example, + * to find all objects with `owner` label use: ``` labels.owner:* ``` You can + * also filter nested fields. For example, you could specify + * `scheduling.automaticRestart = false` to include instances only if they are + * not scheduled for automatic restarts. You can use filtering on nested fields + * to filter based on resource labels. To filter on multiple expressions, + * provide each separate expression within parentheses. For example: ``` + * (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By + * default, each expression is an `AND` expression. However, you can include + * `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = + * "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true) ``` If you want to use a regular + * expression, use the `eq` (equal) or `ne` (not equal) operator against a + * single un-parenthesized expression with or without quotes or against + * multiple parenthesized expressions. Examples: `fieldname eq unquoted + * literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted + * literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal + * value is interpreted as a regular expression using Google RE2 library + * syntax. The literal value must match the entire field. For example, to + * filter for instances that do not end with name "instance", you would use + * `name ne .*instance`. You cannot combine constraints on multiple fields + * using regular expressions. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * The maximum number of results per page that should be returned. If the + * number of available results is larger than `maxResults`, Compute Engine + * returns a `nextPageToken` that can be used to get the next page of results + * in subsequent list requests. Acceptable values are `0` to `500`, inclusive. + * (Default: `500`) + * + * @note If not set, the documented server-side default will be 500. + */ +@property(nonatomic, assign) NSUInteger maxResults; + +/** + * Sorts list results by a certain order. By default, results are returned in + * alphanumerical order based on the resource name. You can also sort results + * in descending order based on the creation timestamp using + * `orderBy="creationTimestamp desc"`. This sorts results based on the + * `creationTimestamp` field in reverse chronological order (newest result + * first). Use this to sort resources like operations so that the newest + * operation is returned first. Currently, only sorting by `name` or + * `creationTimestamp desc` is supported. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Specifies a page token to use. Set `pageToken` to the `nextPageToken` + * returned by a previous list request to get the next page of results. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * The name of the parent reservation and parent block. In the format of + * reservations/{reservation_name}/reservationBlocks/{reservation_block_name} + */ +@property(nonatomic, copy, nullable) NSString *parentName; + +/** Project ID for this request. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** + * Opt-in for partial success behavior which provides partial results in case + * of failure. The default value is false. For example, when partial success + * behavior is enabled, aggregatedList for a single zone scope either returns + * all resources in the zone or no resources, with an error code. + */ +@property(nonatomic, assign) BOOL returnPartialSuccess; + +/** + * Name of the zone for this request. Zone name should conform to RFC1035. + * + * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. + */ +@property(nonatomic, copy, nullable) NSString *zoneProperty; + +/** + * Fetches a @c GTLRCompute_ReservationSubBlocksListResponse. + * + * Retrieves a list of reservation subBlocks under a single reservation. + * + * @param project Project ID for this request. + * @param zoneProperty Name of the zone for this request. Zone name should + * conform to RFC1035. + * @param parentName The name of the parent reservation and parent block. In + * the format of + * reservations/{reservation_name}/reservationBlocks/{reservation_block_name} + * + * @return GTLRComputeQuery_ReservationSubBlocksList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithProject:(NSString *)project + zoneProperty:(NSString *)zoneProperty + parentName:(NSString *)parentName; + +@end + +/** + * Allows customers to perform maintenance on a reservation subBlock + * + * Method: compute.reservationSubBlocks.performMaintenance + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + */ +@interface GTLRComputeQuery_ReservationSubBlocksPerformMaintenance : GTLRComputeQuery + +/** + * The name of the parent reservation and parent block. In the format of + * reservations/{reservation_name}/reservationBlocks/{reservation_block_name} + */ +@property(nonatomic, copy, nullable) NSString *parentName; + +/** Project ID for this request. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. For example, consider a situation + * where you make an initial request and the request times out. If you make the + * request again with the same request ID, the server can check if original + * operation with the same request ID was received, and if so, will ignore the + * second request. This prevents clients from accidentally creating duplicate + * commitments. The request ID must be a valid UUID with the exception that + * zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * The name of the reservation subBlock. Name should conform to RFC1035 or be a + * resource ID. + */ +@property(nonatomic, copy, nullable) NSString *reservationSubBlock; + +/** + * Name of the zone for this request. Zone name should conform to RFC1035. + * + * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. + */ +@property(nonatomic, copy, nullable) NSString *zoneProperty; + +/** + * Fetches a @c GTLRCompute_Operation. + * + * Allows customers to perform maintenance on a reservation subBlock + * + * @param project Project ID for this request. + * @param zoneProperty Name of the zone for this request. Zone name should + * conform to RFC1035. + * @param parentName The name of the parent reservation and parent block. In + * the format of + * reservations/{reservation_name}/reservationBlocks/{reservation_block_name} + * @param reservationSubBlock The name of the reservation subBlock. Name should + * conform to RFC1035 or be a resource ID. + * + * @return GTLRComputeQuery_ReservationSubBlocksPerformMaintenance + */ ++ (instancetype)queryWithProject:(NSString *)project + zoneProperty:(NSString *)zoneProperty + parentName:(NSString *)parentName + reservationSubBlock:(NSString *)reservationSubBlock; + +@end + /** * Update share settings of the reservation. * diff --git a/Sources/GeneratedServices/Config/GTLRConfigObjects.m b/Sources/GeneratedServices/Config/GTLRConfigObjects.m index 9dd455225..0bc3a6389 100644 --- a/Sources/GeneratedServices/Config/GTLRConfigObjects.m +++ b/Sources/GeneratedServices/Config/GTLRConfigObjects.m @@ -119,6 +119,14 @@ NSString * const kGTLRConfig_Resource_State_Reconciled = @"RECONCILED"; NSString * const kGTLRConfig_Resource_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRConfig_ResourceChange.intent +NSString * const kGTLRConfig_ResourceChange_Intent_Create = @"CREATE"; +NSString * const kGTLRConfig_ResourceChange_Intent_Delete = @"DELETE"; +NSString * const kGTLRConfig_ResourceChange_Intent_IntentUnspecified = @"INTENT_UNSPECIFIED"; +NSString * const kGTLRConfig_ResourceChange_Intent_Recreate = @"RECREATE"; +NSString * const kGTLRConfig_ResourceChange_Intent_Unchanged = @"UNCHANGED"; +NSString * const kGTLRConfig_ResourceChange_Intent_Update = @"UPDATE"; + // GTLRConfig_Revision.action NSString * const kGTLRConfig_Revision_Action_ActionUnspecified = @"ACTION_UNSPECIFIED"; NSString * const kGTLRConfig_Revision_Action_Create = @"CREATE"; @@ -478,6 +486,52 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRConfig_ListResourceChangesResponse +// + +@implementation GTLRConfig_ListResourceChangesResponse +@dynamic nextPageToken, resourceChanges, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"resourceChanges" : [GTLRConfig_ResourceChange class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"resourceChanges"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConfig_ListResourceDriftsResponse +// + +@implementation GTLRConfig_ListResourceDriftsResponse +@dynamic nextPageToken, resourceDrifts, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"resourceDrifts" : [GTLRConfig_ResourceDrift class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"resourceDrifts"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConfig_ListResourcesResponse @@ -756,6 +810,44 @@ @implementation GTLRConfig_PreviewResult @end +// ---------------------------------------------------------------------------- +// +// GTLRConfig_PropertyChange +// + +@implementation GTLRConfig_PropertyChange +@dynamic after, afterSensitivePaths, before, beforeSensitivePaths, path; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"afterSensitivePaths" : [NSString class], + @"beforeSensitivePaths" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConfig_PropertyDrift +// + +@implementation GTLRConfig_PropertyDrift +@dynamic after, afterSensitivePaths, before, beforeSensitivePaths, path; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"afterSensitivePaths" : [NSString class], + @"beforeSensitivePaths" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConfig_Resource @@ -790,6 +882,70 @@ @implementation GTLRConfig_ResourceCAIInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRConfig_ResourceChange +// + +@implementation GTLRConfig_ResourceChange +@dynamic intent, name, propertyChanges, terraformInfo; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"propertyChanges" : [GTLRConfig_PropertyChange class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConfig_ResourceChangeTerraformInfo +// + +@implementation GTLRConfig_ResourceChangeTerraformInfo +@dynamic actions, address, provider, resourceName, type; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"actions" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConfig_ResourceDrift +// + +@implementation GTLRConfig_ResourceDrift +@dynamic name, propertyDrifts, terraformInfo; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"propertyDrifts" : [GTLRConfig_PropertyDrift class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConfig_ResourceDriftTerraformInfo +// + +@implementation GTLRConfig_ResourceDriftTerraformInfo +@dynamic address, provider, resourceName, type; +@end + + // ---------------------------------------------------------------------------- // // GTLRConfig_ResourceTerraformInfo diff --git a/Sources/GeneratedServices/Config/GTLRConfigQuery.m b/Sources/GeneratedServices/Config/GTLRConfigQuery.m index d6fe8fa09..4085fa773 100644 --- a/Sources/GeneratedServices/Config/GTLRConfigQuery.m +++ b/Sources/GeneratedServices/Config/GTLRConfigQuery.m @@ -713,6 +713,82 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRConfigQuery_ProjectsLocationsPreviewsResourceChangesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRConfigQuery_ProjectsLocationsPreviewsResourceChangesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRConfig_ResourceChange class]; + query.loggingName = @"config.projects.locations.previews.resourceChanges.get"; + return query; +} + +@end + +@implementation GTLRConfigQuery_ProjectsLocationsPreviewsResourceChangesList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/resourceChanges"; + GTLRConfigQuery_ProjectsLocationsPreviewsResourceChangesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRConfig_ListResourceChangesResponse class]; + query.loggingName = @"config.projects.locations.previews.resourceChanges.list"; + return query; +} + +@end + +@implementation GTLRConfigQuery_ProjectsLocationsPreviewsResourceDriftsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRConfigQuery_ProjectsLocationsPreviewsResourceDriftsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRConfig_ResourceDrift class]; + query.loggingName = @"config.projects.locations.previews.resourceDrifts.get"; + return query; +} + +@end + +@implementation GTLRConfigQuery_ProjectsLocationsPreviewsResourceDriftsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/resourceDrifts"; + GTLRConfigQuery_ProjectsLocationsPreviewsResourceDriftsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRConfig_ListResourceDriftsResponse class]; + query.loggingName = @"config.projects.locations.previews.resourceDrifts.list"; + return query; +} + +@end + @implementation GTLRConfigQuery_ProjectsLocationsTerraformVersionsGet @dynamic name; diff --git a/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigObjects.h b/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigObjects.h index 387377f99..b95c1466b 100644 --- a/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigObjects.h +++ b/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigObjects.h @@ -38,9 +38,15 @@ @class GTLRConfig_PreviewArtifacts; @class GTLRConfig_PreviewOperationMetadata; @class GTLRConfig_PreviewResult; +@class GTLRConfig_PropertyChange; +@class GTLRConfig_PropertyDrift; @class GTLRConfig_Resource; @class GTLRConfig_Resource_CaiAssets; @class GTLRConfig_ResourceCAIInfo; +@class GTLRConfig_ResourceChange; +@class GTLRConfig_ResourceChangeTerraformInfo; +@class GTLRConfig_ResourceDrift; +@class GTLRConfig_ResourceDriftTerraformInfo; @class GTLRConfig_ResourceTerraformInfo; @class GTLRConfig_Revision; @class GTLRConfig_Status; @@ -612,6 +618,46 @@ FOUNDATION_EXTERN NSString * const kGTLRConfig_Resource_State_Reconciled; */ FOUNDATION_EXTERN NSString * const kGTLRConfig_Resource_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRConfig_ResourceChange.intent + +/** + * The resource will be created. + * + * Value: "CREATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRConfig_ResourceChange_Intent_Create; +/** + * The resource will be deleted. + * + * Value: "DELETE" + */ +FOUNDATION_EXTERN NSString * const kGTLRConfig_ResourceChange_Intent_Delete; +/** + * The default value. + * + * Value: "INTENT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRConfig_ResourceChange_Intent_IntentUnspecified; +/** + * The resource will be recreated. + * + * Value: "RECREATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRConfig_ResourceChange_Intent_Recreate; +/** + * The resource will be untouched. + * + * Value: "UNCHANGED" + */ +FOUNDATION_EXTERN NSString * const kGTLRConfig_ResourceChange_Intent_Unchanged; +/** + * The resource will be updated. + * + * Value: "UPDATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRConfig_ResourceChange_Intent_Update; + // ---------------------------------------------------------------------------- // GTLRConfig_Revision.action @@ -1054,7 +1100,7 @@ FOUNDATION_EXTERN NSString * const kGTLRConfig_TerraformVersion_State_StateUnspe */ @property(nonatomic, strong, nullable) NSNumber *importExistingResources; -/** User-defined metadata for the deployment. */ +/** Optional. User-defined metadata for the deployment. */ @property(nonatomic, strong, nullable) GTLRConfig_Deployment_Labels *labels; /** @@ -1087,7 +1133,7 @@ FOUNDATION_EXTERN NSString * const kGTLRConfig_TerraformVersion_State_StateUnspe @property(nonatomic, copy, nullable) NSString *lockState; /** - * Resource name of the deployment. Format: + * Identifier. Resource name of the deployment. Format: * `projects/{project}/locations/{location}/deployments/{deployment}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -1201,7 +1247,7 @@ FOUNDATION_EXTERN NSString * const kGTLRConfig_TerraformVersion_State_StateUnspe /** - * User-defined metadata for the deployment. + * Optional. User-defined metadata for the deployment. * * @note This class is documented as having more properties of NSString. Use @c * -additionalJSONKeys and @c -additionalPropertyForName: to get the list @@ -1520,6 +1566,70 @@ FOUNDATION_EXTERN NSString * const kGTLRConfig_TerraformVersion_State_StateUnspe @end +/** + * A response to a 'ListResourceChanges' call. Contains a list of + * ResourceChanges. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "resourceChanges" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRConfig_ListResourceChangesResponse : GTLRCollectionObject + +/** + * A token to request the next page of resources from the 'ListResourceChanges' + * method. The value of an empty string means that there are no more resources + * to return. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * List of ResourceChanges. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *resourceChanges; + +/** Unreachable resources, if any. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * A response to a 'ListResourceDrifts' call. Contains a list of + * ResourceDrifts. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "resourceDrifts" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRConfig_ListResourceDriftsResponse : GTLRCollectionObject + +/** + * A token to request the next page of resources from the 'ListResourceDrifts' + * method. The value of an empty string means that there are no more resources + * to return. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * List of ResourceDrifts. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *resourceDrifts; + +/** Unreachable resources, if any. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + /** * A response to a 'ListResources' call. Contains a list of Resources. * @@ -2211,6 +2321,80 @@ FOUNDATION_EXTERN NSString * const kGTLRConfig_TerraformVersion_State_StateUnspe @end +/** + * A property change represents a change to a property in the state file. + */ +@interface GTLRConfig_PropertyChange : GTLRObject + +/** + * Output only. Representations of the object value after the actions. + * + * Can be any valid JSON type. + */ +@property(nonatomic, strong, nullable) id after; + +/** + * Output only. The paths of sensitive fields in `after`. Paths are relative to + * `path`. + */ +@property(nonatomic, strong, nullable) NSArray *afterSensitivePaths; + +/** + * Output only. Representations of the object value before the actions. + * + * Can be any valid JSON type. + */ +@property(nonatomic, strong, nullable) id before; + +/** + * Output only. The paths of sensitive fields in `before`. Paths are relative + * to `path`. + */ +@property(nonatomic, strong, nullable) NSArray *beforeSensitivePaths; + +/** Output only. The path of the property change. */ +@property(nonatomic, copy, nullable) NSString *path; + +@end + + +/** + * A property drift represents a drift to a property in the state file. + */ +@interface GTLRConfig_PropertyDrift : GTLRObject + +/** + * Output only. Representations of the object value after the actions. + * + * Can be any valid JSON type. + */ +@property(nonatomic, strong, nullable) id after; + +/** + * Output only. The paths of sensitive fields in `after`. Paths are relative to + * `path`. + */ +@property(nonatomic, strong, nullable) NSArray *afterSensitivePaths; + +/** + * Output only. Representations of the object value before the actions. + * + * Can be any valid JSON type. + */ +@property(nonatomic, strong, nullable) id before; + +/** + * Output only. The paths of sensitive fields in `before`. Paths are relative + * to `path`. + */ +@property(nonatomic, strong, nullable) NSArray *beforeSensitivePaths; + +/** Output only. The path of the property drift. */ +@property(nonatomic, copy, nullable) NSString *path; + +@end + + /** * Resource represents a Google Cloud Platform resource actuated by IM. * Resources are child resources of Revisions. @@ -2305,6 +2489,108 @@ FOUNDATION_EXTERN NSString * const kGTLRConfig_TerraformVersion_State_StateUnspe @end +/** + * A resource change represents a change to a resource in the state file. + */ +@interface GTLRConfig_ResourceChange : GTLRObject + +/** + * Output only. The intent of the resource change. + * + * Likely values: + * @arg @c kGTLRConfig_ResourceChange_Intent_Create The resource will be + * created. (Value: "CREATE") + * @arg @c kGTLRConfig_ResourceChange_Intent_Delete The resource will be + * deleted. (Value: "DELETE") + * @arg @c kGTLRConfig_ResourceChange_Intent_IntentUnspecified The default + * value. (Value: "INTENT_UNSPECIFIED") + * @arg @c kGTLRConfig_ResourceChange_Intent_Recreate The resource will be + * recreated. (Value: "RECREATE") + * @arg @c kGTLRConfig_ResourceChange_Intent_Unchanged The resource will be + * untouched. (Value: "UNCHANGED") + * @arg @c kGTLRConfig_ResourceChange_Intent_Update The resource will be + * updated. (Value: "UPDATE") + */ +@property(nonatomic, copy, nullable) NSString *intent; + +/** + * Identifier. The name of the resource change. Format: + * 'projects/{project_id}/locations/{location}/previews/{preview}/resourceChanges/{resource_change}'. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. The property changes of the resource change. */ +@property(nonatomic, strong, nullable) NSArray *propertyChanges; + +/** Output only. Terraform info of the resource change. */ +@property(nonatomic, strong, nullable) GTLRConfig_ResourceChangeTerraformInfo *terraformInfo; + +@end + + +/** + * Terraform info of a ResourceChange. + */ +@interface GTLRConfig_ResourceChangeTerraformInfo : GTLRObject + +/** Output only. TF resource actions. */ +@property(nonatomic, strong, nullable) NSArray *actions; + +/** Output only. TF resource address that uniquely identifies the resource. */ +@property(nonatomic, copy, nullable) NSString *address; + +/** Output only. TF resource provider. */ +@property(nonatomic, copy, nullable) NSString *provider; + +/** Output only. TF resource name. */ +@property(nonatomic, copy, nullable) NSString *resourceName; + +/** Output only. TF resource type. */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * A resource drift represents a drift to a resource in the state file. + */ +@interface GTLRConfig_ResourceDrift : GTLRObject + +/** + * Identifier. The name of the resource drift. Format: + * 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. The property drifts of the resource drift. */ +@property(nonatomic, strong, nullable) NSArray *propertyDrifts; + +/** Output only. Terraform info of the resource drift. */ +@property(nonatomic, strong, nullable) GTLRConfig_ResourceDriftTerraformInfo *terraformInfo; + +@end + + +/** + * Terraform info of a ResourceChange. + */ +@interface GTLRConfig_ResourceDriftTerraformInfo : GTLRObject + +/** Output only. The address of the drifted resource. */ +@property(nonatomic, copy, nullable) NSString *address; + +/** Output only. The provider of the drifted resource. */ +@property(nonatomic, copy, nullable) NSString *provider; + +/** Output only. TF resource name. */ +@property(nonatomic, copy, nullable) NSString *resourceName; + +/** Output only. The type of the drifted resource. */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + /** * Terraform info of a Resource. */ diff --git a/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigQuery.h b/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigQuery.h index 295622394..0f757f152 100644 --- a/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigQuery.h +++ b/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigQuery.h @@ -504,7 +504,7 @@ FOUNDATION_EXTERN NSString * const kGTLRConfigDeletePolicyDeletePolicyUnspecifie @interface GTLRConfigQuery_ProjectsLocationsDeploymentsPatch : GTLRConfigQuery /** - * Resource name of the deployment. Format: + * Identifier. Resource name of the deployment. Format: * `projects/{project}/locations/{location}/deployments/{deployment}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -541,7 +541,7 @@ FOUNDATION_EXTERN NSString * const kGTLRConfigDeletePolicyDeletePolicyUnspecifie * Updates a Deployment. * * @param object The @c GTLRConfig_Deployment to include in the query. - * @param name Resource name of the deployment. Format: + * @param name Identifier. Resource name of the deployment. Format: * `projects/{project}/locations/{location}/deployments/{deployment}` * * @return GTLRConfigQuery_ProjectsLocationsDeploymentsPatch @@ -1350,6 +1350,196 @@ FOUNDATION_EXTERN NSString * const kGTLRConfigDeletePolicyDeletePolicyUnspecifie @end +/** + * Get a ResourceChange for a given preview. + * + * Method: config.projects.locations.previews.resourceChanges.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeConfigCloudPlatform + */ +@interface GTLRConfigQuery_ProjectsLocationsPreviewsResourceChangesGet : GTLRConfigQuery + +/** + * Required. The name of the resource change to retrieve. Format: + * 'projects/{project_id}/locations/{location}/previews/{preview}/resourceChanges/{resource_change}'. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRConfig_ResourceChange. + * + * Get a ResourceChange for a given preview. + * + * @param name Required. The name of the resource change to retrieve. Format: + * 'projects/{project_id}/locations/{location}/previews/{preview}/resourceChanges/{resource_change}'. + * + * @return GTLRConfigQuery_ProjectsLocationsPreviewsResourceChangesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists ResourceChanges for a given preview. + * + * Method: config.projects.locations.previews.resourceChanges.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeConfigCloudPlatform + */ +@interface GTLRConfigQuery_ProjectsLocationsPreviewsResourceChangesList : GTLRConfigQuery + +/** + * Optional. Lists the resource changes that match the filter expression. A + * filter expression filters the resource changes listed in the response. The + * expression must be of the form '{field} {operator} {value}' where operators: + * '<', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a + * HAS operator which is roughly synonymous with equality). {field} can refer + * to a proto or JSON field, or a synthetic field. Field names can be camelCase + * or snake_case. Examples: - Filter by name: name = + * "projects/foo/locations/us-central1/previews/dep/resourceChanges/baz + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Optional. Field to use to sort the list. */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. When requesting a page of resource changes, 'page_size' specifies + * number of resource changes to return. If unspecified, at most 500 will be + * returned. The maximum value is 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. Token returned by previous call to 'ListResourceChanges' which + * specifies the position in the list from where to continue listing the + * resource changes. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent in whose context the ResourceChanges are listed. The + * parent value is in the format: + * 'projects/{project_id}/locations/{location}/previews/{preview}'. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRConfig_ListResourceChangesResponse. + * + * Lists ResourceChanges for a given preview. + * + * @param parent Required. The parent in whose context the ResourceChanges are + * listed. The parent value is in the format: + * 'projects/{project_id}/locations/{location}/previews/{preview}'. + * + * @return GTLRConfigQuery_ProjectsLocationsPreviewsResourceChangesList + * + * @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 + +/** + * Get a ResourceDrift for a given preview. + * + * Method: config.projects.locations.previews.resourceDrifts.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeConfigCloudPlatform + */ +@interface GTLRConfigQuery_ProjectsLocationsPreviewsResourceDriftsGet : GTLRConfigQuery + +/** + * Required. The name of the resource drift to retrieve. Format: + * 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRConfig_ResourceDrift. + * + * Get a ResourceDrift for a given preview. + * + * @param name Required. The name of the resource drift to retrieve. Format: + * 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'. + * + * @return GTLRConfigQuery_ProjectsLocationsPreviewsResourceDriftsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * List ResourceDrifts for a given preview. + * + * Method: config.projects.locations.previews.resourceDrifts.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeConfigCloudPlatform + */ +@interface GTLRConfigQuery_ProjectsLocationsPreviewsResourceDriftsList : GTLRConfigQuery + +/** + * Optional. Lists the resource drifts that match the filter expression. A + * filter expression filters the resource drifts listed in the response. The + * expression must be of the form '{field} {operator} {value}' where operators: + * '<', '>', '<=', '>=', '!=', '=', ':' are supported (colon ':' represents a + * HAS operator which is roughly synonymous with equality). {field} can refer + * to a proto or JSON field, or a synthetic field. Field names can be camelCase + * or snake_case. Examples: - Filter by name: name = + * "projects/foo/locations/us-central1/previews/dep/resourceDrifts/baz + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Optional. Field to use to sort the list. */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. When requesting a page of resource drifts, 'page_size' specifies + * number of resource drifts to return. If unspecified, at most 500 will be + * returned. The maximum value is 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. Token returned by previous call to 'ListResourceDrifts' which + * specifies the position in the list from where to continue listing the + * resource drifts. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent in whose context the ResourceDrifts are listed. The + * parent value is in the format: + * 'projects/{project_id}/locations/{location}/previews/{preview}'. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRConfig_ListResourceDriftsResponse. + * + * List ResourceDrifts for a given preview. + * + * @param parent Required. The parent in whose context the ResourceDrifts are + * listed. The parent value is in the format: + * 'projects/{project_id}/locations/{location}/previews/{preview}'. + * + * @return GTLRConfigQuery_ProjectsLocationsPreviewsResourceDriftsList + * + * @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 details about a TerraformVersion. * diff --git a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m index 33eec4913..1aae65eb8 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m +++ b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m @@ -962,6 +962,26 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alph @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1DeleteQaQuestionTagMetadata +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1DeleteQaQuestionTagMetadata +@dynamic createTime, endTime, request; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1DeleteQaQuestionTagRequest +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1DeleteQaQuestionTagRequest +@dynamic name; +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata @@ -1353,7 +1373,8 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alph // @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource -@dynamic bucketObjectType, bucketUri, customMetadataKeys, metadataBucketUri; +@dynamic audioBucketUri, bucketObjectType, bucketUri, customMetadataKeys, + metadataBucketUri; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1662,6 +1683,24 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alph @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag +@dynamic createTime, displayName, name, qaQuestionIds, updateTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"qaQuestionIds" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1QaScorecardResult @@ -2033,6 +2072,26 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alph @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1UpdateQaQuestionTagMetadata +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1UpdateQaQuestionTagMetadata +@dynamic createTime, endTime, request; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1UpdateQaQuestionTagRequest +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1UpdateQaQuestionTagRequest +@dynamic qaQuestionTag, updateMask; +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1UploadConversationMetadata @@ -2979,6 +3038,26 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dele @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1DeleteQaQuestionTagMetadata +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1DeleteQaQuestionTagMetadata +@dynamic createTime, endTime, request; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1DeleteQaQuestionTagRequest +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1DeleteQaQuestionTagRequest +@dynamic name; +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1DeployIssueModelMetadata @@ -3398,7 +3477,8 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Inge // @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource -@dynamic bucketObjectType, bucketUri, customMetadataKeys, metadataBucketUri; +@dynamic audioBucketUri, bucketObjectType, bucketUri, customMetadataKeys, + metadataBucketUri; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -3912,6 +3992,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListQaQuestionTagsResponse +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListQaQuestionTagsResponse +@dynamic nextPageToken, qaQuestionTags; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"qaQuestionTags" : [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTag class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"qaQuestionTags"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListQaScorecardRevisionsResponse @@ -4176,6 +4278,24 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQu @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTag +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTag +@dynamic createTime, displayName, name, qaQuestionIds, updateTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"qaQuestionIds" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata @@ -4277,6 +4397,16 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaSc @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryInterval +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryInterval +@dynamic endTime, startTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryMetricsMetadata @@ -4410,6 +4540,26 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Quer @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequest +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequest +@dynamic agentPerformanceSource, comparisonQueryInterval, filter, queryInterval; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequestAgentSource +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequestAgentSource +@dynamic agentId; +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewResponse @@ -4703,6 +4853,26 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Unde @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1UpdateQaQuestionTagMetadata +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1UpdateQaQuestionTagMetadata +@dynamic createTime, endTime, request; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1UpdateQaQuestionTagRequest +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1UpdateQaQuestionTagRequest +@dynamic qaQuestionTag, updateMask; +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1UploadConversationMetadata diff --git a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m index f61b71d28..526a858bd 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m +++ b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m @@ -998,6 +998,33 @@ + (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcen @end +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryPerformanceOverview + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequest *)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}:queryPerformanceOverview"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryPerformanceOverview *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleLongrunningOperation class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.queryPerformanceOverview"; + return query; +} + +@end + @implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsSearch @dynamic orderBy, pageSize, pageToken, parent, query; @@ -3014,6 +3041,117 @@ + (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcen @end +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsQaQuestionTagsCreate + +@dynamic parent, qaQuestionTagId; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTag *)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}/qaQuestionTags"; + GTLRContactcenterinsightsQuery_ProjectsLocationsQaQuestionTagsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTag class]; + query.loggingName = @"contactcenterinsights.projects.locations.qaQuestionTags.create"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsQaQuestionTagsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsQaQuestionTagsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleLongrunningOperation class]; + query.loggingName = @"contactcenterinsights.projects.locations.qaQuestionTags.delete"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsQaQuestionTagsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsQaQuestionTagsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTag class]; + query.loggingName = @"contactcenterinsights.projects.locations.qaQuestionTags.get"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsQaQuestionTagsList + +@dynamic filter, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/qaQuestionTags"; + GTLRContactcenterinsightsQuery_ProjectsLocationsQaQuestionTagsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListQaQuestionTagsResponse class]; + query.loggingName = @"contactcenterinsights.projects.locations.qaQuestionTags.list"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsQaQuestionTagsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTag *)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}"; + GTLRContactcenterinsightsQuery_ProjectsLocationsQaQuestionTagsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleLongrunningOperation class]; + query.loggingName = @"contactcenterinsights.projects.locations.qaQuestionTags.patch"; + return query; +} + +@end + @implementation GTLRContactcenterinsightsQuery_ProjectsLocationsQaScorecardsCreate @dynamic parent, qaScorecardId; @@ -3428,6 +3566,33 @@ + (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcen @end +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsQueryPerformanceOverview + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequest *)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}:queryPerformanceOverview"; + GTLRContactcenterinsightsQuery_ProjectsLocationsQueryPerformanceOverview *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleLongrunningOperation class]; + query.loggingName = @"contactcenterinsights.projects.locations.queryPerformanceOverview"; + return query; +} + +@end + @implementation GTLRContactcenterinsightsQuery_ProjectsLocationsUpdateSettings @dynamic name, updateMask; diff --git a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h index a915c2f36..ae3287322 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h +++ b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h @@ -51,6 +51,7 @@ @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1CreateIssueRequest; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dataset; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1DeleteQaQuestionTagRequest; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1DialogflowIntent; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1DialogflowInteractionData; @@ -97,6 +98,7 @@ @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1QaAnswer; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerSource; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1QaScorecardResult; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1QaScorecardResultQaTagResult; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1QaScorecardResultScoreSource; @@ -119,6 +121,7 @@ @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SmartReplyData_Metadata; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1SpeechConfig; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1UpdateQaQuestionTagRequest; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Analysis; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1AnalysisResult; @@ -176,6 +179,7 @@ @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1CreateIssueRequest; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dataset; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1DeleteQaQuestionTagRequest; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1DeployIssueModelRequest; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1DialogflowIntent; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1DialogflowInteractionData; @@ -234,17 +238,20 @@ @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestion; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionAnswerChoice; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionMetrics; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTag; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaScorecard; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaScorecardResult; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaScorecardResultQaTagResult; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaScorecardResultScoreSource; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaScorecardRevision; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryInterval; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryMetricsResponseSlice; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPoint; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasure; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceTimeSeries; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequestAgentSource; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1RedactionConfig; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1RuntimeAnnotation; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput; @@ -262,6 +269,7 @@ @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SmartReplyData_Metadata; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1SpeechConfig; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1UpdateQaQuestionTagRequest; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1UploadConversationRequest; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1UserInfo; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1View; @@ -3180,6 +3188,34 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact @end +/** + * The metadata for deleting a QaQuestionTag Resource. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1DeleteQaQuestionTagMetadata : GTLRObject + +/** 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. The original request. */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1DeleteQaQuestionTagRequest *request; + +@end + + +/** + * The request for deleting a QaQuestionTag. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1DeleteQaQuestionTagRequest : GTLRObject + +/** Required. The name of the QaQuestionTag to delete. */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * Metadata for deploying an issue model. */ @@ -4070,6 +4106,17 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact */ @interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource : GTLRObject +/** + * Optional. The Cloud Storage path to the conversation audio file if already + * transcribed. Note that: [1] Don't set this field if the audio is not + * transcribed. [2] Audio files and transcript files must be in separate + * buckets / folders. [3] A source file and its corresponding audio file must + * share the same name to be properly ingested, E.g. + * `gs://bucket/transcript/conversation1.json` and + * `gs://bucket/audio/conversation1.mp3`. + */ +@property(nonatomic, copy, nullable) NSString *audioBucketUri; + /** * Optional. Specifies the type of the objects in `bucket_uri`. * @@ -4097,9 +4144,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact /** * Optional. The Cloud Storage path to the conversation metadata. Note that: * [1] Metadata files are expected to be in JSON format. [2] Metadata and - * source files (transcripts or audio) must be in separate buckets. [3] A - * source file and its corresponding metadata file must share the same name to - * be properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and + * source files (transcripts or audio) must be in separate buckets / folders. + * [3] A source file and its corresponding metadata file must share the same + * name to be properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and * `gs://bucket/metadata/conversation1.json`. */ @property(nonatomic, copy, nullable) NSString *metadataBucketUri; @@ -4673,6 +4720,42 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact @end +/** + * A tag is a resource which aims to categorize a set of questions across + * multiple scorecards, e.g., "Customer Satisfaction","Billing", etc. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag : GTLRObject + +/** Output only. The time at which the question tag was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Required. A user-specified display name for the tag. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Identifier. Resource name for the QaQuestionTag Format + * projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag} In + * the above format, the last segment, i.e., qa_question_tag, is a + * server-generated ID corresponding to the tag resource. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The list of Scorecard Question IDs that the tag applies to. Each + * QaQuestionId is represented as a full resource name containing the Question + * ID. Lastly, Since a tag may not necessarily be referenced by any Scorecard + * Questions, we treat this field as optional. + */ +@property(nonatomic, strong, nullable) NSArray *qaQuestionIds; + +/** + * Output only. The most recent time at which the question tag was updated. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * The results of scoring a single conversation against a QaScorecard. Contains * a collection of QaAnswers and aggregate score. @@ -5422,6 +5505,44 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact @end +/** + * The metadata for updating a QaQuestionTag Resource. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1UpdateQaQuestionTagMetadata : GTLRObject + +/** 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. The original request. */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1UpdateQaQuestionTagRequest *request; + +@end + + +/** + * The request for updating a QaQuestionTag. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1UpdateQaQuestionTagRequest : GTLRObject + +/** Required. The QaQuestionTag to update. */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag *qaQuestionTag; + +/** + * Optional. The list of fields to be updated. All possible fields can be + * updated by passing `*`, or a subset of the following updateable fields can + * be provided: * `qa_question_tag_name` - the name of the tag * + * `qa_question_ids` - the list of questions the tag applies to + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +@end + + /** * The metadata for an `UploadConversation` operation. */ @@ -6041,7 +6162,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact * restriction on the conversations that the AuthorizedView can access. Having * *authorizedViews.get* access to the AuthorizedView means having the same * read/write access to the Conversations (as well as metadata/annotations - * liked to the conversation) that this AuthorizedView has. + * linked to the conversation) that this AuthorizedView has. */ @property(nonatomic, copy, nullable) NSString *conversationFilter; @@ -7479,6 +7600,34 @@ GTLR_DEPRECATED @end +/** + * The metadata for deleting a QaQuestionTag Resource. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1DeleteQaQuestionTagMetadata : GTLRObject + +/** 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. The original request. */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1DeleteQaQuestionTagRequest *request; + +@end + + +/** + * The request for deleting a QaQuestionTag. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1DeleteQaQuestionTagRequest : GTLRObject + +/** Required. The name of the QaQuestionTag to delete. */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * Metadata for deploying an issue model. */ @@ -8399,6 +8548,17 @@ GTLR_DEPRECATED */ @interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource : GTLRObject +/** + * Optional. The Cloud Storage path to the conversation audio file if already + * transcribed. Note that: [1] Don't set this field if the audio is not + * transcribed. [2] Audio files and transcript files must be in separate + * buckets / folders. [3] A source file and its corresponding audio file must + * share the same name to be properly ingested, E.g. + * `gs://bucket/transcript/conversation1.json` and + * `gs://bucket/audio/conversation1.mp3`. + */ +@property(nonatomic, copy, nullable) NSString *audioBucketUri; + /** * Optional. Specifies the type of the objects in `bucket_uri`. * @@ -8426,9 +8586,9 @@ GTLR_DEPRECATED /** * Optional. The Cloud Storage path to the conversation metadata. Note that: * [1] Metadata files are expected to be in JSON format. [2] Metadata and - * source files (transcripts or audio) must be in separate buckets. [3] A - * source file and its corresponding metadata file must share the same name to - * be properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and + * source files (transcripts or audio) must be in separate buckets / folders. + * [3] A source file and its corresponding metadata file must share the same + * name to be properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and * `gs://bucket/metadata/conversation1.json`. */ @property(nonatomic, copy, nullable) NSString *metadataBucketUri; @@ -9162,6 +9322,33 @@ GTLR_DEPRECATED @end +/** + * The response from a ListQaQuestionTags request. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "qaQuestionTags" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListQaQuestionTagsResponse : GTLRCollectionObject + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The parent resource of the questions. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *qaQuestionTags; + +@end + + /** * The response from a ListQaScorecardRevisions request. * @@ -9744,6 +9931,42 @@ GTLR_DEPRECATED @end +/** + * A tag is a resource which aims to categorize a set of questions across + * multiple scorecards, e.g., "Customer Satisfaction","Billing", etc. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTag : GTLRObject + +/** Output only. The time at which the question tag was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Required. A user-specified display name for the tag. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Identifier. Resource name for the QaQuestionTag Format + * projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag} In + * the above format, the last segment, i.e., qa_question_tag, is a + * server-generated ID corresponding to the tag resource. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The list of Scorecard Question IDs that the tag applies to. Each + * QaQuestionId is represented as a full resource name containing the Question + * ID. Lastly, Since a tag may not necessarily be referenced by any Scorecard + * Questions, we treat this field as optional. + */ +@property(nonatomic, strong, nullable) NSArray *qaQuestionIds; + +/** + * Output only. The most recent time at which the question tag was updated. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * Metadata about the tuning operation for the question. Will only be set if a * scorecard containing this question has been tuned. @@ -9999,6 +10222,20 @@ GTLR_DEPRECATED @end +/** + * A time window for querying conversations. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryInterval : GTLRObject + +/** Required. The end time of the time window. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** Required. The start time of the time window. */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; + +@end + + /** * The metadata from querying metrics. */ @@ -10269,6 +10506,46 @@ GTLR_DEPRECATED @end +/** + * The request for summarizing performance according to different metrics for + * conversations over a specified time window. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequest : GTLRObject + +/** Conversations are from a single agent. */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequestAgentSource *agentPerformanceSource; + +/** The time window of the conversations to compare the performance to. */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryInterval *comparisonQueryInterval; + +/** + * Optional. Filter to select a subset of conversations to compute the + * performance overview. Supports the same filters as the filter field in + * QueryMetricsRequest. The source and query interval/comparison query interval + * should not be included here. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Required. The time window of the conversations to derive performance stats + * from. + */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryInterval *queryInterval; + +@end + + +/** + * The entity whose performance is being queried is a single agent. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequestAgentSource : GTLRObject + +/** Required. Agent id to query performance overview for. */ +@property(nonatomic, copy, nullable) NSString *agentId; + +@end + + /** * The response for querying performance overview. */ @@ -10896,6 +11173,44 @@ GTLR_DEPRECATED @end +/** + * The metadata for updating a QaQuestionTag Resource. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1UpdateQaQuestionTagMetadata : GTLRObject + +/** 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. The original request. */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1UpdateQaQuestionTagRequest *request; + +@end + + +/** + * The request for updating a QaQuestionTag. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1UpdateQaQuestionTagRequest : GTLRObject + +/** Required. The QaQuestionTag to update. */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTag *qaQuestionTag; + +/** + * Optional. The list of fields to be updated. All possible fields can be + * updated by passing `*`, or a subset of the following updateable fields can + * be provided: * `qa_question_tag_name` - the name of the tag * + * `qa_question_ids` - the list of questions the tag applies to + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +@end + + /** * The metadata for an `UploadConversation` operation. */ diff --git a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h index 7d080b9cf..d76460b0a 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h +++ b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h @@ -1705,6 +1705,48 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; @end +/** + * Generates a summary of predefined performance metrics for a set of + * conversations. Conversations can be specified by specifying a time window + * and an agent id, for now. The summary includes a comparison of metrics + * computed for conversations in the previous time period, and also a + * comparison with peers in the same time period. + * + * Method: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.queryPerformanceOverview + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryPerformanceOverview : GTLRContactcenterinsightsQuery + +/** + * Required. The parent resource of the conversations to derive performance + * stats from. "projects/{project}/locations/{location}" + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * + * Generates a summary of predefined performance metrics for a set of + * conversations. Conversations can be specified by specifying a time window + * and an agent id, for now. The summary includes a comparison of metrics + * computed for conversations in the previous time period, and also a + * comparison with peers in the same time period. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequest + * to include in the query. + * @param parent Required. The parent resource of the conversations to derive + * performance stats from. "projects/{project}/locations/{location}" + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsQueryPerformanceOverview + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequest *)object + parent:(NSString *)parent; + +@end + /** * SearchAuthorizedViewSets * @@ -4907,6 +4949,183 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; @end +/** + * Creates a QaQuestionTag. + * + * Method: contactcenterinsights.projects.locations.qaQuestionTags.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsQaQuestionTagsCreate : GTLRContactcenterinsightsQuery + +/** Required. The parent resource of the QaQuestionTag. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. A unique ID for the new QaQuestionTag. This ID will become the + * final component of the QaQuestionTag's resource name. If no ID is specified, + * a server-generated ID will be used. This value should be 4-64 characters and + * must match the regular expression `^[a-z0-9-]{4,64}$`. Valid characters are + * `a-z-`. + */ +@property(nonatomic, copy, nullable) NSString *qaQuestionTagId; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTag. + * + * Creates a QaQuestionTag. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTag + * to include in the query. + * @param parent Required. The parent resource of the QaQuestionTag. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsQaQuestionTagsCreate + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTag *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a QaQuestionTag. + * + * Method: contactcenterinsights.projects.locations.qaQuestionTags.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsQaQuestionTagsDelete : GTLRContactcenterinsightsQuery + +/** Required. The name of the QaQuestionTag to delete. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * + * Deletes a QaQuestionTag. + * + * @param name Required. The name of the QaQuestionTag to delete. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsQaQuestionTagsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets a QaQuestionTag. + * + * Method: contactcenterinsights.projects.locations.qaQuestionTags.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsQaQuestionTagsGet : GTLRContactcenterinsightsQuery + +/** Required. The name of the QaQuestionTag to get. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTag. + * + * Gets a QaQuestionTag. + * + * @param name Required. The name of the QaQuestionTag to get. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsQaQuestionTagsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists the question tags. + * + * Method: contactcenterinsights.projects.locations.qaQuestionTags.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsQaQuestionTagsList : GTLRContactcenterinsightsQuery + +/** + * Optional. A filter to reduce results to a specific subset. Supports + * disjunctions (OR) and conjunctions (AND). Supported fields include the + * following: * `project_id` - id of the project to list tags for * + * `qa_scorecard_revision_id` - id of the scorecard revision to list tags for * + * `qa_question_id - id of the question to list tags for` + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Required. The parent resource of the QaQuestionTags. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ListQaQuestionTagsResponse. + * + * Lists the question tags. + * + * @param parent Required. The parent resource of the QaQuestionTags. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsQaQuestionTagsList + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates a QaQuestionTag. + * + * Method: contactcenterinsights.projects.locations.qaQuestionTags.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsQaQuestionTagsPatch : GTLRContactcenterinsightsQuery + +/** + * Identifier. Resource name for the QaQuestionTag Format + * projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag} In + * the above format, the last segment, i.e., qa_question_tag, is a + * server-generated ID corresponding to the tag resource. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The list of fields to be updated. All possible fields can be + * updated by passing `*`, or a subset of the following updateable fields can + * be provided: * `qa_question_tag_name` - the name of the tag * + * `qa_question_ids` - the list of questions the tag applies to + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * + * Updates a QaQuestionTag. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTag + * to include in the query. + * @param name Identifier. Resource name for the QaQuestionTag Format + * projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag} + * In the above format, the last segment, i.e., qa_question_tag, is a + * server-generated ID corresponding to the tag resource. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsQaQuestionTagsPatch + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTag *)object + name:(NSString *)name; + +@end + /** * Create a QaScorecard. * @@ -5566,6 +5785,48 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; @end +/** + * Generates a summary of predefined performance metrics for a set of + * conversations. Conversations can be specified by specifying a time window + * and an agent id, for now. The summary includes a comparison of metrics + * computed for conversations in the previous time period, and also a + * comparison with peers in the same time period. + * + * Method: contactcenterinsights.projects.locations.queryPerformanceOverview + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsQueryPerformanceOverview : GTLRContactcenterinsightsQuery + +/** + * Required. The parent resource of the conversations to derive performance + * stats from. "projects/{project}/locations/{location}" + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRContactcenterinsights_GoogleLongrunningOperation. + * + * Generates a summary of predefined performance metrics for a set of + * conversations. Conversations can be specified by specifying a time window + * and an agent id, for now. The summary includes a comparison of metrics + * computed for conversations in the previous time period, and also a + * comparison with peers in the same time period. + * + * @param object The @c + * GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequest + * to include in the query. + * @param parent Required. The parent resource of the conversations to derive + * performance stats from. "projects/{project}/locations/{location}" + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsQueryPerformanceOverview + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewRequest *)object + parent:(NSString *)parent; + +@end + /** * Updates project-level settings. * diff --git a/Sources/GeneratedServices/Container/GTLRContainerObjects.m b/Sources/GeneratedServices/Container/GTLRContainerObjects.m index 02d9aef10..74cf335f2 100644 --- a/Sources/GeneratedServices/Container/GTLRContainerObjects.m +++ b/Sources/GeneratedServices/Container/GTLRContainerObjects.m @@ -26,6 +26,11 @@ NSString * const kGTLRContainer_AdvancedMachineFeatures_PerformanceMonitoringUnit_PerformanceMonitoringUnitUnspecified = @"PERFORMANCE_MONITORING_UNIT_UNSPECIFIED"; NSString * const kGTLRContainer_AdvancedMachineFeatures_PerformanceMonitoringUnit_Standard = @"STANDARD"; +// GTLRContainer_AnonymousAuthenticationConfig.mode +NSString * const kGTLRContainer_AnonymousAuthenticationConfig_Mode_Enabled = @"ENABLED"; +NSString * const kGTLRContainer_AnonymousAuthenticationConfig_Mode_Limited = @"LIMITED"; +NSString * const kGTLRContainer_AnonymousAuthenticationConfig_Mode_ModeUnspecified = @"MODE_UNSPECIFIED"; + // GTLRContainer_AutoMonitoringConfig.scope NSString * const kGTLRContainer_AutoMonitoringConfig_Scope_All = @"ALL"; NSString * const kGTLRContainer_AutoMonitoringConfig_Scope_None = @"NONE"; @@ -175,6 +180,10 @@ NSString * const kGTLRContainer_GatewayAPIConfig_Channel_ChannelStandard = @"CHANNEL_STANDARD"; NSString * const kGTLRContainer_GatewayAPIConfig_Channel_ChannelUnspecified = @"CHANNEL_UNSPECIFIED"; +// GTLRContainer_GkeAutoUpgradeConfig.patchMode +NSString * const kGTLRContainer_GkeAutoUpgradeConfig_PatchMode_Accelerated = @"ACCELERATED"; +NSString * const kGTLRContainer_GkeAutoUpgradeConfig_PatchMode_PatchModeUnspecified = @"PATCH_MODE_UNSPECIFIED"; + // GTLRContainer_GPUDriverInstallationConfig.gpuDriverVersion NSString * const kGTLRContainer_GPUDriverInstallationConfig_GpuDriverVersion_Default = @"DEFAULT"; NSString * const kGTLRContainer_GPUDriverInstallationConfig_GpuDriverVersion_GpuDriverVersionUnspecified = @"GPU_DRIVER_VERSION_UNSPECIFIED"; @@ -422,6 +431,7 @@ // GTLRContainer_StatusCondition.code NSString * const kGTLRContainer_StatusCondition_Code_CaExpiring = @"CA_EXPIRING"; +NSString * const kGTLRContainer_StatusCondition_Code_CloudKmsKeyDestroyed = @"CLOUD_KMS_KEY_DESTROYED"; NSString * const kGTLRContainer_StatusCondition_Code_CloudKmsKeyError = @"CLOUD_KMS_KEY_ERROR"; NSString * const kGTLRContainer_StatusCondition_Code_GceQuotaExceeded = @"GCE_QUOTA_EXCEEDED"; NSString * const kGTLRContainer_StatusCondition_Code_GceStockout = @"GCE_STOCKOUT"; @@ -503,6 +513,24 @@ @implementation GTLRContainer_AcceleratorConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRContainer_AdditionalIPRangesConfig +// + +@implementation GTLRContainer_AdditionalIPRangesConfig +@dynamic podIpv4RangeNames, subnetwork; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"podIpv4RangeNames" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRContainer_AdditionalNodeNetworkConfig @@ -583,6 +611,7 @@ @implementation GTLRContainer_AdvancedMachineFeatures // @implementation GTLRContainer_AnonymousAuthenticationConfig +@dynamic mode; @end @@ -596,6 +625,15 @@ @implementation GTLRContainer_AuthenticatorGroupsConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRContainer_AutoIpamConfig +// + +@implementation GTLRContainer_AutoIpamConfig +@end + + // ---------------------------------------------------------------------------- // // GTLRContainer_AutoMonitoringConfig @@ -838,20 +876,21 @@ @implementation GTLRContainer_Cluster 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, - podAutoscaling, privateClusterConfig, rbacBindingConfig, - releaseChannel, resourceLabels, resourceUsageExportConfig, - satisfiesPzi, satisfiesPzs, secretManagerConfig, securityPostureConfig, - selfLink, servicesIpv4Cidr, shieldedNodes, status, statusMessage, - subnetwork, tpuIpv4CidrBlock, userManagedKeysConfig, - verticalPodAutoscaling, workloadIdentityConfig, zoneProperty; + enterpriseConfig, ETag, expireTime, fleet, gkeAutoUpgradeConfig, + 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, podAutoscaling, + privateClusterConfig, rbacBindingConfig, releaseChannel, + resourceLabels, resourceUsageExportConfig, satisfiesPzi, satisfiesPzs, + secretManagerConfig, securityPostureConfig, selfLink, servicesIpv4Cidr, + shieldedNodes, status, statusMessage, subnetwork, tpuIpv4CidrBlock, + userManagedKeysConfig, verticalPodAutoscaling, workloadIdentityConfig, + zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -927,8 +966,9 @@ @implementation GTLRContainer_ClusterNetworkPerformanceConfig // @implementation GTLRContainer_ClusterUpdate -@dynamic additionalPodRangesConfig, desiredAddonsConfig, - desiredAnonymousAuthenticationConfig, desiredAuthenticatorGroupsConfig, +@dynamic additionalPodRangesConfig, desiredAdditionalIpRangesConfig, + desiredAddonsConfig, desiredAnonymousAuthenticationConfig, + desiredAuthenticatorGroupsConfig, desiredAutoIpamConfig, desiredAutopilotWorkloadPolicyConfig, desiredBinaryAuthorization, desiredClusterAutoscaling, desiredCompliancePostureConfig, desiredContainerdConfig, desiredControlPlaneEndpointsConfig, @@ -958,8 +998,9 @@ @implementation GTLRContainer_ClusterUpdate desiredReleaseChannel, desiredResourceUsageExportConfig, desiredSecretManagerConfig, desiredSecurityPostureConfig, desiredServiceExternalIpsConfig, desiredShieldedNodes, - desiredStackType, desiredVerticalPodAutoscaling, - desiredWorkloadIdentityConfig, enableK8sBetaApis, ETag, + desiredStackType, desiredUserManagedKeysConfig, + desiredVerticalPodAutoscaling, desiredWorkloadIdentityConfig, + enableK8sBetaApis, ETag, gkeAutoUpgradeConfig, removedAdditionalPodRangesConfig, userManagedKeysConfig; + (NSDictionary *)propertyToJSONKeyMap { @@ -1179,6 +1220,24 @@ @implementation GTLRContainer_DefaultSnatStatus @end +// ---------------------------------------------------------------------------- +// +// GTLRContainer_DesiredAdditionalIPRangesConfig +// + +@implementation GTLRContainer_DesiredAdditionalIPRangesConfig +@dynamic additionalIpRangesConfigs; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"additionalIpRangesConfigs" : [GTLRContainer_AdditionalIPRangesConfig class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRContainer_DesiredEnterpriseConfig @@ -1401,6 +1460,16 @@ @implementation GTLRContainer_GetOpenIDConfigResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRContainer_GkeAutoUpgradeConfig +// + +@implementation GTLRContainer_GkeAutoUpgradeConfig +@dynamic patchMode; +@end + + // ---------------------------------------------------------------------------- // // GTLRContainer_GkeBackupAgentConfig @@ -1517,13 +1586,21 @@ @implementation GTLRContainer_IntraNodeVisibilityConfig // @implementation GTLRContainer_IPAllocationPolicy -@dynamic additionalPodRangesConfig, clusterIpv4Cidr, clusterIpv4CidrBlock, - clusterSecondaryRangeName, createSubnetwork, - defaultPodIpv4RangeUtilization, ipv6AccessType, nodeIpv4Cidr, - nodeIpv4CidrBlock, podCidrOverprovisionConfig, servicesIpv4Cidr, - servicesIpv4CidrBlock, servicesIpv6CidrBlock, +@dynamic additionalIpRangesConfigs, additionalPodRangesConfig, autoIpamConfig, + clusterIpv4Cidr, clusterIpv4CidrBlock, clusterSecondaryRangeName, + createSubnetwork, defaultPodIpv4RangeUtilization, ipv6AccessType, + nodeIpv4Cidr, nodeIpv4CidrBlock, podCidrOverprovisionConfig, + servicesIpv4Cidr, servicesIpv4CidrBlock, servicesIpv6CidrBlock, servicesSecondaryRangeName, stackType, subnetIpv6CidrBlock, subnetworkName, tpuIpv4CidrBlock, useIpAliases, useRoutes; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"additionalIpRangesConfigs" : [GTLRContainer_AdditionalIPRangesConfig class] + }; + return map; +} + @end @@ -2072,7 +2149,7 @@ @implementation GTLRContainer_NodeKubeletConfig imageGcHighThresholdPercent, imageGcLowThresholdPercent, imageMaximumGcAge, imageMinimumGcAge, insecureKubeletReadonlyPortEnabled, memoryManager, podPidsLimit, - topologyManager; + singleProcessOomKill, topologyManager; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -2127,7 +2204,7 @@ @implementation GTLRContainer_NodeNetworkConfig @dynamic additionalNodeNetworkConfigs, additionalPodNetworkConfigs, createPodRange, enablePrivateNodes, networkPerformanceConfig, podCidrOverprovisionConfig, podIpv4CidrBlock, podIpv4RangeUtilization, - podRange; + podRange, subnetwork; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -2970,7 +3047,7 @@ @implementation GTLRContainer_ShieldedNodes // @implementation GTLRContainer_SoleTenantConfig -@dynamic nodeAffinities; +@dynamic minNodeCpus, nodeAffinities; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h index 39636003a..c618c223e 100644 --- a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h +++ b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h @@ -16,6 +16,7 @@ #endif @class GTLRContainer_AcceleratorConfig; +@class GTLRContainer_AdditionalIPRangesConfig; @class GTLRContainer_AdditionalNodeNetworkConfig; @class GTLRContainer_AdditionalPodNetworkConfig; @class GTLRContainer_AdditionalPodRangesConfig; @@ -24,6 +25,7 @@ @class GTLRContainer_AdvancedMachineFeatures; @class GTLRContainer_AnonymousAuthenticationConfig; @class GTLRContainer_AuthenticatorGroupsConfig; +@class GTLRContainer_AutoIpamConfig; @class GTLRContainer_AutoMonitoringConfig; @class GTLRContainer_Autopilot; @class GTLRContainer_AutopilotCompatibilityIssue; @@ -55,6 +57,7 @@ @class GTLRContainer_DatabaseEncryption; @class GTLRContainer_DConfig; @class GTLRContainer_DefaultSnatStatus; +@class GTLRContainer_DesiredAdditionalIPRangesConfig; @class GTLRContainer_DesiredEnterpriseConfig; @class GTLRContainer_DnsCacheConfig; @class GTLRContainer_DNSConfig; @@ -70,6 +73,7 @@ @class GTLRContainer_GcpFilestoreCsiDriverConfig; @class GTLRContainer_GCPSecretManagerCertificateConfig; @class GTLRContainer_GcsFuseCsiDriverConfig; +@class GTLRContainer_GkeAutoUpgradeConfig; @class GTLRContainer_GkeBackupAgentConfig; @class GTLRContainer_GPUDriverInstallationConfig; @class GTLRContainer_GPUSharingConfig; @@ -255,6 +259,28 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_AdvancedMachineFeatures_Perfor */ FOUNDATION_EXTERN NSString * const kGTLRContainer_AdvancedMachineFeatures_PerformanceMonitoringUnit_Standard; +// ---------------------------------------------------------------------------- +// GTLRContainer_AnonymousAuthenticationConfig.mode + +/** + * Anonymous authentication is allowed for all endpoints. + * + * Value: "ENABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_AnonymousAuthenticationConfig_Mode_Enabled; +/** + * Anonymous authentication is allowed for only health check endpoints. + * + * Value: "LIMITED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_AnonymousAuthenticationConfig_Mode_Limited; +/** + * Default value not specified. + * + * Value: "MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_AnonymousAuthenticationConfig_Mode_ModeUnspecified; + // ---------------------------------------------------------------------------- // GTLRContainer_AutoMonitoringConfig.scope @@ -502,7 +528,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_ClusterNetworkPerformanceConfi /** * Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE * Dataplane V2 - * documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2) + * documentation](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/how-to/dataplane-v2) * for more. * * Value: "ADVANCED_DATAPATH" @@ -974,6 +1000,24 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_GatewayAPIConfig_Channel_Chann */ FOUNDATION_EXTERN NSString * const kGTLRContainer_GatewayAPIConfig_Channel_ChannelUnspecified; +// ---------------------------------------------------------------------------- +// GTLRContainer_GkeAutoUpgradeConfig.patchMode + +/** + * ACCELERATED denotes that the latest patch build in the channel should be + * used as the upgrade target for the version. + * + * Value: "ACCELERATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_GkeAutoUpgradeConfig_PatchMode_Accelerated; +/** + * PATCH_MODE_UNSPECIFIED defaults to using the upgrade target from the + * channel's patch upgrade targets as the upgrade target for the version. + * + * Value: "PATCH_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_GkeAutoUpgradeConfig_PatchMode_PatchModeUnspecified; + // ---------------------------------------------------------------------------- // GTLRContainer_GPUDriverInstallationConfig.gpuDriverVersion @@ -1299,7 +1343,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_MonitoringComponentConfig_Enab /** * Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE * Dataplane V2 - * documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2) + * documentation](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/how-to/dataplane-v2) * for more. * * Value: "ADVANCED_DATAPATH" @@ -1646,7 +1690,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_NodeTaint_Effect_PreferNoSched /** * A problem has been detected with nodes and [they are being - * repaired](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-repair). + * repaired](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/how-to/node-auto-repair). * This operation type is initiated by GKE, typically automatically. This * operation may be concurrent with other operations and there may be multiple * repairs occurring on the same node pool. @@ -1672,7 +1716,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_Operation_OperationType_Create * A node pool is being created. The node pool should be assumed to be unusable * until this operation finishes. In the event of an error, the node pool may * be partially created. If enabled, [node - * autoprovisioning](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-provisioning) + * autoprovisioning](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/how-to/node-auto-provisioning) * may have automatically initiated such operations. * * Value: "CREATE_NODE_POOL" @@ -1705,7 +1749,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_Operation_OperationType_FleetF * A problem has been detected with the control plane and is being repaired. * This operation type is initiated by GKE. For more details, see * [documentation on - * repairs](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs). + * repairs](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs). * * Value: "REPAIR_CLUSTER" */ @@ -1715,7 +1759,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_Operation_OperationType_Repair * These operations are often performed preemptively to ensure that the control * plane has sufficient resources and is not typically an indication of issues. * For more details, see [documentation on - * resizes](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs). + * resizes](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs). * * Value: "RESIZE_CLUSTER" */ @@ -1772,7 +1816,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_Operation_OperationType_TypeUn * recreating the nodes as well. Those will be recreated as separate operations * and the update may not be completely functional until the node pools * recreations finish. Node recreations will generally follow [maintenance - * policies](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions). + * policies](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions). * Some GKE-initiated operations use this type. This includes certain types of * auto-upgrades and incident mitigations. * @@ -1782,9 +1826,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_Operation_OperationType_Update /** * The cluster version is being updated. Note that this includes "upgrades" to * the same version, which are simply a recreation. This also includes - * [auto-upgrades](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-upgrades#upgrading_automatically). + * [auto-upgrades](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/concepts/cluster-upgrades#upgrading_automatically). * For more details, see [documentation on cluster - * upgrades](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-upgrades#cluster_upgrades). + * upgrades](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/concepts/cluster-upgrades#cluster_upgrades). * * Value: "UPGRADE_MASTER" */ @@ -1792,10 +1836,10 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_Operation_OperationType_Upgrad /** * A node pool is being updated. Despite calling this an "upgrade", this * includes most forms of updates to node pools. This also includes - * [auto-upgrades](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-upgrades). + * [auto-upgrades](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/how-to/node-auto-upgrades). * This operation sets the progress field and may be canceled. The upgrade * strategy depends on [node pool - * configuration](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pool-upgrade-strategies). + * configuration](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/concepts/node-pool-upgrade-strategies). * The nodes are generally still usable during this operation. * * Value: "UPGRADE_NODES" @@ -2316,6 +2360,13 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_StatusCondition_CanonicalCode_ * Value: "CA_EXPIRING" */ FOUNDATION_EXTERN NSString * const kGTLRContainer_StatusCondition_Code_CaExpiring; +/** + * Cloud KMS key version used for etcd level encryption has been destroyed. + * This is a permanent error. + * + * Value: "CLOUD_KMS_KEY_DESTROYED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_StatusCondition_Code_CloudKmsKeyDestroyed; /** * Unable to perform an encrypt operation against the CloudKMS key used for * etcd level encryption. @@ -2674,7 +2725,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * The accelerator type resource name. List of supported accelerators - * [here](https://cloud.google.com/compute/docs/gpus) + * [here](https://{$universe.dns_names.final_documentation_domain}/compute/docs/gpus) */ @property(nonatomic, copy, nullable) NSString *acceleratorType; @@ -2694,6 +2745,28 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo @end +/** + * AdditionalIPRangesConfig is the configuration for individual additional + * subnetwork attached to the cluster + */ +@interface GTLRContainer_AdditionalIPRangesConfig : GTLRObject + +/** + * List of secondary ranges names within this subnetwork that can be used for + * pod IPs. Example1: gke-pod-range1 Example2: gke-pod-range1,gke-pod-range2 + */ +@property(nonatomic, strong, nullable) NSArray *podIpv4RangeNames; + +/** + * Name of the subnetwork. This can be the full path of the subnetwork or just + * the name. Example1: my-subnet Example2: + * projects/gke-project/regions/us-central1/subnetworks/my-subnet + */ +@property(nonatomic, copy, nullable) NSString *subnetwork; + +@end + + /** * AdditionalNodeNetworkConfig is the configuration for additional node * networks within the NodeNetworkConfig message @@ -2807,7 +2880,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo * will be disabled in 1.15. It is recommended to use the Cloud Console to * manage and monitor your Kubernetes clusters, workloads and applications. For * more information, see: - * https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards + * https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/concepts/dashboards */ @property(nonatomic, strong, nullable) GTLRContainer_KubernetesDashboard *kubernetesDashboard GTLR_DEPRECATED; @@ -2914,6 +2987,22 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo * that allow anonymous authentication. */ @interface GTLRContainer_AnonymousAuthenticationConfig : GTLRObject + +/** + * Defines the mode of limiting anonymous access in the cluster. + * + * Likely values: + * @arg @c kGTLRContainer_AnonymousAuthenticationConfig_Mode_Enabled + * Anonymous authentication is allowed for all endpoints. (Value: + * "ENABLED") + * @arg @c kGTLRContainer_AnonymousAuthenticationConfig_Mode_Limited + * Anonymous authentication is allowed for only health check endpoints. + * (Value: "LIMITED") + * @arg @c kGTLRContainer_AnonymousAuthenticationConfig_Mode_ModeUnspecified + * Default value not specified. (Value: "MODE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *mode; + @end @@ -2939,6 +3028,13 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo @end +/** + * AutoIpamConfig contains all information related to Auto IPAM + */ +@interface GTLRContainer_AutoIpamConfig : GTLRObject +@end + + /** * AutoMonitoringConfig defines the configuration for GKE Workload * Auto-Monitoring. @@ -3055,7 +3151,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo * to each node in the node pool. This should be of the form * projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. * For more information about protecting resources with Cloud KMS Keys please - * see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption + * see: + * https://{$universe.dns_names.final_documentation_domain}/compute/docs/disks/customer-managed-encryption */ @property(nonatomic, copy, nullable) NSString *bootDiskKmsKey; @@ -3075,8 +3172,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * The image type to use for NAP created node. Please see - * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for - * available image types. + * https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/concepts/node-images + * for available image types. */ @property(nonatomic, copy, nullable) NSString *imageType; @@ -3096,7 +3193,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo * values are the friendly names of CPU platforms, such as minCpuPlatform: * Intel Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, * read [how to specify min CPU - * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). + * platform](https://{$universe.dns_names.final_documentation_domain}/compute/docs/instances/specify-min-cpu-platform). * This field is deprecated, min_cpu_platform should be specified using * `cloud.google.com/requested-min-cpu-platform` label selector on the pod. To * unset the min cpu platform field pass "automatic" as field value. @@ -3302,16 +3399,16 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * operation resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the operation resides. This field has been deprecated and replaced + * by the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -3490,7 +3587,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Output only. Deprecated, use - * [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools) + * [NodePools.version](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools) * instead. The current version of the node software components. If they are * currently at multiple versions because they're in the process of being * upgraded, this reflects the minimum version of all nodes. @@ -3564,6 +3661,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** Fleet information for the cluster. */ @property(nonatomic, strong, nullable) GTLRContainer_Fleet *fleet; +/** Configuration for GKE auto upgrades. */ +@property(nonatomic, strong, nullable) GTLRContainer_GkeAutoUpgradeConfig *gkeAutoUpgradeConfig; + /** * Output only. Unique id for the cluster. * @@ -3589,8 +3689,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * The number of nodes to create in this cluster. You must ensure that your - * Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is - * sufficient for this number of instances. You must also have available + * Compute Engine [resource + * quota](https://{$universe.dns_names.final_documentation_domain}/compute/quotas) + * is sufficient for this number of instances. You must also have available * firewall and routes quota. For requests, this field should only be used in * lieu of a "node_pool" object, since this configuration (along with the * "node_config") will be used to create a "NodePool" object with an @@ -3615,21 +3716,22 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Output only. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/regions-zones/regions-zones#available) * or - * [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) + * [region](https://{$universe.dns_names.final_documentation_domain}/compute/docs/regions-zones/regions-zones#available) * in which the cluster resides. */ @property(nonatomic, copy, nullable) NSString *location; /** * The list of Google Compute Engine - * [zones](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster's nodes should be located. This field provides a default value if - * [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) + * [zones](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster's nodes should be located. This field provides a + * default value if + * [NodePool.Locations](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) * are not specified during node pool creation. Warning: changing cluster * locations will update the - * [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) + * [NodePool.Locations](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) * of all node pools and will result in nodes being added and/or removed. */ @property(nonatomic, strong, nullable) NSArray *locations; @@ -3697,7 +3799,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * The name of the Google Compute Engine - * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) + * [network](https://{$universe.dns_names.final_documentation_domain}/compute/docs/networks-and-firewalls#networks) * to which the cluster is connected. If left unspecified, the `default` * network will be used. */ @@ -3861,8 +3963,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * The name of the Google Compute Engine - * [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which the - * cluster is connected. + * [subnetwork](https://{$universe.dns_names.final_documentation_domain}/compute/docs/subnetworks) + * to which the cluster is connected. */ @property(nonatomic, copy, nullable) NSString *subnetwork; @@ -3888,8 +3990,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Output only. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field is deprecated, use location instead. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field is deprecated, use location + * instead. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -3920,8 +4023,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * The list of Google Compute Engine - * [zones](https://cloud.google.com/compute/docs/zones#available) in which the - * NodePool's nodes can be created by NAP. + * [zones](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the NodePool's nodes can be created by NAP. */ @property(nonatomic, strong, nullable) NSArray *autoprovisioningLocations; @@ -3993,6 +4096,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, strong, nullable) GTLRContainer_AdditionalPodRangesConfig *additionalPodRangesConfig; +/** The desired config for additional subnetworks attached to the cluster. */ +@property(nonatomic, strong, nullable) GTLRContainer_DesiredAdditionalIPRangesConfig *desiredAdditionalIpRangesConfig; + /** Configurations for the various addons available to run in the cluster. */ @property(nonatomic, strong, nullable) GTLRContainer_AddonsConfig *desiredAddonsConfig; @@ -4005,6 +4111,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** The desired authenticator groups config for the cluster. */ @property(nonatomic, strong, nullable) GTLRContainer_AuthenticatorGroupsConfig *desiredAuthenticatorGroupsConfig; +/** AutoIpamConfig contains all information related to Auto IPAM */ +@property(nonatomic, strong, nullable) GTLRContainer_AutoIpamConfig *desiredAutoIpamConfig; + /** * WorkloadPolicyConfig is the configuration related to GCW workload policy */ @@ -4038,7 +4147,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo * @arg @c kGTLRContainer_ClusterUpdate_DesiredDatapathProvider_AdvancedDatapath * Use the eBPF based GKE Dataplane V2 with additional features. See the * [GKE Dataplane V2 - * documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2) + * documentation](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/how-to/dataplane-v2) * for more. (Value: "ADVANCED_DATAPATH") * @arg @c kGTLRContainer_ClusterUpdate_DesiredDatapathProvider_DatapathProviderUnspecified * Default value. (Value: "DATAPATH_PROVIDER_UNSPECIFIED") @@ -4149,11 +4258,11 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * The desired list of Google Compute Engine - * [zones](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster's nodes should be located. This list must always include the - * cluster's primary zone. Warning: changing cluster locations will update the - * locations of all node pools and will result in nodes being added and/or - * removed. + * [zones](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster's nodes should be located. This list must always + * include the cluster's primary zone. Warning: changing cluster locations will + * update the locations of all node pools and will result in nodes being added + * and/or removed. */ @property(nonatomic, strong, nullable) NSArray *desiredLocations; @@ -4352,6 +4461,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, copy, nullable) NSString *desiredStackType; +/** The desired user managed keys config for the cluster. */ +@property(nonatomic, strong, nullable) GTLRContainer_UserManagedKeysConfig *desiredUserManagedKeysConfig; + /** Cluster-level Vertical Pod Autoscaling configuration. */ @property(nonatomic, strong, nullable) GTLRContainer_VerticalPodAutoscaling *desiredVerticalPodAutoscaling; @@ -4368,6 +4480,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, copy, nullable) NSString *ETag; +/** Configuration for GKE auto upgrade. */ +@property(nonatomic, strong, nullable) GTLRContainer_GkeAutoUpgradeConfig *gkeAutoUpgradeConfig; + /** * The additional pod ranges that are to be removed from the cluster. The pod * ranges specified here must have been specified earlier in the @@ -4375,8 +4490,11 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, strong, nullable) GTLRContainer_AdditionalPodRangesConfig *removedAdditionalPodRangesConfig; -/** The Custom keys configuration for the cluster. */ -@property(nonatomic, strong, nullable) GTLRContainer_UserManagedKeysConfig *userManagedKeysConfig; +/** + * The Custom keys configuration for the cluster. This field is deprecated. Use + * ClusterUpdate.desired_user_managed_keys_config instead. + */ +@property(nonatomic, strong, nullable) GTLRContainer_UserManagedKeysConfig *userManagedKeysConfig GTLR_DEPRECATED; @end @@ -4433,16 +4551,16 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -4595,7 +4713,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Required. A [cluster - * resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters) + * resource](https://{$universe.dns_names.final_documentation_domain}/container-engine/reference/rest/v1/projects.locations.clusters) */ @property(nonatomic, strong, nullable) GTLRContainer_Cluster *cluster; @@ -4607,16 +4725,16 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the parent field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the parent - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the parent field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -4647,16 +4765,16 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the parent field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the parent - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the parent field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -4785,6 +4903,21 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo @end +/** + * DesiredAdditionalIPRangesConfig is a wrapper used for cluster update + * operation and contains multiple AdditionalIPRangesConfigs. + */ +@interface GTLRContainer_DesiredAdditionalIPRangesConfig : GTLRObject + +/** + * List of additional IP ranges configs where each AdditionalIPRangesConfig + * corresponds to one subnetwork's IP ranges + */ +@property(nonatomic, strong, nullable) NSArray *additionalIpRangesConfigs; + +@end + + /** * DesiredEnterpriseConfig is a wrapper used for updating enterprise_config. */ @@ -4956,13 +5089,13 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo * local ssds, zero (or unset) means to disable using local SSDs as ephemeral * storage. The limit for this value is dependent upon the maximum number of * disk available on a machine per zone. See: - * https://cloud.google.com/compute/docs/disks/local-ssd for more information. - * 2. For Gen3 machines which dictate a specific number of local ssds, zero (or - * unset) means to use the default number of local ssds that goes with that - * machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds - * would be provisioned. For c3-standard-8 (which doesn't support local ssds), - * 0 will be provisioned. See - * https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds + * https://{$universe.dns_names.final_documentation_domain}/compute/docs/disks/local-ssd + * for more information. 2. For Gen3 machines which dictate a specific number + * of local ssds, zero (or unset) means to use the default number of local ssds + * that goes with that machine type. For example, for a c3-standard-8-lssd + * machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't + * support local ssds), 0 will be provisioned. See + * https://{$universe.dns_names.final_documentation_domain}/compute/docs/disks/local-ssd#choose_number_local_ssds * for more info. * * Uses NSNumber of intValue. @@ -5104,7 +5237,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * GCPSecretManagerCertificateConfig configures a secret from [Google Secret - * Manager](https://cloud.google.com/secret-manager). + * Manager](https://{$universe.dns_names.final_documentation_domain}/secret-manager). */ @interface GTLRContainer_GCPSecretManagerCertificateConfig : GTLRObject @@ -5188,6 +5321,28 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo @end +/** + * GkeAutoUpgradeConfig is the configuration for GKE auto upgrades. + */ +@interface GTLRContainer_GkeAutoUpgradeConfig : GTLRObject + +/** + * PatchMode specifies how auto upgrade patch builds should be selected. + * + * Likely values: + * @arg @c kGTLRContainer_GkeAutoUpgradeConfig_PatchMode_Accelerated + * ACCELERATED denotes that the latest patch build in the channel should + * be used as the upgrade target for the version. (Value: "ACCELERATED") + * @arg @c kGTLRContainer_GkeAutoUpgradeConfig_PatchMode_PatchModeUnspecified + * PATCH_MODE_UNSPECIFIED defaults to using the upgrade target from the + * channel's patch upgrade targets as the upgrade target for the version. + * (Value: "PATCH_MODE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *patchMode; + +@end + + /** * Configuration for the Backup for GKE Agent. */ @@ -5405,6 +5560,15 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @interface GTLRContainer_IPAllocationPolicy : GTLRObject +/** + * Output only. The additional IP ranges that are added to the cluster. These + * IP ranges can be used by new node pools to allocate node and pod IPs + * automatically. Each AdditionalIPRangesConfig corresponds to a single + * subnetwork. Once a range is removed it will not show up in + * IPAllocationPolicy. + */ +@property(nonatomic, strong, nullable) NSArray *additionalIpRangesConfigs; + /** * Output only. The additional pod ranges that are added to the cluster. These * pod ranges can be used by new node pools to allocate pod IPs automatically. @@ -5412,6 +5576,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, strong, nullable) GTLRContainer_AdditionalPodRangesConfig *additionalPodRangesConfig; +/** Optional. AutoIpamConfig contains all information related to Auto IPAM */ +@property(nonatomic, strong, nullable) GTLRContainer_AutoIpamConfig *autoIpamConfig; + /** This field is deprecated, use cluster_ipv4_cidr_block. */ @property(nonatomic, copy, nullable) NSString *clusterIpv4Cidr GTLR_DEPRECATED; @@ -5873,16 +6040,16 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Number of local NVMe SSDs to use. The limit for this value is dependent upon * the maximum number of disk available on a machine per zone. See: - * https://cloud.google.com/compute/docs/disks/local-ssd for more information. - * A zero (or unset) value has different meanings depending on machine type - * being used: 1. For pre-Gen3 machines, which support flexible numbers of - * local ssds, zero (or unset) means to disable using local SSDs as ephemeral - * storage. 2. For Gen3 machines which dictate a specific number of local ssds, - * zero (or unset) means to use the default number of local ssds that goes with - * that machine type. For example, for a c3-standard-8-lssd machine, 2 local - * ssds would be provisioned. For c3-standard-8 (which doesn't support local - * ssds), 0 will be provisioned. See - * https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds + * https://{$universe.dns_names.final_documentation_domain}/compute/docs/disks/local-ssd + * for more information. A zero (or unset) value has different meanings + * depending on machine type being used: 1. For pre-Gen3 machines, which + * support flexible numbers of local ssds, zero (or unset) means to disable + * using local SSDs as ephemeral storage. 2. For Gen3 machines which dictate a + * specific number of local ssds, zero (or unset) means to use the default + * number of local ssds that goes with that machine type. For example, for a + * c3-standard-8-lssd machine, 2 local ssds would be provisioned. For + * c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See + * https://{$universe.dns_names.final_documentation_domain}/compute/docs/disks/local-ssd#choose_number_local_ssds * for more info. * * Uses NSNumber of intValue. @@ -6080,7 +6247,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo * must be non-empty. Warning: basic authentication is deprecated, and will be * removed in GKE control plane versions 1.19 and newer. For a list of * recommended authentication methods, see: - * https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication + * https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/how-to/api-server-authentication */ @property(nonatomic, copy, nullable) NSString *password GTLR_DEPRECATED; @@ -6091,7 +6258,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo * basic authentication is deprecated, and will be removed in GKE control plane * versions 1.19 and newer. For a list of recommended authentication methods, * see: - * https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication + * https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/how-to/api-server-authentication */ @property(nonatomic, copy, nullable) NSString *username GTLR_DEPRECATED; @@ -6260,7 +6427,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo * @arg @c kGTLRContainer_NetworkConfig_DatapathProvider_AdvancedDatapath Use * the eBPF based GKE Dataplane V2 with additional features. See the [GKE * Dataplane V2 - * documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2) + * documentation](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/how-to/dataplane-v2) * for more. (Value: "ADVANCED_DATAPATH") * @arg @c kGTLRContainer_NetworkConfig_DatapathProvider_DatapathProviderUnspecified * Default value. (Value: "DATAPATH_PROVIDER_UNSPECIFIED") @@ -6359,7 +6526,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Output only. The relative name of the Google Compute Engine - * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) + * [network](https://{$universe.dns_names.final_documentation_domain}/compute/docs/networks-and-firewalls#networks) * to which the cluster is connected. Example: * projects/my-project/global/networks/my-network */ @@ -6396,8 +6563,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Output only. The relative name of the Google Compute Engine - * [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the cluster - * is connected. Example: + * [subnetwork](https://{$universe.dns_names.final_documentation_domain}/compute/docs/vpc) + * to which the cluster is connected. Example: * projects/my-project/regions/us-central1/subnetworks/my-subnet */ @property(nonatomic, copy, nullable) NSString *subnetwork; @@ -6483,7 +6650,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Specifies the NodeAffinity key, values, and affinity operator according to * [shared sole tenant node group - * affinities](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes#node_affinity_and_anti-affinity). + * affinities](https://{$universe.dns_names.final_documentation_domain}/compute/docs/nodes/sole-tenant-nodes#node_affinity_and_anti-affinity). */ @interface GTLRContainer_NodeAffinity : GTLRObject @@ -6521,8 +6688,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * A list of hardware accelerators to be attached to each node. See - * https://cloud.google.com/compute/docs/gpus for more information about - * support for GPUs. + * https://{$universe.dns_names.final_documentation_domain}/compute/docs/gpus + * for more information about support for GPUs. */ @property(nonatomic, strong, nullable) NSArray *accelerators; @@ -6534,7 +6701,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo * to each node in the node pool. This should be of the form * projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. * For more information about protecting resources with Cloud KMS Keys please - * see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption + * see: + * https://{$universe.dns_names.final_documentation_domain}/compute/docs/disks/customer-managed-encryption */ @property(nonatomic, copy, nullable) NSString *bootDiskKmsKey; @@ -6613,8 +6781,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * The image type to use for this node. Note that for a given image type, the * latest version of it will be used. Please see - * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for - * available image types. + * https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/concepts/node-images + * for available image types. */ @property(nonatomic, copy, nullable) NSString *imageType; @@ -6641,8 +6809,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * The number of local SSD disks to be attached to the node. The limit for this * value is dependent upon the maximum number of disks available on a machine - * per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for - * more information. + * per zone. See: + * https://{$universe.dns_names.final_documentation_domain}/compute/docs/disks/local-ssd + * for more information. * * Uses NSNumber of intValue. */ @@ -6673,8 +6842,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * The name of a Google Compute Engine [machine - * type](https://cloud.google.com/compute/docs/machine-types) If unspecified, - * the default machine type is `e2-medium`. + * type](https://{$universe.dns_names.final_documentation_domain}/compute/docs/machine-types) + * If unspecified, the default machine type is `e2-medium`. */ @property(nonatomic, copy, nullable) NSString *machineType; @@ -6708,14 +6877,14 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo * friendly names of CPU platforms, such as `minCpuPlatform: "Intel Haswell"` * or `minCpuPlatform: "Intel Sandy Bridge"`. For more information, read [how * to specify min CPU - * platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) + * platform](https://{$universe.dns_names.final_documentation_domain}/compute/docs/instances/specify-min-cpu-platform) */ @property(nonatomic, copy, nullable) NSString *minCpuPlatform; /** * Setting this field will assign instances of this pool to run on the * specified node group. This is useful for running workloads on [sole tenant - * nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes). + * nodes](https://{$universe.dns_names.final_documentation_domain}/compute/docs/nodes/sole-tenant-nodes). */ @property(nonatomic, copy, nullable) NSString *nodeGroup; @@ -6727,16 +6896,16 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo * persistent storage on your nodes. * * `https://www.googleapis.com/auth/devstorage.read_only` is required for * communicating with **gcr.io** (the [Google Container - * Registry](https://cloud.google.com/container-registry/)). If unspecified, no - * scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in - * which case their required scopes will be added. + * Registry](https://{$universe.dns_names.final_documentation_domain}/container-registry/)). + * If unspecified, no scopes are added, unless Cloud Logging or Cloud + * Monitoring are enabled, in which case their required scopes will be added. */ @property(nonatomic, strong, nullable) NSArray *oauthScopes; /** * Whether the nodes are created as preemptible VM instances. See: - * https://cloud.google.com/compute/docs/instances/preemptible for more - * information about preemptible VM instances. + * https://{$universe.dns_names.final_documentation_domain}/compute/docs/instances/preemptible + * for more information about preemptible VM instances. * * Uses NSNumber of boolValue. */ @@ -6745,7 +6914,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * The optional reservation affinity. Setting this field will apply the * specified [Zonal Compute - * Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) + * Reservation](https://{$universe.dns_names.final_documentation_domain}/compute/docs/instances/reserving-zonal-resources) * to this node pool. */ @property(nonatomic, strong, nullable) GTLRContainer_ReservationAffinity *reservationAffinity; @@ -7037,6 +7206,16 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, strong, nullable) NSNumber *podPidsLimit; +/** + * Optional. Defines whether to enable single process OOM killer. If true, will + * prevent the memory.oom.group flag from being set for container cgroups in + * cgroups v2. This causes processes in the container to be OOM killed + * individually instead of as a group. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *singleProcessOomKill; + /** * Optional. Controls Topology Manager configuration on the node. For more * information, see: @@ -7184,6 +7363,15 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, copy, nullable) NSString *podRange; +/** + * Output only. The subnetwork path for the node pool. Format: + * projects/{project}/regions/{region}/subnetworks/{subnetwork} If the cluster + * is associated with multiple subnetworks, the subnetwork for the node pool is + * picked based on the IP utilization during node pool creation and is + * immutable. + */ +@property(nonatomic, copy, nullable) NSString *subnetwork; + @end @@ -7227,8 +7415,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * The initial node count for the pool. You must ensure that your Compute - * Engine [resource quota](https://cloud.google.com/compute/quotas) is - * sufficient for this number of instances. You must also have available + * Engine [resource + * quota](https://{$universe.dns_names.final_documentation_domain}/compute/quotas) + * is sufficient for this number of instances. You must also have available * firewall and routes quota. * * Uses NSNumber of intValue. @@ -7237,7 +7426,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Output only. The resource URLs of the [managed instance - * groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) + * groups](https://{$universe.dns_names.final_documentation_domain}/compute/docs/instance-groups/creating-groups-of-managed-instances) * associated with this node pool. During the node pool blue-green upgrade * operation, the URLs contain both blue and green resources. */ @@ -7245,10 +7434,10 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * The list of Google Compute Engine - * [zones](https://cloud.google.com/compute/docs/zones#available) in which the - * NodePool's nodes should be located. If this value is unspecified during node - * pool creation, the - * [Cluster.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.FIELDS.locations) + * [zones](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the NodePool's nodes should be located. If this value is + * unspecified during node pool creation, the + * [Cluster.Locations](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.FIELDS.locations) * value will be used, instead. Warning: changing node pool locations will * result in nodes being added and/or removed. */ @@ -7333,7 +7522,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * The version of Kubernetes running on this NodePool's nodes. If unspecified, * it defaults as described - * [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version). + * [here](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/versioning#specifying_node_version). */ @property(nonatomic, copy, nullable) NSString *version; @@ -7581,9 +7770,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Output only. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/regions-zones/regions-zones#available) * or - * [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) + * [region](https://{$universe.dns_names.final_documentation_domain}/compute/docs/regions-zones/regions-zones#available) * in which the cluster resides. */ @property(nonatomic, copy, nullable) NSString *location; @@ -7603,7 +7792,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo * Likely values: * @arg @c kGTLRContainer_Operation_OperationType_AutoRepairNodes A problem * has been detected with nodes and [they are being - * repaired](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-repair). + * repaired](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/how-to/node-auto-repair). * This operation type is initiated by GKE, typically automatically. This * operation may be concurrent with other operations and there may be * multiple repairs occurring on the same node pool. (Value: @@ -7620,7 +7809,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo * is being created. The node pool should be assumed to be unusable until * this operation finishes. In the event of an error, the node pool may * be partially created. If enabled, [node - * autoprovisioning](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-provisioning) + * autoprovisioning](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/how-to/node-auto-provisioning) * may have automatically initiated such operations. (Value: * "CREATE_NODE_POOL") * @arg @c kGTLRContainer_Operation_OperationType_DeleteCluster The cluster @@ -7639,14 +7828,14 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo * been detected with the control plane and is being repaired. This * operation type is initiated by GKE. For more details, see * [documentation on - * repairs](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs). + * repairs](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs). * (Value: "REPAIR_CLUSTER") * @arg @c kGTLRContainer_Operation_OperationType_ResizeCluster The control * plane is being resized. This operation type is initiated by GKE. These * operations are often performed preemptively to ensure that the control * plane has sufficient resources and is not typically an indication of * issues. For more details, see [documentation on - * resizes](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs). + * resizes](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs). * (Value: "RESIZE_CLUSTER") * @arg @c kGTLRContainer_Operation_OperationType_SetLabels Unused. Updating * labels uses UPDATE_CLUSTER. (Value: "SET_LABELS") @@ -7677,24 +7866,24 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo * separate operations and the update may not be completely functional * until the node pools recreations finish. Node recreations will * generally follow [maintenance - * policies](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions). + * policies](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions). * Some GKE-initiated operations use this type. This includes certain * types of auto-upgrades and incident mitigations. (Value: * "UPDATE_CLUSTER") * @arg @c kGTLRContainer_Operation_OperationType_UpgradeMaster The cluster * version is being updated. Note that this includes "upgrades" to the * same version, which are simply a recreation. This also includes - * [auto-upgrades](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-upgrades#upgrading_automatically). + * [auto-upgrades](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/concepts/cluster-upgrades#upgrading_automatically). * For more details, see [documentation on cluster - * upgrades](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-upgrades#cluster_upgrades). + * upgrades](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/concepts/cluster-upgrades#cluster_upgrades). * (Value: "UPGRADE_MASTER") * @arg @c kGTLRContainer_Operation_OperationType_UpgradeNodes A node pool is * being updated. Despite calling this an "upgrade", this includes most * forms of updates to node pools. This also includes - * [auto-upgrades](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-upgrades). + * [auto-upgrades](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/how-to/node-auto-upgrades). * This operation sets the progress field and may be canceled. The * upgrade strategy depends on [node pool - * configuration](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pool-upgrade-strategies). + * configuration](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/concepts/node-pool-upgrade-strategies). * The nodes are generally still usable during this operation. (Value: * "UPGRADE_NODES") */ @@ -7752,8 +7941,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Output only. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * operation is taking place. This field is deprecated, use location instead. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the operation is taking place. This field is deprecated, use + * location instead. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -7880,7 +8070,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Optional. TPU placement topology for pod slice node pool. - * https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies + * https://{$universe.dns_names.final_documentation_domain}/tpu/docs/types-topologies#tpu_topologies */ @property(nonatomic, copy, nullable) NSString *tpuTopology; @@ -8292,7 +8482,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** - * [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) + * [ReservationAffinity](https://{$universe.dns_names.final_documentation_domain}/compute/docs/instances/reserving-zonal-resources) * is the configuration of desired reservation which instances could take * capacity from. */ @@ -8331,7 +8521,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Collection of [GCP - * labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels). + * labels](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-labels). */ @interface GTLRContainer_ResourceLabels : GTLRObject @@ -8383,8 +8573,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo * A map of resource manager tag keys and values to be attached to the nodes * for managing Compute Engine firewalls using Network Firewall Policies. Tags * must be according to specifications in - * https://cloud.google.com/vpc/docs/tags-firewalls-overview#specifications. A - * maximum of 5 tag key-value pairs can be specified. Existing tags will be + * https://{$universe.dns_names.final_documentation_domain}/vpc/docs/tags-firewalls-overview#specifications. + * A maximum of 5 tag key-value pairs can be specified. Existing tags will be * replaced with new values. */ @interface GTLRContainer_ResourceManagerTags : GTLRObject @@ -8465,7 +8655,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; @@ -8480,9 +8670,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -8726,16 +8916,16 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -8775,7 +8965,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; @@ -8785,9 +8975,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -8835,16 +9025,16 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -8866,11 +9056,11 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Required. The desired list of Google Compute Engine - * [zones](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster's nodes should be located. Changing the locations a cluster is in - * will result in nodes being either created or removed from the cluster, - * depending on whether locations are being added or removed. This list must - * always include the cluster's primary zone. + * [zones](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster's nodes should be located. Changing the locations a + * cluster is in will result in nodes being either created or removed from the + * cluster, depending on whether locations are being added or removed. This + * list must always include the cluster's primary zone. */ @property(nonatomic, strong, nullable) NSArray *locations; @@ -8882,16 +9072,16 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -8930,16 +9120,16 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -8970,14 +9160,14 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Required. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Required. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -9024,7 +9214,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; @@ -9034,9 +9224,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -9076,16 +9266,16 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -9116,16 +9306,16 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -9163,16 +9353,16 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -9211,16 +9401,16 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -9262,16 +9452,16 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -9330,6 +9520,15 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @interface GTLRContainer_SoleTenantConfig : GTLRObject +/** + * Optional. The minimum number of virtual CPUs this instance will consume when + * running on a sole-tenant node. This field can only be set if the node pool + * is created in a shared sole-tenant node group. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minNodeCpus; + /** NodeAffinities used to match to a shared sole tenant node group. */ @property(nonatomic, strong, nullable) NSArray *nodeAffinities; @@ -9382,7 +9581,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; @@ -9396,9 +9595,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -9587,6 +9786,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo * Likely values: * @arg @c kGTLRContainer_StatusCondition_Code_CaExpiring Cluster CA is * expiring soon. (Value: "CA_EXPIRING") + * @arg @c kGTLRContainer_StatusCondition_Code_CloudKmsKeyDestroyed Cloud KMS + * key version used for etcd level encryption has been destroyed. This is + * a permanent error. (Value: "CLOUD_KMS_KEY_DESTROYED") * @arg @c kGTLRContainer_StatusCondition_Code_CloudKmsKeyError Unable to * perform an encrypt operation against the CloudKMS key used for etcd * level encryption. (Value: "CLOUD_KMS_KEY_ERROR") @@ -9692,7 +9894,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; @@ -9702,9 +9904,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -9755,16 +9957,16 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -9780,8 +9982,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * A list of hardware accelerators to be attached to each node. See - * https://cloud.google.com/compute/docs/gpus for more information about - * support for GPUs. + * https://{$universe.dns_names.final_documentation_domain}/compute/docs/gpus + * for more information about support for GPUs. */ @property(nonatomic, strong, nullable) NSArray *accelerators; @@ -9844,8 +10046,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Required. The desired image type for the node pool. Please see - * https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for - * available image types. + * https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/concepts/node-images + * for available image types. */ @property(nonatomic, copy, nullable) NSString *imageType; @@ -9864,10 +10066,10 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * The desired list of Google Compute Engine - * [zones](https://cloud.google.com/compute/docs/zones#available) in which the - * node pool's nodes should be located. Changing the locations for a node pool - * will result in nodes being either created or removed from the node pool, - * depending on whether locations are being added or removed. + * [zones](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the node pool's nodes should be located. Changing the locations for + * a node pool will result in nodes being either created or removed from the + * node pool, depending on whether locations are being added or removed. */ @property(nonatomic, strong, nullable) NSArray *locations; @@ -9876,9 +10078,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Optional. The desired [Google Compute Engine machine - * type](https://cloud.google.com/compute/docs/machine-types) for nodes in the - * node pool. Initiates an upgrade operation that migrates the nodes in the - * node pool to the specified machine type. + * type](https://{$universe.dns_names.final_documentation_domain}/compute/docs/machine-types) + * for nodes in the node pool. Initiates an upgrade operation that migrates the + * nodes in the node pool to the specified machine type. */ @property(nonatomic, copy, nullable) NSString *machineType; @@ -9917,7 +10119,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; @@ -9969,9 +10171,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ diff --git a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerQuery.h b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerQuery.h index e85dd4037..9647e8d73 100644 --- a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerQuery.h +++ b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerQuery.h @@ -161,7 +161,7 @@ NS_ASSUME_NONNULL_BEGIN * Creates a cluster, consisting of the specified number and type of Google * Compute Engine instances. By default, the cluster is created in the * project's [default - * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). + * network](https://{$universe.dns_names.final_documentation_domain}/compute/docs/networks-and-firewalls#networks). * One firewall is added for the cluster. After cluster creation, the Kubelet * creates routes for each node to allow the containers on that node to * communicate with all other instances in the cluster. Finally, an entry is @@ -187,7 +187,7 @@ NS_ASSUME_NONNULL_BEGIN * Creates a cluster, consisting of the specified number and type of Google * Compute Engine instances. By default, the cluster is created in the * project's [default - * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). + * network](https://{$universe.dns_names.final_documentation_domain}/compute/docs/networks-and-firewalls#networks). * One firewall is added for the cluster. After cluster creation, the Kubelet * creates routes for each node to allow the containers on that node to * communicate with all other instances in the cluster. Finally, an entry is @@ -234,16 +234,16 @@ NS_ASSUME_NONNULL_BEGIN /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -326,16 +326,16 @@ NS_ASSUME_NONNULL_BEGIN /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -405,16 +405,16 @@ NS_ASSUME_NONNULL_BEGIN /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the parent field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides, or "-" for all zones. This field has been deprecated and - * replaced by the parent field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides, or "-" for all zones. This field has been + * deprecated and replaced by the parent field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -538,16 +538,16 @@ NS_ASSUME_NONNULL_BEGIN /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -635,16 +635,16 @@ NS_ASSUME_NONNULL_BEGIN /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -689,16 +689,16 @@ NS_ASSUME_NONNULL_BEGIN /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the parent field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the parent - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the parent field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -967,7 +967,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Sets the locations for a specific cluster. Deprecated. Use - * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update) + * [projects.locations.clusters.update](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update) * instead. * * Method: container.projects.locations.clusters.setLocations @@ -988,7 +988,7 @@ GTLR_DEPRECATED * Fetches a @c GTLRContainer_Operation. * * Sets the locations for a specific cluster. Deprecated. Use - * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update) + * [projects.locations.clusters.update](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update) * instead. * * @param object The @c GTLRContainer_SetLocationsRequest to include in the @@ -1360,16 +1360,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) to return - * operations for. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * to return operations for. This field has been deprecated and replaced by the + * name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -1447,16 +1447,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -1495,16 +1495,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the parent field. */ @property(nonatomic, copy, nullable) NSString *projectId GTLR_DEPRECATED; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) to return - * operations for, or `-` for all zones. This field has been deprecated and - * replaced by the parent field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * to return operations for, or `-` for all zones. This field has been + * deprecated and replaced by the parent field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -1543,16 +1543,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -1567,12 +1567,12 @@ GTLR_DEPRECATED * query. * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced + * by the name field. * @param clusterId Deprecated. The name of the cluster to upgrade. This field * has been deprecated and replaced by the name field. * @@ -1603,16 +1603,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -1627,12 +1627,12 @@ GTLR_DEPRECATED * the query. * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced + * by the name field. * @param clusterId Deprecated. The name of the cluster. This field has been * deprecated and replaced by the name field. * @@ -1649,7 +1649,7 @@ GTLR_DEPRECATED * Creates a cluster, consisting of the specified number and type of Google * Compute Engine instances. By default, the cluster is created in the * project's [default - * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). + * network](https://{$universe.dns_names.final_documentation_domain}/compute/docs/networks-and-firewalls#networks). * One firewall is added for the cluster. After cluster creation, the Kubelet * creates routes for each node to allow the containers on that node to * communicate with all other instances in the cluster. Finally, an entry is @@ -1665,16 +1665,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the parent field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the parent - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the parent field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -1686,7 +1686,7 @@ GTLR_DEPRECATED * Creates a cluster, consisting of the specified number and type of Google * Compute Engine instances. By default, the cluster is created in the * project's [default - * network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). + * network](https://{$universe.dns_names.final_documentation_domain}/compute/docs/networks-and-firewalls#networks). * One firewall is added for the cluster. After cluster creation, the Kubelet * creates routes for each node to allow the containers on that node to * communicate with all other instances in the cluster. Finally, an entry is @@ -1697,12 +1697,12 @@ GTLR_DEPRECATED * query. * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the parent field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the parent - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced + * by the parent field. * * @return GTLRContainerQuery_ProjectsZonesClustersCreate */ @@ -1740,16 +1740,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -1766,12 +1766,12 @@ GTLR_DEPRECATED * * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced + * by the name field. * @param clusterId Deprecated. The name of the cluster to delete. This field * has been deprecated and replaced by the name field. * @@ -1842,16 +1842,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -1864,12 +1864,12 @@ GTLR_DEPRECATED * * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced + * by the name field. * @param clusterId Deprecated. The name of the cluster to retrieve. This field * has been deprecated and replaced by the name field. * @@ -1899,16 +1899,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -1923,12 +1923,12 @@ GTLR_DEPRECATED * query. * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced + * by the name field. * @param clusterId Deprecated. The name of the cluster to update. This field * has been deprecated and replaced by the name field. * @@ -1961,16 +1961,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the parent field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides, or "-" for all zones. This field has been deprecated and - * replaced by the parent field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides, or "-" for all zones. This field has been + * deprecated and replaced by the parent field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -1984,12 +1984,12 @@ GTLR_DEPRECATED * * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the parent field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides, or "-" for all zones. This field has been deprecated and - * replaced by the parent field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides, or "-" for all zones. This field has been + * deprecated and replaced by the parent field. * * @return GTLRContainerQuery_ProjectsZonesClustersList */ @@ -2000,7 +2000,7 @@ GTLR_DEPRECATED /** * Sets the locations for a specific cluster. Deprecated. Use - * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update) + * [projects.locations.clusters.update](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update) * instead. * * Method: container.projects.zones.clusters.locations @@ -2019,16 +2019,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -2038,19 +2038,19 @@ GTLR_DEPRECATED * Fetches a @c GTLRContainer_Operation. * * Sets the locations for a specific cluster. Deprecated. Use - * [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update) + * [projects.locations.clusters.update](https://{$universe.dns_names.final_documentation_domain}/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update) * instead. * * @param object The @c GTLRContainer_SetLocationsRequest to include in the * query. * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced + * by the name field. * @param clusterId Deprecated. The name of the cluster to upgrade. This field * has been deprecated and replaced by the name field. * @@ -2081,16 +2081,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -2105,12 +2105,12 @@ GTLR_DEPRECATED * the query. * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced + * by the name field. * @param clusterId Deprecated. The name of the cluster to upgrade. This field * has been deprecated and replaced by the name field. * @@ -2141,16 +2141,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -2165,12 +2165,12 @@ GTLR_DEPRECATED * query. * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced + * by the name field. * @param clusterId Deprecated. The name of the cluster to upgrade. This field * has been deprecated and replaced by the name field. * @@ -2201,16 +2201,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -2225,12 +2225,12 @@ GTLR_DEPRECATED * the query. * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced + * by the name field. * @param clusterId Deprecated. The name of the cluster to upgrade. This field * has been deprecated and replaced by the name field. * @@ -2267,16 +2267,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -2291,12 +2291,12 @@ GTLR_DEPRECATED * in the query. * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced + * by the name field. * @param clusterId Deprecated. The name of the cluster to upgrade. This field * has been deprecated and replaced by the name field. * @param nodePoolId Deprecated. The name of the node pool to upgrade. This @@ -2330,16 +2330,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the parent field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the parent - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the parent field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -2354,12 +2354,12 @@ GTLR_DEPRECATED * query. * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the parent field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the parent - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced + * by the parent field. * @param clusterId Deprecated. The name of the cluster. This field has been * deprecated and replaced by the parent field. * @@ -2403,16 +2403,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -2425,12 +2425,12 @@ GTLR_DEPRECATED * * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced + * by the name field. * @param clusterId Deprecated. The name of the cluster. This field has been * deprecated and replaced by the name field. * @param nodePoolId Deprecated. The name of the node pool to delete. This @@ -2512,16 +2512,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -2534,12 +2534,12 @@ GTLR_DEPRECATED * * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced + * by the name field. * @param clusterId Deprecated. The name of the cluster. This field has been * deprecated and replaced by the name field. * @param nodePoolId Deprecated. The name of the node pool. This field has been @@ -2578,16 +2578,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the parent field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the parent - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the parent field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -2600,12 +2600,12 @@ GTLR_DEPRECATED * * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the parent field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the parent - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced + * by the parent field. * @param clusterId Deprecated. The name of the cluster. This field has been * deprecated and replaced by the parent field. * @@ -2642,16 +2642,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -2667,12 +2667,12 @@ GTLR_DEPRECATED * in the query. * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced + * by the name field. * @param clusterId Deprecated. The name of the cluster to rollback. This field * has been deprecated and replaced by the name field. * @param nodePoolId Deprecated. The name of the node pool to rollback. This @@ -2712,16 +2712,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -2736,12 +2736,12 @@ GTLR_DEPRECATED * in the query. * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced + * by the name field. * @param clusterId Deprecated. The name of the cluster to update. This field * has been deprecated and replaced by the name field. * @param nodePoolId Deprecated. The name of the node pool to update. This @@ -2782,16 +2782,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -2807,12 +2807,12 @@ GTLR_DEPRECATED * query. * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced + * by the name field. * @param clusterId Deprecated. The name of the cluster to update. This field * has been deprecated and replaced by the name field. * @param nodePoolId Deprecated. The name of the node pool to update. This @@ -2852,16 +2852,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -2876,12 +2876,12 @@ GTLR_DEPRECATED * query. * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced + * by the name field. * @param clusterId Deprecated. The name of the cluster to upgrade. This field * has been deprecated and replaced by the name field. * @param nodePoolId Deprecated. The name of the node pool to upgrade. This @@ -2915,16 +2915,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -2938,12 +2938,12 @@ GTLR_DEPRECATED * @param object The @c GTLRContainer_SetLabelsRequest to include in the query. * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced + * by the name field. * @param clusterId Deprecated. The name of the cluster. This field has been * deprecated and replaced by the name field. * @@ -2971,14 +2971,14 @@ GTLR_DEPRECATED /** * Required. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Required. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -2993,10 +2993,10 @@ GTLR_DEPRECATED * the query. * @param projectId Required. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * @param zoneProperty Required. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. * @param clusterId Required. The name of the cluster to update. * * @return GTLRContainerQuery_ProjectsZonesClustersSetMaintenancePolicy @@ -3028,16 +3028,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -3054,12 +3054,12 @@ GTLR_DEPRECATED * query. * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced + * by the name field. * @param clusterId Deprecated. The name of the cluster to upgrade. This field * has been deprecated and replaced by the name field. * @@ -3090,16 +3090,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -3114,12 +3114,12 @@ GTLR_DEPRECATED * query. * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced + * by the name field. * @param clusterId Deprecated. The name of the cluster. This field has been * deprecated and replaced by the name field. * @@ -3150,16 +3150,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -3174,12 +3174,12 @@ GTLR_DEPRECATED * query. * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced + * by the name field. * @param clusterId Deprecated. The name of the cluster. This field has been * deprecated and replaced by the name field. * @@ -3210,16 +3210,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -3234,12 +3234,12 @@ GTLR_DEPRECATED * query. * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced + * by the name field. * @param clusterId Deprecated. The name of the cluster to upgrade. This field * has been deprecated and replaced by the name field. * @@ -3270,16 +3270,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) to return - * operations for. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * to return operations for. This field has been deprecated and replaced by the + * name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -3292,12 +3292,12 @@ GTLR_DEPRECATED * * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) to return - * operations for. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * to return operations for. This field has been deprecated and replaced by + * the name field. * * @return GTLRContainerQuery_ProjectsZonesGetServerconfig */ @@ -3324,16 +3324,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * operation resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the operation resides. This field has been deprecated and replaced + * by the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -3348,12 +3348,12 @@ GTLR_DEPRECATED * query. * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * operation resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the operation resides. This field has been deprecated and + * replaced by the name field. * @param operationId Deprecated. The server-assigned `name` of the operation. * This field has been deprecated and replaced by the name field. * @@ -3390,16 +3390,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced by + * the name field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -3412,12 +3412,12 @@ GTLR_DEPRECATED * * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the name field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the - * cluster resides. This field has been deprecated and replaced by the name - * field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * in which the cluster resides. This field has been deprecated and replaced + * by the name field. * @param operationId Deprecated. The server-assigned `name` of the operation. * This field has been deprecated and replaced by the name field. * @@ -3448,16 +3448,16 @@ GTLR_DEPRECATED /** * Deprecated. The Google Developers Console [project ID or project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the parent field. */ @property(nonatomic, copy, nullable) NSString *projectId; /** * Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) to return - * operations for, or `-` for all zones. This field has been deprecated and - * replaced by the parent field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * to return operations for, or `-` for all zones. This field has been + * deprecated and replaced by the parent field. * * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. */ @@ -3470,12 +3470,12 @@ GTLR_DEPRECATED * * @param projectId Deprecated. The Google Developers Console [project ID or * project - * number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). + * number](https://{$universe.dns_names.final_documentation_domain}/resource-manager/docs/creating-managing-projects). * This field has been deprecated and replaced by the parent field. * @param zoneProperty Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) to return - * operations for, or `-` for all zones. This field has been deprecated and - * replaced by the parent field. + * [zone](https://{$universe.dns_names.final_documentation_domain}/compute/docs/zones#available) + * to return operations for, or `-` for all zones. This field has been + * deprecated and replaced by the parent field. * * @return GTLRContainerQuery_ProjectsZonesOperationsList */ diff --git a/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m b/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m index d4b8daf64..bb51ae92c 100644 --- a/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m +++ b/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m @@ -1043,11 +1043,12 @@ @implementation GTLRContainerAnalysis_DiscoveryNote @implementation GTLRContainerAnalysis_DiscoveryOccurrence @dynamic analysisCompleted, analysisError, analysisStatus, analysisStatusError, - archiveTime, continuousAnalysis, cpe, lastScanTime, sbomStatus; + archiveTime, continuousAnalysis, cpe, files, lastScanTime, sbomStatus; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"analysisError" : [GTLRContainerAnalysis_Status class] + @"analysisError" : [GTLRContainerAnalysis_Status class], + @"files" : [GTLRContainerAnalysis_File class] }; return map; } @@ -1173,6 +1174,30 @@ @implementation GTLRContainerAnalysis_Expr @end +// ---------------------------------------------------------------------------- +// +// GTLRContainerAnalysis_File +// + +@implementation GTLRContainerAnalysis_File +@dynamic digest, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContainerAnalysis_File_Digest +// + +@implementation GTLRContainerAnalysis_File_Digest + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRContainerAnalysis_FileHashes @@ -2248,11 +2273,12 @@ + (NSString *)collectionItemsKey { // @implementation GTLRContainerAnalysis_ListNotesResponse -@dynamic nextPageToken, notes; +@dynamic nextPageToken, notes, unreachable; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"notes" : [GTLRContainerAnalysis_Note class] + @"notes" : [GTLRContainerAnalysis_Note class], + @"unreachable" : [NSString class] }; return map; } @@ -2270,11 +2296,12 @@ + (NSString *)collectionItemsKey { // @implementation GTLRContainerAnalysis_ListOccurrencesResponse -@dynamic nextPageToken, occurrences; +@dynamic nextPageToken, occurrences, unreachable; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"occurrences" : [GTLRContainerAnalysis_Occurrence class] + @"occurrences" : [GTLRContainerAnalysis_Occurrence class], + @"unreachable" : [NSString class] }; return map; } @@ -3290,11 +3317,12 @@ @implementation GTLRContainerAnalysis_VulnerabilityOccurrence // @implementation GTLRContainerAnalysis_VulnerabilityOccurrencesSummary -@dynamic counts; +@dynamic counts, unreachable; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"counts" : [GTLRContainerAnalysis_FixableTotalByDigest class] + @"counts" : [GTLRContainerAnalysis_FixableTotalByDigest class], + @"unreachable" : [NSString class] }; return map; } diff --git a/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisQuery.m b/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisQuery.m index 55be05528..5e7365e70 100644 --- a/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisQuery.m +++ b/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisQuery.m @@ -141,7 +141,7 @@ + (instancetype)queryWithObject:(GTLRContainerAnalysis_GetIamPolicyRequest *)obj @implementation GTLRContainerAnalysisQuery_ProjectsLocationsNotesList -@dynamic filter, pageSize, pageToken, parent; +@dynamic filter, pageSize, pageToken, parent, returnPartialSuccess; + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; @@ -398,7 +398,7 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRContainerAnalysisQuery_ProjectsLocationsOccurrencesGetVulnerabilitySummary -@dynamic filter, parent; +@dynamic filter, parent, returnPartialSuccess; + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; @@ -417,7 +417,7 @@ + (instancetype)queryWithParent:(NSString *)parent { @implementation GTLRContainerAnalysisQuery_ProjectsLocationsOccurrencesList -@dynamic filter, pageSize, pageToken, parent; +@dynamic filter, pageSize, pageToken, parent, returnPartialSuccess; + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; @@ -663,7 +663,7 @@ + (instancetype)queryWithObject:(GTLRContainerAnalysis_GetIamPolicyRequest *)obj @implementation GTLRContainerAnalysisQuery_ProjectsNotesList -@dynamic filter, pageSize, pageToken, parent; +@dynamic filter, pageSize, pageToken, parent, returnPartialSuccess; + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; @@ -920,7 +920,7 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRContainerAnalysisQuery_ProjectsOccurrencesGetVulnerabilitySummary -@dynamic filter, parent; +@dynamic filter, parent, returnPartialSuccess; + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; @@ -939,7 +939,7 @@ + (instancetype)queryWithParent:(NSString *)parent { @implementation GTLRContainerAnalysisQuery_ProjectsOccurrencesList -@dynamic filter, pageSize, pageToken, parent; +@dynamic filter, pageSize, pageToken, parent, returnPartialSuccess; + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; diff --git a/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisObjects.h b/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisObjects.h index 634e2d44b..6093b9ff2 100644 --- a/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisObjects.h +++ b/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisObjects.h @@ -60,6 +60,8 @@ @class GTLRContainerAnalysis_Envelope; @class GTLRContainerAnalysis_EnvelopeSignature; @class GTLRContainerAnalysis_Expr; +@class GTLRContainerAnalysis_File; +@class GTLRContainerAnalysis_File_Digest; @class GTLRContainerAnalysis_FileHashes; @class GTLRContainerAnalysis_Fingerprint; @class GTLRContainerAnalysis_FixableTotalByDigest; @@ -3562,6 +3564,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc /** The CPE of the resource being scanned. */ @property(nonatomic, copy, nullable) NSString *cpe; +/** Files that make up the resource described by the occurrence. */ +@property(nonatomic, strong, nullable) NSArray *files; + /** The last time this resource was scanned. */ @property(nonatomic, strong, nullable) GTLRDateTime *lastScanTime; @@ -3793,6 +3798,29 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc @end +/** + * GTLRContainerAnalysis_File + */ +@interface GTLRContainerAnalysis_File : GTLRObject + +@property(nonatomic, strong, nullable) GTLRContainerAnalysis_File_Digest *digest; +@property(nonatomic, copy, nullable) NSString *name; + +@end + + +/** + * GTLRContainerAnalysis_File_Digest + * + * @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 GTLRContainerAnalysis_File_Digest : GTLRObject +@end + + /** * Container message for hashes of byte content of files, used in source * messages to verify integrity of source input to the build. @@ -5049,8 +5077,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc @interface GTLRContainerAnalysis_GoogleDevtoolsCloudbuildV1DependencyGitSourceRepository : GTLRObject /** - * The Developer Connect Git repository link or the url that matches a - * repository link in the current project, formatted as `projects/ * + * The Developer Connect Git repository link formatted as `projects/ * * /locations/ * /connections/ * /gitRepositoryLink/ *` */ @property(nonatomic, copy, nullable) NSString *developerConnect; @@ -6291,6 +6318,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc */ @property(nonatomic, strong, nullable) NSArray *notes; +/** + * Unordered list. Unreachable regions. Populated for requests from the global + * region when `return_partial_success` is set. Format: projects//locations/ + */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + @end @@ -6319,6 +6352,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc */ @property(nonatomic, strong, nullable) NSArray *occurrences; +/** + * Unordered list. Unreachable regions. Populated for requests from the global + * region when `return_partial_success` is set. Format: projects//locations/ + */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + @end @@ -8427,6 +8466,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContainerAnalysis_VulnerabilityOccurrenc */ @property(nonatomic, strong, nullable) NSArray *counts; +/** + * Unordered list. Unreachable regions. Populated for requests from the global + * region when `return_partial_success` is set. Format: projects//locations/ + */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + @end diff --git a/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisQuery.h b/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisQuery.h index 8fa0f1764..2c4c03b2e 100644 --- a/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisQuery.h +++ b/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisQuery.h @@ -239,6 +239,13 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *parent; +/** + * If set, the request will return all reachable Notes and report all + * unreachable regions in the `unreachable` field in the response. Only + * applicable for requests in the global region. + */ +@property(nonatomic, assign) BOOL returnPartialSuccess; + /** * Fetches a @c GTLRContainerAnalysis_ListNotesResponse. * @@ -660,6 +667,13 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *parent; +/** + * If set, the request will return all reachable occurrence summaries and + * report all unreachable regions in the `unreachable` field in the response. + * Only applicable for requests in the global region. + */ +@property(nonatomic, assign) BOOL returnPartialSuccess; + /** * Fetches a @c GTLRContainerAnalysis_VulnerabilityOccurrencesSummary. * @@ -702,6 +716,13 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *parent; +/** + * If set, the request will return all reachable Occurrences and report all + * unreachable regions in the `unreachable` field in the response. Only + * applicable for requests in the global region. + */ +@property(nonatomic, assign) BOOL returnPartialSuccess; + /** * Fetches a @c GTLRContainerAnalysis_ListOccurrencesResponse. * @@ -1085,6 +1106,13 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *parent; +/** + * If set, the request will return all reachable Notes and report all + * unreachable regions in the `unreachable` field in the response. Only + * applicable for requests in the global region. + */ +@property(nonatomic, assign) BOOL returnPartialSuccess; + /** * Fetches a @c GTLRContainerAnalysis_ListNotesResponse. * @@ -1506,6 +1534,13 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *parent; +/** + * If set, the request will return all reachable occurrence summaries and + * report all unreachable regions in the `unreachable` field in the response. + * Only applicable for requests in the global region. + */ +@property(nonatomic, assign) BOOL returnPartialSuccess; + /** * Fetches a @c GTLRContainerAnalysis_VulnerabilityOccurrencesSummary. * @@ -1548,6 +1583,13 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *parent; +/** + * If set, the request will return all reachable Occurrences and report all + * unreachable regions in the `unreachable` field in the response. Only + * applicable for requests in the global region. + */ +@property(nonatomic, assign) BOOL returnPartialSuccess; + /** * Fetches a @c GTLRContainerAnalysis_ListOccurrencesResponse. * diff --git a/Sources/GeneratedServices/Css/Public/GoogleAPIClientForREST/GTLRCssQuery.h b/Sources/GeneratedServices/Css/Public/GoogleAPIClientForREST/GTLRCssQuery.h index 351569bfa..09be3c105 100644 --- a/Sources/GeneratedServices/Css/Public/GoogleAPIClientForREST/GTLRCssQuery.h +++ b/Sources/GeneratedServices/Css/Public/GoogleAPIClientForREST/GTLRCssQuery.h @@ -196,7 +196,10 @@ NS_ASSUME_NONNULL_BEGIN */ @interface GTLRCssQuery_AccountsCssProductsGet : GTLRCssQuery -/** Required. The name of the CSS product to retrieve. */ +/** + * Required. The name of the CSS product to retrieve. Format: + * `accounts/{account}/cssProducts/{css_product}` + */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -206,7 +209,8 @@ NS_ASSUME_NONNULL_BEGIN * inserting, updating, or deleting a product input, it may take several * minutes before the updated final product can be retrieved. * - * @param name Required. The name of the CSS product to retrieve. + * @param name Required. The name of the CSS product to retrieve. Format: + * `accounts/{account}/cssProducts/{css_product}` * * @return GTLRCssQuery_AccountsCssProductsGet */ diff --git a/Sources/GeneratedServices/DLP/GTLRDLPObjects.m b/Sources/GeneratedServices/DLP/GTLRDLPObjects.m index 44439c494..d603211d6 100644 --- a/Sources/GeneratedServices/DLP/GTLRDLPObjects.m +++ b/Sources/GeneratedServices/DLP/GTLRDLPObjects.m @@ -320,6 +320,20 @@ NSString * const kGTLRDLP_GooglePrivacyDlpV2DlpJob_Type_InspectJob = @"INSPECT_JOB"; NSString * const kGTLRDLP_GooglePrivacyDlpV2DlpJob_Type_RiskAnalysisJob = @"RISK_ANALYSIS_JOB"; +// GTLRDLP_GooglePrivacyDlpV2Domain.category +NSString * const kGTLRDLP_GooglePrivacyDlpV2Domain_Category_Ai = @"AI"; +NSString * const kGTLRDLP_GooglePrivacyDlpV2Domain_Category_CategoryUnspecified = @"CATEGORY_UNSPECIFIED"; +NSString * const kGTLRDLP_GooglePrivacyDlpV2Domain_Category_Code = @"CODE"; + +// GTLRDLP_GooglePrivacyDlpV2Domain.signals +NSString * const kGTLRDLP_GooglePrivacyDlpV2Domain_Signals_Model = @"MODEL"; +NSString * const kGTLRDLP_GooglePrivacyDlpV2Domain_Signals_Service = @"SERVICE"; +NSString * const kGTLRDLP_GooglePrivacyDlpV2Domain_Signals_SignalUnspecified = @"SIGNAL_UNSPECIFIED"; +NSString * const kGTLRDLP_GooglePrivacyDlpV2Domain_Signals_SourceCode = @"SOURCE_CODE"; +NSString * const kGTLRDLP_GooglePrivacyDlpV2Domain_Signals_TextEmbedding = @"TEXT_EMBEDDING"; +NSString * const kGTLRDLP_GooglePrivacyDlpV2Domain_Signals_VectorPlugin = @"VECTOR_PLUGIN"; +NSString * const kGTLRDLP_GooglePrivacyDlpV2Domain_Signals_VertexPlugin = @"VERTEX_PLUGIN"; + // GTLRDLP_GooglePrivacyDlpV2Error.extraInfo NSString * const kGTLRDLP_GooglePrivacyDlpV2Error_ExtraInfo_ErrorInfoUnspecified = @"ERROR_INFO_UNSPECIFIED"; NSString * const kGTLRDLP_GooglePrivacyDlpV2Error_ExtraInfo_FileStoreClusterUnsupported = @"FILE_STORE_CLUSTER_UNSUPPORTED"; @@ -2117,6 +2131,24 @@ @implementation GTLRDLP_GooglePrivacyDlpV2DocumentLocation @end +// ---------------------------------------------------------------------------- +// +// GTLRDLP_GooglePrivacyDlpV2Domain +// + +@implementation GTLRDLP_GooglePrivacyDlpV2Domain +@dynamic category, signals; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"signals" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDLP_GooglePrivacyDlpV2EntityId @@ -2301,16 +2333,17 @@ @implementation GTLRDLP_GooglePrivacyDlpV2FileStoreCollection @implementation GTLRDLP_GooglePrivacyDlpV2FileStoreDataProfile @dynamic configSnapshot, createTime, dataRiskLevel, dataSourceType, - dataStorageLocations, fileClusterSummaries, fileStoreInfoTypeSummaries, - fileStoreIsEmpty, fileStoreLocation, fileStorePath, fullResource, - lastModifiedTime, locationType, name, profileLastGenerated, - profileStatus, projectDataProfile, projectId, relatedResources, - resourceAttributes, resourceLabels, resourceVisibility, - sampleFindingsTable, sensitivityScore, state, tags; + dataStorageLocations, domains, fileClusterSummaries, + fileStoreInfoTypeSummaries, fileStoreIsEmpty, fileStoreLocation, + fileStorePath, fullResource, lastModifiedTime, locationType, name, + profileLastGenerated, profileStatus, projectDataProfile, projectId, + relatedResources, resourceAttributes, resourceLabels, + resourceVisibility, sampleFindingsTable, sensitivityScore, state, tags; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"dataStorageLocations" : [NSString class], + @"domains" : [GTLRDLP_GooglePrivacyDlpV2Domain class], @"fileClusterSummaries" : [GTLRDLP_GooglePrivacyDlpV2FileClusterSummary class], @"fileStoreInfoTypeSummaries" : [GTLRDLP_GooglePrivacyDlpV2FileStoreInfoTypeSummary class], @"relatedResources" : [GTLRDLP_GooglePrivacyDlpV2RelatedResource class], @@ -4213,6 +4246,24 @@ @implementation GTLRDLP_GooglePrivacyDlpV2SaveFindings @end +// ---------------------------------------------------------------------------- +// +// GTLRDLP_GooglePrivacyDlpV2SaveToGcsFindingsOutput +// + +@implementation GTLRDLP_GooglePrivacyDlpV2SaveToGcsFindingsOutput +@dynamic findings; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"findings" : [GTLRDLP_GooglePrivacyDlpV2Finding class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDLP_GooglePrivacyDlpV2Schedule @@ -4466,15 +4517,16 @@ @implementation GTLRDLP_GooglePrivacyDlpV2Table @implementation GTLRDLP_GooglePrivacyDlpV2TableDataProfile @dynamic configSnapshot, createTime, dataRiskLevel, datasetId, datasetLocation, - datasetProjectId, dataSourceType, encryptionStatus, expirationTime, - failedColumnCount, fullResource, lastModifiedTime, name, - otherInfoTypes, predictedInfoTypes, profileLastGenerated, + datasetProjectId, dataSourceType, domains, encryptionStatus, + expirationTime, failedColumnCount, fullResource, lastModifiedTime, + name, otherInfoTypes, predictedInfoTypes, profileLastGenerated, profileStatus, projectDataProfile, relatedResources, resourceLabels, resourceVisibility, rowCount, sampleFindingsTable, scannedColumnCount, sensitivityScore, state, tableId, tableSizeBytes, tags; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"domains" : [GTLRDLP_GooglePrivacyDlpV2Domain class], @"otherInfoTypes" : [GTLRDLP_GooglePrivacyDlpV2OtherInfoTypeSummary class], @"predictedInfoTypes" : [GTLRDLP_GooglePrivacyDlpV2InfoTypeSummary class], @"relatedResources" : [GTLRDLP_GooglePrivacyDlpV2RelatedResource class], diff --git a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h index a4743f00a..fe13d1138 100644 --- a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h +++ b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h @@ -125,6 +125,7 @@ @class GTLRDLP_GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence; @class GTLRDLP_GooglePrivacyDlpV2DlpJob; @class GTLRDLP_GooglePrivacyDlpV2DocumentLocation; +@class GTLRDLP_GooglePrivacyDlpV2Domain; @class GTLRDLP_GooglePrivacyDlpV2EntityId; @class GTLRDLP_GooglePrivacyDlpV2Error; @class GTLRDLP_GooglePrivacyDlpV2ExcludeByHotword; @@ -1906,6 +1907,81 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2DlpJob_Type_Inspec */ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2DlpJob_Type_RiskAnalysisJob; +// ---------------------------------------------------------------------------- +// GTLRDLP_GooglePrivacyDlpV2Domain.category + +/** + * Indicates that the data profile is related to artificial intelligence. When + * set, all findings stored to Security Command Center will set the + * corresponding AI domain field of `Finding` objects. + * + * Value: "AI" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Domain_Category_Ai; +/** + * Category unspecified. + * + * Value: "CATEGORY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Domain_Category_CategoryUnspecified; +/** + * Indicates that the data profile is related to code. + * + * Value: "CODE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Domain_Category_Code; + +// ---------------------------------------------------------------------------- +// GTLRDLP_GooglePrivacyDlpV2Domain.signals + +/** + * One or more machine learning models are present. + * + * Value: "MODEL" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Domain_Signals_Model; +/** + * If the service determines the category type. For example, Vertex AI assets + * would always have a `Category` of `AI`. + * + * Value: "SERVICE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Domain_Signals_Service; +/** + * Unused. + * + * Value: "SIGNAL_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Domain_Signals_SignalUnspecified; +/** + * Source code is present. + * + * Value: "SOURCE_CODE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Domain_Signals_SourceCode; +/** + * A table appears to be a text embedding. + * + * Value: "TEXT_EMBEDDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Domain_Signals_TextEmbedding; +/** + * Support for [Cloud SQL vector + * embeddings](https://cloud.google.com/sql/docs/mysql/enable-vector-search) is + * enabled on the database. + * + * Value: "VECTOR_PLUGIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Domain_Signals_VectorPlugin; +/** + * The [Cloud SQL Vertex + * AI](https://cloud.google.com/sql/docs/postgres/integrate-cloud-sql-with-vertex-ai) + * plugin is installed on the database. + * + * Value: "VERTEX_PLUGIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Domain_Signals_VertexPlugin; + // ---------------------------------------------------------------------------- // GTLRDLP_GooglePrivacyDlpV2Error.extraInfo @@ -7191,6 +7267,32 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @end +/** + * A domain represents a thematic category that a data profile can fall under. + */ +@interface GTLRDLP_GooglePrivacyDlpV2Domain : GTLRObject + +/** + * A domain category that this profile is related to. + * + * Likely values: + * @arg @c kGTLRDLP_GooglePrivacyDlpV2Domain_Category_Ai Indicates that the + * data profile is related to artificial intelligence. When set, all + * findings stored to Security Command Center will set the corresponding + * AI domain field of `Finding` objects. (Value: "AI") + * @arg @c kGTLRDLP_GooglePrivacyDlpV2Domain_Category_CategoryUnspecified + * Category unspecified. (Value: "CATEGORY_UNSPECIFIED") + * @arg @c kGTLRDLP_GooglePrivacyDlpV2Domain_Category_Code Indicates that the + * data profile is related to code. (Value: "CODE") + */ +@property(nonatomic, copy, nullable) NSString *category; + +/** The collection of signals that influenced selection of the category. */ +@property(nonatomic, strong, nullable) NSArray *signals; + +@end + + /** * An entity in a dataset is a field or set of fields that correspond to a * single person. For example, in medical records the `EntityId` might be a @@ -7571,7 +7673,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** - * Match file stores (e.g. buckets) using regex filters. + * Match file stores (e.g. buckets) using filters. */ @interface GTLRDLP_GooglePrivacyDlpV2FileStoreCollection : GTLRObject @@ -7610,6 +7712,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal */ @property(nonatomic, strong, nullable) NSArray *dataStorageLocations; +/** Domains associated with the profile. */ +@property(nonatomic, strong, nullable) NSArray *domains; + /** FileClusterSummary per each cluster. */ @property(nonatomic, strong, nullable) NSArray *fileClusterSummaries; @@ -11169,6 +11274,19 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @end +/** + * Collection of findings saved to a Cloud Storage bucket. This is used as the + * proto schema for textproto files created when specifying a cloud storage + * path to save Inspect findings. + */ +@interface GTLRDLP_GooglePrivacyDlpV2SaveToGcsFindingsOutput : GTLRObject + +/** List of findings. */ +@property(nonatomic, strong, nullable) NSArray *findings; + +@end + + /** * Schedule for inspect job triggers. */ @@ -11617,6 +11735,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** The resource type that was profiled. */ @property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2DataSourceType *dataSourceType; +/** Domains associated with the profile. */ +@property(nonatomic, strong, nullable) NSArray *domains; + /** * How the table is encrypted. * @@ -11721,7 +11842,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2SensitivityScore *sensitivityScore; /** - * State of a profile. + * State of a profile. This will always be set to DONE when the table data + * profile is written to another service like BigQuery or Pub/Sub. * * Likely values: * @arg @c kGTLRDLP_GooglePrivacyDlpV2TableDataProfile_State_Done The profile diff --git a/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogObjects.h b/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogObjects.h index 0bdd8967e..60d1eaed0 100644 --- a/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogObjects.h +++ b/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogObjects.h @@ -333,7 +333,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Data */ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1DataplexExternalTable_System_CloudSql; /** - * Dataplex. + * Dataplex Universal Catalog. * * Value: "DATAPLEX" */ @@ -419,7 +419,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Entr */ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Entry_IntegratedSystem_CloudSql; /** - * Dataplex. + * Dataplex Universal Catalog. * * Value: "DATAPLEX" */ @@ -527,7 +527,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Entr */ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Entry_Type_Fileset; /** - * A Dataplex lake. + * A Dataplex Universal Catalog lake. * * Value: "LAKE" */ @@ -565,7 +565,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Entr */ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Entry_Type_Table; /** - * A Dataplex zone. + * A Dataplex Universal Catalog zone. * * Value: "ZONE" */ @@ -677,13 +677,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Impo */ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1MigrationConfig_CatalogUiExperience_CatalogUiExperienceDisabled; /** - * The UI is Dataplex. + * The UI is Dataplex Universal Catalog. * * Value: "CATALOG_UI_EXPERIENCE_ENABLED" */ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1MigrationConfig_CatalogUiExperience_CatalogUiExperienceEnabled; /** - * Default value. The default UI is Dataplex. + * Default value. The default UI is Dataplex Universal Catalog. * * Value: "CATALOG_UI_EXPERIENCE_UNSPECIFIED" */ @@ -693,26 +693,29 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Migr // GTLRDataCatalog_GoogleCloudDatacatalogV1MigrationConfig.tagTemplateMigration /** - * Migration of Tag Templates from Data Catalog to Dataplex is disabled. + * Migration of Tag Templates from Data Catalog to Dataplex Universal Catalog + * is disabled. * * Value: "TAG_TEMPLATE_MIGRATION_DISABLED" */ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1MigrationConfig_TagTemplateMigration_TagTemplateMigrationDisabled; /** - * Migration of Tag Templates from Data Catalog to Dataplex is enabled. + * Migration of Tag Templates from Data Catalog to Dataplex Universal Catalog + * is enabled. * * Value: "TAG_TEMPLATE_MIGRATION_ENABLED" */ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1MigrationConfig_TagTemplateMigration_TagTemplateMigrationEnabled; /** - * Default value. Migration of Tag Templates from Data Catalog to Dataplex is - * not performed. For projects that are under an organization, the project - * inherits the organization's configuration when you set the project-level - * configuration to unspecified (`TAG_TEMPLATE_MIGRATION_UNSPECIFIED`). This - * means that when migration is enabled at the organization level, and the - * project-level configuration is unspecified, the project is migrated. To - * explicitly opt-in or opt-out individual projects, set the project-level - * configuration to enabled (`TAG_TEMPLATE_MIGRATION_ENABLED`) or disabled + * Default value. Migration of Tag Templates from Data Catalog to Dataplex + * Universal Catalog is not performed. For projects that are under an + * organization, the project inherits the organization's configuration when you + * set the project-level configuration to unspecified + * (`TAG_TEMPLATE_MIGRATION_UNSPECIFIED`). This means that when migration is + * enabled at the organization level, and the project-level configuration is + * unspecified, the project is migrated. To explicitly opt-in or opt-out + * individual projects, set the project-level configuration to enabled + * (`TAG_TEMPLATE_MIGRATION_ENABLED`) or disabled * (`TAG_TEMPLATE_MIGRATION_DISABLED`). * * Value: "TAG_TEMPLATE_MIGRATION_UNSPECIFIED" @@ -831,7 +834,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Sear */ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1SearchCatalogResult_IntegratedSystem_CloudSql; /** - * Dataplex. + * Dataplex Universal Catalog. * * Value: "DATAPLEX" */ @@ -916,13 +919,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Seri */ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1SetConfigRequest_CatalogUiExperience_CatalogUiExperienceDisabled; /** - * The UI is Dataplex. + * The UI is Dataplex Universal Catalog. * * Value: "CATALOG_UI_EXPERIENCE_ENABLED" */ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1SetConfigRequest_CatalogUiExperience_CatalogUiExperienceEnabled; /** - * Default value. The default UI is Dataplex. + * Default value. The default UI is Dataplex Universal Catalog. * * Value: "CATALOG_UI_EXPERIENCE_UNSPECIFIED" */ @@ -932,26 +935,29 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1SetC // GTLRDataCatalog_GoogleCloudDatacatalogV1SetConfigRequest.tagTemplateMigration /** - * Migration of Tag Templates from Data Catalog to Dataplex is disabled. + * Migration of Tag Templates from Data Catalog to Dataplex Universal Catalog + * is disabled. * * Value: "TAG_TEMPLATE_MIGRATION_DISABLED" */ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1SetConfigRequest_TagTemplateMigration_TagTemplateMigrationDisabled; /** - * Migration of Tag Templates from Data Catalog to Dataplex is enabled. + * Migration of Tag Templates from Data Catalog to Dataplex Universal Catalog + * is enabled. * * Value: "TAG_TEMPLATE_MIGRATION_ENABLED" */ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1SetConfigRequest_TagTemplateMigration_TagTemplateMigrationEnabled; /** - * Default value. Migration of Tag Templates from Data Catalog to Dataplex is - * not performed. For projects that are under an organization, the project - * inherits the organization's configuration when you set the project-level - * configuration to unspecified (`TAG_TEMPLATE_MIGRATION_UNSPECIFIED`). This - * means that when migration is enabled at the organization level, and the - * project-level configuration is unspecified, the project is migrated. To - * explicitly opt-in or opt-out individual projects, set the project-level - * configuration to enabled (`TAG_TEMPLATE_MIGRATION_ENABLED`) or disabled + * Default value. Migration of Tag Templates from Data Catalog to Dataplex + * Universal Catalog is not performed. For projects that are under an + * organization, the project inherits the organization's configuration when you + * set the project-level configuration to unspecified + * (`TAG_TEMPLATE_MIGRATION_UNSPECIFIED`). This means that when migration is + * enabled at the organization level, and the project-level configuration is + * unspecified, the project is migrated. To explicitly opt-in or opt-out + * individual projects, set the project-level configuration to enabled + * (`TAG_TEMPLATE_MIGRATION_ENABLED`) or disabled * (`TAG_TEMPLATE_MIGRATION_DISABLED`). * * Value: "TAG_TEMPLATE_MIGRATION_UNSPECIFIED" @@ -963,23 +969,25 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1SetC /** * Default value. TagTemplate and its tags are only visible and editable in - * DataCatalog. + * Data Catalog. * * Value: "DATAPLEX_TRANSFER_STATUS_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Tag_DataplexTransferStatus_DataplexTransferStatusUnspecified; /** - * TagTemplate and its tags are auto-copied to Dataplex service. Visible in - * both services. Editable in DataCatalog, read-only in Dataplex. Deprecated: - * Individual TagTemplate migration is deprecated in favor of organization or - * project wide TagTemplate migration opt-in. + * TagTemplate and its tags are auto-copied to Dataplex Universal Catalog + * service. Visible in both services. Editable in Data Catalog, read-only in + * Dataplex Universal Catalog. Deprecated: Individual TagTemplate migration is + * deprecated in favor of organization or project wide TagTemplate migration + * opt-in. * * Value: "MIGRATED" */ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Tag_DataplexTransferStatus_Migrated GTLR_DEPRECATED; /** - * TagTemplate and its tags are auto-copied to Dataplex service. Visible in - * both services. Editable in Dataplex, read-only in DataCatalog. + * TagTemplate and its tags are auto-copied to Dataplex Universal Catalog + * service. Visible in both services. Editable in Dataplex Universal Catalog, + * read-only in Data Catalog. * * Value: "TRANSFERRED" */ @@ -990,23 +998,25 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Tag_ /** * Default value. TagTemplate and its tags are only visible and editable in - * DataCatalog. + * Data Catalog. * * Value: "DATAPLEX_TRANSFER_STATUS_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1TagTemplate_DataplexTransferStatus_DataplexTransferStatusUnspecified; /** - * TagTemplate and its tags are auto-copied to Dataplex service. Visible in - * both services. Editable in DataCatalog, read-only in Dataplex. Deprecated: - * Individual TagTemplate migration is deprecated in favor of organization or - * project wide TagTemplate migration opt-in. + * TagTemplate and its tags are auto-copied to Dataplex Universal Catalog + * service. Visible in both services. Editable in Data Catalog, read-only in + * Dataplex Universal Catalog. Deprecated: Individual TagTemplate migration is + * deprecated in favor of organization or project wide TagTemplate migration + * opt-in. * * Value: "MIGRATED" */ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1TagTemplate_DataplexTransferStatus_Migrated GTLR_DEPRECATED; /** - * TagTemplate and its tags are auto-copied to Dataplex service. Visible in - * both services. Editable in Dataplex, read-only in DataCatalog. + * TagTemplate and its tags are auto-copied to Dataplex Universal Catalog + * service. Visible in both services. Editable in Dataplex Universal Catalog, + * read-only in Data Catalog. * * Value: "TRANSFERRED" */ @@ -1033,7 +1043,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Taxo // GTLRDataCatalog_GoogleCloudDatacatalogV1TaxonomyService.name /** - * Dataplex. + * Dataplex Universal Catalog. * * Value: "MANAGING_SYSTEM_DATAPLEX" */ @@ -1758,8 +1768,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Vert @property(nonatomic, strong, nullable) GTLRDataCatalog_GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec *databaseViewSpec; /** - * Output only. Fields specific to a Dataplex table and present only in the - * Dataplex table entries. + * Output only. Fields specific to a Dataplex Universal Catalog table and + * present only in the Dataplex Universal Catalog table entries. */ @property(nonatomic, strong, nullable) GTLRDataCatalog_GoogleCloudDatacatalogV1DataplexTableSpec *dataplexTable; @@ -1807,11 +1817,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Vert /** - * External table registered by Dataplex. Dataplex publishes data discovered - * from an asset into multiple other systems (BigQuery, DPMS) in form of - * tables. We call them "external tables". External tables are also synced into - * the Data Catalog. This message contains pointers to those external tables - * (fully qualified name, resource name et cetera) within the Data Catalog. + * External table registered by Dataplex Universal Catalog. Dataplex Universal + * Catalog publishes data discovered from an asset into multiple other systems + * (BigQuery, DPMS) in form of tables. We call them "external tables". External + * tables are also synced into the Data Catalog. This message contains pointers + * to those external tables (fully qualified name, resource name et cetera) + * within the Data Catalog. */ @interface GTLRDataCatalog_GoogleCloudDatacatalogV1DataplexExternalTable : GTLRObject @@ -1839,7 +1850,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Vert * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1DataplexExternalTable_System_CloudSql * Cloud Sql (Value: "CLOUD_SQL") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1DataplexExternalTable_System_Dataplex - * Dataplex. (Value: "DATAPLEX") + * Dataplex Universal Catalog. (Value: "DATAPLEX") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1DataplexExternalTable_System_DataprocMetastore * Dataproc Metastore. (Value: "DATAPROC_METASTORE") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1DataplexExternalTable_System_IntegratedSystemUnspecified @@ -1855,25 +1866,25 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Vert /** - * Entry specyfication for a Dataplex fileset. + * Entry specification for a Dataplex Universal Catalog fileset. */ @interface GTLRDataCatalog_GoogleCloudDatacatalogV1DataplexFilesetSpec : GTLRObject -/** Common Dataplex fields. */ +/** Common Dataplex Universal Catalog fields. */ @property(nonatomic, strong, nullable) GTLRDataCatalog_GoogleCloudDatacatalogV1DataplexSpec *dataplexSpec; @end /** - * Common Dataplex fields. + * Common Dataplex Universal Catalog fields. */ @interface GTLRDataCatalog_GoogleCloudDatacatalogV1DataplexSpec : GTLRObject /** - * Fully qualified resource name of an asset in Dataplex, to which the - * underlying data source (Cloud Storage bucket or BigQuery dataset) of the - * entity is attached. + * Fully qualified resource name of an asset in Dataplex Universal Catalog, to + * which the underlying data source (Cloud Storage bucket or BigQuery dataset) + * of the entity is attached. */ @property(nonatomic, copy, nullable) NSString *asset; @@ -1885,8 +1896,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Vert /** * Project ID of the underlying Cloud Storage or BigQuery data. Note that this - * may not be the same project as the correspondingly Dataplex lake / zone / - * asset. + * may not be the same project as the corresponding Dataplex Universal Catalog + * lake / zone / asset. */ @property(nonatomic, copy, nullable) NSString *projectId; @@ -1894,17 +1905,17 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Vert /** - * Entry specification for a Dataplex table. + * Entry specification for a Dataplex Universal Catalog table. */ @interface GTLRDataCatalog_GoogleCloudDatacatalogV1DataplexTableSpec : GTLRObject -/** Common Dataplex fields. */ +/** Common Dataplex Universal Catalog fields. */ @property(nonatomic, strong, nullable) GTLRDataCatalog_GoogleCloudDatacatalogV1DataplexSpec *dataplexSpec; /** - * List of external tables registered by Dataplex in other systems based on the - * same underlying data. External tables allow to query this data in those - * systems. + * List of external tables registered by Dataplex Universal Catalog in other + * systems based on the same underlying data. External tables allow to query + * this data in those systems. */ @property(nonatomic, strong, nullable) NSArray *externalTables; @@ -2095,7 +2106,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Vert * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1Entry_IntegratedSystem_CloudSql * Cloud Sql (Value: "CLOUD_SQL") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1Entry_IntegratedSystem_Dataplex - * Dataplex. (Value: "DATAPLEX") + * Dataplex Universal Catalog. (Value: "DATAPLEX") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1Entry_IntegratedSystem_DataprocMetastore * Dataproc Metastore. (Value: "DATAPROC_METASTORE") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1Entry_IntegratedSystem_IntegratedSystemUnspecified @@ -2214,7 +2225,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Vert * entry type for a set of files or objects. For example, a Cloud Storage * fileset. (Value: "FILESET") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1Entry_Type_Lake A - * Dataplex lake. (Value: "LAKE") + * Dataplex Universal Catalog lake. (Value: "LAKE") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1Entry_Type_Look A Looker * Look. For more information, see [Looker Look API] * (https://developers.looker.com/api/explorer/4.0/methods/Look). (Value: @@ -2231,7 +2242,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Vert * entry type that has a GoogleSQL schema, including logical views. * (Value: "TABLE") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1Entry_Type_Zone A - * Dataplex zone. (Value: "ZONE") + * Dataplex Universal Catalog zone. (Value: "ZONE") */ @property(nonatomic, copy, nullable) NSString *type; @@ -2308,9 +2319,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Vert /** * Optional. When set to [true], it means DataCatalog EntryGroup was - * transferred to Dataplex Catalog Service. It makes EntryGroup and its Entries - * to be read-only in DataCatalog. However, new Tags on EntryGroup and its - * Entries can be created. After setting the flag to [true] it cannot be unset. + * transferred to Dataplex Universal Catalog. It makes EntryGroup and its + * Entries to be read-only in DataCatalog. However, new Tags on EntryGroup and + * its Entries can be created. After setting the flag to [true] it cannot be + * unset. * * Uses NSNumber of boolValue. */ @@ -2441,8 +2453,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Vert @interface GTLRDataCatalog_GoogleCloudDatacatalogV1FilesetSpec : GTLRObject /** - * Fields specific to a Dataplex fileset and present only in the Dataplex - * fileset entries. + * Fields specific to a Dataplex Universal Catalog fileset and present only in + * the Dataplex Universal Catalog fileset entries. */ @property(nonatomic, strong, nullable) GTLRDataCatalog_GoogleCloudDatacatalogV1DataplexFilesetSpec *dataplexFileset; @@ -2554,8 +2566,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Vert @property(nonatomic, copy, nullable) NSString *gcsBucketPath; /** - * Optional. (Optional) Dataplex task job id, if specified will be used as part - * of ImportEntries LRO ID + * Optional. (Optional) Dataplex Universal Catalog task job id, if specified + * will be used as part of ImportEntries LRO ID */ @property(nonatomic, copy, nullable) NSString *jobId; @@ -2787,47 +2799,50 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Vert /** - * The configuration related to the migration to Dataplex applied to an - * organization or project. It is the response message for SetConfig and - * RetrieveEffectiveConfig. + * The configuration related to the migration to Dataplex Universal Catalog + * applied to an organization or project. It is the response message for + * SetConfig and RetrieveEffectiveConfig. */ @interface GTLRDataCatalog_GoogleCloudDatacatalogV1MigrationConfig : GTLRObject /** - * Opt-in status for the UI switch to Dataplex. + * Opt-in status for the UI switch to Dataplex Universal Catalog. * * Likely values: * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1MigrationConfig_CatalogUiExperience_CatalogUiExperienceDisabled * The UI is Data Catalog. (Value: "CATALOG_UI_EXPERIENCE_DISABLED") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1MigrationConfig_CatalogUiExperience_CatalogUiExperienceEnabled - * The UI is Dataplex. (Value: "CATALOG_UI_EXPERIENCE_ENABLED") + * The UI is Dataplex Universal Catalog. (Value: + * "CATALOG_UI_EXPERIENCE_ENABLED") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1MigrationConfig_CatalogUiExperience_CatalogUiExperienceUnspecified - * Default value. The default UI is Dataplex. (Value: + * Default value. The default UI is Dataplex Universal Catalog. (Value: * "CATALOG_UI_EXPERIENCE_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *catalogUiExperience; /** - * Opt-in status for the migration of Tag Templates to Dataplex. + * Opt-in status for the migration of Tag Templates to Dataplex Universal + * Catalog. * * Likely values: * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1MigrationConfig_TagTemplateMigration_TagTemplateMigrationDisabled - * Migration of Tag Templates from Data Catalog to Dataplex is disabled. - * (Value: "TAG_TEMPLATE_MIGRATION_DISABLED") + * Migration of Tag Templates from Data Catalog to Dataplex Universal + * Catalog is disabled. (Value: "TAG_TEMPLATE_MIGRATION_DISABLED") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1MigrationConfig_TagTemplateMigration_TagTemplateMigrationEnabled - * Migration of Tag Templates from Data Catalog to Dataplex is enabled. - * (Value: "TAG_TEMPLATE_MIGRATION_ENABLED") + * Migration of Tag Templates from Data Catalog to Dataplex Universal + * Catalog is enabled. (Value: "TAG_TEMPLATE_MIGRATION_ENABLED") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1MigrationConfig_TagTemplateMigration_TagTemplateMigrationUnspecified * Default value. Migration of Tag Templates from Data Catalog to - * Dataplex is not performed. For projects that are under an - * organization, the project inherits the organization's configuration - * when you set the project-level configuration to unspecified - * (`TAG_TEMPLATE_MIGRATION_UNSPECIFIED`). This means that when migration - * is enabled at the organization level, and the project-level - * configuration is unspecified, the project is migrated. To explicitly - * opt-in or opt-out individual projects, set the project-level - * configuration to enabled (`TAG_TEMPLATE_MIGRATION_ENABLED`) or - * disabled (`TAG_TEMPLATE_MIGRATION_DISABLED`). (Value: + * Dataplex Universal Catalog is not performed. For projects that are + * under an organization, the project inherits the organization's + * configuration when you set the project-level configuration to + * unspecified (`TAG_TEMPLATE_MIGRATION_UNSPECIFIED`). This means that + * when migration is enabled at the organization level, and the + * project-level configuration is unspecified, the project is migrated. + * To explicitly opt-in or opt-out individual projects, set the + * project-level configuration to enabled + * (`TAG_TEMPLATE_MIGRATION_ENABLED`) or disabled + * (`TAG_TEMPLATE_MIGRATION_DISABLED`). (Value: * "TAG_TEMPLATE_MIGRATION_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *tagTemplateMigration; @@ -2877,8 +2892,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Vert /** * The configuration related to the migration from Data Catalog to Dataplex - * that has been applied to an organization and any projects under it. It is - * the response message for RetrieveConfig. + * Universal Catalog that has been applied to an organization and any projects + * under it. It is the response message for RetrieveConfig. */ @interface GTLRDataCatalog_GoogleCloudDatacatalogV1OrganizationConfig : GTLRObject @@ -3500,7 +3515,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Vert * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1SearchCatalogResult_IntegratedSystem_CloudSql * Cloud Sql (Value: "CLOUD_SQL") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1SearchCatalogResult_IntegratedSystem_Dataplex - * Dataplex. (Value: "DATAPLEX") + * Dataplex Universal Catalog. (Value: "DATAPLEX") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1SearchCatalogResult_IntegratedSystem_DataprocMetastore * Dataproc Metastore. (Value: "DATAPROC_METASTORE") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1SearchCatalogResult_IntegratedSystem_IntegratedSystemUnspecified @@ -3640,40 +3655,43 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Vert @interface GTLRDataCatalog_GoogleCloudDatacatalogV1SetConfigRequest : GTLRObject /** - * Opt-in status for the UI switch to Dataplex. + * Opt-in status for the UI switch to Dataplex Universal Catalog. * * Likely values: * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1SetConfigRequest_CatalogUiExperience_CatalogUiExperienceDisabled * The UI is Data Catalog. (Value: "CATALOG_UI_EXPERIENCE_DISABLED") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1SetConfigRequest_CatalogUiExperience_CatalogUiExperienceEnabled - * The UI is Dataplex. (Value: "CATALOG_UI_EXPERIENCE_ENABLED") + * The UI is Dataplex Universal Catalog. (Value: + * "CATALOG_UI_EXPERIENCE_ENABLED") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1SetConfigRequest_CatalogUiExperience_CatalogUiExperienceUnspecified - * Default value. The default UI is Dataplex. (Value: + * Default value. The default UI is Dataplex Universal Catalog. (Value: * "CATALOG_UI_EXPERIENCE_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *catalogUiExperience; /** - * Opt-in status for the migration of Tag Templates to Dataplex. + * Opt-in status for the migration of Tag Templates to Dataplex Universal + * Catalog. * * Likely values: * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1SetConfigRequest_TagTemplateMigration_TagTemplateMigrationDisabled - * Migration of Tag Templates from Data Catalog to Dataplex is disabled. - * (Value: "TAG_TEMPLATE_MIGRATION_DISABLED") + * Migration of Tag Templates from Data Catalog to Dataplex Universal + * Catalog is disabled. (Value: "TAG_TEMPLATE_MIGRATION_DISABLED") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1SetConfigRequest_TagTemplateMigration_TagTemplateMigrationEnabled - * Migration of Tag Templates from Data Catalog to Dataplex is enabled. - * (Value: "TAG_TEMPLATE_MIGRATION_ENABLED") + * Migration of Tag Templates from Data Catalog to Dataplex Universal + * Catalog is enabled. (Value: "TAG_TEMPLATE_MIGRATION_ENABLED") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1SetConfigRequest_TagTemplateMigration_TagTemplateMigrationUnspecified * Default value. Migration of Tag Templates from Data Catalog to - * Dataplex is not performed. For projects that are under an - * organization, the project inherits the organization's configuration - * when you set the project-level configuration to unspecified - * (`TAG_TEMPLATE_MIGRATION_UNSPECIFIED`). This means that when migration - * is enabled at the organization level, and the project-level - * configuration is unspecified, the project is migrated. To explicitly - * opt-in or opt-out individual projects, set the project-level - * configuration to enabled (`TAG_TEMPLATE_MIGRATION_ENABLED`) or - * disabled (`TAG_TEMPLATE_MIGRATION_DISABLED`). (Value: + * Dataplex Universal Catalog is not performed. For projects that are + * under an organization, the project inherits the organization's + * configuration when you set the project-level configuration to + * unspecified (`TAG_TEMPLATE_MIGRATION_UNSPECIFIED`). This means that + * when migration is enabled at the organization level, and the + * project-level configuration is unspecified, the project is migrated. + * To explicitly opt-in or opt-out individual projects, set the + * project-level configuration to enabled + * (`TAG_TEMPLATE_MIGRATION_ENABLED`) or disabled + * (`TAG_TEMPLATE_MIGRATION_DISABLED`). (Value: * "TAG_TEMPLATE_MIGRATION_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *tagTemplateMigration; @@ -3812,17 +3830,17 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Vert * Likely values: * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1Tag_DataplexTransferStatus_DataplexTransferStatusUnspecified * Default value. TagTemplate and its tags are only visible and editable - * in DataCatalog. (Value: "DATAPLEX_TRANSFER_STATUS_UNSPECIFIED") + * in Data Catalog. (Value: "DATAPLEX_TRANSFER_STATUS_UNSPECIFIED") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1Tag_DataplexTransferStatus_Migrated - * TagTemplate and its tags are auto-copied to Dataplex service. Visible - * in both services. Editable in DataCatalog, read-only in Dataplex. - * Deprecated: Individual TagTemplate migration is deprecated in favor of - * organization or project wide TagTemplate migration opt-in. (Value: - * "MIGRATED") + * TagTemplate and its tags are auto-copied to Dataplex Universal Catalog + * service. Visible in both services. Editable in Data Catalog, read-only + * in Dataplex Universal Catalog. Deprecated: Individual TagTemplate + * migration is deprecated in favor of organization or project wide + * TagTemplate migration opt-in. (Value: "MIGRATED") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1Tag_DataplexTransferStatus_Transferred - * TagTemplate and its tags are auto-copied to Dataplex service. Visible - * in both services. Editable in Dataplex, read-only in DataCatalog. - * (Value: "TRANSFERRED") + * TagTemplate and its tags are auto-copied to Dataplex Universal Catalog + * service. Visible in both services. Editable in Dataplex Universal + * Catalog, read-only in Data Catalog. (Value: "TRANSFERRED") */ @property(nonatomic, copy, nullable) NSString *dataplexTransferStatus; @@ -3980,17 +3998,17 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Vert * Likely values: * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1TagTemplate_DataplexTransferStatus_DataplexTransferStatusUnspecified * Default value. TagTemplate and its tags are only visible and editable - * in DataCatalog. (Value: "DATAPLEX_TRANSFER_STATUS_UNSPECIFIED") + * in Data Catalog. (Value: "DATAPLEX_TRANSFER_STATUS_UNSPECIFIED") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1TagTemplate_DataplexTransferStatus_Migrated - * TagTemplate and its tags are auto-copied to Dataplex service. Visible - * in both services. Editable in DataCatalog, read-only in Dataplex. - * Deprecated: Individual TagTemplate migration is deprecated in favor of - * organization or project wide TagTemplate migration opt-in. (Value: - * "MIGRATED") + * TagTemplate and its tags are auto-copied to Dataplex Universal Catalog + * service. Visible in both services. Editable in Data Catalog, read-only + * in Dataplex Universal Catalog. Deprecated: Individual TagTemplate + * migration is deprecated in favor of organization or project wide + * TagTemplate migration opt-in. (Value: "MIGRATED") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1TagTemplate_DataplexTransferStatus_Transferred - * TagTemplate and its tags are auto-copied to Dataplex service. Visible - * in both services. Editable in Dataplex, read-only in DataCatalog. - * (Value: "TRANSFERRED") + * TagTemplate and its tags are auto-copied to Dataplex Universal Catalog + * service. Visible in both services. Editable in Dataplex Universal + * Catalog, read-only in Data Catalog. (Value: "TRANSFERRED") */ @property(nonatomic, copy, nullable) NSString *dataplexTransferStatus; @@ -4179,7 +4197,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Vert * * Likely values: * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1TaxonomyService_Name_ManagingSystemDataplex - * Dataplex. (Value: "MANAGING_SYSTEM_DATAPLEX") + * Dataplex Universal Catalog. (Value: "MANAGING_SYSTEM_DATAPLEX") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1TaxonomyService_Name_ManagingSystemOther * Other (Value: "MANAGING_SYSTEM_OTHER") * @arg @c kGTLRDataCatalog_GoogleCloudDatacatalogV1TaxonomyService_Name_ManagingSystemUnspecified diff --git a/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogQuery.h b/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogQuery.h index bb17a08a8..d0a96ebe7 100644 --- a/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogQuery.h +++ b/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogQuery.h @@ -152,8 +152,8 @@ GTLR_DEPRECATED /** * Retrieves the configuration related to the migration from Data Catalog to - * Dataplex for a specific organization, including all the projects under it - * which have a separate configuration set. + * Dataplex Universal Catalog for a specific organization, including all the + * projects under it which have a separate configuration set. * * Method: datacatalog.organizations.locations.retrieveConfig * @@ -170,8 +170,8 @@ GTLR_DEPRECATED * Fetches a @c GTLRDataCatalog_GoogleCloudDatacatalogV1OrganizationConfig. * * Retrieves the configuration related to the migration from Data Catalog to - * Dataplex for a specific organization, including all the projects under it - * which have a separate configuration set. + * Dataplex Universal Catalog for a specific organization, including all the + * projects under it which have a separate configuration set. * * @param name Required. The organization whose config is being retrieved. * @@ -183,10 +183,10 @@ GTLR_DEPRECATED /** * Retrieves the effective configuration related to the migration from Data - * Catalog to Dataplex for a specific organization or project. If there is no - * specific configuration set for the resource, the setting is checked - * hierarchicahlly through the ancestors of the resource, starting from the - * resource itself. + * Catalog to Dataplex Universal Catalog for a specific organization or + * project. If there is no specific configuration set for the resource, the + * setting is checked hierarchicahlly through the ancestors of the resource, + * starting from the resource itself. * * Method: datacatalog.organizations.locations.retrieveEffectiveConfig * @@ -203,10 +203,10 @@ GTLR_DEPRECATED * Fetches a @c GTLRDataCatalog_GoogleCloudDatacatalogV1MigrationConfig. * * Retrieves the effective configuration related to the migration from Data - * Catalog to Dataplex for a specific organization or project. If there is no - * specific configuration set for the resource, the setting is checked - * hierarchicahlly through the ancestors of the resource, starting from the - * resource itself. + * Catalog to Dataplex Universal Catalog for a specific organization or + * project. If there is no specific configuration set for the resource, the + * setting is checked hierarchicahlly through the ancestors of the resource, + * starting from the resource itself. * * @param name Required. The resource whose effective config is being * retrieved. @@ -218,8 +218,8 @@ GTLR_DEPRECATED @end /** - * Sets the configuration related to the migration to Dataplex for an - * organization or project. + * Sets the configuration related to the migration to Dataplex Universal + * Catalog for an organization or project. * * Method: datacatalog.organizations.locations.setConfig * @@ -235,8 +235,8 @@ GTLR_DEPRECATED /** * Fetches a @c GTLRDataCatalog_GoogleCloudDatacatalogV1MigrationConfig. * - * Sets the configuration related to the migration to Dataplex for an - * organization or project. + * Sets the configuration related to the migration to Dataplex Universal + * Catalog for an organization or project. * * @param object The @c * GTLRDataCatalog_GoogleCloudDatacatalogV1SetConfigRequest to include in the @@ -1699,10 +1699,10 @@ GTLR_DEPRECATED /** * Retrieves the effective configuration related to the migration from Data - * Catalog to Dataplex for a specific organization or project. If there is no - * specific configuration set for the resource, the setting is checked - * hierarchicahlly through the ancestors of the resource, starting from the - * resource itself. + * Catalog to Dataplex Universal Catalog for a specific organization or + * project. If there is no specific configuration set for the resource, the + * setting is checked hierarchicahlly through the ancestors of the resource, + * starting from the resource itself. * * Method: datacatalog.projects.locations.retrieveEffectiveConfig * @@ -1719,10 +1719,10 @@ GTLR_DEPRECATED * Fetches a @c GTLRDataCatalog_GoogleCloudDatacatalogV1MigrationConfig. * * Retrieves the effective configuration related to the migration from Data - * Catalog to Dataplex for a specific organization or project. If there is no - * specific configuration set for the resource, the setting is checked - * hierarchicahlly through the ancestors of the resource, starting from the - * resource itself. + * Catalog to Dataplex Universal Catalog for a specific organization or + * project. If there is no specific configuration set for the resource, the + * setting is checked hierarchicahlly through the ancestors of the resource, + * starting from the resource itself. * * @param name Required. The resource whose effective config is being * retrieved. @@ -1734,8 +1734,8 @@ GTLR_DEPRECATED @end /** - * Sets the configuration related to the migration to Dataplex for an - * organization or project. + * Sets the configuration related to the migration to Dataplex Universal + * Catalog for an organization or project. * * Method: datacatalog.projects.locations.setConfig * @@ -1751,8 +1751,8 @@ GTLR_DEPRECATED /** * Fetches a @c GTLRDataCatalog_GoogleCloudDatacatalogV1MigrationConfig. * - * Sets the configuration related to the migration to Dataplex for an - * organization or project. + * Sets the configuration related to the migration to Dataplex Universal + * Catalog for an organization or project. * * @param object The @c * GTLRDataCatalog_GoogleCloudDatacatalogV1SetConfigRequest to include in the diff --git a/Sources/GeneratedServices/DataFusion/GTLRDataFusionQuery.m b/Sources/GeneratedServices/DataFusion/GTLRDataFusionQuery.m index 6dd02ea1d..6762707f5 100644 --- a/Sources/GeneratedServices/DataFusion/GTLRDataFusionQuery.m +++ b/Sources/GeneratedServices/DataFusion/GTLRDataFusionQuery.m @@ -70,7 +70,7 @@ + (instancetype)queryWithObject:(GTLRDataFusion_Instance *)object @implementation GTLRDataFusionQuery_ProjectsLocationsInstancesDelete -@dynamic name; +@dynamic force, name; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; diff --git a/Sources/GeneratedServices/DataFusion/Public/GoogleAPIClientForREST/GTLRDataFusionQuery.h b/Sources/GeneratedServices/DataFusion/Public/GoogleAPIClientForREST/GTLRDataFusionQuery.h index 1b57ad89d..073b384a2 100644 --- a/Sources/GeneratedServices/DataFusion/Public/GoogleAPIClientForREST/GTLRDataFusionQuery.h +++ b/Sources/GeneratedServices/DataFusion/Public/GoogleAPIClientForREST/GTLRDataFusionQuery.h @@ -114,6 +114,12 @@ NS_ASSUME_NONNULL_BEGIN */ @interface GTLRDataFusionQuery_ProjectsLocationsInstancesDelete : GTLRDataFusionQuery +/** + * Optional. If set to true, any nested resources from this instance will also + * be deleted. + */ +@property(nonatomic, assign) BOOL force; + /** * Required. The instance resource name in the format * projects/{project}/locations/{location}/instances/{instance} diff --git a/Sources/GeneratedServices/DataPortability/GTLRDataPortabilityService.m b/Sources/GeneratedServices/DataPortability/GTLRDataPortabilityService.m index 8743ba652..1b49052af 100644 --- a/Sources/GeneratedServices/DataPortability/GTLRDataPortabilityService.m +++ b/Sources/GeneratedServices/DataPortability/GTLRDataPortabilityService.m @@ -38,6 +38,7 @@ NSString * const kGTLRAuthScopeDataPortabilityMapsQuestionsAnswers = @"https://www.googleapis.com/auth/dataportability.maps.questions_answers"; NSString * const kGTLRAuthScopeDataPortabilityMapsReviews = @"https://www.googleapis.com/auth/dataportability.maps.reviews"; NSString * const kGTLRAuthScopeDataPortabilityMapsStarredPlaces = @"https://www.googleapis.com/auth/dataportability.maps.starred_places"; +NSString * const kGTLRAuthScopeDataPortabilityMapsVehicleProfile = @"https://www.googleapis.com/auth/dataportability.maps.vehicle_profile"; NSString * const kGTLRAuthScopeDataPortabilityMyactivityMaps = @"https://www.googleapis.com/auth/dataportability.myactivity.maps"; NSString * const kGTLRAuthScopeDataPortabilityMyactivityMyadcenter = @"https://www.googleapis.com/auth/dataportability.myactivity.myadcenter"; NSString * const kGTLRAuthScopeDataPortabilityMyactivityPlay = @"https://www.googleapis.com/auth/dataportability.myactivity.play"; diff --git a/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityQuery.h b/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityQuery.h index 2ede513e1..a5a8f73b7 100644 --- a/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityQuery.h +++ b/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityQuery.h @@ -64,6 +64,7 @@ NS_ASSUME_NONNULL_BEGIN * @c kGTLRAuthScopeDataPortabilityMapsQuestionsAnswers * @c kGTLRAuthScopeDataPortabilityMapsReviews * @c kGTLRAuthScopeDataPortabilityMapsStarredPlaces + * @c kGTLRAuthScopeDataPortabilityMapsVehicleProfile * @c kGTLRAuthScopeDataPortabilityMyactivityMaps * @c kGTLRAuthScopeDataPortabilityMyactivityMyadcenter * @c kGTLRAuthScopeDataPortabilityMyactivityPlay @@ -153,6 +154,7 @@ NS_ASSUME_NONNULL_BEGIN * @c kGTLRAuthScopeDataPortabilityMapsQuestionsAnswers * @c kGTLRAuthScopeDataPortabilityMapsReviews * @c kGTLRAuthScopeDataPortabilityMapsStarredPlaces + * @c kGTLRAuthScopeDataPortabilityMapsVehicleProfile * @c kGTLRAuthScopeDataPortabilityMyactivityMaps * @c kGTLRAuthScopeDataPortabilityMyactivityMyadcenter * @c kGTLRAuthScopeDataPortabilityMyactivityPlay @@ -255,6 +257,7 @@ NS_ASSUME_NONNULL_BEGIN * @c kGTLRAuthScopeDataPortabilityMapsQuestionsAnswers * @c kGTLRAuthScopeDataPortabilityMapsReviews * @c kGTLRAuthScopeDataPortabilityMapsStarredPlaces + * @c kGTLRAuthScopeDataPortabilityMapsVehicleProfile * @c kGTLRAuthScopeDataPortabilityMyactivityMaps * @c kGTLRAuthScopeDataPortabilityMyactivityMyadcenter * @c kGTLRAuthScopeDataPortabilityMyactivityPlay @@ -354,6 +357,7 @@ NS_ASSUME_NONNULL_BEGIN * @c kGTLRAuthScopeDataPortabilityMapsQuestionsAnswers * @c kGTLRAuthScopeDataPortabilityMapsReviews * @c kGTLRAuthScopeDataPortabilityMapsStarredPlaces + * @c kGTLRAuthScopeDataPortabilityMapsVehicleProfile * @c kGTLRAuthScopeDataPortabilityMyactivityMaps * @c kGTLRAuthScopeDataPortabilityMyactivityMyadcenter * @c kGTLRAuthScopeDataPortabilityMyactivityPlay @@ -458,6 +462,7 @@ NS_ASSUME_NONNULL_BEGIN * @c kGTLRAuthScopeDataPortabilityMapsQuestionsAnswers * @c kGTLRAuthScopeDataPortabilityMapsReviews * @c kGTLRAuthScopeDataPortabilityMapsStarredPlaces + * @c kGTLRAuthScopeDataPortabilityMapsVehicleProfile * @c kGTLRAuthScopeDataPortabilityMyactivityMaps * @c kGTLRAuthScopeDataPortabilityMyactivityMyadcenter * @c kGTLRAuthScopeDataPortabilityMyactivityPlay @@ -551,6 +556,7 @@ NS_ASSUME_NONNULL_BEGIN * @c kGTLRAuthScopeDataPortabilityMapsQuestionsAnswers * @c kGTLRAuthScopeDataPortabilityMapsReviews * @c kGTLRAuthScopeDataPortabilityMapsStarredPlaces + * @c kGTLRAuthScopeDataPortabilityMapsVehicleProfile * @c kGTLRAuthScopeDataPortabilityMyactivityMaps * @c kGTLRAuthScopeDataPortabilityMyactivityMyadcenter * @c kGTLRAuthScopeDataPortabilityMyactivityPlay diff --git a/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityService.h b/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityService.h index 25942c8bb..58a1d59bb 100644 --- a/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityService.h +++ b/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityService.h @@ -169,6 +169,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityMapsReviews; * Value "https://www.googleapis.com/auth/dataportability.maps.starred_places" */ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityMapsStarredPlaces; +/** + * Authorization scope: Move a copy of your vehicle profile on Maps + * + * Value "https://www.googleapis.com/auth/dataportability.maps.vehicle_profile" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityMapsVehicleProfile; /** * Authorization scope: Move a copy of your Maps activity * diff --git a/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m b/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m index 58422be46..fdcf96858 100644 --- a/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m +++ b/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceObjects.m @@ -18,6 +18,7 @@ NSString * const kGTLRDatabaseMigrationService_AlloyDbSettings_DatabaseVersion_Postgres14 = @"POSTGRES_14"; NSString * const kGTLRDatabaseMigrationService_AlloyDbSettings_DatabaseVersion_Postgres15 = @"POSTGRES_15"; NSString * const kGTLRDatabaseMigrationService_AlloyDbSettings_DatabaseVersion_Postgres16 = @"POSTGRES_16"; +NSString * const kGTLRDatabaseMigrationService_AlloyDbSettings_DatabaseVersion_Postgres17 = @"POSTGRES_17"; // GTLRDatabaseMigrationService_AuditLogConfig.logType NSString * const kGTLRDatabaseMigrationService_AuditLogConfig_LogType_AdminRead = @"ADMIN_READ"; @@ -2057,8 +2058,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRDatabaseMigrationService_PrivateConnection -@dynamic createTime, displayName, error, labels, name, satisfiesPzi, - satisfiesPzs, state, updateTime, vpcPeeringConfig; +@dynamic createTime, displayName, error, labels, name, pscInterfaceConfig, + satisfiesPzi, satisfiesPzs, state, updateTime, vpcPeeringConfig; @end @@ -2106,6 +2107,16 @@ @implementation GTLRDatabaseMigrationService_PromoteMigrationJobRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRDatabaseMigrationService_PscInterfaceConfig +// + +@implementation GTLRDatabaseMigrationService_PscInterfaceConfig +@dynamic networkAttachment; +@end + + // ---------------------------------------------------------------------------- // // GTLRDatabaseMigrationService_RestartMigrationJobRequest diff --git a/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceQuery.m b/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceQuery.m index 674f24a95..73b7b4a18 100644 --- a/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceQuery.m +++ b/Sources/GeneratedServices/DatabaseMigrationService/GTLRDatabaseMigrationServiceQuery.m @@ -1459,7 +1459,7 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRDatabaseMigrationServiceQuery_ProjectsLocationsPrivateConnectionsCreate -@dynamic parent, privateConnectionId, requestId, skipValidation; +@dynamic parent, privateConnectionId, requestId, skipValidation, validateOnly; + (instancetype)queryWithObject:(GTLRDatabaseMigrationService_PrivateConnection *)object parent:(NSString *)parent { diff --git a/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h index bee9a78fc..cde58d399 100644 --- a/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h +++ b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceObjects.h @@ -110,6 +110,7 @@ @class GTLRDatabaseMigrationService_PrivateConnection_Labels; @class GTLRDatabaseMigrationService_PrivateConnectivity; @class GTLRDatabaseMigrationService_PrivateServiceConnectConnectivity; +@class GTLRDatabaseMigrationService_PscInterfaceConfig; @class GTLRDatabaseMigrationService_ReverseSshConnectivity; @class GTLRDatabaseMigrationService_RoundToScale; @class GTLRDatabaseMigrationService_RulesFile; @@ -201,6 +202,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_AlloyDbSettings * Value: "POSTGRES_16" */ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_AlloyDbSettings_DatabaseVersion_Postgres16; +/** + * The database version is Postgres 17. + * + * Value: "POSTGRES_17" + */ +FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_AlloyDbSettings_DatabaseVersion_Postgres17; // ---------------------------------------------------------------------------- // GTLRDatabaseMigrationService_AuditLogConfig.logType @@ -2622,6 +2629,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter * The database version is Postgres 15. (Value: "POSTGRES_15") * @arg @c kGTLRDatabaseMigrationService_AlloyDbSettings_DatabaseVersion_Postgres16 * The database version is Postgres 16. (Value: "POSTGRES_16") + * @arg @c kGTLRDatabaseMigrationService_AlloyDbSettings_DatabaseVersion_Postgres17 + * The database version is Postgres 17. (Value: "POSTGRES_17") */ @property(nonatomic, copy, nullable) NSString *databaseVersion; @@ -6878,6 +6887,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter /** The name of the resource. */ @property(nonatomic, copy, nullable) NSString *name; +/** PSC Interface configuration. */ +@property(nonatomic, strong, nullable) GTLRDatabaseMigrationService_PscInterfaceConfig *pscInterfaceConfig; + /** * Output only. Reserved for future use. * @@ -6978,6 +6990,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationService_ValueListFilter @end +/** + * The PSC Interface configuration is used to create PSC Interface between + * DMS's internal VPC and the consumer's PSC. + */ +@interface GTLRDatabaseMigrationService_PscInterfaceConfig : GTLRObject + +/** + * Required. Fully qualified name of the Network Attachment that DMS will + * connect to. Format: + * `projects/{{project}}/regions/{{region}}/networkAttachments/{{name}}` + */ +@property(nonatomic, copy, nullable) NSString *networkAttachment; + +@end + + /** * Request message for 'RestartMigrationJob' request. */ diff --git a/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceQuery.h b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceQuery.h index 718f71172..418baabed 100644 --- a/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceQuery.h +++ b/Sources/GeneratedServices/DatabaseMigrationService/Public/GoogleAPIClientForREST/GTLRDatabaseMigrationServiceQuery.h @@ -2633,6 +2633,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDatabaseMigrationServiceViewDatabaseEnti /** Optional. If set to true, will skip validations. */ @property(nonatomic, assign) BOOL skipValidation; +/** + * Optional. For PSC Interface only - get the tenant project before creating + * the resource. + */ +@property(nonatomic, assign) BOOL validateOnly; + /** * Fetches a @c GTLRDatabaseMigrationService_Operation. * diff --git a/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformQuery.h b/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformQuery.h index 140e58561..d2147320e 100644 --- a/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformQuery.h +++ b/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformQuery.h @@ -428,9 +428,12 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRDataformQuery_ProjectsLocationsRepositoriesDelete : GTLRDataformQuery /** - * Optional. If set to true, any child resources of this repository will also - * be deleted. (Otherwise, the request will only succeed if the repository has - * no child resources.) + * Optional. If set to true, child resources of this repository (compilation + * results and workflow invocations) will also be deleted. Otherwise, the + * request will only succeed if the repository has no child resources. + * **Note:** *This flag doesn't support deletion of workspaces, release configs + * or workflow configs. If any of such resources exists in the repository, the + * request will fail.*. */ @property(nonatomic, assign) BOOL force; diff --git a/Sources/GeneratedServices/Dataproc/GTLRDataprocObjects.m b/Sources/GeneratedServices/Dataproc/GTLRDataprocObjects.m index 975335bd4..9a88ac297 100644 --- a/Sources/GeneratedServices/Dataproc/GTLRDataprocObjects.m +++ b/Sources/GeneratedServices/Dataproc/GTLRDataprocObjects.m @@ -57,6 +57,11 @@ NSString * const kGTLRDataproc_BatchOperationMetadata_OperationType_Batch = @"BATCH"; NSString * const kGTLRDataproc_BatchOperationMetadata_OperationType_BatchOperationTypeUnspecified = @"BATCH_OPERATION_TYPE_UNSPECIFIED"; +// GTLRDataproc_ClusterConfig.clusterTier +NSString * const kGTLRDataproc_ClusterConfig_ClusterTier_ClusterTierPremium = @"CLUSTER_TIER_PREMIUM"; +NSString * const kGTLRDataproc_ClusterConfig_ClusterTier_ClusterTierStandard = @"CLUSTER_TIER_STANDARD"; +NSString * const kGTLRDataproc_ClusterConfig_ClusterTier_ClusterTierUnspecified = @"CLUSTER_TIER_UNSPECIFIED"; + // GTLRDataproc_ClusterConfig.clusterType NSString * const kGTLRDataproc_ClusterConfig_ClusterType_ClusterTypeUnspecified = @"CLUSTER_TYPE_UNSPECIFIED"; NSString * const kGTLRDataproc_ClusterConfig_ClusterType_SingleNode = @"SINGLE_NODE"; @@ -892,8 +897,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRDataproc_ClusterConfig -@dynamic autoscalingConfig, auxiliaryNodeGroups, clusterType, configBucket, - dataprocMetricConfig, encryptionConfig, endpointConfig, +@dynamic autoscalingConfig, auxiliaryNodeGroups, clusterTier, clusterType, + configBucket, dataprocMetricConfig, encryptionConfig, endpointConfig, gceClusterConfig, gkeClusterConfig, initializationActions, lifecycleConfig, masterConfig, metastoreConfig, secondaryWorkerConfig, securityConfig, softwareConfig, tempBucket, workerConfig; @@ -2101,7 +2106,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRDataproc_LifecycleConfig -@dynamic autoDeleteTime, autoDeleteTtl, idleDeleteTtl, idleStartTime; +@dynamic autoDeleteTime, autoDeleteTtl, autoStopTime, autoStopTtl, + idleDeleteTtl, idleStartTime, idleStopTtl; @end diff --git a/Sources/GeneratedServices/Dataproc/GTLRDataprocQuery.m b/Sources/GeneratedServices/Dataproc/GTLRDataprocQuery.m index eda5ced05..f4e07adc1 100644 --- a/Sources/GeneratedServices/Dataproc/GTLRDataprocQuery.m +++ b/Sources/GeneratedServices/Dataproc/GTLRDataprocQuery.m @@ -1250,7 +1250,14 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRDataprocQuery_ProjectsLocationsSessionsSparkApplicationsSummarizeJobs -@dynamic name, parent; +@dynamic jobIds, name, parent; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"jobIds" : [NSNumber class] + }; + return map; +} + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; @@ -1288,7 +1295,14 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRDataprocQuery_ProjectsLocationsSessionsSparkApplicationsSummarizeStages -@dynamic name, parent; +@dynamic name, parent, stageIds; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"stageIds" : [NSNumber class] + }; + return map; +} + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; diff --git a/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h b/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h index 994ffc29e..c70d92aeb 100644 --- a/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h +++ b/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h @@ -357,13 +357,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_AuthenticationConfig_UserWorklo */ FOUNDATION_EXTERN NSString * const kGTLRDataproc_AutoscalingPolicy_ClusterType_ClusterTypeUnspecified; /** - * Standard dataproc cluster with minimum 2 primary workers. + * Standard dataproc cluster with a minimum of two primary workers. * * Value: "STANDARD" */ FOUNDATION_EXTERN NSString * const kGTLRDataproc_AutoscalingPolicy_ClusterType_Standard; /** - * Clusters that can be scaled down to zero worker nodes. + * Clusters that can use only secondary workers and be scaled down to zero + * secondary worker nodes. * * Value: "ZERO_SCALE" */ @@ -471,6 +472,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_BatchOperationMetadata_Operatio */ FOUNDATION_EXTERN NSString * const kGTLRDataproc_BatchOperationMetadata_OperationType_BatchOperationTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDataproc_ClusterConfig.clusterTier + +/** + * Premium dataproc cluster. + * + * Value: "CLUSTER_TIER_PREMIUM" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataproc_ClusterConfig_ClusterTier_ClusterTierPremium; +/** + * Standard dataproc cluster. + * + * Value: "CLUSTER_TIER_STANDARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataproc_ClusterConfig_ClusterTier_ClusterTierStandard; +/** + * Not set. Works the same as CLUSTER_TIER_STANDARD. + * + * Value: "CLUSTER_TIER_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataproc_ClusterConfig_ClusterTier_ClusterTierUnspecified; + // ---------------------------------------------------------------------------- // GTLRDataproc_ClusterConfig.clusterType @@ -493,7 +516,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_ClusterConfig_ClusterType_Singl */ FOUNDATION_EXTERN NSString * const kGTLRDataproc_ClusterConfig_ClusterType_Standard; /** - * Clusters that can be scaled down to zero worker nodes. + * Clusters that can use only secondary workers and be scaled down to zero + * secondary worker nodes. * * Value: "ZERO_SCALE" */ @@ -2157,9 +2181,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted * @arg @c kGTLRDataproc_AutoscalingPolicy_ClusterType_ClusterTypeUnspecified * Not set. (Value: "CLUSTER_TYPE_UNSPECIFIED") * @arg @c kGTLRDataproc_AutoscalingPolicy_ClusterType_Standard Standard - * dataproc cluster with minimum 2 primary workers. (Value: "STANDARD") + * dataproc cluster with a minimum of two primary workers. (Value: + * "STANDARD") * @arg @c kGTLRDataproc_AutoscalingPolicy_ClusterType_ZeroScale Clusters - * that can be scaled down to zero worker nodes. (Value: "ZERO_SCALE") + * that can use only secondary workers and be scaled down to zero + * secondary worker nodes. (Value: "ZERO_SCALE") */ @property(nonatomic, copy, nullable) NSString *clusterType; @@ -2727,6 +2753,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted /** Optional. The node group settings. */ @property(nonatomic, strong, nullable) NSArray *auxiliaryNodeGroups; +/** + * Optional. The tier of the cluster. + * + * Likely values: + * @arg @c kGTLRDataproc_ClusterConfig_ClusterTier_ClusterTierPremium Premium + * dataproc cluster. (Value: "CLUSTER_TIER_PREMIUM") + * @arg @c kGTLRDataproc_ClusterConfig_ClusterTier_ClusterTierStandard + * Standard dataproc cluster. (Value: "CLUSTER_TIER_STANDARD") + * @arg @c kGTLRDataproc_ClusterConfig_ClusterTier_ClusterTierUnspecified Not + * set. Works the same as CLUSTER_TIER_STANDARD. (Value: + * "CLUSTER_TIER_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *clusterTier; + /** * Optional. The type of the cluster. * @@ -2739,7 +2779,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted * @arg @c kGTLRDataproc_ClusterConfig_ClusterType_Standard Standard dataproc * cluster with a minimum of two primary workers. (Value: "STANDARD") * @arg @c kGTLRDataproc_ClusterConfig_ClusterType_ZeroScale Clusters that - * can be scaled down to zero worker nodes. (Value: "ZERO_SCALE") + * can use only secondary workers and be scaled down to zero secondary + * worker nodes. (Value: "ZERO_SCALE") */ @property(nonatomic, copy, nullable) NSString *clusterType; @@ -5964,6 +6005,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted */ @property(nonatomic, strong, nullable) GTLRDuration *autoDeleteTtl; +/** + * Optional. The time when cluster will be auto-stopped (see JSON + * representation of Timestamp + * (https://developers.google.com/protocol-buffers/docs/proto3#json)). + */ +@property(nonatomic, strong, nullable) GTLRDateTime *autoStopTime; + +/** + * Optional. The lifetime duration of the cluster. The cluster will be + * auto-stopped at the end of this period, calculated from the time of + * submission of the create or update cluster request. Minimum value is 10 + * minutes; maximum value is 14 days (see JSON representation of Duration + * (https://developers.google.com/protocol-buffers/docs/proto3#json)). + */ +@property(nonatomic, strong, nullable) GTLRDuration *autoStopTtl; + /** * Optional. The duration to keep the cluster alive while idling (when no jobs * are running). Passing this threshold will cause the cluster to be deleted. @@ -5981,6 +6038,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted */ @property(nonatomic, strong, nullable) GTLRDateTime *idleStartTime; +/** + * Optional. The duration to keep the cluster started while idling (when no + * jobs are running). Passing this threshold will cause the cluster to be + * stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON + * representation of Duration + * (https://developers.google.com/protocol-buffers/docs/proto3#json)). + */ +@property(nonatomic, strong, nullable) GTLRDuration *idleStopTtl; + @end diff --git a/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocQuery.h b/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocQuery.h index 42996c0cd..39572be1b 100644 --- a/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocQuery.h +++ b/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocQuery.h @@ -2949,6 +2949,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocTaskStatusTaskStatusUnspecified; */ @interface GTLRDataprocQuery_ProjectsLocationsSessionsSparkApplicationsSummarizeJobs : GTLRDataprocQuery +/** + * Optional. List of Job IDs to filter by if provided. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSArray *jobIds; + /** * Required. The fully qualified name of the session to retrieve in the format * "projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID" @@ -3033,6 +3040,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocTaskStatusTaskStatusUnspecified; /** Required. Parent (Session) resource reference. */ @property(nonatomic, copy, nullable) NSString *parent; +/** + * Optional. List of Stage IDs to filter by if provided. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSArray *stageIds; + /** * Fetches a @c GTLRDataproc_SummarizeSessionSparkApplicationStagesResponse. * diff --git a/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m b/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m index 985107656..7c303fe07 100644 --- a/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m +++ b/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m @@ -1424,7 +1424,7 @@ @implementation GTLRDatastream_SourceConfig // @implementation GTLRDatastream_SourceHierarchyDatasets -@dynamic datasetTemplate; +@dynamic datasetTemplate, projectId; @end diff --git a/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h b/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h index ef8078952..dc4ce2672 100644 --- a/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h +++ b/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h @@ -2916,6 +2916,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni /** The dataset template to use for dynamic dataset creation. */ @property(nonatomic, strong, nullable) GTLRDatastream_DatasetTemplate *datasetTemplate; +/** + * Optional. The project id of the BigQuery dataset. If not specified, the + * project will be inferred from the stream resource. + */ +@property(nonatomic, copy, nullable) NSString *projectId; + @end diff --git a/Sources/GeneratedServices/DeveloperConnect/GTLRDeveloperConnectObjects.m b/Sources/GeneratedServices/DeveloperConnect/GTLRDeveloperConnectObjects.m index a04802ca9..75268b793 100644 --- a/Sources/GeneratedServices/DeveloperConnect/GTLRDeveloperConnectObjects.m +++ b/Sources/GeneratedServices/DeveloperConnect/GTLRDeveloperConnectObjects.m @@ -18,6 +18,12 @@ NSString * const kGTLRDeveloperConnect_GitHubConfig_GithubApp_Firebase = @"FIREBASE"; NSString * const kGTLRDeveloperConnect_GitHubConfig_GithubApp_GitHubAppUnspecified = @"GIT_HUB_APP_UNSPECIFIED"; +// GTLRDeveloperConnect_InsightsConfig.state +NSString * const kGTLRDeveloperConnect_InsightsConfig_State_Complete = @"COMPLETE"; +NSString * const kGTLRDeveloperConnect_InsightsConfig_State_Error = @"ERROR"; +NSString * const kGTLRDeveloperConnect_InsightsConfig_State_Pending = @"PENDING"; +NSString * const kGTLRDeveloperConnect_InsightsConfig_State_StateUnspecified = @"STATE_UNSPECIFIED"; + // GTLRDeveloperConnect_InstallationState.stage NSString * const kGTLRDeveloperConnect_InstallationState_Stage_Complete = @"COMPLETE"; NSString * const kGTLRDeveloperConnect_InstallationState_Stage_PendingCreateApp = @"PENDING_CREATE_APP"; @@ -36,6 +42,11 @@ NSString * const kGTLRDeveloperConnect_ProviderOAuthConfig_SystemProviderId_Sentry = @"SENTRY"; NSString * const kGTLRDeveloperConnect_ProviderOAuthConfig_SystemProviderId_SystemProviderUnspecified = @"SYSTEM_PROVIDER_UNSPECIFIED"; +// GTLRDeveloperConnect_RuntimeConfig.state +NSString * const kGTLRDeveloperConnect_RuntimeConfig_State_Linked = @"LINKED"; +NSString * const kGTLRDeveloperConnect_RuntimeConfig_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRDeveloperConnect_RuntimeConfig_State_Unlinked = @"UNLINKED"; + // ---------------------------------------------------------------------------- // // GTLRDeveloperConnect_AccountConnector @@ -80,6 +91,26 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_AppHubWorkload +// + +@implementation GTLRDeveloperConnect_AppHubWorkload +@dynamic criticality, environment, workload; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_ArtifactConfig +// + +@implementation GTLRDeveloperConnect_ArtifactConfig +@dynamic googleArtifactAnalysis, googleArtifactRegistry, uri; +@end + + // ---------------------------------------------------------------------------- // // GTLRDeveloperConnect_BitbucketCloudConfig @@ -413,6 +444,36 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_GKEWorkload +// + +@implementation GTLRDeveloperConnect_GKEWorkload +@dynamic cluster, deployment; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_GoogleArtifactAnalysis +// + +@implementation GTLRDeveloperConnect_GoogleArtifactAnalysis +@dynamic projectId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_GoogleArtifactRegistry +// + +@implementation GTLRDeveloperConnect_GoogleArtifactRegistry +@dynamic artifactRegistryPackage, projectId; +@end + + // ---------------------------------------------------------------------------- // // GTLRDeveloperConnect_HttpBody @@ -445,6 +506,55 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_InsightsConfig +// + +@implementation GTLRDeveloperConnect_InsightsConfig +@dynamic annotations, appHubApplication, artifactConfigs, createTime, errors, + labels, name, reconciling, runtimeConfigs, state, updateTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"artifactConfigs" : [GTLRDeveloperConnect_ArtifactConfig class], + @"errors" : [GTLRDeveloperConnect_Status class], + @"runtimeConfigs" : [GTLRDeveloperConnect_RuntimeConfig class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_InsightsConfig_Annotations +// + +@implementation GTLRDeveloperConnect_InsightsConfig_Annotations + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_InsightsConfig_Labels +// + +@implementation GTLRDeveloperConnect_InsightsConfig_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDeveloperConnect_Installation @@ -549,6 +659,29 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_ListInsightsConfigsResponse +// + +@implementation GTLRDeveloperConnect_ListInsightsConfigsResponse +@dynamic insightsConfigs, nextPageToken, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"insightsConfigs" : [GTLRDeveloperConnect_InsightsConfig class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"insightsConfigs"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDeveloperConnect_ListLocationsResponse @@ -781,6 +914,16 @@ @implementation GTLRDeveloperConnect_ProviderOAuthConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRDeveloperConnect_RuntimeConfig +// + +@implementation GTLRDeveloperConnect_RuntimeConfig +@dynamic appHubWorkload, gkeWorkload, state, uri; +@end + + // ---------------------------------------------------------------------------- // // GTLRDeveloperConnect_ServiceDirectoryConfig diff --git a/Sources/GeneratedServices/DeveloperConnect/GTLRDeveloperConnectQuery.m b/Sources/GeneratedServices/DeveloperConnect/GTLRDeveloperConnectQuery.m index 42a45622f..5cab960aa 100644 --- a/Sources/GeneratedServices/DeveloperConnect/GTLRDeveloperConnectQuery.m +++ b/Sources/GeneratedServices/DeveloperConnect/GTLRDeveloperConnectQuery.m @@ -718,6 +718,121 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRDeveloperConnectQuery_ProjectsLocationsInsightsConfigsCreate + +@dynamic insightsConfigId, parent, validateOnly; + ++ (instancetype)queryWithObject:(GTLRDeveloperConnect_InsightsConfig *)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}/insightsConfigs"; + GTLRDeveloperConnectQuery_ProjectsLocationsInsightsConfigsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRDeveloperConnect_Operation class]; + query.loggingName = @"developerconnect.projects.locations.insightsConfigs.create"; + return query; +} + +@end + +@implementation GTLRDeveloperConnectQuery_ProjectsLocationsInsightsConfigsDelete + +@dynamic ETag, name, requestId, validateOnly; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDeveloperConnectQuery_ProjectsLocationsInsightsConfigsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDeveloperConnect_Operation class]; + query.loggingName = @"developerconnect.projects.locations.insightsConfigs.delete"; + return query; +} + +@end + +@implementation GTLRDeveloperConnectQuery_ProjectsLocationsInsightsConfigsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDeveloperConnectQuery_ProjectsLocationsInsightsConfigsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDeveloperConnect_InsightsConfig class]; + query.loggingName = @"developerconnect.projects.locations.insightsConfigs.get"; + return query; +} + +@end + +@implementation GTLRDeveloperConnectQuery_ProjectsLocationsInsightsConfigsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/insightsConfigs"; + GTLRDeveloperConnectQuery_ProjectsLocationsInsightsConfigsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRDeveloperConnect_ListInsightsConfigsResponse class]; + query.loggingName = @"developerconnect.projects.locations.insightsConfigs.list"; + return query; +} + +@end + +@implementation GTLRDeveloperConnectQuery_ProjectsLocationsInsightsConfigsPatch + +@dynamic allowMissing, name, requestId, validateOnly; + ++ (instancetype)queryWithObject:(GTLRDeveloperConnect_InsightsConfig *)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}"; + GTLRDeveloperConnectQuery_ProjectsLocationsInsightsConfigsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDeveloperConnect_Operation class]; + query.loggingName = @"developerconnect.projects.locations.insightsConfigs.patch"; + return query; +} + +@end + @implementation GTLRDeveloperConnectQuery_ProjectsLocationsList @dynamic extraLocationTypes, filter, name, pageSize, pageToken; diff --git a/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectObjects.h b/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectObjects.h index 82cd8fbec..9a2f44243 100644 --- a/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectObjects.h +++ b/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectObjects.h @@ -17,6 +17,8 @@ @class GTLRDeveloperConnect_AccountConnector; @class GTLRDeveloperConnect_AccountConnector_Annotations; @class GTLRDeveloperConnect_AccountConnector_Labels; +@class GTLRDeveloperConnect_AppHubWorkload; +@class GTLRDeveloperConnect_ArtifactConfig; @class GTLRDeveloperConnect_BitbucketCloudConfig; @class GTLRDeveloperConnect_BitbucketDataCenterConfig; @class GTLRDeveloperConnect_Connection; @@ -32,8 +34,14 @@ @class GTLRDeveloperConnect_GitRepositoryLink; @class GTLRDeveloperConnect_GitRepositoryLink_Annotations; @class GTLRDeveloperConnect_GitRepositoryLink_Labels; +@class GTLRDeveloperConnect_GKEWorkload; +@class GTLRDeveloperConnect_GoogleArtifactAnalysis; +@class GTLRDeveloperConnect_GoogleArtifactRegistry; @class GTLRDeveloperConnect_HttpBody; @class GTLRDeveloperConnect_HttpBody_Extensions_Item; +@class GTLRDeveloperConnect_InsightsConfig; +@class GTLRDeveloperConnect_InsightsConfig_Annotations; +@class GTLRDeveloperConnect_InsightsConfig_Labels; @class GTLRDeveloperConnect_Installation; @class GTLRDeveloperConnect_InstallationState; @class GTLRDeveloperConnect_LinkableGitRepository; @@ -45,6 +53,7 @@ @class GTLRDeveloperConnect_Operation_Metadata; @class GTLRDeveloperConnect_Operation_Response; @class GTLRDeveloperConnect_ProviderOAuthConfig; +@class GTLRDeveloperConnect_RuntimeConfig; @class GTLRDeveloperConnect_ServiceDirectoryConfig; @class GTLRDeveloperConnect_Status; @class GTLRDeveloperConnect_Status_Details_Item; @@ -83,6 +92,34 @@ FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_GitHubConfig_GithubApp_ */ FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_GitHubConfig_GithubApp_GitHubAppUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDeveloperConnect_InsightsConfig.state + +/** + * The initial discovery process is complete. + * + * Value: "COMPLETE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_InsightsConfig_State_Complete; +/** + * The InsightsConfig is in an error state. + * + * Value: "ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_InsightsConfig_State_Error; +/** + * The InsightsConfig is pending application discovery/runtime discovery. + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_InsightsConfig_State_Pending; +/** + * No state specified. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_InsightsConfig_State_StateUnspecified; + // ---------------------------------------------------------------------------- // GTLRDeveloperConnect_InstallationState.stage @@ -181,6 +218,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_ProviderOAuthConfig_Sys */ FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_ProviderOAuthConfig_SystemProviderId_SystemProviderUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDeveloperConnect_RuntimeConfig.state + +/** + * The runtime configuration has been linked to the InsightsConfig. + * + * Value: "LINKED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_RuntimeConfig_State_Linked; +/** + * No state specified. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_RuntimeConfig_State_StateUnspecified; +/** + * The runtime configuration has been unlinked to the InsightsConfig. + * + * Value: "UNLINKED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_RuntimeConfig_State_Unlinked; + /** * AccountConnector encapsulates what a platform administrator needs to * configure for users to connect to the service providers, which includes, @@ -247,6 +306,47 @@ FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_ProviderOAuthConfig_Sys @end +/** + * AppHubWorkload represents the App Hub Workload. + */ +@interface GTLRDeveloperConnect_AppHubWorkload : GTLRObject + +/** Output only. The criticality of the App Hub Workload. */ +@property(nonatomic, copy, nullable) NSString *criticality; + +/** Output only. The environment of the App Hub Workload. */ +@property(nonatomic, copy, nullable) NSString *environment; + +/** + * Required. Output only. Immutable. The name of the App Hub Workload. Format: + * `projects/{project}/locations/{location}/applications/{application}/workloads/{workload}`. + */ +@property(nonatomic, copy, nullable) NSString *workload; + +@end + + +/** + * The artifact config of the artifact that is deployed. + */ +@interface GTLRDeveloperConnect_ArtifactConfig : GTLRObject + +/** Optional. Set if the artifact metadata is stored in Artifact analysis. */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_GoogleArtifactAnalysis *googleArtifactAnalysis; + +/** Optional. Set if the artifact is stored in Artifact regsitry. */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_GoogleArtifactRegistry *googleArtifactRegistry; + +/** + * Required. Immutable. The URI of the artifact that is deployed. e.g. + * `us-docker.pkg.dev/my-project/my-repo/image`. The URI does not include the + * tag / digest because it captures a lineage of artifacts. + */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + + /** * Configuration for connections to an instance of Bitbucket Cloud. */ @@ -928,6 +1028,51 @@ FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_ProviderOAuthConfig_Sys @end +/** + * GKEWorkload represents the Google Kubernetes Engine runtime. + */ +@interface GTLRDeveloperConnect_GKEWorkload : GTLRObject + +/** + * Required. Immutable. The name of the GKE cluster. Format: + * `projects/{project}/locations/{location}/clusters/{cluster}`. + */ +@property(nonatomic, copy, nullable) NSString *cluster; + +/** + * Output only. The name of the GKE deployment. Format: + * `projects/{project}/locations/{location}/clusters/{cluster}/namespaces/{namespace}/deployments/{deployment}`. + */ +@property(nonatomic, copy, nullable) NSString *deployment; + +@end + + +/** + * Google Artifact Analysis configurations. + */ +@interface GTLRDeveloperConnect_GoogleArtifactAnalysis : GTLRObject + +/** Required. The project id of the project where the provenance is stored. */ +@property(nonatomic, copy, nullable) NSString *projectId; + +@end + + +/** + * Google Artifact Registry configurations. + */ +@interface GTLRDeveloperConnect_GoogleArtifactRegistry : GTLRObject + +/** Required. Immutable. The name of the artifact registry package. */ +@property(nonatomic, copy, nullable) NSString *artifactRegistryPackage; + +/** Required. The host project of Artifact Registry. */ +@property(nonatomic, copy, nullable) NSString *projectId; + +@end + + /** * Message that represents an arbitrary HTTP body. It should only be used for * payload formats that can't be represented as JSON, such as raw binary or an @@ -983,6 +1128,116 @@ FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_ProviderOAuthConfig_Sys @end +/** + * The InsightsConfig resource is the core configuration object to capture + * events from your Software Development Lifecycle. It acts as the central hub + * for managing how Developer connect understands your application, its runtime + * environments, and the artifacts deployed within them. + */ +@interface GTLRDeveloperConnect_InsightsConfig : GTLRObject + +/** + * Optional. User specified annotations. See + * https://google.aip.dev/148#annotations for more details such as format and + * size limitations. + */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_InsightsConfig_Annotations *annotations; + +/** + * Optional. The name of the App Hub Application. Format: + * projects/{project}/locations/{location}/applications/{application} + */ +@property(nonatomic, copy, nullable) NSString *appHubApplication; + +/** + * Optional. The artifact configurations of the artifacts that are deployed. + */ +@property(nonatomic, strong, nullable) NSArray *artifactConfigs; + +/** Output only. [Output only] Create timestamp */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Output only. Any errors that occurred while setting up the InsightsConfig. + * Each error will be in the format: `field_name: error_message`, e.g. + * GetAppHubApplication: Permission denied while getting App Hub application. + * Please grant permissions to the P4SA. + */ +@property(nonatomic, strong, nullable) NSArray *errors; + +/** Optional. Set of labels associated with an InsightsConfig. */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_InsightsConfig_Labels *labels; + +/** + * Identifier. The name of the InsightsConfig. Format: + * projects/{project}/locations/{location}/insightsConfigs/{insightsConfig} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to + * true if the current state of InsightsConfig does not match the user's + * intended state, and the service is actively updating the resource to + * reconcile them. This can happen due to user-triggered updates or system + * actions like failover or maintenance. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *reconciling; + +/** + * Output only. The runtime configurations where the application is deployed. + */ +@property(nonatomic, strong, nullable) NSArray *runtimeConfigs; + +/** + * Optional. Output only. The state of the InsightsConfig. + * + * Likely values: + * @arg @c kGTLRDeveloperConnect_InsightsConfig_State_Complete The initial + * discovery process is complete. (Value: "COMPLETE") + * @arg @c kGTLRDeveloperConnect_InsightsConfig_State_Error The + * InsightsConfig is in an error state. (Value: "ERROR") + * @arg @c kGTLRDeveloperConnect_InsightsConfig_State_Pending The + * InsightsConfig is pending application discovery/runtime discovery. + * (Value: "PENDING") + * @arg @c kGTLRDeveloperConnect_InsightsConfig_State_StateUnspecified No + * state specified. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. [Output only] Update timestamp */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. User specified annotations. See + * https://google.aip.dev/148#annotations for more details such as format and + * size limitations. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRDeveloperConnect_InsightsConfig_Annotations : GTLRObject +@end + + +/** + * Optional. Set of labels associated with an InsightsConfig. + * + * @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 GTLRDeveloperConnect_InsightsConfig_Labels : GTLRObject +@end + + /** * Represents an installation of the GitHub App. */ @@ -1141,6 +1396,33 @@ FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_ProviderOAuthConfig_Sys @end +/** + * Request for response to listing InsightsConfigs. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "insightsConfigs" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRDeveloperConnect_ListInsightsConfigsResponse : GTLRCollectionObject + +/** + * The list of InsightsConfigs. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *insightsConfigs; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + /** * The response message for Locations.ListLocations. * @@ -1518,6 +1800,40 @@ FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_ProviderOAuthConfig_Sys @end +/** + * RuntimeConfig represents the runtimes where the application is deployed. + */ +@interface GTLRDeveloperConnect_RuntimeConfig : GTLRObject + +/** Output only. App Hub Workload. */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_AppHubWorkload *appHubWorkload; + +/** Output only. Google Kubernetes Engine runtime. */ +@property(nonatomic, strong, nullable) GTLRDeveloperConnect_GKEWorkload *gkeWorkload; + +/** + * Output only. The state of the Runtime. + * + * Likely values: + * @arg @c kGTLRDeveloperConnect_RuntimeConfig_State_Linked The runtime + * configuration has been linked to the InsightsConfig. (Value: "LINKED") + * @arg @c kGTLRDeveloperConnect_RuntimeConfig_State_StateUnspecified No + * state specified. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDeveloperConnect_RuntimeConfig_State_Unlinked The runtime + * configuration has been unlinked to the InsightsConfig. (Value: + * "UNLINKED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Required. Immutable. The URI of the runtime configuration. For GKE, this is + * the cluster name. For Cloud Run, this is the service name. + */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + + /** * ServiceDirectoryConfig represents Service Directory configuration for a * connection. diff --git a/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectQuery.h b/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectQuery.h index 2fbbcde84..250d3cc96 100644 --- a/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectQuery.h +++ b/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectQuery.h @@ -1320,6 +1320,230 @@ FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnectRefTypeTag; @end +/** + * Creates a new InsightsConfig in a given project and location. + * + * Method: developerconnect.projects.locations.insightsConfigs.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeDeveloperConnectCloudPlatform + */ +@interface GTLRDeveloperConnectQuery_ProjectsLocationsInsightsConfigsCreate : GTLRDeveloperConnectQuery + +/** Required. ID of the requesting InsightsConfig. */ +@property(nonatomic, copy, nullable) NSString *insightsConfigId; + +/** Required. Value for parent. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** Optional. If set, validate the request, but do not actually post it. */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRDeveloperConnect_Operation. + * + * Creates a new InsightsConfig in a given project and location. + * + * @param object The @c GTLRDeveloperConnect_InsightsConfig to include in the + * query. + * @param parent Required. Value for parent. + * + * @return GTLRDeveloperConnectQuery_ProjectsLocationsInsightsConfigsCreate + */ ++ (instancetype)queryWithObject:(GTLRDeveloperConnect_InsightsConfig *)object + parent:(NSString *)parent; + +@end + +/** + * Delete a single Insight. + * + * Method: developerconnect.projects.locations.insightsConfigs.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeDeveloperConnectCloudPlatform + */ +@interface GTLRDeveloperConnectQuery_ProjectsLocationsInsightsConfigsDelete : GTLRDeveloperConnectQuery + +/** + * Optional. This checksum is computed by the server based on the value of + * other fields, and may be sent on update and delete requests to ensure the + * client has an up-to-date value before proceeding. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** Required. Value for parent. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes after the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** Optional. If set, validate the request, but do not actually post it. */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRDeveloperConnect_Operation. + * + * Delete a single Insight. + * + * @param name Required. Value for parent. + * + * @return GTLRDeveloperConnectQuery_ProjectsLocationsInsightsConfigsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets details of a single Insight. + * + * Method: developerconnect.projects.locations.insightsConfigs.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeDeveloperConnectCloudPlatform + */ +@interface GTLRDeveloperConnectQuery_ProjectsLocationsInsightsConfigsGet : GTLRDeveloperConnectQuery + +/** Required. Name of the resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDeveloperConnect_InsightsConfig. + * + * Gets details of a single Insight. + * + * @param name Required. Name of the resource. + * + * @return GTLRDeveloperConnectQuery_ProjectsLocationsInsightsConfigsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists InsightsConfigs in a given project and location. + * + * Method: developerconnect.projects.locations.insightsConfigs.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeDeveloperConnectCloudPlatform + */ +@interface GTLRDeveloperConnectQuery_ProjectsLocationsInsightsConfigsList : GTLRDeveloperConnectQuery + +/** + * Optional. Filtering results. See https://google.aip.dev/160 for more + * details. Filter string, adhering to the rules in https://google.aip.dev/160. + * List only InsightsConfigs matching the filter. If filter is empty, all + * InsightsConfigs are listed. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Optional. Hint for how to order the results. */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. Requested page size. Server may return fewer items than requested. + * If unspecified, server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A token identifying a page of results the server should return. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. Parent value for ListInsightsConfigsRequest. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRDeveloperConnect_ListInsightsConfigsResponse. + * + * Lists InsightsConfigs in a given project and location. + * + * @param parent Required. Parent value for ListInsightsConfigsRequest. + * + * @return GTLRDeveloperConnectQuery_ProjectsLocationsInsightsConfigsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates the parameters of a single InsightsConfig. + * + * Method: developerconnect.projects.locations.insightsConfigs.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeDeveloperConnectCloudPlatform + */ +@interface GTLRDeveloperConnectQuery_ProjectsLocationsInsightsConfigsPatch : GTLRDeveloperConnectQuery + +/** + * Optional. If set to true, and the insightsConfig is not found a new + * insightsConfig will be created. In this situation `update_mask` is ignored. + * The creation will succeed only if the input insightsConfig has all the + * necessary information (e.g a github_config with both user_oauth_token and + * installation_id properties). + */ +@property(nonatomic, assign) BOOL allowMissing; + +/** + * Identifier. The name of the InsightsConfig. Format: + * projects/{project}/locations/{location}/insightsConfigs/{insightsConfig} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes after the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** Optional. If set, validate the request, but do not actually post it. */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRDeveloperConnect_Operation. + * + * Updates the parameters of a single InsightsConfig. + * + * @param object The @c GTLRDeveloperConnect_InsightsConfig to include in the + * query. + * @param name Identifier. The name of the InsightsConfig. Format: + * projects/{project}/locations/{location}/insightsConfigs/{insightsConfig} + * + * @return GTLRDeveloperConnectQuery_ProjectsLocationsInsightsConfigsPatch + */ ++ (instancetype)queryWithObject:(GTLRDeveloperConnect_InsightsConfig *)object + name:(NSString *)name; + +@end + /** * Lists information about the supported locations for this service. * diff --git a/Sources/GeneratedServices/Dfareporting/GTLRDfareportingObjects.m b/Sources/GeneratedServices/Dfareporting/GTLRDfareportingObjects.m index 0a12ee5d2..2f8e28924 100644 --- a/Sources/GeneratedServices/Dfareporting/GTLRDfareportingObjects.m +++ b/Sources/GeneratedServices/Dfareporting/GTLRDfareportingObjects.m @@ -2588,8 +2588,8 @@ @implementation GTLRDfareporting_Conversion dclid, encryptedUserId, encryptedUserIdCandidates, floodlightActivityId, floodlightConfigurationId, gclid, impressionId, kind, limitAdTracking, matchId, mobileDeviceId, nonPersonalizedAd, - ordinal, quantity, timestampMicros, treatmentForUnderage, - userIdentifiers, value; + ordinal, quantity, sessionAttributesEncoded, timestampMicros, + treatmentForUnderage, userIdentifiers, value; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingObjects.h b/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingObjects.h index 789ddd2bd..5ff90ed37 100644 --- a/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingObjects.h +++ b/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingObjects.h @@ -6000,8 +6000,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P /** - * Contains additional information about cart data. This field may only be used - * when calling batchinsert; it is not supported by batchupdate. + * *Beta:* This feature is currently in beta. Contains additional information + * about cart data. This field may only be used when calling batchinsert; it is + * not supported by batchupdate. Cart data reporting is only supported in + * SA360. [Learn more](https://support.google.com/sa360/topic/13425788) * * @note This class supports NSFastEnumeration and indexed subscripting over * its "items" property. @@ -6701,6 +6703,16 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P */ @property(nonatomic, strong, nullable) NSNumber *quantity; +/** + * Session attributes for the conversion, encoded as based64 bytes. This field + * may only be used when calling batchinsert; it is not supported by + * batchupdate. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *sessionAttributesEncoded; + /** * The timestamp of conversion, in Unix epoch micros. This is a required field. * @@ -8970,8 +8982,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P /** - * A custom floodlight variable. This field may only be used when calling - * batchinsert; it is not supported by batchupdate. + * A custom floodlight variable. Can be used in both batchinsert and + * batchupdate. Adding this in batchupdate will update or append the variable + * to the existing list. */ @interface GTLRDfareporting_CustomFloodlightVariable : GTLRObject diff --git a/Sources/GeneratedServices/Dialogflow/GTLRDialogflowObjects.m b/Sources/GeneratedServices/Dialogflow/GTLRDialogflowObjects.m index 685e134a1..2e42a83a2 100644 --- a/Sources/GeneratedServices/Dialogflow/GTLRDialogflowObjects.m +++ b/Sources/GeneratedServices/Dialogflow/GTLRDialogflowObjects.m @@ -1670,12 +1670,14 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3beta1FormParameterFillBe // @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3beta1Fulfillment -@dynamic advancedSettings, conditionalCases, enableGenerativeFallback, messages, - returnPartialResponses, setParameterActions, tag, webhook; +@dynamic advancedSettings, conditionalCases, enableGenerativeFallback, + generators, messages, returnPartialResponses, setParameterActions, tag, + webhook; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"conditionalCases" : [GTLRDialogflow_GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases class], + @"generators" : [GTLRDialogflow_GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings class], @"messages" : [GTLRDialogflow_GoogleCloudDialogflowCxV3beta1ResponseMessage class], @"setParameterActions" : [GTLRDialogflow_GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction class] }; @@ -1731,6 +1733,30 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3beta1FulfillmentConditio @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings +@dynamic generator, inputParameters, outputParameter; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings_InputParameters +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings_InputParameters + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction @@ -3139,7 +3165,21 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3DataStoreConnectionSigna // @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet -@dynamic documentTitle, documentUri, text; +@dynamic documentTitle, documentUri, metadata, text; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet_Metadata +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + @end @@ -3836,12 +3876,14 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3FulfillIntentResponse // @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3Fulfillment -@dynamic advancedSettings, conditionalCases, enableGenerativeFallback, messages, - returnPartialResponses, setParameterActions, tag, webhook; +@dynamic advancedSettings, conditionalCases, enableGenerativeFallback, + generators, messages, returnPartialResponses, setParameterActions, tag, + webhook; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"conditionalCases" : [GTLRDialogflow_GoogleCloudDialogflowCxV3FulfillmentConditionalCases class], + @"generators" : [GTLRDialogflow_GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings class], @"messages" : [GTLRDialogflow_GoogleCloudDialogflowCxV3ResponseMessage class], @"setParameterActions" : [GTLRDialogflow_GoogleCloudDialogflowCxV3FulfillmentSetParameterAction class] }; @@ -3897,6 +3939,30 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3FulfillmentConditionalCa @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings +@dynamic generator, inputParameters, outputParameter; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings_InputParameters +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings_InputParameters + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowCxV3FulfillmentSetParameterAction @@ -4011,6 +4077,36 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3GeneratorPlaceholder @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3Handler +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3Handler +@dynamic eventHandler, lifecycleHandler; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3HandlerEventHandler +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3HandlerEventHandler +@dynamic condition, event, fulfillment; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3HandlerLifecycleHandler +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3HandlerLifecycleHandler +@dynamic condition, fulfillment, lifecycleStage; +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowCxV3ImportEntityTypesMetadata @@ -4809,6 +4905,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3ListToolVersionsResponse +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3ListToolVersionsResponse +@dynamic nextPageToken, toolVersions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"toolVersions" : [GTLRDialogflow_GoogleCloudDialogflowCxV3ToolVersion class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"toolVersions"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse @@ -5069,12 +5187,13 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3Phrase // @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3Playbook -@dynamic createTime, displayName, goal, instruction, llmModelSettings, name, - referencedFlows, referencedPlaybooks, referencedTools, tokenCount, - updateTime; +@dynamic createTime, displayName, goal, handlers, instruction, llmModelSettings, + name, referencedFlows, referencedPlaybooks, referencedTools, + tokenCount, updateTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"handlers" : [GTLRDialogflow_GoogleCloudDialogflowCxV3Handler class], @"referencedFlows" : [NSString class], @"referencedPlaybooks" : [NSString class], @"referencedTools" : [NSString class] @@ -5202,7 +5321,7 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3QueryInput @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3QueryParameters @dynamic analyzeQueryTextSentiment, channel, currentPage, currentPlaybook, disableWebhook, endUserMetadata, flowVersions, geoLocation, - llmModelSettings, parameters, payload, + llmModelSettings, parameters, parameterScope, payload, populateDataStoreConnectionSignals, searchConfig, sessionEntityTypes, sessionTtl, timeZone, webhookHeaders; @@ -5556,6 +5675,25 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3RestorePlaybookVersionRe @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3RestoreToolVersionRequest +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3RestoreToolVersionRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3RestoreToolVersionResponse +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3RestoreToolVersionResponse +@dynamic tool; +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowCxV3RolloutConfig @@ -5666,7 +5804,8 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3RunTestCaseResponse // @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3SafetySettings -@dynamic bannedPhrases, defaultBannedPhraseMatchStrategy; +@dynamic bannedPhrases, defaultBannedPhraseMatchStrategy, + promptSecuritySettings; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -5688,6 +5827,16 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3SafetySettingsPhrase @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3SafetySettingsPromptSecuritySettings +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3SafetySettingsPromptSecuritySettings +@dynamic enablePromptSecurity; +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowCxV3SearchConfig @@ -6267,6 +6416,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3ToolVersion +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3ToolVersion +@dynamic createTime, displayName, name, tool, updateTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowCxV3TrainFlowRequest @@ -8055,7 +8214,7 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer // @implementation GTLRDialogflow_GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata -@dynamic exportOperationMetadata, knowledgeBase, state; +@dynamic doneTime, exportOperationMetadata, knowledgeBase, state; @end @@ -8720,7 +8879,7 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowV2CreateConversationModelEva // @implementation GTLRDialogflow_GoogleCloudDialogflowV2CreateConversationModelOperationMetadata -@dynamic conversationModel, createTime, state; +@dynamic conversationModel, createTime, doneTime, state; @end @@ -8739,7 +8898,7 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowV2DeleteConversationDatasetO // @implementation GTLRDialogflow_GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata -@dynamic conversationModel, createTime; +@dynamic conversationModel, createTime, doneTime; @end @@ -8749,7 +8908,7 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowV2DeleteConversationModelOpe // @implementation GTLRDialogflow_GoogleCloudDialogflowV2DeployConversationModelOperationMetadata -@dynamic conversationModel, createTime; +@dynamic conversationModel, createTime, doneTime; @end @@ -9640,7 +9799,7 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowV2KnowledgeAssistAnswerSugge // @implementation GTLRDialogflow_GoogleCloudDialogflowV2KnowledgeOperationMetadata -@dynamic exportOperationMetadata, knowledgeBase, state; +@dynamic doneTime, exportOperationMetadata, knowledgeBase, state; @end @@ -10014,7 +10173,7 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowV2ToolCallResultError // @implementation GTLRDialogflow_GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata -@dynamic conversationModel, createTime; +@dynamic conversationModel, createTime, doneTime; @end diff --git a/Sources/GeneratedServices/Dialogflow/GTLRDialogflowQuery.m b/Sources/GeneratedServices/Dialogflow/GTLRDialogflowQuery.m index 1fbedbbba..d0d288749 100644 --- a/Sources/GeneratedServices/Dialogflow/GTLRDialogflowQuery.m +++ b/Sources/GeneratedServices/Dialogflow/GTLRDialogflowQuery.m @@ -3000,6 +3000,117 @@ + (instancetype)queryWithObject:(GTLRDialogflow_GoogleCloudDialogflowCxV3Tool *) @end +@implementation GTLRDialogflowQuery_ProjectsLocationsAgentsToolsVersionsCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRDialogflow_GoogleCloudDialogflowCxV3ToolVersion *)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 = @"v3/{+parent}/versions"; + GTLRDialogflowQuery_ProjectsLocationsAgentsToolsVersionsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRDialogflow_GoogleCloudDialogflowCxV3ToolVersion class]; + query.loggingName = @"dialogflow.projects.locations.agents.tools.versions.create"; + return query; +} + +@end + +@implementation GTLRDialogflowQuery_ProjectsLocationsAgentsToolsVersionsDelete + +@dynamic force, name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v3/{+name}"; + GTLRDialogflowQuery_ProjectsLocationsAgentsToolsVersionsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDialogflow_GoogleProtobufEmpty class]; + query.loggingName = @"dialogflow.projects.locations.agents.tools.versions.delete"; + return query; +} + +@end + +@implementation GTLRDialogflowQuery_ProjectsLocationsAgentsToolsVersionsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v3/{+name}"; + GTLRDialogflowQuery_ProjectsLocationsAgentsToolsVersionsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDialogflow_GoogleCloudDialogflowCxV3ToolVersion class]; + query.loggingName = @"dialogflow.projects.locations.agents.tools.versions.get"; + return query; +} + +@end + +@implementation GTLRDialogflowQuery_ProjectsLocationsAgentsToolsVersionsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v3/{+parent}/versions"; + GTLRDialogflowQuery_ProjectsLocationsAgentsToolsVersionsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRDialogflow_GoogleCloudDialogflowCxV3ListToolVersionsResponse class]; + query.loggingName = @"dialogflow.projects.locations.agents.tools.versions.list"; + return query; +} + +@end + +@implementation GTLRDialogflowQuery_ProjectsLocationsAgentsToolsVersionsRestore + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRDialogflow_GoogleCloudDialogflowCxV3RestoreToolVersionRequest *)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 = @"v3/{+name}:restore"; + GTLRDialogflowQuery_ProjectsLocationsAgentsToolsVersionsRestore *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDialogflow_GoogleCloudDialogflowCxV3RestoreToolVersionResponse class]; + query.loggingName = @"dialogflow.projects.locations.agents.tools.versions.restore"; + return query; +} + +@end + @implementation GTLRDialogflowQuery_ProjectsLocationsAgentsTransitionRouteGroupsCreate @dynamic languageCode, parent; diff --git a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h index 9b8542960..17862fb04 100644 --- a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h +++ b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h @@ -63,6 +63,8 @@ @class GTLRDialogflow_GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases; @class GTLRDialogflow_GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase; @class GTLRDialogflow_GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings_InputParameters; @class GTLRDialogflow_GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction; @class GTLRDialogflow_GoogleCloudDialogflowCxV3beta1GcsDestination; @class GTLRDialogflow_GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources; @@ -150,6 +152,7 @@ @class GTLRDialogflow_GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals; @class GTLRDialogflow_GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals; @class GTLRDialogflow_GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet_Metadata; @class GTLRDialogflow_GoogleCloudDialogflowCxV3Deployment; @class GTLRDialogflow_GoogleCloudDialogflowCxV3DeploymentResult; @class GTLRDialogflow_GoogleCloudDialogflowCxV3DtmfInput; @@ -183,6 +186,8 @@ @class GTLRDialogflow_GoogleCloudDialogflowCxV3FulfillmentConditionalCases; @class GTLRDialogflow_GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase; @class GTLRDialogflow_GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings_InputParameters; @class GTLRDialogflow_GoogleCloudDialogflowCxV3FulfillmentSetParameterAction; @class GTLRDialogflow_GoogleCloudDialogflowCxV3GcsDestination; @class GTLRDialogflow_GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings; @@ -191,6 +196,9 @@ @class GTLRDialogflow_GoogleCloudDialogflowCxV3Generator; @class GTLRDialogflow_GoogleCloudDialogflowCxV3GeneratorModelParameter; @class GTLRDialogflow_GoogleCloudDialogflowCxV3GeneratorPlaceholder; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3Handler; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3HandlerEventHandler; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3HandlerLifecycleHandler; @class GTLRDialogflow_GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources; @class GTLRDialogflow_GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources; @class GTLRDialogflow_GoogleCloudDialogflowCxV3InlineDestination; @@ -256,6 +264,7 @@ @class GTLRDialogflow_GoogleCloudDialogflowCxV3RolloutState; @class GTLRDialogflow_GoogleCloudDialogflowCxV3SafetySettings; @class GTLRDialogflow_GoogleCloudDialogflowCxV3SafetySettingsPhrase; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3SafetySettingsPromptSecuritySettings; @class GTLRDialogflow_GoogleCloudDialogflowCxV3SearchConfig; @class GTLRDialogflow_GoogleCloudDialogflowCxV3SecuritySettings; @class GTLRDialogflow_GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings; @@ -298,6 +307,7 @@ @class GTLRDialogflow_GoogleCloudDialogflowCxV3ToolUse; @class GTLRDialogflow_GoogleCloudDialogflowCxV3ToolUse_InputActionParameters; @class GTLRDialogflow_GoogleCloudDialogflowCxV3ToolUse_OutputActionParameters; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3ToolVersion; @class GTLRDialogflow_GoogleCloudDialogflowCxV3TransitionCoverage; @class GTLRDialogflow_GoogleCloudDialogflowCxV3TransitionCoverageTransition; @class GTLRDialogflow_GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode; @@ -686,7 +696,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3beta */ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3beta1InputAudioConfig_AudioEncoding_AudioEncodingFlac; /** - * Uncompressed 16-bit signed little-endian samples (Linear PCM). + * Uncompressed 16-bit signed little-endian samples (Linear PCM). LINT: + * LEGACY_NAMES * * Value: "AUDIO_ENCODING_LINEAR_16" */ @@ -1840,7 +1851,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Inpu */ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3InputAudioConfig_AudioEncoding_AudioEncodingFlac; /** - * Uncompressed 16-bit signed little-endian samples (Linear PCM). + * Uncompressed 16-bit signed little-endian samples (Linear PCM). LINT: + * LEGACY_NAMES * * Value: "AUDIO_ENCODING_LINEAR_16" */ @@ -2035,7 +2047,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3NluS FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3OutputAudioConfig_AudioEncoding_OutputAudioEncodingAlaw; /** * Uncompressed 16-bit signed little-endian samples (Linear PCM). Audio content - * returned as LINEAR16 also contains a WAV header. + * returned as LINEAR16 also contains a WAV header. LINT: LEGACY_NAMES * * Value: "OUTPUT_AUDIO_ENCODING_LINEAR_16" */ @@ -2047,7 +2059,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Outp */ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3OutputAudioConfig_AudioEncoding_OutputAudioEncodingMp3; /** - * MP3 audio at 64kbps. + * MP3 audio at 64kbps. LINT: LEGACY_NAMES * * Value: "OUTPUT_AUDIO_ENCODING_MP3_64_KBPS" */ @@ -6045,9 +6057,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @interface GTLRDialogflow_GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig : GTLRObject /** - * Required. Both flow and playbook versions are supported. Format for flow + * Required. Flow, playbook and tool versions are supported. Format for flow * version: projects//locations//agents//flows//versions/. Format for playbook - * version: projects//locations//agents//playbooks//versions/. + * version: projects//locations//agents//playbooks//versions/. Format for tool + * version: projects//locations//agents//tools//versions/. */ @property(nonatomic, copy, nullable) NSString *version; @@ -6409,6 +6422,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, strong, nullable) NSNumber *enableGenerativeFallback; +/** A list of Generators to be called during this fulfillment. */ +@property(nonatomic, strong, nullable) NSArray *generators; + /** The list of rich message responses to present to the user. */ @property(nonatomic, strong, nullable) NSArray *messages; @@ -6489,6 +6505,52 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * Generator settings used by the LLM to generate a text response. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings : GTLRObject + +/** + * Required. The generator to call. Format: + * `projects//locations//agents//generators/`. + */ +@property(nonatomic, copy, nullable) NSString *generator; + +/** + * Map from placeholder parameter in the Generator to corresponding session + * parameters. By default, Dialogflow uses the session parameter with the same + * name to fill in the generator template. e.g. If there is a placeholder + * parameter `city` in the Generator, Dialogflow default to fill in the `$city` + * with `$session.params.city`. However, you may choose to fill `$city` with + * `$session.params.desination-city`. - Map key: parameter ID - Map value: + * session parameter name + */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings_InputParameters *inputParameters; + +/** Required. Output parameter which should contain the generator response. */ +@property(nonatomic, copy, nullable) NSString *outputParameter; + +@end + + +/** + * Map from placeholder parameter in the Generator to corresponding session + * parameters. By default, Dialogflow uses the session parameter with the same + * name to fill in the generator template. e.g. If there is a placeholder + * parameter `city` in the Generator, Dialogflow default to fill in the `$city` + * with `$session.params.city`. However, you may choose to fill `$city` with + * `$session.params.desination-city`. - Map key: parameter ID - Map value: + * session parameter name + * + * @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 GTLRDialogflow_GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings_InputParameters : GTLRObject +@end + + /** * Setting a parameter value. */ @@ -6693,8 +6755,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 * 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` are * supported. (Value: "AUDIO_ENCODING_FLAC") * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3beta1InputAudioConfig_AudioEncoding_AudioEncodingLinear16 - * Uncompressed 16-bit signed little-endian samples (Linear PCM). (Value: - * "AUDIO_ENCODING_LINEAR_16") + * Uncompressed 16-bit signed little-endian samples (Linear PCM). LINT: + * LEGACY_NAMES (Value: "AUDIO_ENCODING_LINEAR_16") * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3beta1InputAudioConfig_AudioEncoding_AudioEncodingMulaw * 8-bit samples that compand 14-bit audio samples using G.711 * PCMU/mu-law. (Value: "AUDIO_ENCODING_MULAW") @@ -9420,12 +9482,27 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 /** Uri for the document. Present if specified for the document. */ @property(nonatomic, copy, nullable) NSString *documentUri; +/** Metadata associated with the document. */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet_Metadata *metadata; + /** Text included in the prompt. */ @property(nonatomic, copy, nullable) NSString *text; @end +/** + * Metadata associated with the document. + * + * @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 GTLRDialogflow_GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet_Metadata : GTLRObject +@end + + /** * Metadata returned for the Environments.DeployFlow long running operation. */ @@ -9849,9 +9926,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @interface GTLRDialogflow_GoogleCloudDialogflowCxV3EnvironmentVersionConfig : GTLRObject /** - * Required. Both flow and playbook versions are supported. Format for flow + * Required. Flow, playbook and tool versions are supported. Format for flow * version: projects//locations//agents//flows//versions/. Format for playbook - * version: projects//locations//agents//playbooks//versions/. + * version: projects//locations//agents//playbooks//versions/. Format for tool + * version: projects//locations//agents//tools//versions/. */ @property(nonatomic, copy, nullable) NSString *version; @@ -11117,6 +11195,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, strong, nullable) NSNumber *enableGenerativeFallback; +/** A list of Generators to be called during this fulfillment. */ +@property(nonatomic, strong, nullable) NSArray *generators; + /** The list of rich message responses to present to the user. */ @property(nonatomic, strong, nullable) NSArray *messages; @@ -11197,6 +11278,52 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * Generator settings used by the LLM to generate a text response. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings : GTLRObject + +/** + * Required. The generator to call. Format: + * `projects//locations//agents//generators/`. + */ +@property(nonatomic, copy, nullable) NSString *generator; + +/** + * Map from placeholder parameter in the Generator to corresponding session + * parameters. By default, Dialogflow uses the session parameter with the same + * name to fill in the generator template. e.g. If there is a placeholder + * parameter `city` in the Generator, Dialogflow default to fill in the `$city` + * with `$session.params.city`. However, you may choose to fill `$city` with + * `$session.params.desination-city`. - Map key: parameter ID - Map value: + * session parameter name + */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings_InputParameters *inputParameters; + +/** Required. Output parameter which should contain the generator response. */ +@property(nonatomic, copy, nullable) NSString *outputParameter; + +@end + + +/** + * Map from placeholder parameter in the Generator to corresponding session + * parameters. By default, Dialogflow uses the session parameter with the same + * name to fill in the generator template. e.g. If there is a placeholder + * parameter `city` in the Generator, Dialogflow default to fill in the `$city` + * with `$session.params.city`. However, you may choose to fill `$city` with + * `$session.params.desination-city`. - Map key: parameter ID - Map value: + * session parameter name + * + * @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 GTLRDialogflow_GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings_InputParameters : GTLRObject +@end + + /** * Setting a parameter value. */ @@ -11440,6 +11567,62 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * Handler can be used to define custom logic to be executed based on the + * user-specified triggers. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3Handler : GTLRObject + +/** A handler triggered by event. */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3HandlerEventHandler *eventHandler; + +/** + * A handler triggered during specific lifecycle of the playbook execution. + */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3HandlerLifecycleHandler *lifecycleHandler; + +@end + + +/** + * A handler that is triggered by the specified event. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3HandlerEventHandler : GTLRObject + +/** Optional. The condition that must be satisfied to trigger this handler. */ +@property(nonatomic, copy, nullable) NSString *condition; + +/** Required. The name of the event that triggers this handler. */ +@property(nonatomic, copy, nullable) NSString *event; + +/** Required. The fulfillment to call when the event occurs. */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3Fulfillment *fulfillment; + +@end + + +/** + * A handler that is triggered on the specific lifecycle_stage of the playbook + * execution. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3HandlerLifecycleHandler : GTLRObject + +/** Optional. The condition that must be satisfied to trigger this handler. */ +@property(nonatomic, copy, nullable) NSString *condition; + +/** Required. The fulfillment to call when this handler is triggered. */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3Fulfillment *fulfillment; + +/** + * Required. The name of the lifecycle stage that triggers this handler. + * Supported values: * `playbook-start` * `pre-action-selection` * + * `pre-action-execution` + */ +@property(nonatomic, copy, nullable) NSString *lifecycleStage; + +@end + + /** * Metadata returned for the EntityTypes.ImportEntityTypes long running * operation. @@ -11836,8 +12019,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 * 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` are * supported. (Value: "AUDIO_ENCODING_FLAC") * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3InputAudioConfig_AudioEncoding_AudioEncodingLinear16 - * Uncompressed 16-bit signed little-endian samples (Linear PCM). (Value: - * "AUDIO_ENCODING_LINEAR_16") + * Uncompressed 16-bit signed little-endian samples (Linear PCM). LINT: + * LEGACY_NAMES (Value: "AUDIO_ENCODING_LINEAR_16") * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3InputAudioConfig_AudioEncoding_AudioEncodingMulaw * 8-bit samples that compand 14-bit audio samples using G.711 * PCMU/mu-law. (Value: "AUDIO_ENCODING_MULAW") @@ -12794,6 +12977,34 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * The response message for Tools.ListToolVersions. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "toolVersions" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3ListToolVersionsResponse : GTLRCollectionObject + +/** + * Token to retrieve the next page of results, or empty if there are no more + * results in the list. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of tool versions. There will be a maximum number of items returned + * based on the page_size field in the request. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *toolVersions; + +@end + + /** * The response message for TransitionRouteGroups.ListTransitionRouteGroups. * @@ -13171,12 +13382,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 * PCMU/a-law. (Value: "OUTPUT_AUDIO_ENCODING_ALAW") * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3OutputAudioConfig_AudioEncoding_OutputAudioEncodingLinear16 * Uncompressed 16-bit signed little-endian samples (Linear PCM). Audio - * content returned as LINEAR16 also contains a WAV header. (Value: - * "OUTPUT_AUDIO_ENCODING_LINEAR_16") + * content returned as LINEAR16 also contains a WAV header. LINT: + * LEGACY_NAMES (Value: "OUTPUT_AUDIO_ENCODING_LINEAR_16") * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3OutputAudioConfig_AudioEncoding_OutputAudioEncodingMp3 * MP3 audio at 32kbps. (Value: "OUTPUT_AUDIO_ENCODING_MP3") * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3OutputAudioConfig_AudioEncoding_OutputAudioEncodingMp364Kbps - * MP3 audio at 64kbps. (Value: "OUTPUT_AUDIO_ENCODING_MP3_64_KBPS") + * MP3 audio at 64kbps. LINT: LEGACY_NAMES (Value: + * "OUTPUT_AUDIO_ENCODING_MP3_64_KBPS") * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3OutputAudioConfig_AudioEncoding_OutputAudioEncodingMulaw * 8-bit samples that compand 14-bit audio samples using G.711 * PCMU/mu-law. (Value: "OUTPUT_AUDIO_ENCODING_MULAW") @@ -13441,6 +13653,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, copy, nullable) NSString *goal; +/** + * Optional. A list of registered handlers to execuate based on the specified + * triggers. + */ +@property(nonatomic, strong, nullable) NSArray *handlers; + /** Instruction to accomplish target goal. */ @property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookInstruction *instruction; @@ -13840,6 +14058,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3QueryParameters_Parameters *parameters; +/** + * Scope for the parameters. If not specified, parameters will be treated as + * session parameters. Parameters with custom scope will not be put into + * session parameters. You can reference the parameters with custom scope in + * the agent with the following format: $parameter-scope.params.parameter-id. + */ +@property(nonatomic, copy, nullable) NSString *parameterScope; + /** * This field can be used to pass custom data into the webhook associated with * the agent. Arbitrary JSON objects are supported. Some integrations that @@ -14596,6 +14822,24 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * The request message for Tools.RestoreToolVersion. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3RestoreToolVersionRequest : GTLRObject +@end + + +/** + * The response message for Tools.RestoreToolVersion. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3RestoreToolVersionResponse : GTLRObject + +/** The updated tool. */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3Tool *tool; + +@end + + /** * The configuration for auto rollout. */ @@ -14761,6 +15005,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, copy, nullable) NSString *defaultBannedPhraseMatchStrategy; +/** Optional. Settings for prompt security checks. */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3SafetySettingsPromptSecuritySettings *promptSecuritySettings; + @end @@ -14778,6 +15025,21 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * Settings for prompt security checks. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3SafetySettingsPromptSecuritySettings : GTLRObject + +/** + * Optional. Enable prompt security checks. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enablePromptSecurity; + +@end + + /** * Search configuration for UCS search queries. */ @@ -15961,6 +16223,32 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * Tool version is a snapshot of the tool at certain timestamp. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3ToolVersion : GTLRObject + +/** Output only. Last time the tool version was created or modified. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Required. The display name of the tool version. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Identifier. The unique identifier of the tool version. Format: + * `projects//locations//agents//tools//versions/`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Required. Snapshot of the tool to be associated with this version. */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3Tool *tool; + +/** Output only. Last time the tool version was created or modified. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * The request message for Flows.TrainFlow. */ @@ -19519,6 +19807,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @interface GTLRDialogflow_GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata : GTLRObject +/** The time when the operation finished. */ +@property(nonatomic, strong, nullable) GTLRDateTime *doneTime; + /** * Metadata for the Export Data Operation such as the destination of export. */ @@ -20601,7 +20892,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @interface GTLRDialogflow_GoogleCloudDialogflowV2beta1ToolCall : GTLRObject -/** Required. The name of the tool's action associated with this call. */ +/** Optional. The name of the tool's action associated with this call. */ @property(nonatomic, copy, nullable) NSString *action; /** Output only. Create time of the tool call. */ @@ -20611,7 +20902,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowV2beta1ToolCall_InputParameters *inputParameters; /** - * Required. The tool associated with this call. Format: + * Optional. The tool associated with this call. Format: * `projects//locations//tools/`. */ @property(nonatomic, copy, nullable) NSString *tool; @@ -20636,7 +20927,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @interface GTLRDialogflow_GoogleCloudDialogflowV2beta1ToolCallResult : GTLRObject -/** Required. The name of the tool's action associated with this call. */ +/** Optional. The name of the tool's action associated with this call. */ @property(nonatomic, copy, nullable) NSString *action; /** Only populated if the response content is utf-8 encoded. */ @@ -20658,7 +20949,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @property(nonatomic, copy, nullable) NSString *rawContent; /** - * Required. The tool associated with this call. Format: + * Optional. The tool associated with this call. Format: * `projects//locations//tools/`. */ @property(nonatomic, copy, nullable) NSString *tool; @@ -21192,6 +21483,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** The time when the operation finished. */ +@property(nonatomic, strong, nullable) GTLRDateTime *doneTime; + /** * State of CreateConversationModel operation. * @@ -21242,6 +21536,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** The time when the operation finished. */ +@property(nonatomic, strong, nullable) GTLRDateTime *doneTime; + @end @@ -21262,6 +21559,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** The time when the operation finished. */ +@property(nonatomic, strong, nullable) GTLRDateTime *doneTime; + @end @@ -22846,6 +23146,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @interface GTLRDialogflow_GoogleCloudDialogflowV2KnowledgeOperationMetadata : GTLRObject +/** The time when the operation finished. */ +@property(nonatomic, strong, nullable) GTLRDateTime *doneTime; + /** * Metadata for the Export Data Operation such as the destination of export. */ @@ -23705,7 +24008,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @interface GTLRDialogflow_GoogleCloudDialogflowV2ToolCall : GTLRObject -/** Required. The name of the tool's action associated with this call. */ +/** Optional. The name of the tool's action associated with this call. */ @property(nonatomic, copy, nullable) NSString *action; /** Output only. Create time of the tool call. */ @@ -23715,7 +24018,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowV2ToolCall_InputParameters *inputParameters; /** - * Required. The tool associated with this call. Format: + * Optional. The tool associated with this call. Format: * `projects//locations//tools/`. */ @property(nonatomic, copy, nullable) NSString *tool; @@ -23740,7 +24043,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @interface GTLRDialogflow_GoogleCloudDialogflowV2ToolCallResult : GTLRObject -/** Required. The name of the tool's action associated with this call. */ +/** Optional. The name of the tool's action associated with this call. */ @property(nonatomic, copy, nullable) NSString *action; /** Only populated if the response content is utf-8 encoded. */ @@ -23762,7 +24065,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @property(nonatomic, copy, nullable) NSString *rawContent; /** - * Required. The tool associated with this call. Format: + * Optional. The tool associated with this call. Format: * `projects//locations//tools/`. */ @property(nonatomic, copy, nullable) NSString *tool; @@ -23798,6 +24101,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** The time when the operation finished. */ +@property(nonatomic, strong, nullable) GTLRDateTime *doneTime; + @end diff --git a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowQuery.h b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowQuery.h index 25786395f..9494d027c 100644 --- a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowQuery.h +++ b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowQuery.h @@ -5662,6 +5662,195 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflowViewTestCaseViewUnspecified; @end +/** + * Creates a version for the specified Tool. + * + * Method: dialogflow.projects.locations.agents.tools.versions.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeDialogflow + * @c kGTLRAuthScopeDialogflowCloudPlatform + */ +@interface GTLRDialogflowQuery_ProjectsLocationsAgentsToolsVersionsCreate : GTLRDialogflowQuery + +/** + * Required. The tool to create a version for. Format: + * `projects//locations//agents//tools/`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRDialogflow_GoogleCloudDialogflowCxV3ToolVersion. + * + * Creates a version for the specified Tool. + * + * @param object The @c GTLRDialogflow_GoogleCloudDialogflowCxV3ToolVersion to + * include in the query. + * @param parent Required. The tool to create a version for. Format: + * `projects//locations//agents//tools/`. + * + * @return GTLRDialogflowQuery_ProjectsLocationsAgentsToolsVersionsCreate + */ ++ (instancetype)queryWithObject:(GTLRDialogflow_GoogleCloudDialogflowCxV3ToolVersion *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes the specified version of the Tool. + * + * Method: dialogflow.projects.locations.agents.tools.versions.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeDialogflow + * @c kGTLRAuthScopeDialogflowCloudPlatform + */ +@interface GTLRDialogflowQuery_ProjectsLocationsAgentsToolsVersionsDelete : GTLRDialogflowQuery + +/** + * Optional. This field has no effect for Tools not being used. For Tools that + * are used: * If `force` is set to false, an error will be returned with + * message indicating the referenced resources. * If `force` is set to true, + * Dialogflow will remove the tool, as well as any references to the tool. + */ +@property(nonatomic, assign) BOOL force; + +/** + * Required. The name of the tool version to delete. Format: + * `projects//locations//agents//tools//versions/`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDialogflow_GoogleProtobufEmpty. + * + * Deletes the specified version of the Tool. + * + * @param name Required. The name of the tool version to delete. Format: + * `projects//locations//agents//tools//versions/`. + * + * @return GTLRDialogflowQuery_ProjectsLocationsAgentsToolsVersionsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Retrieves the specified version of the Tool. + * + * Method: dialogflow.projects.locations.agents.tools.versions.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeDialogflow + * @c kGTLRAuthScopeDialogflowCloudPlatform + */ +@interface GTLRDialogflowQuery_ProjectsLocationsAgentsToolsVersionsGet : GTLRDialogflowQuery + +/** + * Required. The name of the tool version. Format: + * `projects//locations//agents//tools//versions/`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDialogflow_GoogleCloudDialogflowCxV3ToolVersion. + * + * Retrieves the specified version of the Tool. + * + * @param name Required. The name of the tool version. Format: + * `projects//locations//agents//tools//versions/`. + * + * @return GTLRDialogflowQuery_ProjectsLocationsAgentsToolsVersionsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * List versions of the specified Tool. + * + * Method: dialogflow.projects.locations.agents.tools.versions.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeDialogflow + * @c kGTLRAuthScopeDialogflowCloudPlatform + */ +@interface GTLRDialogflowQuery_ProjectsLocationsAgentsToolsVersionsList : GTLRDialogflowQuery + +/** + * Optional. The maximum number of items to return in a single page. By default + * 100 and at most 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. The next_page_token value returned from a previous list request. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent of the tool versions. Format: + * `projects//locations//agents//tools/`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRDialogflow_GoogleCloudDialogflowCxV3ListToolVersionsResponse. + * + * List versions of the specified Tool. + * + * @param parent Required. The parent of the tool versions. Format: + * `projects//locations//agents//tools/`. + * + * @return GTLRDialogflowQuery_ProjectsLocationsAgentsToolsVersionsList + * + * @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 + +/** + * Retrieves the specified version of the Tool and stores it as the current + * tool draft, returning the tool with resources updated. + * + * Method: dialogflow.projects.locations.agents.tools.versions.restore + * + * Authorization scope(s): + * @c kGTLRAuthScopeDialogflow + * @c kGTLRAuthScopeDialogflowCloudPlatform + */ +@interface GTLRDialogflowQuery_ProjectsLocationsAgentsToolsVersionsRestore : GTLRDialogflowQuery + +/** + * Required. The name of the tool version. Format: + * `projects//locations//agents//tools//versions/`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c + * GTLRDialogflow_GoogleCloudDialogflowCxV3RestoreToolVersionResponse. + * + * Retrieves the specified version of the Tool and stores it as the current + * tool draft, returning the tool with resources updated. + * + * @param object The @c + * GTLRDialogflow_GoogleCloudDialogflowCxV3RestoreToolVersionRequest to + * include in the query. + * @param name Required. The name of the tool version. Format: + * `projects//locations//agents//tools//versions/`. + * + * @return GTLRDialogflowQuery_ProjectsLocationsAgentsToolsVersionsRestore + */ ++ (instancetype)queryWithObject:(GTLRDialogflow_GoogleCloudDialogflowCxV3RestoreToolVersionRequest *)object + name:(NSString *)name; + +@end + /** * Creates an TransitionRouteGroup in the specified flow. Note: You should * always train a flow prior to sending it queries. See the [training diff --git a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m index 89ba87055..50731e194 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m +++ b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineObjects.m @@ -74,6 +74,7 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_Active = @"ACTIVE"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_ActiveRotating = @"ACTIVE_ROTATING"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_Creating = @"CREATING"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_Deleted = @"DELETED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_DeleteFailed = @"DELETE_FAILED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_Deleting = @"DELETING"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_KeyIssue = @"KEY_ISSUE"; @@ -137,6 +138,16 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec_InterpolationType_InterpolationTypeUnspecified = @"INTERPOLATION_TYPE_UNSPECIFIED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec_InterpolationType_Linear = @"LINEAR"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector.actionState +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Active = @"ACTIVE"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Creating = @"CREATING"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Failed = @"FAILED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_InitializationFailed = @"INITIALIZATION_FAILED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Running = @"RUNNING"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Updating = @"UPDATING"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Warning = @"WARNING"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector.blockingReasons NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_BlockingReasons_AllowlistInServiceAttachment = @"ALLOWLIST_IN_SERVICE_ATTACHMENT"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_BlockingReasons_AllowlistStaticIp = @"ALLOWLIST_STATIC_IP"; @@ -148,10 +159,12 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorModes_DataIngestion = @"DATA_INGESTION"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorModes_Eua = @"EUA"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorModes_Federated = @"FEDERATED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorModes_FederatedAndEua = @"FEDERATED_AND_EUA"; // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector.connectorType NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_BigQuery = @"BIG_QUERY"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_ConnectorTypeUnspecified = @"CONNECTOR_TYPE_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_Gcnv = @"GCNV"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_GcpFhir = @"GCP_FHIR"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_Gcs = @"GCS"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_GoogleCalendar = @"GOOGLE_CALENDAR"; @@ -169,6 +182,7 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_RealtimeState_InitializationFailed = @"INITIALIZATION_FAILED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_RealtimeState_Running = @"RUNNING"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_RealtimeState_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_RealtimeState_Updating = @"UPDATING"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_RealtimeState_Warning = @"WARNING"; // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector.state @@ -178,6 +192,7 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_InitializationFailed = @"INITIALIZATION_FAILED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_Running = @"RUNNING"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_Updating = @"UPDATING"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_Warning = @"WARNING"; // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector.syncMode @@ -359,6 +374,8 @@ // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest.rankingExpressionBackend NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RankingExpressionBackend_Byoe = @"BYOE"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RankingExpressionBackend_Clearbox = @"CLEARBOX"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RankingExpressionBackend_RankByEmbedding = @"RANK_BY_EMBEDDING"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RankingExpressionBackend_RankByFormula = @"RANK_BY_FORMULA"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RankingExpressionBackend_RankingExpressionBackendUnspecified = @"RANKING_EXPRESSION_BACKEND_UNSPECIFIED"; // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest.relevanceThreshold @@ -556,6 +573,7 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCmekConfig_State_Active = @"ACTIVE"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCmekConfig_State_ActiveRotating = @"ACTIVE_ROTATING"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCmekConfig_State_Creating = @"CREATING"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCmekConfig_State_Deleted = @"DELETED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCmekConfig_State_DeleteFailed = @"DELETE_FAILED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCmekConfig_State_Deleting = @"DELETING"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCmekConfig_State_KeyIssue = @"KEY_ISSUE"; @@ -666,6 +684,8 @@ // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequest.rankingExpressionBackend NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequest_RankingExpressionBackend_Byoe = @"BYOE"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequest_RankingExpressionBackend_Clearbox = @"CLEARBOX"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequest_RankingExpressionBackend_RankByEmbedding = @"RANK_BY_EMBEDDING"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequest_RankingExpressionBackend_RankByFormula = @"RANK_BY_FORMULA"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequest_RankingExpressionBackend_RankingExpressionBackendUnspecified = @"RANKING_EXPRESSION_BACKEND_UNSPECIFIED"; // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequest.relevanceThreshold @@ -751,6 +771,13 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSite_Type_Include = @"INCLUDE"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSite_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense.licenseAssignmentState +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense_LicenseAssignmentState_Assigned = @"ASSIGNED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense_LicenseAssignmentState_LicenseAssignmentStateUnspecified = @"LICENSE_ASSIGNMENT_STATE_UNSPECIFIED"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense_LicenseAssignmentState_NoLicense = @"NO_LICENSE"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense_LicenseAssignmentState_NoLicenseAttemptedLogin = @"NO_LICENSE_ATTEMPTED_LOGIN"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense_LicenseAssignmentState_Unassigned = @"UNASSIGNED"; + // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaWorkspaceConfig.type NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaWorkspaceConfig_Type_GoogleCalendar = @"GOOGLE_CALENDAR"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaWorkspaceConfig_Type_GoogleChat = @"GOOGLE_CHAT"; @@ -808,6 +835,7 @@ NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CmekConfig_State_Active = @"ACTIVE"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CmekConfig_State_ActiveRotating = @"ACTIVE_ROTATING"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CmekConfig_State_Creating = @"CREATING"; +NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CmekConfig_State_Deleted = @"DELETED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CmekConfig_State_DeleteFailed = @"DELETE_FAILED"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CmekConfig_State_Deleting = @"DELETING"; NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CmekConfig_State_KeyIssue = @"KEY_ISSUE"; @@ -2232,15 +2260,16 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomFineT // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector -@dynamic aclEnabled, actionConfig, alertPolicyConfigs, autoRunDisabled, - bapConfig, blockingReasons, connectorModes, connectorType, - createEuaSaas, createTime, dataSource, destinationConfigs, - endUserConfig, entities, errors, identityRefreshInterval, - identityScheduleConfig, incrementalRefreshInterval, - incrementalSyncDisabled, kmsKeyName, lastSyncTime, latestPauseTime, - name, nextSyncTime, params, privateConnectivityProjectId, - realtimeState, realtimeSyncConfig, refreshInterval, state, - staticIpAddresses, staticIpEnabled, syncMode, updateTime; +@dynamic aclEnabled, actionConfig, actionState, alertPolicyConfigs, + autoRunDisabled, bapConfig, blockingReasons, connectorModes, + connectorType, createEuaSaas, createTime, dataSource, + destinationConfigs, endUserConfig, entities, errors, + identityRefreshInterval, identityScheduleConfig, + incrementalRefreshInterval, incrementalSyncDisabled, kmsKeyName, + lastSyncTime, latestPauseTime, name, nextSyncTime, params, + privateConnectivityProjectId, realtimeState, realtimeSyncConfig, + refreshInterval, state, staticIpAddresses, staticIpEnabled, syncMode, + updateTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -2278,7 +2307,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig -@dynamic additionalParams, authParams; +@dynamic additionalParams, authParams, tenant; @end @@ -3629,7 +3658,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchReque queryExpansionSpec, rankingExpression, rankingExpressionBackend, regionCode, relevanceScoreSpec, relevanceThreshold, safeSearch, searchAsYouTypeSpec, servingConfig, session, sessionSpec, - spellCorrectionSpec, userInfo, userLabels, userPseudoId; + spellCorrectionSpec, useLatestData, userInfo, userLabels, userPseudoId; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -4020,7 +4049,21 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSession // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSessionTurn -@dynamic answer, detailedAnswer, query; +@dynamic answer, detailedAnswer, query, queryConfig; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSessionTurn_QueryConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSessionTurn_QueryConfig + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + @end @@ -4134,6 +4177,21 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSiteF @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTenant +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTenant +@dynamic displayName, identifier, uri; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata @@ -5045,13 +5103,23 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocument @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesMetadata +@dynamic createTime, failureCount, successCount, updateTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest -@dynamic deleteUnassignedUserLicenses, gcsSource, inlineSource; +@dynamic deleteUnassignedUserLicenses, inlineSource; @end @@ -5073,6 +5141,25 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchUpdateUserL @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesResponse +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesResponse +@dynamic errorSamples, userLicenses; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"errorSamples" : [GTLRDiscoveryEngine_GoogleRpcStatus class], + @"userLicenses" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest @@ -5120,6 +5207,35 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaBatchCreateT @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesMetadata +@dynamic createTime, failureCount, successCount, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesResponse +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesResponse +@dynamic errorSamples, userLicenses; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"errorSamples" : [GTLRDiscoveryEngine_GoogleRpcStatus class], + @"userLicenses" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCmekConfig @@ -6768,6 +6884,17 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense +@dynamic createTime, lastLoginTime, licenseAssignmentState, licenseConfig, + updateTime, userPrincipal, userProfile; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaWorkspaceConfig @@ -8854,7 +8981,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1PanelInfo // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Principal -@dynamic groupId, userId; +@dynamic externalEntityId, groupId, userId; @end @@ -9952,7 +10079,21 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SessionTurn -@dynamic answer, detailedAnswer, query; +@dynamic answer, detailedAnswer, query, queryConfig; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SessionTurn_QueryConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SessionTurn_QueryConfig + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + @end diff --git a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h index 70031f855..8046f82c5 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h +++ b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h @@ -178,11 +178,13 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSession; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSessionTurn; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSessionTurn_QueryConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSingleRegionKey; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTenant; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse_Metrics; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense; @@ -327,6 +329,7 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse_Metrics; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserInfo; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaWorkspaceConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigQuerySource; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BigtableOptions; @@ -483,6 +486,7 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ServingConfigMediaConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SessionTurn; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SessionTurn_QueryConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SingleRegionKey; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Sitemap; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SiteVerificationInfo; @@ -837,6 +841,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * Value: "CREATING" */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_Creating; +/** + * The KMS key is soft deleted. Some cleanup policy will eventually be applied. + * + * Value: "DELETED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_Deleted; /** * The CmekConfig deletion process failed. * @@ -1159,6 +1169,62 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec_InterpolationType_Linear; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector.actionState + +/** + * The connector is successfully set up and awaiting next sync run. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Active; +/** + * The connector is being set up. + * + * Value: "CREATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Creating; +/** + * The connector is in error. The error details can be found in + * DataConnector.errors. If the error is unfixable, the DataConnector can be + * deleted by [CollectionService.DeleteCollection] API. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Failed; +/** + * Connector initialization failed. Potential causes include runtime errors or + * issues in the asynchronous pipeline, preventing the request from reaching + * downstream services (except for some connector types). + * + * Value: "INITIALIZATION_FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_InitializationFailed; +/** + * The connector is actively syncing records from the data source. + * + * Value: "RUNNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Running; +/** + * Default value. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_StateUnspecified; +/** + * Connector is in the process of an update. + * + * Value: "UPDATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Updating; +/** + * The connector has completed a sync run, but encountered non-fatal errors. + * + * Value: "WARNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Warning; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector.blockingReasons @@ -1215,6 +1281,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * Value: "FEDERATED" */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorModes_Federated; +/** + * Hybrid connector utilized for federated search and End User Authentication. + * + * Value: "FEDERATED_AND_EUA" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorModes_FederatedAndEua; // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector.connectorType @@ -1231,6 +1303,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * Value: "CONNECTOR_TYPE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_ConnectorTypeUnspecified; +/** + * Google Cloud NetApp Volumes connector. + * + * Value: "GCNV" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_Gcnv; /** * Data connector connects between FHIR store and VAIS datastore. * @@ -1330,6 +1408,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * Value: "STATE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_RealtimeState_StateUnspecified; +/** + * Connector is in the process of an update. + * + * Value: "UPDATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_RealtimeState_Updating; /** * The connector has completed a sync run, but encountered non-fatal errors. * @@ -1380,6 +1464,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * Value: "STATE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_StateUnspecified; +/** + * Connector is in the process of an update. + * + * Value: "UPDATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_Updating; /** * The connector has completed a sync run, but encountered non-fatal errors. * @@ -2228,18 +2318,33 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest.rankingExpressionBackend /** - * Bring your own embedding (BYOE), the default way to evaluate the ranking - * expression. + * Deprecated: Use `RANK_BY_EMBEDDING` instead. Ranking by custom embedding + * model, the default way to evaluate the ranking expression. Legacy enum + * option, `RANK_BY_EMBEDDING` should be used instead. * * Value: "BYOE" */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RankingExpressionBackend_Byoe; +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RankingExpressionBackend_Byoe GTLR_DEPRECATED; /** - * The expression is compiled into a Clearbox formula. + * Deprecated: Use `RANK_BY_FORMULA` instead. Ranking by custom formula. Legacy + * enum option, `RANK_BY_FORMULA` should be used instead. * * Value: "CLEARBOX" */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RankingExpressionBackend_Clearbox; +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RankingExpressionBackend_Clearbox GTLR_DEPRECATED; +/** + * Ranking by custom embedding model, the default way to evaluate the ranking + * expression. + * + * Value: "RANK_BY_EMBEDDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RankingExpressionBackend_RankByEmbedding; +/** + * Ranking by custom formula. + * + * Value: "RANK_BY_FORMULA" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RankingExpressionBackend_RankByFormula; /** * Default option for unspecified/unknown values. * @@ -3213,6 +3318,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * Value: "CREATING" */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCmekConfig_State_Creating; +/** + * The KMS key is soft deleted. Some cleanup policy will eventually be applied. + * + * Value: "DELETED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCmekConfig_State_Deleted; /** * The CmekConfig deletion process failed. * @@ -3726,18 +3837,33 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequest.rankingExpressionBackend /** - * Bring your own embedding (BYOE), the default way to evaluate the ranking - * expression. + * Deprecated: Use `RANK_BY_EMBEDDING` instead. Ranking by custom embedding + * model, the default way to evaluate the ranking expression. Legacy enum + * option, `RANK_BY_EMBEDDING` should be used instead. * * Value: "BYOE" */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequest_RankingExpressionBackend_Byoe; +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequest_RankingExpressionBackend_Byoe GTLR_DEPRECATED; /** - * The expression is compiled into a Clearbox formula. + * Deprecated: Use `RANK_BY_FORMULA` instead. Ranking by custom formula. Legacy + * enum option, `RANK_BY_FORMULA` should be used instead. * * Value: "CLEARBOX" */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequest_RankingExpressionBackend_Clearbox; +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequest_RankingExpressionBackend_Clearbox GTLR_DEPRECATED; +/** + * Ranking by custom embedding model, the default way to evaluate the ranking + * expression. + * + * Value: "RANK_BY_EMBEDDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequest_RankingExpressionBackend_RankByEmbedding; +/** + * Ranking by custom formula. + * + * Value: "RANK_BY_FORMULA" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequest_RankingExpressionBackend_RankByFormula; /** * Default option for unspecified/unknown values. * @@ -4144,6 +4270,43 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaTargetSite_Type_TypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense.licenseAssignmentState + +/** + * License assigned to the user. + * + * Value: "ASSIGNED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense_LicenseAssignmentState_Assigned; +/** + * Default value. + * + * Value: "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense_LicenseAssignmentState_LicenseAssignmentStateUnspecified; +/** + * No license assigned to the user. + * + * Value: "NO_LICENSE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense_LicenseAssignmentState_NoLicense; +/** + * User attempted to login but no license assigned to the user. This state is + * only used for no user first time login attempt but cannot get license + * assigned. Users already logged in but cannot get license assigned will be + * assigned NO_LICENSE state(License could be unassigned by admin). + * + * Value: "NO_LICENSE_ATTEMPTED_LOGIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense_LicenseAssignmentState_NoLicenseAttemptedLogin; +/** + * No license assigned to the user. Deprecated, translated to NO_LICENSE. + * + * Value: "UNASSIGNED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense_LicenseAssignmentState_Unassigned; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaWorkspaceConfig.type @@ -4427,6 +4590,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * Value: "CREATING" */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CmekConfig_State_Creating; +/** + * The KMS key is soft deleted. Some cleanup policy will eventually be applied. + * + * Value: "DELETED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CmekConfig_State_Deleted; /** * The CmekConfig deletion process failed. * @@ -4887,7 +5056,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi /** * Calculates diff and replaces the entire document dataset. Existing documents - * may be deleted if they are not present in the source location. + * may be deleted if they are not present in the source location. When using + * this mode, there won't be any downtime on the dataset targeted. Any document + * that should remain unchanged or that should be updated will continue serving + * while the operation is running. * * Value: "FULL" */ @@ -7287,7 +7459,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** * Required. The name of the CmekConfig of the form * `projects/{project}/locations/{location}/cmekConfig` or - * `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. + * `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -7322,6 +7494,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * The KMS key version is being rotated. (Value: "ACTIVE_ROTATING") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_Creating * The CmekConfig is creating. (Value: "CREATING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_Deleted + * The KMS key is soft deleted. Some cleanup policy will eventually be + * applied. (Value: "DELETED") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_DeleteFailed * The CmekConfig deletion process failed. (Value: "DELETE_FAILED") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_Deleting @@ -7537,7 +7712,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun : GTLRObject /** - * The number of documents deleted. + * Optional. The number of documents deleted. * * Uses NSNumber of longLongValue. */ @@ -7551,8 +7726,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @property(nonatomic, copy, nullable) NSString *entityNameProperty; /** - * The total number of documents failed at sync at any stage (extraction, - * indexing, etc). + * Optional. The total number of documents failed at sync at indexing stage. * * Uses NSNumber of longLongValue. */ @@ -7565,15 +7739,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @property(nonatomic, strong, nullable) NSArray *errors; /** - * The number of documents extracted from connector source, ready to be - * ingested to VAIS. + * Optional. The number of documents extracted from connector source, ready to + * be ingested to VAIS. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *extractedRecordCount; /** - * The number of documents indexed. + * Optional. The number of documents indexed. * * Uses NSNumber of longLongValue. */ @@ -7583,15 +7757,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress *progress; /** - * The number of documents scheduled to be crawled/extracted from connector - * source. This only applies to third party connectors. + * Optional. The number of documents scheduled to be crawled/extracted from + * connector source. This only applies to third party connectors. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *scheduledRecordCount; /** - * The number of requests sent to 3p API. + * Optional. The number of requests sent to 3p API. * * Uses NSNumber of longLongValue. */ @@ -8114,6 +8288,39 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** Optional. Action configurations to make the connector support actions. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaActionConfig *actionConfig; +/** + * Output only. State of the action connector. This reflects whether the action + * connector is initializing, active or has encountered errors. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Active + * The connector is successfully set up and awaiting next sync run. + * (Value: "ACTIVE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Creating + * The connector is being set up. (Value: "CREATING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Failed + * The connector is in error. The error details can be found in + * DataConnector.errors. If the error is unfixable, the DataConnector can + * be deleted by [CollectionService.DeleteCollection] API. (Value: + * "FAILED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_InitializationFailed + * Connector initialization failed. Potential causes include runtime + * errors or issues in the asynchronous pipeline, preventing the request + * from reaching downstream services (except for some connector types). + * (Value: "INITIALIZATION_FAILED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Running + * The connector is actively syncing records from the data source. + * (Value: "RUNNING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_StateUnspecified + * Default value. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Updating + * Connector is in the process of an update. (Value: "UPDATING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Warning + * The connector has completed a sync run, but encountered non-fatal + * errors. (Value: "WARNING") + */ +@property(nonatomic, copy, nullable) NSString *actionState; + /** Optional. The connector level alert config. */ @property(nonatomic, strong, nullable) NSArray *alertPolicyConfigs; @@ -8152,6 +8359,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * Big query connector. (Value: "BIG_QUERY") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_ConnectorTypeUnspecified * Default value. (Value: "CONNECTOR_TYPE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_Gcnv + * Google Cloud NetApp Volumes connector. (Value: "GCNV") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_GcpFhir * Data connector connects between FHIR store and VAIS datastore. (Value: * "GCP_FHIR") @@ -8232,13 +8441,17 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** * Optional. The refresh interval specifically for incremental data syncs. If * unset, incremental syncs will use the default from env, set to 3hrs. The - * minimum is 30 minutes and maximum is 7 days. + * minimum is 30 minutes and maximum is 7 days. Applicable to only 3P + * connectors. When the refresh interval is set to the same value as the + * incremental refresh interval, incremental sync will be disabled. */ @property(nonatomic, strong, nullable) GTLRDuration *incrementalRefreshInterval; /** * Optional. Indicates whether incremental syncs are paused for this connector. - * This is independent of auto_run_disabled. + * This is independent of auto_run_disabled. Applicable to only 3P connectors. + * When the refresh interval is set to the same value as the incremental + * refresh interval, incremental sync will be disabled, i.e. set to true. * * Uses NSNumber of boolValue. */ @@ -8341,6 +8554,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * (Value: "RUNNING") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_RealtimeState_StateUnspecified * Default value. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_RealtimeState_Updating + * Connector is in the process of an update. (Value: "UPDATING") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_RealtimeState_Warning * The connector has completed a sync run, but encountered non-fatal * errors. (Value: "WARNING") @@ -8353,7 +8568,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** * Required. The refresh interval for data sync. If duration is set to 0, the * data will be synced in real time. The streaming feature is not supported - * yet. The minimum is 30 minutes and maximum is 7 days. + * yet. The minimum is 30 minutes and maximum is 7 days. When the refresh + * interval is set to the same value as the incremental refresh interval, + * incremental sync will be disabled. */ @property(nonatomic, strong, nullable) GTLRDuration *refreshInterval; @@ -8381,6 +8598,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * (Value: "RUNNING") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_StateUnspecified * Default value. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_Updating + * Connector is in the process of an update. (Value: "UPDATING") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_Warning * The connector has completed a sync run, but encountered non-fatal * errors. (Value: "WARNING") @@ -8467,6 +8686,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** Optional. Any authentication parameters specific to EUA connectors. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig_AuthParams *authParams; +/** Optional. The tenant project the connector is connected to. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTenant *tenant; + @end @@ -9350,7 +9572,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * Supported keys: * `*`: all features, if it's present, all other feature * state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * - * `people-search-org-chart` * `bi-directional-audio` * `feedback` + * `people-search-org-chart` * `bi-directional-audio` * `feedback` * + * `session-sharing` */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_Features *features; @@ -9436,7 +9659,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * Supported keys: * `*`: all features, if it's present, all other feature * state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * - * `people-search-org-chart` * `bi-directional-audio` * `feedback` + * `people-search-org-chart` * `bi-directional-audio` * `feedback` * + * `session-sharing` * * @note This class is documented as having more properties of NSString. Use @c * -additionalJSONKeys and @c -additionalPropertyForName: to get the list @@ -9887,7 +10111,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec : GTLRObject -/** Required. The specification of the query set. */ +/** Optional. The specification of the query set. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec *querySetSpec; /** @@ -9910,7 +10134,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec : GTLRObject /** - * Required. The full resource name of the SampleQuerySet used for the + * Optional. The full resource name of the SampleQuerySet used for the * evaluation, in the format of * `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. */ @@ -11227,7 +11451,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaQuery : GTLRObject -/** Unique Id for the query. */ +/** Output only. Unique Id for the query. */ @property(nonatomic, copy, nullable) NSString *queryId; /** Plain text. */ @@ -11773,35 +11997,58 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec *queryExpansionSpec; /** - * The ranking expression controls the customized ranking on retrieval - * documents. This overrides ServingConfig.ranking_expression. The syntax and - * supported features depend on the ranking_expression_backend value. If - * ranking_expression_backend is not provided, it defaults to BYOE. === BYOE - * === If ranking_expression_backend is not provided or set to `BYOE`, it - * should be a single function or multiple functions that are joined by "+". * - * ranking_expression = function, { " + ", function }; Supported functions: * - * double * relevance_score * double * dotProduct(embedding_field_path) - * Function variables: * `relevance_score`: pre-defined keywords, used for - * measure relevance between query and document. * `embedding_field_path`: the - * document embedding field used with query embedding vector. * `dotProduct`: - * embedding function between embedding_field_path and query embedding vector. - * Example ranking expression: If document has an embedding field - * doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 - * * dotProduct(doc_embedding)`. === CLEARBOX === If ranking_expression_backend - * is set to `CLEARBOX`, the following expression types (and combinations of - * those chained using + or * operators) are supported: * double * signal * - * log(signal) * exp(signal) * rr(signal, double > 0) -- reciprocal rank + * Optional. The ranking expression controls the customized ranking on + * retrieval documents. This overrides ServingConfig.ranking_expression. The + * syntax and supported features depend on the `ranking_expression_backend` + * value. If `ranking_expression_backend` is not provided, it defaults to + * `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to + * `RANK_BY_EMBEDDING`, it should be a single function or multiple functions + * that are joined by "+". * ranking_expression = function, { " + ", function + * }; Supported functions: * double * relevance_score * double * + * dotProduct(embedding_field_path) Function variables: * `relevance_score`: + * pre-defined keywords, used for measure relevance between query and document. + * * `embedding_field_path`: the document embedding field used with query + * embedding vector. * `dotProduct`: embedding function between + * `embedding_field_path` and query embedding vector. Example ranking + * expression: If document has an embedding field doc_embedding, the ranking + * expression could be `0.5 * relevance_score + 0.3 * + * dotProduct(doc_embedding)`. If ranking_expression_backend is set to + * `RANK_BY_FORMULA`, the following expression types (and combinations of those + * chained using + or * operators) are supported: * `double` * `signal` * + * `log(signal)` * `exp(signal)` * `rr(signal, double > 0)` -- reciprocal rank * transformation with second argument being a denominator constant. * - * is_nan(signal) -- returns 0 if signal is NaN, 1 otherwise. * - * fill_nan(signal1, signal2 | double) -- if signal1 is NaN, returns signal2 | - * double, else returns signal1. Examples: * 0.2 * gecko_score + 0.8 * - * log(bm25_score) * 0.2 * exp(fill_nan(gecko_score, 0)) + 0.3 * - * is_nan(bm25_score) * 0.2 * rr(gecko_score, 16) + 0.8 * rr(bm25_score, 32) - * The following signals are supported: * gecko_score -- semantic similarity - * adjustment * bm25_score -- keyword match adjustment * jetstream_score -- - * semantic relevance adjustment * pctr_rank -- predicted conversion rate - * adjustment as a rank * freshness_rank -- freshness adjustment as a rank * - * base_rank -- the default rank of the result + * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * + * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 + * | double, else returns signal1. Here are a few examples of ranking formulas + * that use the supported ranking expression types: - `0.2 * + * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly + * rank by the logarithm of `keyword_similarity_score` with slight + * `semantic_smilarity_score` adjustment. - `0.2 * + * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * + * is_nan(keyword_similarity_score)` -- rank by the exponent of + * `semantic_similarity_score` filling the value with 0 if it's NaN, also add + * constant 0.3 adjustment to the final score if `semantic_similarity_score` is + * NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * + * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of + * `keyword_similarity_score` with slight adjustment of reciprocal rank of + * `semantic_smilarity_score`. The following signals are supported: * + * `semantic_similarity_score`: semantic similarity adjustment that is + * calculated using the embeddings generated by a proprietary Google model. + * This score determines how semantically similar a search query is to a + * document. * `keyword_similarity_score`: keyword match adjustment uses the + * Best Match 25 (BM25) ranking function. This score is calculated using a + * probabilistic model to estimate the probability that a document is relevant + * to a given query. * `relevance_score`: semantic relevance adjustment that + * uses a proprietary Google model to determine the meaning and intent behind a + * user's query in context with the content in the documents. * `pctr_rank`: + * predicted conversion rate adjustment as a rank use predicted Click-through + * rate (pCTR) to gauge the relevance and attractiveness of a search result + * from a user's perspective. A higher pCTR suggests that the result is more + * likely to satisfy the user's query and intent, making it a valuable signal + * for ranking. * `freshness_rank`: freshness adjustment as a rank * + * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google + * model to determine the keyword-based overlap between the query and the + * document. * `base_rank`: the default rank of the result */ @property(nonatomic, copy, nullable) NSString *rankingExpression; @@ -11810,11 +12057,19 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * * Likely values: * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RankingExpressionBackend_Byoe - * Bring your own embedding (BYOE), the default way to evaluate the - * ranking expression. (Value: "BYOE") + * Deprecated: Use `RANK_BY_EMBEDDING` instead. Ranking by custom + * embedding model, the default way to evaluate the ranking expression. + * Legacy enum option, `RANK_BY_EMBEDDING` should be used instead. + * (Value: "BYOE") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RankingExpressionBackend_Clearbox - * The expression is compiled into a Clearbox formula. (Value: + * Deprecated: Use `RANK_BY_FORMULA` instead. Ranking by custom formula. + * Legacy enum option, `RANK_BY_FORMULA` should be used instead. (Value: * "CLEARBOX") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RankingExpressionBackend_RankByEmbedding + * Ranking by custom embedding model, the default way to evaluate the + * ranking expression. (Value: "RANK_BY_EMBEDDING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RankingExpressionBackend_RankByFormula + * Ranking by custom formula. (Value: "RANK_BY_FORMULA") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RankingExpressionBackend_RankingExpressionBackendUnspecified * Default option for unspecified/unknown values. (Value: * "RANKING_EXPRESSION_BACKEND_UNSPECIFIED") @@ -11906,6 +12161,16 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec *spellCorrectionSpec; +/** + * Uses the Engine, ServingConfig and Control freshly read from the database. + * Note: this skips config cache and introduces dependency on databases, which + * could significantly increase the API latency. It should only be used for + * testing, but not serving end users. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *useLatestData; + /** * Information about the end user. Highly recommended for analytics and * personalization. UserInfo.user_agent is used to deduce `device_type` for @@ -12980,8 +13245,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSessionTurn : GTLRObject /** - * The resource name of the answer to the user query. Only set if the answer - * generation (/answer API call) happened in this turn. + * Optional. The resource name of the answer to the user query. Only set if the + * answer generation (/answer API call) happened in this turn. */ @property(nonatomic, copy, nullable) NSString *answer; @@ -12992,9 +13257,33 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer *detailedAnswer; -/** The user query. */ +/** + * Optional. The user query. May not be set if this turn is merely regenerating + * an answer to a different turn + */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaQuery *query; +/** + * Optional. Represents metadata related to the query config, for example LLM + * model and version used, model parameters (temperature, grounding parameters, + * etc.). The prefix "google." is reserved for Google-developed functionality. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSessionTurn_QueryConfig *queryConfig; + +@end + + +/** + * Optional. Represents metadata related to the query config, for example LLM + * model and version used, model parameters (temperature, grounding parameters, + * etc.). The prefix "google." is reserved for Google-developed functionality. + * + * @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 GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSessionTurn_QueryConfig : GTLRObject @end @@ -13259,6 +13548,34 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Tenant information for a connector source. This includes some of the same + * information stored in the Credential message, but is limited to only what is + * needed to provide a list of accessible tenants to the user. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTenant : GTLRObject + +/** Optional display name for the tenant, e.g. "My Slack Team". */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * The tenant's instance ID. Examples: Jira + * ("8594f221-9797-5f78-1fa4-485e198d7cd0"), Slack ("T123456"). + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * The URI of the tenant, if applicable. For example, the URI of a Jira + * instance is https://my-jira-instance.atlassian.net, and a Slack tenant does + * not have a URI. + */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + + /** * Metadata related to the progress of the TrainCustomModel operation. This is * returned by the google.longrunning.Operation.metadata field. @@ -13483,7 +13800,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** * Output only. License assignment state of the user. If the user is assigned - * with a license config, the user loggin will be assigned with the license; If + * with a license config, the user login will be assigned with the license; If * the user's license assignment state is unassigned or unspecified, no license * config will be associated to the user; * @@ -15010,6 +15327,39 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Metadata related to the progress of the + * UserLicenseService.BatchUpdateUserLicenses operation. This will be returned + * by the google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Count of user licenses that failed to be updated. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *failureCount; + +/** + * Count of user licenses successfully updated. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *successCount; + +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * Request message for UserLicenseService.BatchUpdateUserLicenses method. */ @@ -15024,9 +15374,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, strong, nullable) NSNumber *deleteUnassignedUserLicenses; -/** Cloud Storage location for the input content. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1GcsSource *gcsSource; - /** The inline source for the input content for document embeddings. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource *inlineSource; @@ -15054,6 +15401,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Response message for UserLicenseService.BatchUpdateUserLicenses method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesResponse : GTLRObject + +/** A sample of errors encountered while processing the request. */ +@property(nonatomic, strong, nullable) NSArray *errorSamples; + +/** UserLicenses successfully updated. */ +@property(nonatomic, strong, nullable) NSArray *userLicenses; + +@end + + /** * Request message for SiteSearchEngineService.BatchVerifyTargetSites method. */ @@ -15113,6 +15474,53 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Metadata related to the progress of the + * UserLicenseService.BatchUpdateUserLicenses operation. This will be returned + * by the google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Count of user licenses that failed to be updated. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *failureCount; + +/** + * Count of user licenses successfully updated. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *successCount; + +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Response message for UserLicenseService.BatchUpdateUserLicenses method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesResponse : GTLRObject + +/** A sample of errors encountered while processing the request. */ +@property(nonatomic, strong, nullable) NSArray *errorSamples; + +/** UserLicenses successfully updated. */ +@property(nonatomic, strong, nullable) NSArray *userLicenses; + +@end + + /** * Configurations used to enable CMEK data encryption with Cloud KMS keys. */ @@ -15147,7 +15555,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** * Required. The name of the CmekConfig of the form * `projects/{project}/locations/{location}/cmekConfig` or - * `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. + * `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -15182,6 +15590,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * The KMS key version is being rotated. (Value: "ACTIVE_ROTATING") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCmekConfig_State_Creating * The CmekConfig is creating. (Value: "CREATING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCmekConfig_State_Deleted + * The KMS key is soft deleted. Some cleanup policy will eventually be + * applied. (Value: "DELETED") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCmekConfig_State_DeleteFailed * The CmekConfig deletion process failed. (Value: "DELETE_FAILED") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaCmekConfig_State_Deleting @@ -16305,7 +16716,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * Supported keys: * `*`: all features, if it's present, all other feature * state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * - * `people-search-org-chart` * `bi-directional-audio` * `feedback` + * `people-search-org-chart` * `bi-directional-audio` * `feedback` * + * `session-sharing` */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_Features *features; @@ -16382,7 +16794,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * Supported keys: * `*`: all features, if it's present, all other feature * state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * - * `people-search-org-chart` * `bi-directional-audio` * `feedback` + * `people-search-org-chart` * `bi-directional-audio` * `feedback` * + * `session-sharing` * * @note This class is documented as having more properties of NSString. Use @c * -additionalJSONKeys and @c -additionalPropertyForName: to get the list @@ -16724,7 +17137,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec : GTLRObject -/** Required. The specification of the query set. */ +/** Optional. The specification of the query set. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec *querySetSpec; /** @@ -16747,7 +17160,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec : GTLRObject /** - * Required. The full resource name of the SampleQuerySet used for the + * Optional. The full resource name of the SampleQuerySet used for the * evaluation, in the format of * `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. */ @@ -17861,35 +18274,58 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec *queryExpansionSpec; /** - * The ranking expression controls the customized ranking on retrieval - * documents. This overrides ServingConfig.ranking_expression. The syntax and - * supported features depend on the ranking_expression_backend value. If - * ranking_expression_backend is not provided, it defaults to BYOE. === BYOE - * === If ranking_expression_backend is not provided or set to `BYOE`, it - * should be a single function or multiple functions that are joined by "+". * - * ranking_expression = function, { " + ", function }; Supported functions: * - * double * relevance_score * double * dotProduct(embedding_field_path) - * Function variables: * `relevance_score`: pre-defined keywords, used for - * measure relevance between query and document. * `embedding_field_path`: the - * document embedding field used with query embedding vector. * `dotProduct`: - * embedding function between embedding_field_path and query embedding vector. - * Example ranking expression: If document has an embedding field - * doc_embedding, the ranking expression could be `0.5 * relevance_score + 0.3 - * * dotProduct(doc_embedding)`. === CLEARBOX === If ranking_expression_backend - * is set to `CLEARBOX`, the following expression types (and combinations of - * those chained using + or * operators) are supported: * double * signal * - * log(signal) * exp(signal) * rr(signal, double > 0) -- reciprocal rank + * Optional. The ranking expression controls the customized ranking on + * retrieval documents. This overrides ServingConfig.ranking_expression. The + * syntax and supported features depend on the `ranking_expression_backend` + * value. If `ranking_expression_backend` is not provided, it defaults to + * `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to + * `RANK_BY_EMBEDDING`, it should be a single function or multiple functions + * that are joined by "+". * ranking_expression = function, { " + ", function + * }; Supported functions: * double * relevance_score * double * + * dotProduct(embedding_field_path) Function variables: * `relevance_score`: + * pre-defined keywords, used for measure relevance between query and document. + * * `embedding_field_path`: the document embedding field used with query + * embedding vector. * `dotProduct`: embedding function between + * `embedding_field_path` and query embedding vector. Example ranking + * expression: If document has an embedding field doc_embedding, the ranking + * expression could be `0.5 * relevance_score + 0.3 * + * dotProduct(doc_embedding)`. If ranking_expression_backend is set to + * `RANK_BY_FORMULA`, the following expression types (and combinations of those + * chained using + or * operators) are supported: * `double` * `signal` * + * `log(signal)` * `exp(signal)` * `rr(signal, double > 0)` -- reciprocal rank * transformation with second argument being a denominator constant. * - * is_nan(signal) -- returns 0 if signal is NaN, 1 otherwise. * - * fill_nan(signal1, signal2 | double) -- if signal1 is NaN, returns signal2 | - * double, else returns signal1. Examples: * 0.2 * gecko_score + 0.8 * - * log(bm25_score) * 0.2 * exp(fill_nan(gecko_score, 0)) + 0.3 * - * is_nan(bm25_score) * 0.2 * rr(gecko_score, 16) + 0.8 * rr(bm25_score, 32) - * The following signals are supported: * gecko_score -- semantic similarity - * adjustment * bm25_score -- keyword match adjustment * jetstream_score -- - * semantic relevance adjustment * pctr_rank -- predicted conversion rate - * adjustment as a rank * freshness_rank -- freshness adjustment as a rank * - * base_rank -- the default rank of the result + * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * + * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 + * | double, else returns signal1. Here are a few examples of ranking formulas + * that use the supported ranking expression types: - `0.2 * + * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly + * rank by the logarithm of `keyword_similarity_score` with slight + * `semantic_smilarity_score` adjustment. - `0.2 * + * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * + * is_nan(keyword_similarity_score)` -- rank by the exponent of + * `semantic_similarity_score` filling the value with 0 if it's NaN, also add + * constant 0.3 adjustment to the final score if `semantic_similarity_score` is + * NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * + * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of + * `keyword_similarity_score` with slight adjustment of reciprocal rank of + * `semantic_smilarity_score`. The following signals are supported: * + * `semantic_similarity_score`: semantic similarity adjustment that is + * calculated using the embeddings generated by a proprietary Google model. + * This score determines how semantically similar a search query is to a + * document. * `keyword_similarity_score`: keyword match adjustment uses the + * Best Match 25 (BM25) ranking function. This score is calculated using a + * probabilistic model to estimate the probability that a document is relevant + * to a given query. * `relevance_score`: semantic relevance adjustment that + * uses a proprietary Google model to determine the meaning and intent behind a + * user's query in context with the content in the documents. * `pctr_rank`: + * predicted conversion rate adjustment as a rank use predicted Click-through + * rate (pCTR) to gauge the relevance and attractiveness of a search result + * from a user's perspective. A higher pCTR suggests that the result is more + * likely to satisfy the user's query and intent, making it a valuable signal + * for ranking. * `freshness_rank`: freshness adjustment as a rank * + * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google + * model to determine the keyword-based overlap between the query and the + * document. * `base_rank`: the default rank of the result */ @property(nonatomic, copy, nullable) NSString *rankingExpression; @@ -17898,11 +18334,19 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * * Likely values: * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequest_RankingExpressionBackend_Byoe - * Bring your own embedding (BYOE), the default way to evaluate the - * ranking expression. (Value: "BYOE") + * Deprecated: Use `RANK_BY_EMBEDDING` instead. Ranking by custom + * embedding model, the default way to evaluate the ranking expression. + * Legacy enum option, `RANK_BY_EMBEDDING` should be used instead. + * (Value: "BYOE") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequest_RankingExpressionBackend_Clearbox - * The expression is compiled into a Clearbox formula. (Value: + * Deprecated: Use `RANK_BY_FORMULA` instead. Ranking by custom formula. + * Legacy enum option, `RANK_BY_FORMULA` should be used instead. (Value: * "CLEARBOX") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequest_RankingExpressionBackend_RankByEmbedding + * Ranking by custom embedding model, the default way to evaluate the + * ranking expression. (Value: "RANK_BY_EMBEDDING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequest_RankingExpressionBackend_RankByFormula + * Ranking by custom formula. (Value: "RANK_BY_FORMULA") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequest_RankingExpressionBackend_RankingExpressionBackendUnspecified * Default option for unspecified/unknown values. (Value: * "RANKING_EXPRESSION_BACKEND_UNSPECIFIED") @@ -19385,6 +19829,70 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * User License information assigned by the admin. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense : GTLRObject + +/** Output only. User created timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Output only. User last logged in time. If the user has not logged in yet, + * this field will be empty. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastLoginTime; + +/** + * Output only. License assignment state of the user. If the user is assigned + * with a license config, the user login will be assigned with the license; If + * the user's license assignment state is unassigned or unspecified, no license + * config will be associated to the user; + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense_LicenseAssignmentState_Assigned + * License assigned to the user. (Value: "ASSIGNED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense_LicenseAssignmentState_LicenseAssignmentStateUnspecified + * Default value. (Value: "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense_LicenseAssignmentState_NoLicense + * No license assigned to the user. (Value: "NO_LICENSE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense_LicenseAssignmentState_NoLicenseAttemptedLogin + * User attempted to login but no license assigned to the user. This + * state is only used for no user first time login attempt but cannot get + * license assigned. Users already logged in but cannot get license + * assigned will be assigned NO_LICENSE state(License could be unassigned + * by admin). (Value: "NO_LICENSE_ATTEMPTED_LOGIN") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense_LicenseAssignmentState_Unassigned + * No license assigned to the user. Deprecated, translated to NO_LICENSE. + * (Value: "UNASSIGNED") + */ +@property(nonatomic, copy, nullable) NSString *licenseAssignmentState; + +/** + * Optional. The full resource name of the Subscription(LicenseConfig) assigned + * to the user. + */ +@property(nonatomic, copy, nullable) NSString *licenseConfig; + +/** Output only. User update timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +/** + * Required. Immutable. The user principal of the User, could be email address + * or other prinical identifier. This field is immutable. Admin assign licenses + * based on the user principal. + */ +@property(nonatomic, copy, nullable) NSString *userPrincipal; + +/** + * Optional. The user profile. We user user full name(First name + Last name) + * as user profile. + */ +@property(nonatomic, copy, nullable) NSString *userProfile; + +@end + + /** * Config to store data store type configuration for workspace data */ @@ -20167,7 +20675,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** * Required. The name of the CmekConfig of the form * `projects/{project}/locations/{location}/cmekConfig` or - * `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. + * `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -20202,6 +20710,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * The KMS key version is being rotated. (Value: "ACTIVE_ROTATING") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CmekConfig_State_Creating * The CmekConfig is creating. (Value: "CREATING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CmekConfig_State_Deleted + * The KMS key is soft deleted. Some cleanup policy will eventually be + * applied. (Value: "DELETED") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CmekConfig_State_DeleteFailed * The CmekConfig deletion process failed. (Value: "DELETE_FAILED") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1CmekConfig_State_Deleting @@ -22015,7 +22526,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * Supported keys: * `*`: all features, if it's present, all other feature * state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * - * `people-search-org-chart` * `bi-directional-audio` * `feedback` + * `people-search-org-chart` * `bi-directional-audio` * `feedback` * + * `session-sharing` */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_Features *features; @@ -22092,7 +22604,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * Supported keys: * `*`: all features, if it's present, all other feature * state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * - * `people-search-org-chart` * `bi-directional-audio` * `feedback` + * `people-search-org-chart` * `bi-directional-audio` * `feedback` * + * `session-sharing` * * @note This class is documented as having more properties of NSString. Use @c * -additionalJSONKeys and @c -additionalPropertyForName: to get the list @@ -22939,7 +23452,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ImportDocumentsRequest_ReconciliationMode_Full * Calculates diff and replaces the entire document dataset. Existing * documents may be deleted if they are not present in the source - * location. (Value: "FULL") + * location. When using this mode, there won't be any downtime on the + * dataset targeted. Any document that should remain unchanged or that + * should be updated will continue serving while the operation is + * running. (Value: "FULL") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ImportDocumentsRequest_ReconciliationMode_Incremental * Inserts new documents or updates existing documents. (Value: * "INCREMENTAL") @@ -23684,6 +24200,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Principal : GTLRObject +/** + * For 3P application identities which are not present in the customer identity + * provider. + */ +@property(nonatomic, copy, nullable) NSString *externalEntityId; + /** * Group identifier. For Google Workspace user account, group_id should be the * google workspace group email. For non-google identity provider user account, @@ -24139,7 +24661,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Query : GTLRObject -/** Unique Id for the query. */ +/** Output only. Unique Id for the query. */ @property(nonatomic, copy, nullable) NSString *queryId; /** Plain text. */ @@ -26499,8 +27021,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SessionTurn : GTLRObject /** - * The resource name of the answer to the user query. Only set if the answer - * generation (/answer API call) happened in this turn. + * Optional. The resource name of the answer to the user query. Only set if the + * answer generation (/answer API call) happened in this turn. */ @property(nonatomic, copy, nullable) NSString *answer; @@ -26511,9 +27033,33 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer *detailedAnswer; -/** The user query. */ +/** + * Optional. The user query. May not be set if this turn is merely regenerating + * an answer to a different turn + */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Query *query; +/** + * Optional. Represents metadata related to the query config, for example LLM + * model and version used, model parameters (temperature, grounding parameters, + * etc.). The prefix "google." is reserved for Google-developed functionality. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SessionTurn_QueryConfig *queryConfig; + +@end + + +/** + * Optional. Represents metadata related to the query config, for example LLM + * model and version used, model parameters (temperature, grounding parameters, + * etc.). The prefix "google." is reserved for Google-developed functionality. + * + * @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 GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SessionTurn_QueryConfig : GTLRObject @end @@ -27317,7 +27863,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** * Output only. License assignment state of the user. If the user is assigned - * with a license config, the user loggin will be assigned with the license; If + * with a license config, the user login will be assigned with the license; If * the user's license assignment state is unassigned or unspecified, no license * config will be associated to the user; * diff --git a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h index d4c61c728..ec68989c5 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h +++ b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h @@ -148,7 +148,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The name of the CmekConfig of the form * `projects/{project}/locations/{location}/cmekConfig` or - * `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. + * `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -170,7 +170,7 @@ NS_ASSUME_NONNULL_BEGIN * the query. * @param name Required. The name of the CmekConfig of the form * `projects/{project}/locations/{location}/cmekConfig` or - * `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. + * `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCmekConfigsPatch */ @@ -8522,7 +8522,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The name of the CmekConfig of the form * `projects/{project}/locations/{location}/cmekConfig` or - * `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. + * `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. */ @property(nonatomic, copy, nullable) NSString *name; @@ -8544,7 +8544,7 @@ NS_ASSUME_NONNULL_BEGIN * the query. * @param name Required. The name of the CmekConfig of the form * `projects/{project}/locations/{location}/cmekConfig` or - * `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. + * `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. * * @return GTLRDiscoveryEngineQuery_ProjectsLocationsUpdateCmekConfig */ diff --git a/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m b/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m index 0de3af156..52dae616e 100644 --- a/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m +++ b/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m @@ -62,6 +62,7 @@ // GTLRDisplayVideo_AdGroup.adGroupFormat NSString * const kGTLRDisplayVideo_AdGroup_AdGroupFormat_AdGroupFormatAudio = @"AD_GROUP_FORMAT_AUDIO"; NSString * const kGTLRDisplayVideo_AdGroup_AdGroupFormat_AdGroupFormatBumper = @"AD_GROUP_FORMAT_BUMPER"; +NSString * const kGTLRDisplayVideo_AdGroup_AdGroupFormat_AdGroupFormatDemandGen = @"AD_GROUP_FORMAT_DEMAND_GEN"; NSString * const kGTLRDisplayVideo_AdGroup_AdGroupFormat_AdGroupFormatInStream = @"AD_GROUP_FORMAT_IN_STREAM"; NSString * const kGTLRDisplayVideo_AdGroup_AdGroupFormat_AdGroupFormatMasthead = @"AD_GROUP_FORMAT_MASTHEAD"; NSString * const kGTLRDisplayVideo_AdGroup_AdGroupFormat_AdGroupFormatNonSkippableInStream = @"AD_GROUP_FORMAT_NON_SKIPPABLE_IN_STREAM"; @@ -2669,6 +2670,7 @@ NSString * const kGTLRDisplayVideo_ThirdPartyVendorConfig_Vendor_ThirdPartyVendorMoat = @"THIRD_PARTY_VENDOR_MOAT"; NSString * const kGTLRDisplayVideo_ThirdPartyVendorConfig_Vendor_ThirdPartyVendorNielsen = @"THIRD_PARTY_VENDOR_NIELSEN"; NSString * const kGTLRDisplayVideo_ThirdPartyVendorConfig_Vendor_ThirdPartyVendorTelemetry = @"THIRD_PARTY_VENDOR_TELEMETRY"; +NSString * const kGTLRDisplayVideo_ThirdPartyVendorConfig_Vendor_ThirdPartyVendorTransunion = @"THIRD_PARTY_VENDOR_TRANSUNION"; NSString * const kGTLRDisplayVideo_ThirdPartyVendorConfig_Vendor_ThirdPartyVendorUnspecified = @"THIRD_PARTY_VENDOR_UNSPECIFIED"; NSString * const kGTLRDisplayVideo_ThirdPartyVendorConfig_Vendor_ThirdPartyVendorZefr = @"THIRD_PARTY_VENDOR_ZEFR"; diff --git a/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h b/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h index e34ec9254..cea59af74 100644 --- a/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h +++ b/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h @@ -536,6 +536,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AdGroup_AdGroupFormat_AdGro * Value: "AD_GROUP_FORMAT_BUMPER" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AdGroup_AdGroupFormat_AdGroupFormatBumper; +/** + * Demand Gen ads. + * + * Value: "AD_GROUP_FORMAT_DEMAND_GEN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_AdGroup_AdGroupFormat_AdGroupFormatDemandGen; /** * In-stream ads. * @@ -15165,6 +15171,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_ThirdPartyVendorConfig_Vend * Value: "THIRD_PARTY_VENDOR_TELEMETRY" */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_ThirdPartyVendorConfig_Vendor_ThirdPartyVendorTelemetry; +/** + * Transunion. + * + * Value: "THIRD_PARTY_VENDOR_TRANSUNION" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_ThirdPartyVendorConfig_Vendor_ThirdPartyVendorTransunion; /** * Unknown third-party vendor. * @@ -15883,6 +15895,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * Non-skippable in-stream audio ads. (Value: "AD_GROUP_FORMAT_AUDIO") * @arg @c kGTLRDisplayVideo_AdGroup_AdGroupFormat_AdGroupFormatBumper Bumper * ads. (Value: "AD_GROUP_FORMAT_BUMPER") + * @arg @c kGTLRDisplayVideo_AdGroup_AdGroupFormat_AdGroupFormatDemandGen + * Demand Gen ads. (Value: "AD_GROUP_FORMAT_DEMAND_GEN") * @arg @c kGTLRDisplayVideo_AdGroup_AdGroupFormat_AdGroupFormatInStream * In-stream ads. (Value: "AD_GROUP_FORMAT_IN_STREAM") * @arg @c kGTLRDisplayVideo_AdGroup_AdGroupFormat_AdGroupFormatMasthead @@ -19001,7 +19015,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * `CreateAssignedTargetingOptionsRequest`. Supported targeting types: * * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * - * `TARGETING_TYPE_KEYWORD` + * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_INVENTORY_MODE` */ @property(nonatomic, strong, nullable) NSArray *createRequests; @@ -19010,7 +19024,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * `DeleteAssignedTargetingOptionsRequest`. Supported targeting types: * * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * - * `TARGETING_TYPE_KEYWORD` + * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_INVENTORY_MODE` */ @property(nonatomic, strong, nullable) NSArray *deleteRequests; @@ -31898,7 +31912,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail /** * Optional. The third-party vendors measuring brand lift. The following * third-party vendors are applicable: * `THIRD_PARTY_VENDOR_DYNATA` * - * `THIRD_PARTY_VENDOR_KANTAR` + * `THIRD_PARTY_VENDOR_KANTAR` * `THIRD_PARTY_VENDOR_KANTAR_MILLWARD_BROWN` * + * `THIRD_PARTY_VENDOR_GOOGLE_INTERNAL` * `THIRD_PARTY_VENDOR_INTAGE` * + * `THIRD_PARTY_VENDOR_NIELSEN` * `THIRD_PARTY_VENDOR_MACROMILL` */ @property(nonatomic, strong, nullable) NSArray *brandLiftVendorConfigs; @@ -31906,14 +31922,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * Optional. The third-party vendors measuring brand safety. The following * third-party vendors are applicable: * `THIRD_PARTY_VENDOR_ZERF` * * `THIRD_PARTY_VENDOR_DOUBLE_VERIFY` * - * `THIRD_PARTY_VENDOR_INTEGRAL_AD_SCIENCE` + * `THIRD_PARTY_VENDOR_INTEGRAL_AD_SCIENCE` * + * `THIRD_PARTY_VENDOR_GOOGLE_INTERNAL` * `THIRD_PARTY_VENDOR_ZEFR` */ @property(nonatomic, strong, nullable) NSArray *brandSafetyVendorConfigs; /** * Optional. The third-party vendors measuring reach. The following third-party * vendors are applicable: * `THIRD_PARTY_VENDOR_NIELSEN` * - * `THIRD_PARTY_VENDOR_COMSCORE` * `THIRD_PARTY_VENDOR_KANTAR` + * `THIRD_PARTY_VENDOR_COMSCORE` * `THIRD_PARTY_VENDOR_KANTAR` * + * `THIRD_PARTY_VENDOR_GOOGLE_INTERNAL` * + * `THIRD_PARTY_VENDOR_KANTAR_MILLWARD_BROWN` * + * `THIRD_PARTY_VENDOR_VIDEO_RESEARCH` * `THIRD_PARTY_VENDOR_MEDIA_SCOPE` * + * `THIRD_PARTY_VENDOR_AUDIENCE_PROJECT` * `THIRD_PARTY_VENDOR_VIDEO_AMP` * + * `THIRD_PARTY_VENDOR_ISPOT_TV` */ @property(nonatomic, strong, nullable) NSArray *reachVendorConfigs; @@ -31922,7 +31944,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * third-party vendors are applicable: * `THIRD_PARTY_VENDOR_MOAT` * * `THIRD_PARTY_VENDOR_DOUBLE_VERIFY` * * `THIRD_PARTY_VENDOR_INTEGRAL_AD_SCIENCE` * `THIRD_PARTY_VENDOR_COMSCORE` * - * `THIRD_PARTY_VENDOR_TELEMETRY` * `THIRD_PARTY_VENDOR_MEETRICS` + * `THIRD_PARTY_VENDOR_TELEMETRY` * `THIRD_PARTY_VENDOR_MEETRICS` * + * `THIRD_PARTY_VENDOR_GOOGLE_INTERNAL` */ @property(nonatomic, strong, nullable) NSArray *viewabilityVendorConfigs; @@ -32052,6 +32075,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail * Nielsen. (Value: "THIRD_PARTY_VENDOR_NIELSEN") * @arg @c kGTLRDisplayVideo_ThirdPartyVendorConfig_Vendor_ThirdPartyVendorTelemetry * Telemetry. (Value: "THIRD_PARTY_VENDOR_TELEMETRY") + * @arg @c kGTLRDisplayVideo_ThirdPartyVendorConfig_Vendor_ThirdPartyVendorTransunion + * Transunion. (Value: "THIRD_PARTY_VENDOR_TRANSUNION") * @arg @c kGTLRDisplayVideo_ThirdPartyVendorConfig_Vendor_ThirdPartyVendorUnspecified * Unknown third-party vendor. (Value: "THIRD_PARTY_VENDOR_UNSPECIFIED") * @arg @c kGTLRDisplayVideo_ThirdPartyVendorConfig_Vendor_ThirdPartyVendorZefr @@ -32838,7 +32863,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail @interface GTLRDisplayVideo_YoutubeAndPartnersSettings : GTLRObject /** - * The kind of content on which the YouTube and Partners ads will be shown. + * Output only. The kind of content on which the YouTube and Partners ads will + * be shown. *Warning*: This field will be removed in the near future. Use + * effective_content_category instead. * * Likely values: * @arg @c kGTLRDisplayVideo_YoutubeAndPartnersSettings_ContentCategory_YoutubeAndPartnersContentCategoryExpanded @@ -32865,7 +32892,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail /** * Output only. The content category which takes effect when serving the line * item. When content category is set in both line item and advertiser, the - * stricter one will take effect when serving the line item. + * stricter one will take effect when serving the line item. New line items + * will only inherit the advertiser level setting. * * Likely values: * @arg @c kGTLRDisplayVideo_YoutubeAndPartnersSettings_EffectiveContentCategory_YoutubeAndPartnersContentCategoryExpanded diff --git a/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoQuery.h b/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoQuery.h index faea1f08c..4c730fd3a 100644 --- a/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoQuery.h +++ b/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoQuery.h @@ -4371,7 +4371,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY` * - * `TARGETING_TYPE_YOUTUBE_CHANNEL` (only for + * `TARGETING_TYPE_INVENTORY_MODE` * `TARGETING_TYPE_YOUTUBE_CHANNEL` (only for * `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) * * `TARGETING_TYPE_YOUTUBE_VIDEO` (only for * `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) @@ -4579,8 +4579,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY` * - * `TARGETING_TYPE_YOUTUBE_CHANNEL` (only for - * `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) * + * `TARGETING_TYPE_INVENTORY_MODE` * `TARGETING_TYPE_YOUTUBE_CHANNEL` (only + * for `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) * * `TARGETING_TYPE_YOUTUBE_VIDEO` (only for * `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) * @param assignedTargetingOptionId Required. An identifier unique to the @@ -4846,7 +4846,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY` * - * `TARGETING_TYPE_YOUTUBE_CHANNEL` (only for + * `TARGETING_TYPE_INVENTORY_MODE` * `TARGETING_TYPE_YOUTUBE_CHANNEL` (only for * `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) * * `TARGETING_TYPE_YOUTUBE_VIDEO` (only for * `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) @@ -5054,8 +5054,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY` * - * `TARGETING_TYPE_YOUTUBE_CHANNEL` (only for - * `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) * + * `TARGETING_TYPE_INVENTORY_MODE` * `TARGETING_TYPE_YOUTUBE_CHANNEL` (only + * for `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) * * `TARGETING_TYPE_YOUTUBE_VIDEO` (only for * `LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE` line items) * @@ -6308,7 +6308,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo * Required. Identifies the type of this assigned targeting option. Supported * targeting types: * `TARGETING_TYPE_CHANNEL` * * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * - * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_KEYWORD` + * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_KEYWORD` * + * `TARGETING_TYPE_INVENTORY_MODE` * * Likely values: * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUnspecified Default @@ -6488,7 +6489,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo * @param targetingType Required. Identifies the type of this assigned * targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * - * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_KEYWORD` + * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_KEYWORD` * + * `TARGETING_TYPE_INVENTORY_MODE` * * Likely values for @c targetingType: * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUnspecified Default @@ -6682,7 +6684,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo * Required. Identifies the type of this assigned targeting option. Supported * targeting types: * `TARGETING_TYPE_CHANNEL` * * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * - * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_KEYWORD` + * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_KEYWORD` * + * `TARGETING_TYPE_INVENTORY_MODE` * * Likely values: * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUnspecified Default @@ -6859,7 +6862,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo * @param targetingType Required. Identifies the type of this assigned * targeting option. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * - * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_KEYWORD` + * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_KEYWORD` * + * `TARGETING_TYPE_INVENTORY_MODE` * @param assignedTargetingOptionId Required. The ID of the assigned targeting * option to delete. * diff --git a/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h b/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h index ac0323142..3f18c9e22 100644 --- a/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h +++ b/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h @@ -7132,13 +7132,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro /** - * Represents a postal address (for example, for postal delivery or payments - * addresses). Given a postal address, a postal service can deliver items to a - * premise, P.O. box or similar. It is not intended to model geographical - * locations (roads, towns, mountains). In typical usage, an address would be - * created by user input or from importing existing data, depending on the type - * of process. Advice on address input or editing: - Use an - * internationalization-ready address widget such as + * Represents a postal address, such as for postal delivery or payments + * addresses. With a postal address, a postal service can deliver items to a + * premise, P.O. box, or similar. A postal address is not intended to model + * geographical locations like roads, towns, or mountains. In typical usage, an + * address would be created by user input or from importing existing data, + * depending on the type of process. Advice on address input or editing: - Use + * an internationalization-ready address widget such as * https://github.com/google/libaddressinput. - Users should not be presented * with UI elements for input or editing of fields outside countries where that * field is used. For more guidance on how to use this schema, see: diff --git a/Sources/GeneratedServices/Drive/GTLRDriveObjects.m b/Sources/GeneratedServices/Drive/GTLRDriveObjects.m index 221598556..e931c81bd 100644 --- a/Sources/GeneratedServices/Drive/GTLRDriveObjects.m +++ b/Sources/GeneratedServices/Drive/GTLRDriveObjects.m @@ -350,6 +350,16 @@ @implementation GTLRDrive_DownloadRestriction @end +// ---------------------------------------------------------------------------- +// +// GTLRDrive_DownloadRestrictionsMetadata +// + +@implementation GTLRDrive_DownloadRestrictionsMetadata +@dynamic effectiveDownloadRestrictionWithContext, itemDownloadRestriction; +@end + + // ---------------------------------------------------------------------------- // // GTLRDrive_Drive @@ -389,8 +399,8 @@ @implementation GTLRDrive_Drive_BackgroundImageFile @implementation GTLRDrive_Drive_Capabilities @dynamic canAddChildren, canChangeCopyRequiresWriterPermissionRestriction, - canChangeDomainUsersOnlyRestriction, canChangeDriveBackground, - canChangeDriveMembersOnlyRestriction, + canChangeDomainUsersOnlyRestriction, canChangeDownloadRestriction, + canChangeDriveBackground, canChangeDriveMembersOnlyRestriction, canChangeSharingFoldersRequiresOrganizerPermissionRestriction, canComment, canCopy, canDeleteChildren, canDeleteDrive, canDownload, canEdit, canListChildren, canManageMembers, canReadRevisions, @@ -441,18 +451,19 @@ + (NSString *)collectionItemsKey { @implementation GTLRDrive_File @dynamic appProperties, capabilities, contentHints, contentRestrictions, copyRequiresWriterPermission, createdTime, descriptionProperty, - driveId, explicitlyTrashed, exportLinks, fileExtension, folderColorRgb, - fullFileExtension, hasAugmentedPermissions, hasThumbnail, - headRevisionId, iconLink, identifier, imageMediaMetadata, - inheritedPermissionsDisabled, isAppAuthorized, kind, labelInfo, - lastModifyingUser, linkShareMetadata, md5Checksum, mimeType, - modifiedByMe, modifiedByMeTime, modifiedTime, name, originalFilename, - ownedByMe, owners, parents, permissionIds, permissions, properties, - quotaBytesUsed, resourceKey, sha1Checksum, sha256Checksum, shared, - sharedWithMeTime, sharingUser, shortcutDetails, size, spaces, starred, - teamDriveId, thumbnailLink, thumbnailVersion, trashed, trashedTime, - trashingUser, version, videoMediaMetadata, viewedByMe, viewedByMeTime, - viewersCanCopyContent, webContentLink, webViewLink, writersCanShare; + downloadRestrictions, driveId, explicitlyTrashed, exportLinks, + fileExtension, folderColorRgb, fullFileExtension, + hasAugmentedPermissions, hasThumbnail, headRevisionId, iconLink, + identifier, imageMediaMetadata, inheritedPermissionsDisabled, + isAppAuthorized, kind, labelInfo, lastModifyingUser, linkShareMetadata, + md5Checksum, mimeType, modifiedByMe, modifiedByMeTime, modifiedTime, + name, originalFilename, ownedByMe, owners, parents, permissionIds, + permissions, properties, quotaBytesUsed, resourceKey, sha1Checksum, + sha256Checksum, shared, sharedWithMeTime, sharingUser, shortcutDetails, + size, spaces, starred, teamDriveId, thumbnailLink, thumbnailVersion, + trashed, trashedTime, trashingUser, version, videoMediaMetadata, + viewedByMe, viewedByMeTime, viewersCanCopyContent, webContentLink, + webViewLink, writersCanShare; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -499,20 +510,21 @@ + (Class)classForAdditionalProperties { @implementation GTLRDrive_File_Capabilities @dynamic canAcceptOwnership, canAddChildren, canAddFolderFromAnotherDrive, canAddMyDriveParent, canChangeCopyRequiresWriterPermission, - canChangeSecurityUpdateEnabled, canChangeViewersCanCopyContent, - canComment, canCopy, canDelete, canDeleteChildren, - canDisableInheritedPermissions, canDownload, canEdit, - canEnableInheritedPermissions, canListChildren, canModifyContent, - canModifyContentRestriction, canModifyEditorContentRestriction, - canModifyLabels, canModifyOwnerContentRestriction, - canMoveChildrenOutOfDrive, canMoveChildrenOutOfTeamDrive, - canMoveChildrenWithinDrive, canMoveChildrenWithinTeamDrive, - canMoveItemIntoTeamDrive, canMoveItemOutOfDrive, - canMoveItemOutOfTeamDrive, canMoveItemWithinDrive, - canMoveItemWithinTeamDrive, canMoveTeamDriveItem, canReadDrive, - canReadLabels, canReadRevisions, canReadTeamDrive, canRemoveChildren, - canRemoveContentRestriction, canRemoveMyDriveParent, canRename, - canShare, canTrash, canTrashChildren, canUntrash; + canChangeItemDownloadRestriction, canChangeSecurityUpdateEnabled, + canChangeViewersCanCopyContent, canComment, canCopy, canDelete, + canDeleteChildren, canDisableInheritedPermissions, canDownload, + canEdit, canEnableInheritedPermissions, canListChildren, + canModifyContent, canModifyContentRestriction, + canModifyEditorContentRestriction, canModifyLabels, + canModifyOwnerContentRestriction, canMoveChildrenOutOfDrive, + canMoveChildrenOutOfTeamDrive, canMoveChildrenWithinDrive, + canMoveChildrenWithinTeamDrive, canMoveItemIntoTeamDrive, + canMoveItemOutOfDrive, canMoveItemOutOfTeamDrive, + canMoveItemWithinDrive, canMoveItemWithinTeamDrive, + canMoveTeamDriveItem, canReadDrive, canReadLabels, canReadRevisions, + canReadTeamDrive, canRemoveChildren, canRemoveContentRestriction, + canRemoveMyDriveParent, canRename, canShare, canTrash, + canTrashChildren, canUntrash; @end @@ -1211,7 +1223,7 @@ @implementation GTLRDrive_TeamDrive_BackgroundImageFile @implementation GTLRDrive_TeamDrive_Capabilities @dynamic canAddChildren, canChangeCopyRequiresWriterPermissionRestriction, - canChangeDomainUsersOnlyRestriction, + canChangeDomainUsersOnlyRestriction, canChangeDownloadRestriction, canChangeSharingFoldersRequiresOrganizerPermissionRestriction, canChangeTeamDriveBackground, canChangeTeamMembersOnlyRestriction, canComment, canCopy, canDeleteChildren, canDeleteTeamDrive, diff --git a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h index 8b729e5fc..ab88ec87c 100644 --- a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h +++ b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h @@ -30,6 +30,7 @@ @class GTLRDrive_Comment_QuotedFileContent; @class GTLRDrive_ContentRestriction; @class GTLRDrive_DownloadRestriction; +@class GTLRDrive_DownloadRestrictionsMetadata; @class GTLRDrive_Drive; @class GTLRDrive_Drive_BackgroundImageFile; @class GTLRDrive_Drive_Capabilities; @@ -937,6 +938,27 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio @end +/** + * Download restrictions applied to the file. + */ +@interface GTLRDrive_DownloadRestrictionsMetadata : GTLRObject + +/** + * The effective download restriction applied to this file. This considers all + * restriction settings and DLP rules. + */ +@property(nonatomic, strong, nullable) GTLRDrive_DownloadRestriction *effectiveDownloadRestrictionWithContext; + +/** + * The download restriction of the file applied directly by the owner or + * organizer. This does not take into account shared drive settings or DLP + * rules. + */ +@property(nonatomic, strong, nullable) GTLRDrive_DownloadRestriction *itemDownloadRestriction; + +@end + + /** * Representation of a shared drive. Some resource methods (such as * `drives.update`) require a `driveId`. Use the `drives.list` method to @@ -1099,6 +1121,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio */ @property(nonatomic, strong, nullable) NSNumber *canChangeDomainUsersOnlyRestriction; +/** + * Output only. Whether the current user can change organizer-applied download + * restrictions of this shared drive. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *canChangeDownloadRestriction; + /** * Output only. Whether the current user can change the background of this * shared drive. @@ -1387,6 +1417,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; +/** Download restrictions applied on the file. */ +@property(nonatomic, strong, nullable) GTLRDrive_DownloadRestrictionsMetadata *downloadRestrictions; + /** * Output only. ID of the shared drive the file resides in. Only populated for * items in shared drives. @@ -1823,6 +1856,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio */ @property(nonatomic, strong, nullable) NSNumber *canChangeCopyRequiresWriterPermission; +/** + * Output only. Whether the current user can change the owner-applied download + * restrictions of the file. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *canChangeItemDownloadRestriction; + /** * Output only. Whether the current user can change the securityUpdateEnabled * field on link share metadata. @@ -3583,6 +3624,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio */ @property(nonatomic, strong, nullable) NSNumber *canChangeDomainUsersOnlyRestriction; +/** + * Whether the current user can change organizer-applied download restrictions + * of this shared drive. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *canChangeDownloadRestriction; + /** * Whether the current user can change the * `sharingFoldersRequiresOrganizerPermission` restriction of this Team Drive. diff --git a/Sources/GeneratedServices/DriveLabels/GTLRDriveLabelsObjects.m b/Sources/GeneratedServices/DriveLabels/GTLRDriveLabelsObjects.m index d16ee267a..03de08711 100644 --- a/Sources/GeneratedServices/DriveLabels/GTLRDriveLabelsObjects.m +++ b/Sources/GeneratedServices/DriveLabels/GTLRDriveLabelsObjects.m @@ -34,6 +34,11 @@ NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy_CopyMode_CopyModeUnspecified = @"COPY_MODE_UNSPECIFIED"; NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy_CopyMode_DoNotCopy = @"DO_NOT_COPY"; +// GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp.app +NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp_App_AppUnspecified = @"APP_UNSPECIFIED"; +NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp_App_Drive = @"DRIVE"; +NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp_App_Gmail = @"GMAIL"; + // GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelLock.state NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelLock_State_Active = @"ACTIVE"; NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelLock_State_Deleting = @"DELETING"; @@ -63,6 +68,10 @@ NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest_View_LabelViewBasic = @"LABEL_VIEW_BASIC"; NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest_View_LabelViewFull = @"LABEL_VIEW_FULL"; +// GTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest.view +NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest_View_LabelViewBasic = @"LABEL_VIEW_BASIC"; +NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest_View_LabelViewFull = @"LABEL_VIEW_FULL"; + // ---------------------------------------------------------------------------- // // GTLRDriveLabels_GoogleAppsDriveLabelsV2BadgeColors @@ -745,10 +754,10 @@ @implementation GTLRDriveLabels_GoogleAppsDriveLabelsV2IntegerLimits @implementation GTLRDriveLabels_GoogleAppsDriveLabelsV2Label @dynamic appliedCapabilities, appliedLabelPolicy, createTime, creator, customer, - disabler, disableTime, displayHints, fields, identifier, labelType, - learnMoreUri, lifecycle, lockStatus, name, properties, publisher, - publishTime, revisionCreateTime, revisionCreator, revisionId, - schemaCapabilities; + disabler, disableTime, displayHints, enabledAppSettings, fields, + identifier, labelType, learnMoreUri, lifecycle, lockStatus, name, + properties, publisher, publishTime, revisionCreateTime, + revisionCreator, revisionId, schemaCapabilities; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -794,6 +803,34 @@ @implementation GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelDisplayHints @end +// ---------------------------------------------------------------------------- +// +// GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettings +// + +@implementation GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettings +@dynamic enabledApps; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"enabledApps" : [GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp +// + +@implementation GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp +@dynamic app; +@end + + // ---------------------------------------------------------------------------- // // GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelLimits @@ -1018,6 +1055,16 @@ @implementation GTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelCopyModeReques @end +// ---------------------------------------------------------------------------- +// +// GTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest +// + +@implementation GTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest +@dynamic enabledAppSettings, languageCode, useAdminAccess, view; +@end + + // ---------------------------------------------------------------------------- // // GTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelPermissionRequest diff --git a/Sources/GeneratedServices/DriveLabels/GTLRDriveLabelsQuery.m b/Sources/GeneratedServices/DriveLabels/GTLRDriveLabelsQuery.m index 838111308..7fa5bc60f 100644 --- a/Sources/GeneratedServices/DriveLabels/GTLRDriveLabelsQuery.m +++ b/Sources/GeneratedServices/DriveLabels/GTLRDriveLabelsQuery.m @@ -556,6 +556,33 @@ + (instancetype)queryWithObject:(GTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLa @end +@implementation GTLRDriveLabelsQuery_LabelsUpdateLabelEnabledAppSettings + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest *)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}:updateLabelEnabledAppSettings"; + GTLRDriveLabelsQuery_LabelsUpdateLabelEnabledAppSettings *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDriveLabels_GoogleAppsDriveLabelsV2Label class]; + query.loggingName = @"drivelabels.labels.updateLabelEnabledAppSettings"; + return query; +} + +@end + @implementation GTLRDriveLabelsQuery_LabelsUpdatePermissions @dynamic parent, useAdminAccess; diff --git a/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsObjects.h b/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsObjects.h index beb663d5f..6d22e8554 100644 --- a/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsObjects.h +++ b/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsObjects.h @@ -66,6 +66,8 @@ @class GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelAppliedCapabilities; @class GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy; @class GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelDisplayHints; +@class GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettings; +@class GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp; @class GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelLock; @class GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelLockCapabilities; @class GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelPermission; @@ -194,6 +196,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Label */ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy_CopyMode_DoNotCopy; +// ---------------------------------------------------------------------------- +// GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp.app + +/** + * Unspecified + * + * Value: "APP_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp_App_AppUnspecified; +/** + * Drive. + * + * Value: "DRIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp_App_Drive; +/** + * Gmail + * + * Value: "GMAIL" + */ +FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp_App_Gmail; + // ---------------------------------------------------------------------------- // GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelLock.state @@ -339,6 +363,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat */ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest_View_LabelViewFull; +// ---------------------------------------------------------------------------- +// GTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest.view + +/** + * Implies the field mask: `name,id,revision_id,label_type,properties.*` + * + * Value: "LABEL_VIEW_BASIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest_View_LabelViewBasic; +/** + * All possible fields. + * + * Value: "LABEL_VIEW_FULL" + */ +FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest_View_LabelViewFull; + /** * The color derived from BadgeConfig and changed to the closest recommended * supported color. @@ -1767,6 +1807,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** Output only. UI display hints for rendering the label. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelDisplayHints *displayHints; +/** Optional. The EnabledAppSettings for this Label. */ +@property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettings *enabledAppSettings; + /** List of fields in descending priority order. */ @property(nonatomic, strong, nullable) NSArray *fields; @@ -1949,6 +1992,38 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat @end +/** + * Describes the Workspace apps in which the Label can be used. + */ +@interface GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettings : GTLRObject + +/** Optional. The list of Apps where the Label can be used. */ +@property(nonatomic, strong, nullable) NSArray *enabledApps; + +@end + + +/** + * An App where the Label can be used. + */ +@interface GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp : GTLRObject + +/** + * Optional. The name of the App. + * + * Likely values: + * @arg @c kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp_App_AppUnspecified + * Unspecified (Value: "APP_UNSPECIFIED") + * @arg @c kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp_App_Drive + * Drive. (Value: "DRIVE") + * @arg @c kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp_App_Gmail + * Gmail (Value: "GMAIL") + */ +@property(nonatomic, copy, nullable) NSString *app; + +@end + + /** * Label constraints governing the structure of a Label; such as, the maximum * number of Fields allowed and maximum length of the label title. @@ -2542,6 +2617,48 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat @end +/** + * Request to update the `EnabledAppSettings` of the given Label. This change + * is not revisioned, does not require publishing, and takes effect + * immediately. \\ + */ +@interface GTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest : GTLRObject + +/** Required. The new `EnabledAppSettings` value for the Label. */ +@property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettings *enabledAppSettings; + +/** + * Optional. The BCP-47 language code to use for evaluating localized field + * labels. When not specified, values in the default configured language will + * be used. + */ +@property(nonatomic, copy, nullable) NSString *languageCode; + +/** + * Optional. Set to `true` in order to use the user's admin credentials. The + * server will verify the user is an admin for the Label before allowing + * access. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *useAdminAccess; + +/** + * Optional. When specified, only certain fields belonging to the indicated + * view will be returned. + * + * Likely values: + * @arg @c kGTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest_View_LabelViewBasic + * Implies the field mask: `name,id,revision_id,label_type,properties.*` + * (Value: "LABEL_VIEW_BASIC") + * @arg @c kGTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest_View_LabelViewFull + * All possible fields. (Value: "LABEL_VIEW_FULL") + */ +@property(nonatomic, copy, nullable) NSString *view; + +@end + + /** * Updates a Label Permission. Permissions affect the Label resource as a * whole, are not revisioned, and do not require publishing. diff --git a/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsQuery.h b/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsQuery.h index 7cc8ce3e3..62b74616e 100644 --- a/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsQuery.h +++ b/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsQuery.h @@ -1102,6 +1102,41 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end +/** + * Updates a Label's EabledAppSettings. Enabling a Label in a Workspace + * Application allows it to be used in that application. This change is not + * revisioned, does not require publishing, and takes effect immediately. + * + * Method: drivelabels.labels.updateLabelEnabledAppSettings + */ +@interface GTLRDriveLabelsQuery_LabelsUpdateLabelEnabledAppSettings : GTLRDriveLabelsQuery + +/** + * Required. The resource name of the Label to update. The resource name of the + * Label to update. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2Label. + * + * Updates a Label's EabledAppSettings. Enabling a Label in a Workspace + * Application allows it to be used in that application. This change is not + * revisioned, does not require publishing, and takes effect immediately. + * + * @param object The @c + * GTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest + * to include in the query. + * @param name Required. The resource name of the Label to update. The resource + * name of the Label to update. + * + * @return GTLRDriveLabelsQuery_LabelsUpdateLabelEnabledAppSettings + */ ++ (instancetype)queryWithObject:(GTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest *)object + name:(NSString *)name; + +@end + /** * Updates a Label's permissions. If a permission for the indicated principal * doesn't exist, a new Label Permission is created, otherwise the existing diff --git a/Sources/GeneratedServices/Eventarc/GTLREventarcObjects.m b/Sources/GeneratedServices/Eventarc/GTLREventarcObjects.m index d9172df28..1003d2332 100644 --- a/Sources/GeneratedServices/Eventarc/GTLREventarcObjects.m +++ b/Sources/GeneratedServices/Eventarc/GTLREventarcObjects.m @@ -969,7 +969,7 @@ @implementation GTLREventarc_OperationMetadata @implementation GTLREventarc_Pipeline @dynamic annotations, createTime, cryptoKeyName, destinations, displayName, ETag, inputPayloadFormat, labels, loggingConfig, mediations, name, - retryPolicy, uid, updateTime; + retryPolicy, satisfiesPzs, uid, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; diff --git a/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h b/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h index d23792a93..d7c76ab2b 100644 --- a/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h +++ b/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h @@ -2379,6 +2379,14 @@ FOUNDATION_EXTERN NSString * const kGTLREventarc_StateCondition_Code_Unknown; /** Optional. The retry policy to use in the pipeline. */ @property(nonatomic, strong, nullable) GTLREventarc_GoogleCloudEventarcV1PipelineRetryPolicy *retryPolicy; +/** + * Output only. Whether or not this Pipeline satisfies the requirements of + * physical zone separation + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *satisfiesPzs; + /** * Output only. Server-assigned unique identifier for the Pipeline. The value * is a UUID4 string and guaranteed to remain unchanged until the resource is diff --git a/Sources/GeneratedServices/FirebaseCloudMessaging/GTLRFirebaseCloudMessagingObjects.m b/Sources/GeneratedServices/FirebaseCloudMessaging/GTLRFirebaseCloudMessagingObjects.m index d2736b732..4b310c593 100644 --- a/Sources/GeneratedServices/FirebaseCloudMessaging/GTLRFirebaseCloudMessagingObjects.m +++ b/Sources/GeneratedServices/FirebaseCloudMessaging/GTLRFirebaseCloudMessagingObjects.m @@ -45,7 +45,8 @@ @implementation GTLRFirebaseCloudMessaging_AndroidConfig @dynamic bandwidthConstrainedOk, collapseKey, data, directBootOk, fcmOptions, - notification, priority, restrictedPackageName, ttl; + notification, priority, restrictedPackageName, restrictedSatelliteOk, + ttl; @end diff --git a/Sources/GeneratedServices/FirebaseCloudMessaging/Public/GoogleAPIClientForREST/GTLRFirebaseCloudMessagingObjects.h b/Sources/GeneratedServices/FirebaseCloudMessaging/Public/GoogleAPIClientForREST/GTLRFirebaseCloudMessagingObjects.h index b2a5800bb..6a61e6d4a 100644 --- a/Sources/GeneratedServices/FirebaseCloudMessaging/Public/GoogleAPIClientForREST/GTLRFirebaseCloudMessagingObjects.h +++ b/Sources/GeneratedServices/FirebaseCloudMessaging/Public/GoogleAPIClientForREST/GTLRFirebaseCloudMessagingObjects.h @@ -209,8 +209,8 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseCloudMessaging_AndroidNotificati @property(nonatomic, strong, nullable) GTLRFirebaseCloudMessaging_AndroidConfig_Data *data; /** - * If set to true, messages will be allowed to be delivered to the app while - * the device is in direct boot mode. See [Support Direct Boot + * Optional. If set to true, messages will be allowed to be delivered to the + * app while the device is in direct boot mode. See [Support Direct Boot * mode](https://developer.android.com/training/articles/direct-boot). * * Uses NSNumber of boolValue. @@ -254,6 +254,19 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseCloudMessaging_AndroidNotificati */ @property(nonatomic, copy, nullable) NSString *restrictedPackageName; +/** + * Optional. If set to true, messages will be allowed to be delivered to the + * app while the device is connected over a restricted satellite network. This + * should only be enabled for messages that can be handled over a restricted + * satellite network and only for apps that are allowed to work over a + * restricted satellite network. Note that the ability of the app to connect to + * a restricted satellite network is dependent on the carrier's settings and + * the device model. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *restrictedSatelliteOk; + /** * How long (in seconds) the message should be kept in FCM storage if the * device is offline. The maximum time to live supported is 4 weeks, and the diff --git a/Sources/GeneratedServices/FirebaseDataConnect/GTLRFirebaseDataConnectObjects.m b/Sources/GeneratedServices/FirebaseDataConnect/GTLRFirebaseDataConnectObjects.m index 96c2e455e..222728778 100644 --- a/Sources/GeneratedServices/FirebaseDataConnect/GTLRFirebaseDataConnectObjects.m +++ b/Sources/GeneratedServices/FirebaseDataConnect/GTLRFirebaseDataConnectObjects.m @@ -17,6 +17,25 @@ // ---------------------------------------------------------------------------- // Constants +// GTLRFirebaseDataConnect_GraphqlErrorExtensions.code +NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_Aborted = @"ABORTED"; +NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_AlreadyExists = @"ALREADY_EXISTS"; +NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_Cancelled = @"CANCELLED"; +NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_DataLoss = @"DATA_LOSS"; +NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_DeadlineExceeded = @"DEADLINE_EXCEEDED"; +NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_FailedPrecondition = @"FAILED_PRECONDITION"; +NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_Internal = @"INTERNAL"; +NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_InvalidArgument = @"INVALID_ARGUMENT"; +NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_NotFound = @"NOT_FOUND"; +NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_Ok = @"OK"; +NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_OutOfRange = @"OUT_OF_RANGE"; +NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_PermissionDenied = @"PERMISSION_DENIED"; +NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_ResourceExhausted = @"RESOURCE_EXHAUSTED"; +NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_Unauthenticated = @"UNAUTHENTICATED"; +NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_Unavailable = @"UNAVAILABLE"; +NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_Unimplemented = @"UNIMPLEMENTED"; +NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_Unknown = @"UNKNOWN"; + // GTLRFirebaseDataConnect_PostgreSql.schemaMigration NSString * const kGTLRFirebaseDataConnect_PostgreSql_SchemaMigration_MigrateCompatible = @"MIGRATE_COMPATIBLE"; NSString * const kGTLRFirebaseDataConnect_PostgreSql_SchemaMigration_SqlSchemaMigrationUnspecified = @"SQL_SCHEMA_MIGRATION_UNSPECIFIED"; @@ -256,7 +275,7 @@ @implementation GTLRFirebaseDataConnect_GraphqlError // @implementation GTLRFirebaseDataConnect_GraphqlErrorExtensions -@dynamic file; +@dynamic code, debugDetails, file, resource; @end diff --git a/Sources/GeneratedServices/FirebaseDataConnect/Public/GoogleAPIClientForREST/GTLRFirebaseDataConnectObjects.h b/Sources/GeneratedServices/FirebaseDataConnect/Public/GoogleAPIClientForREST/GTLRFirebaseDataConnectObjects.h index d93f9b341..1d72b4c22 100644 --- a/Sources/GeneratedServices/FirebaseDataConnect/Public/GoogleAPIClientForREST/GTLRFirebaseDataConnectObjects.h +++ b/Sources/GeneratedServices/FirebaseDataConnect/Public/GoogleAPIClientForREST/GTLRFirebaseDataConnectObjects.h @@ -63,6 +63,170 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the classes' properties below. +// ---------------------------------------------------------------------------- +// GTLRFirebaseDataConnect_GraphqlErrorExtensions.code + +/** + * The operation was aborted, typically due to a concurrency issue such as a + * sequencer check failure or transaction abort. See the guidelines above for + * deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP + * Mapping: 409 Conflict + * + * Value: "ABORTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_Aborted; +/** + * The entity that a client attempted to create (e.g., file or directory) + * already exists. HTTP Mapping: 409 Conflict + * + * Value: "ALREADY_EXISTS" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_AlreadyExists; +/** + * The operation was cancelled, typically by the caller. HTTP Mapping: 499 + * Client Closed Request + * + * Value: "CANCELLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_Cancelled; +/** + * Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server + * Error + * + * Value: "DATA_LOSS" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_DataLoss; +/** + * The deadline expired before the operation could complete. For operations + * that change the state of the system, this error may be returned even if the + * operation has completed successfully. For example, a successful response + * from a server could have been delayed long enough for the deadline to + * expire. HTTP Mapping: 504 Gateway Timeout + * + * Value: "DEADLINE_EXCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_DeadlineExceeded; +/** + * The operation was rejected because the system is not in a state required for + * the operation's execution. For example, the directory to be deleted is + * non-empty, an rmdir operation is applied to a non-directory, etc. Service + * implementors can use the following guidelines to decide between + * `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` + * if the client can retry just the failing call. (b) Use `ABORTED` if the + * client should retry at a higher level. For example, when a client-specified + * test-and-set fails, indicating the client should restart a read-modify-write + * sequence. (c) Use `FAILED_PRECONDITION` if the client should not retry until + * the system state has been explicitly fixed. For example, if an "rmdir" fails + * because the directory is non-empty, `FAILED_PRECONDITION` should be returned + * since the client should not retry unless the files are deleted from the + * directory. HTTP Mapping: 400 Bad Request + * + * Value: "FAILED_PRECONDITION" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_FailedPrecondition; +/** + * Internal errors. This means that some invariants expected by the underlying + * system have been broken. This error code is reserved for serious errors. + * HTTP Mapping: 500 Internal Server Error + * + * Value: "INTERNAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_Internal; +/** + * The client specified an invalid argument. Note that this differs from + * `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are + * problematic regardless of the state of the system (e.g., a malformed file + * name). HTTP Mapping: 400 Bad Request + * + * Value: "INVALID_ARGUMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_InvalidArgument; +/** + * Some requested entity (e.g., file or directory) was not found. Note to + * server developers: if a request is denied for an entire class of users, such + * as gradual feature rollout or undocumented allowlist, `NOT_FOUND` may be + * used. If a request is denied for some users within a class of users, such as + * user-based access control, `PERMISSION_DENIED` must be used. HTTP Mapping: + * 404 Not Found + * + * Value: "NOT_FOUND" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_NotFound; +/** + * Not an error; returned on success. HTTP Mapping: 200 OK + * + * Value: "OK" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_Ok; +/** + * The operation was attempted past the valid range. E.g., seeking or reading + * past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem + * that may be fixed if the system state changes. For example, a 32-bit file + * system will generate `INVALID_ARGUMENT` if asked to read at an offset that + * is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked + * to read from an offset past the current file size. There is a fair bit of + * overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using + * `OUT_OF_RANGE` (the more specific error) when it applies so that callers who + * are iterating through a space can easily look for an `OUT_OF_RANGE` error to + * detect when they are done. HTTP Mapping: 400 Bad Request + * + * Value: "OUT_OF_RANGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_OutOfRange; +/** + * The caller does not have permission to execute the specified operation. + * `PERMISSION_DENIED` must not be used for rejections caused by exhausting + * some resource (use `RESOURCE_EXHAUSTED` instead for those errors). + * `PERMISSION_DENIED` must not be used if the caller can not be identified + * (use `UNAUTHENTICATED` instead for those errors). This error code does not + * imply the request is valid or the requested entity exists or satisfies other + * pre-conditions. HTTP Mapping: 403 Forbidden + * + * Value: "PERMISSION_DENIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_PermissionDenied; +/** + * Some resource has been exhausted, perhaps a per-user quota, or perhaps the + * entire file system is out of space. HTTP Mapping: 429 Too Many Requests + * + * Value: "RESOURCE_EXHAUSTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_ResourceExhausted; +/** + * The request does not have valid authentication credentials for the + * operation. HTTP Mapping: 401 Unauthorized + * + * Value: "UNAUTHENTICATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_Unauthenticated; +/** + * The service is currently unavailable. This is most likely a transient + * condition, which can be corrected by retrying with a backoff. Note that it + * is not always safe to retry non-idempotent operations. See the guidelines + * above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and + * `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable + * + * Value: "UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_Unavailable; +/** + * The operation is not implemented or is not supported/enabled in this + * service. HTTP Mapping: 501 Not Implemented + * + * Value: "UNIMPLEMENTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_Unimplemented; +/** + * Unknown error. For example, this error may be returned when a `Status` value + * received from another address space belongs to an error space that is not + * known in this address space. Also errors raised by APIs that do not return + * enough error information may be converted to this error. HTTP Mapping: 500 + * Internal Server Error + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_Unknown; + // ---------------------------------------------------------------------------- // GTLRFirebaseDataConnect_PostgreSql.schemaMigration @@ -419,6 +583,123 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseDataConnect_PostgreSql_SchemaVal */ @interface GTLRFirebaseDataConnect_GraphqlErrorExtensions : GTLRObject +/** + * Maps to canonical gRPC codes. If not specified, it represents + * `Code.INTERNAL`. + * + * Likely values: + * @arg @c kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_Aborted The + * operation was aborted, typically due to a concurrency issue such as a + * sequencer check failure or transaction abort. See the guidelines above + * for deciding between `FAILED_PRECONDITION`, `ABORTED`, and + * `UNAVAILABLE`. HTTP Mapping: 409 Conflict (Value: "ABORTED") + * @arg @c kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_AlreadyExists + * The entity that a client attempted to create (e.g., file or directory) + * already exists. HTTP Mapping: 409 Conflict (Value: "ALREADY_EXISTS") + * @arg @c kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_Cancelled The + * operation was cancelled, typically by the caller. HTTP Mapping: 499 + * Client Closed Request (Value: "CANCELLED") + * @arg @c kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_DataLoss + * Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal + * Server Error (Value: "DATA_LOSS") + * @arg @c kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_DeadlineExceeded + * The deadline expired before the operation could complete. For + * operations that change the state of the system, this error may be + * returned even if the operation has completed successfully. For + * example, a successful response from a server could have been delayed + * long enough for the deadline to expire. HTTP Mapping: 504 Gateway + * Timeout (Value: "DEADLINE_EXCEEDED") + * @arg @c kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_FailedPrecondition + * The operation was rejected because the system is not in a state + * required for the operation's execution. For example, the directory to + * be deleted is non-empty, an rmdir operation is applied to a + * non-directory, etc. Service implementors can use the following + * guidelines to decide between `FAILED_PRECONDITION`, `ABORTED`, and + * `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can retry just the + * failing call. (b) Use `ABORTED` if the client should retry at a higher + * level. For example, when a client-specified test-and-set fails, + * indicating the client should restart a read-modify-write sequence. (c) + * Use `FAILED_PRECONDITION` if the client should not retry until the + * system state has been explicitly fixed. For example, if an "rmdir" + * fails because the directory is non-empty, `FAILED_PRECONDITION` should + * be returned since the client should not retry unless the files are + * deleted from the directory. HTTP Mapping: 400 Bad Request (Value: + * "FAILED_PRECONDITION") + * @arg @c kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_Internal + * Internal errors. This means that some invariants expected by the + * underlying system have been broken. This error code is reserved for + * serious errors. HTTP Mapping: 500 Internal Server Error (Value: + * "INTERNAL") + * @arg @c kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_InvalidArgument + * The client specified an invalid argument. Note that this differs from + * `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are + * problematic regardless of the state of the system (e.g., a malformed + * file name). HTTP Mapping: 400 Bad Request (Value: "INVALID_ARGUMENT") + * @arg @c kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_NotFound Some + * requested entity (e.g., file or directory) was not found. Note to + * server developers: if a request is denied for an entire class of + * users, such as gradual feature rollout or undocumented allowlist, + * `NOT_FOUND` may be used. If a request is denied for some users within + * a class of users, such as user-based access control, + * `PERMISSION_DENIED` must be used. HTTP Mapping: 404 Not Found (Value: + * "NOT_FOUND") + * @arg @c kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_Ok Not an + * error; returned on success. HTTP Mapping: 200 OK (Value: "OK") + * @arg @c kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_OutOfRange + * The operation was attempted past the valid range. E.g., seeking or + * reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error + * indicates a problem that may be fixed if the system state changes. For + * example, a 32-bit file system will generate `INVALID_ARGUMENT` if + * asked to read at an offset that is not in the range [0,2^32-1], but it + * will generate `OUT_OF_RANGE` if asked to read from an offset past the + * current file size. There is a fair bit of overlap between + * `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using + * `OUT_OF_RANGE` (the more specific error) when it applies so that + * callers who are iterating through a space can easily look for an + * `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 + * Bad Request (Value: "OUT_OF_RANGE") + * @arg @c kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_PermissionDenied + * The caller does not have permission to execute the specified + * operation. `PERMISSION_DENIED` must not be used for rejections caused + * by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for + * those errors). `PERMISSION_DENIED` must not be used if the caller can + * not be identified (use `UNAUTHENTICATED` instead for those errors). + * This error code does not imply the request is valid or the requested + * entity exists or satisfies other pre-conditions. HTTP Mapping: 403 + * Forbidden (Value: "PERMISSION_DENIED") + * @arg @c kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_ResourceExhausted + * Some resource has been exhausted, perhaps a per-user quota, or perhaps + * the entire file system is out of space. HTTP Mapping: 429 Too Many + * Requests (Value: "RESOURCE_EXHAUSTED") + * @arg @c kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_Unauthenticated + * The request does not have valid authentication credentials for the + * operation. HTTP Mapping: 401 Unauthorized (Value: "UNAUTHENTICATED") + * @arg @c kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_Unavailable + * The service is currently unavailable. This is most likely a transient + * condition, which can be corrected by retrying with a backoff. Note + * that it is not always safe to retry non-idempotent operations. See the + * guidelines above for deciding between `FAILED_PRECONDITION`, + * `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable + * (Value: "UNAVAILABLE") + * @arg @c kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_Unimplemented + * The operation is not implemented or is not supported/enabled in this + * service. HTTP Mapping: 501 Not Implemented (Value: "UNIMPLEMENTED") + * @arg @c kGTLRFirebaseDataConnect_GraphqlErrorExtensions_Code_Unknown + * Unknown error. For example, this error may be returned when a `Status` + * value received from another address space belongs to an error space + * that is not known in this address space. Also errors raised by APIs + * that do not return enough error information may be converted to this + * error. HTTP Mapping: 500 Internal Server Error (Value: "UNKNOWN") + */ +@property(nonatomic, copy, nullable) NSString *code; + +/** + * More detailed error message to assist debugging. In the backend, only + * include it in admin authenticated API like ExecuteGraphql. In the emulator, + * always include it to assist debugging. + */ +@property(nonatomic, copy, nullable) NSString *debugDetails; + /** * The source file name where the error occurred. Included only for * `UpdateSchema` and `UpdateConnector`, it corresponds to `File.path` of the @@ -426,6 +707,13 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseDataConnect_PostgreSql_SchemaVal */ @property(nonatomic, copy, nullable) NSString *file; +/** + * Distinguish which schema or connector the error originates from. It should + * be set on errors from control plane APIs (e.g. `UpdateSchema`, + * `UpdateConnector`). + */ +@property(nonatomic, copy, nullable) NSString *resource; + @end diff --git a/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m b/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m index 6910ab924..fff2eb985 100644 --- a/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m +++ b/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m @@ -58,6 +58,16 @@ NSString * const kGTLRFirestore_GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata_OperationState_Processing = @"PROCESSING"; NSString * const kGTLRFirestore_GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata_OperationState_Successful = @"SUCCESSFUL"; +// GTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata.operationState +NSString * const kGTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata_OperationState_Cancelled = @"CANCELLED"; +NSString * const kGTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata_OperationState_Cancelling = @"CANCELLING"; +NSString * const kGTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata_OperationState_Failed = @"FAILED"; +NSString * const kGTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata_OperationState_Finalizing = @"FINALIZING"; +NSString * const kGTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata_OperationState_Initializing = @"INITIALIZING"; +NSString * const kGTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata_OperationState_OperationStateUnspecified = @"OPERATION_STATE_UNSPECIFIED"; +NSString * const kGTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata_OperationState_Processing = @"PROCESSING"; +NSString * const kGTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata_OperationState_Successful = @"SUCCESSFUL"; + // GTLRFirestore_GoogleFirestoreAdminV1Database.appEngineIntegrationMode NSString * const kGTLRFirestore_GoogleFirestoreAdminV1Database_AppEngineIntegrationMode_AppEngineIntegrationModeUnspecified = @"APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED"; NSString * const kGTLRFirestore_GoogleFirestoreAdminV1Database_AppEngineIntegrationMode_Disabled = @"DISABLED"; @@ -815,6 +825,41 @@ @implementation GTLRFirestore_GoogleFirestoreAdminV1BulkDeleteDocumentsRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata +// + +@implementation GTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata +@dynamic database, endTime, operationState, pitrSnapshot, progressPercentage, + startTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseRequest +// + +@implementation GTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseRequest +@dynamic databaseId, encryptionConfig, pitrSnapshot, tags; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseRequest_Tags +// + +@implementation GTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseRequest_Tags + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRFirestore_GoogleFirestoreAdminV1CmekConfig @@ -1261,6 +1306,16 @@ @implementation GTLRFirestore_GoogleFirestoreAdminV1LocationMetadata @end +// ---------------------------------------------------------------------------- +// +// GTLRFirestore_GoogleFirestoreAdminV1PitrSnapshot +// + +@implementation GTLRFirestore_GoogleFirestoreAdminV1PitrSnapshot +@dynamic database, databaseUid, snapshotTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRFirestore_GoogleFirestoreAdminV1Progress diff --git a/Sources/GeneratedServices/Firestore/GTLRFirestoreQuery.m b/Sources/GeneratedServices/Firestore/GTLRFirestoreQuery.m index fff21f653..ee889d798 100644 --- a/Sources/GeneratedServices/Firestore/GTLRFirestoreQuery.m +++ b/Sources/GeneratedServices/Firestore/GTLRFirestoreQuery.m @@ -155,6 +155,33 @@ + (instancetype)queryWithObject:(GTLRFirestore_GoogleFirestoreAdminV1BulkDeleteD @end +@implementation GTLRFirestoreQuery_ProjectsDatabasesClone + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseRequest *)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}/databases:clone"; + GTLRFirestoreQuery_ProjectsDatabasesClone *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRFirestore_GoogleLongrunningOperation class]; + query.loggingName = @"firestore.projects.databases.clone"; + return query; +} + +@end + @implementation GTLRFirestoreQuery_ProjectsDatabasesCollectionGroupsFieldsGet @dynamic name; diff --git a/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h b/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h index 58eb791ba..239137d3b 100644 --- a/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h +++ b/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h @@ -48,6 +48,7 @@ @class GTLRFirestore_GoogleFirestoreAdminV1Backup; @class GTLRFirestore_GoogleFirestoreAdminV1BackupSchedule; @class GTLRFirestore_GoogleFirestoreAdminV1BackupSource; +@class GTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseRequest_Tags; @class GTLRFirestore_GoogleFirestoreAdminV1CmekConfig; @class GTLRFirestore_GoogleFirestoreAdminV1CustomerManagedEncryptionOptions; @class GTLRFirestore_GoogleFirestoreAdminV1DailyRecurrence; @@ -61,6 +62,7 @@ @class GTLRFirestore_GoogleFirestoreAdminV1IndexConfig; @class GTLRFirestore_GoogleFirestoreAdminV1IndexConfigDelta; @class GTLRFirestore_GoogleFirestoreAdminV1IndexField; +@class GTLRFirestore_GoogleFirestoreAdminV1PitrSnapshot; @class GTLRFirestore_GoogleFirestoreAdminV1Progress; @class GTLRFirestore_GoogleFirestoreAdminV1ResourceIdentity; @class GTLRFirestore_GoogleFirestoreAdminV1RestoreDatabaseRequest_Tags; @@ -359,6 +361,60 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_GoogleFirestoreAdminV1BulkDele */ FOUNDATION_EXTERN NSString * const kGTLRFirestore_GoogleFirestoreAdminV1BulkDeleteDocumentsMetadata_OperationState_Successful; +// ---------------------------------------------------------------------------- +// GTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata.operationState + +/** + * Request has finished being cancelled after user called + * google.longrunning.Operations.CancelOperation. + * + * Value: "CANCELLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata_OperationState_Cancelled; +/** + * Request is in the process of being cancelled after user called + * google.longrunning.Operations.CancelOperation on the operation. + * + * Value: "CANCELLING" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata_OperationState_Cancelling; +/** + * Request has finished being processed, but encountered an error. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata_OperationState_Failed; +/** + * Request has been processed and is in its finalization stage. + * + * Value: "FINALIZING" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata_OperationState_Finalizing; +/** + * Request is being prepared for processing. + * + * Value: "INITIALIZING" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata_OperationState_Initializing; +/** + * Unspecified. + * + * Value: "OPERATION_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata_OperationState_OperationStateUnspecified; +/** + * Request is actively being processed. + * + * Value: "PROCESSING" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata_OperationState_Processing; +/** + * Request has completed successfully. + * + * Value: "SUCCESSFUL" + */ +FOUNDATION_EXTERN NSString * const kGTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata_OperationState_Successful; + // ---------------------------------------------------------------------------- // GTLRFirestore_GoogleFirestoreAdminV1Database.appEngineIntegrationMode @@ -2452,6 +2508,113 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; @end +/** + * Metadata for the long-running operation from the CloneDatabase request. + */ +@interface GTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata : GTLRObject + +/** The name of the database being cloned to. */ +@property(nonatomic, copy, nullable) NSString *database; + +/** The time the clone finished, unset for ongoing clones. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** + * The operation state of the clone. + * + * Likely values: + * @arg @c kGTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata_OperationState_Cancelled + * Request has finished being cancelled after user called + * google.longrunning.Operations.CancelOperation. (Value: "CANCELLED") + * @arg @c kGTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata_OperationState_Cancelling + * Request is in the process of being cancelled after user called + * google.longrunning.Operations.CancelOperation on the operation. + * (Value: "CANCELLING") + * @arg @c kGTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata_OperationState_Failed + * Request has finished being processed, but encountered an error. + * (Value: "FAILED") + * @arg @c kGTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata_OperationState_Finalizing + * Request has been processed and is in its finalization stage. (Value: + * "FINALIZING") + * @arg @c kGTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata_OperationState_Initializing + * Request is being prepared for processing. (Value: "INITIALIZING") + * @arg @c kGTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata_OperationState_OperationStateUnspecified + * Unspecified. (Value: "OPERATION_STATE_UNSPECIFIED") + * @arg @c kGTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata_OperationState_Processing + * Request is actively being processed. (Value: "PROCESSING") + * @arg @c kGTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseMetadata_OperationState_Successful + * Request has completed successfully. (Value: "SUCCESSFUL") + */ +@property(nonatomic, copy, nullable) NSString *operationState; + +/** The snapshot from which this database was cloned. */ +@property(nonatomic, strong, nullable) GTLRFirestore_GoogleFirestoreAdminV1PitrSnapshot *pitrSnapshot; + +/** + * How far along the clone is as an estimated percentage of remaining time. + */ +@property(nonatomic, strong, nullable) GTLRFirestore_GoogleFirestoreAdminV1Progress *progressPercentage; + +/** The time the clone was started. */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; + +@end + + +/** + * The request message for FirestoreAdmin.CloneDatabase. + */ +@interface GTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseRequest : GTLRObject + +/** + * Required. The ID to use for the database, which will become the final + * component of the database's resource name. This database ID must not be + * associated with an existing database. This value should be 4-63 characters. + * Valid characters are /a-z-/ with first character a letter and the last a + * letter or a number. Must not be UUID-like + * /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/. "(default)" database ID is also + * valid. + */ +@property(nonatomic, copy, nullable) NSString *databaseId; + +/** + * Optional. Encryption configuration for the cloned database. If this field is + * not specified, the cloned database will use the same encryption + * configuration as the source database, namely use_source_encryption. + */ +@property(nonatomic, strong, nullable) GTLRFirestore_GoogleFirestoreAdminV1EncryptionConfig *encryptionConfig; + +/** + * Required. Specification of the PITR data to clone from. The source database + * must exist. The cloned database will be created in the same location as the + * source database. + */ +@property(nonatomic, strong, nullable) GTLRFirestore_GoogleFirestoreAdminV1PitrSnapshot *pitrSnapshot; + +/** + * Optional. Immutable. Tags to be bound to the cloned database. The tags + * should be provided in the format of `tagKeys/{tag_key_id} -> + * tagValues/{tag_value_id}`. + */ +@property(nonatomic, strong, nullable) GTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseRequest_Tags *tags; + +@end + + +/** + * Optional. Immutable. Tags to be bound to the cloned database. The tags + * should be provided in the format of `tagKeys/{tag_key_id} -> + * tagValues/{tag_value_id}`. + * + * @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 GTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseRequest_Tags : GTLRObject +@end + + /** * The CMEK (Customer Managed Encryption Key) configuration for a Firestore * database. If not present, the database is secured by the default Google @@ -3559,6 +3722,35 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; @end +/** + * A consistent snapshot of a database at a specific point in time. A PITR + * (Point-in-time recovery) snapshot with previous versions of a database's + * data is available for every minute up to the associated database's data + * retention period. If the PITR feature is enabled, the retention period is 7 + * days; otherwise, it is one hour. + */ +@interface GTLRFirestore_GoogleFirestoreAdminV1PitrSnapshot : GTLRObject + +/** + * Required. The name of the database that this was a snapshot of. Format: + * `projects/{project}/databases/{database}`. + */ +@property(nonatomic, copy, nullable) NSString *database; + +/** + * Output only. Public UUID of the database the snapshot was associated with. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *databaseUid; + +/** Required. Snapshot time of the database. */ +@property(nonatomic, strong, nullable) GTLRDateTime *snapshotTime; + +@end + + /** * Describes the progress of the operation. Unit of work is generic and must be * interpreted based on where Progress is used. diff --git a/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreQuery.h b/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreQuery.h index 6c9920819..5fce2ed56 100644 --- a/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreQuery.h +++ b/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreQuery.h @@ -255,6 +255,57 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Creates a new database by cloning an existing one. The new database must be + * in the same cloud region or multi-region location as the existing database. + * This behaves similar to FirestoreAdmin.CreateDatabase except instead of + * creating a new empty database, a new database is created with the database + * type, index configuration, and documents from an existing database. The + * long-running operation can be used to track the progress of the clone, with + * the Operation's metadata field type being the CloneDatabaseMetadata. The + * response type is the Database if the clone was successful. The new database + * is not readable or writeable until the LRO has completed. + * + * Method: firestore.projects.databases.clone + * + * Authorization scope(s): + * @c kGTLRAuthScopeFirestoreCloudPlatform + * @c kGTLRAuthScopeFirestoreDatastore + */ +@interface GTLRFirestoreQuery_ProjectsDatabasesClone : GTLRFirestoreQuery + +/** + * Required. The project to clone the database in. Format is + * `projects/{project_id}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRFirestore_GoogleLongrunningOperation. + * + * Creates a new database by cloning an existing one. The new database must be + * in the same cloud region or multi-region location as the existing database. + * This behaves similar to FirestoreAdmin.CreateDatabase except instead of + * creating a new empty database, a new database is created with the database + * type, index configuration, and documents from an existing database. The + * long-running operation can be used to track the progress of the clone, with + * the Operation's metadata field type being the CloneDatabaseMetadata. The + * response type is the Database if the clone was successful. The new database + * is not readable or writeable until the LRO has completed. + * + * @param object The @c + * GTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseRequest to include in the + * query. + * @param parent Required. The project to clone the database in. Format is + * `projects/{project_id}`. + * + * @return GTLRFirestoreQuery_ProjectsDatabasesClone + */ ++ (instancetype)queryWithObject:(GTLRFirestore_GoogleFirestoreAdminV1CloneDatabaseRequest *)object + parent:(NSString *)parent; + +@end + /** * Gets the metadata and configuration for a Field. * diff --git a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h index 592d448be..619541309 100644 --- a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h +++ b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h @@ -2706,7 +2706,7 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_WorkloadCertificateSpec_Certifica /** Required. The name of the deployment resource to be overridden. */ @property(nonatomic, copy, nullable) NSString *deploymentName; -/** Required. The namespace of the deployment resource to be overridden.. */ +/** Required. The namespace of the deployment resource to be overridden. */ @property(nonatomic, copy, nullable) NSString *deploymentNamespace; @end diff --git a/Sources/GeneratedServices/GKEOnPrem/GTLRGKEOnPremQuery.m b/Sources/GeneratedServices/GKEOnPrem/GTLRGKEOnPremQuery.m index fcd57beb8..4684257f2 100644 --- a/Sources/GeneratedServices/GKEOnPrem/GTLRGKEOnPremQuery.m +++ b/Sources/GeneratedServices/GKEOnPrem/GTLRGKEOnPremQuery.m @@ -1261,7 +1261,7 @@ + (instancetype)queryWithObject:(GTLRGKEOnPrem_TestIamPermissionsRequest *)objec @implementation GTLRGKEOnPremQuery_ProjectsLocationsVmwareAdminClustersUnenroll -@dynamic allowMissing, ETag, name, validateOnly; +@dynamic allowMissing, ETag, ignoreErrors, name, validateOnly; + (NSDictionary *)parameterNameMap { return @{ @"ETag" : @"etag" }; diff --git a/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremQuery.h b/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremQuery.h index 46456d8a4..353dad0a6 100644 --- a/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremQuery.h +++ b/Sources/GeneratedServices/GKEOnPrem/Public/GoogleAPIClientForREST/GTLRGKEOnPremQuery.h @@ -2569,6 +2569,17 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEOnPremViewNodePoolViewUnspecified; */ @property(nonatomic, copy, nullable) NSString *ETag; +/** + * Optional. If set to true, the unenrollment of a vmware admin cluster + * resource will succeed even if errors occur during unenrollment. This + * parameter can be used when you want to unenroll admin cluster resource and + * the on-prem admin cluster is disconnected / unreachable. WARNING: Using this + * parameter when your admin cluster still exists may result in a deleted GCP + * admin cluster but existing resourcelink in on-prem admin cluster and + * membership. + */ +@property(nonatomic, assign) BOOL ignoreErrors; + /** * Required. Name of the VMware admin cluster to be unenrolled. Format: * "projects/{project}/locations/{location}/vmwareAdminClusters/{cluster}" diff --git a/Sources/GeneratedServices/Gmail/Public/GoogleAPIClientForREST/GTLRGmailObjects.h b/Sources/GeneratedServices/Gmail/Public/GoogleAPIClientForREST/GTLRGmailObjects.h index 5dd441bfd..accbe7506 100644 --- a/Sources/GeneratedServices/Gmail/Public/GoogleAPIClientForREST/GTLRGmailObjects.h +++ b/Sources/GeneratedServices/Gmail/Public/GoogleAPIClientForREST/GTLRGmailObjects.h @@ -495,7 +495,16 @@ FOUNDATION_EXTERN NSString * const kGTLRGmail_WatchRequest_LabelFilterBehavior_I * The client-side encryption (CSE) configuration for the email address of an * authenticated user. Gmail uses CSE configurations to save drafts of * client-side encrypted email messages, and to sign and send encrypted email - * messages. + * messages. For administrators managing identities and keypairs for users in + * their organization, requests require authorization with a [service + * account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) + * that has [domain-wide delegation + * authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) + * to impersonate users with the + * `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users + * managing their own identities and keypairs, requests require [hardware key + * encryption](https://support.google.com/a/answer/14153163) turned on and + * configured. */ @interface GTLRGmail_CseIdentity : GTLRObject @@ -523,7 +532,17 @@ FOUNDATION_EXTERN NSString * const kGTLRGmail_WatchRequest_LabelFilterBehavior_I * uses the key pair to complete the following tasks: - Sign outgoing * client-side encrypted messages. - Save and reopen drafts of client-side * encrypted messages. - Save and reopen sent messages. - Decrypt incoming or - * archived S/MIME messages. + * archived S/MIME messages. For administrators managing identities and + * keypairs for users in their organization, requests require authorization + * with a [service + * account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) + * that has [domain-wide delegation + * authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) + * to impersonate users with the + * `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users + * managing their own identities and keypairs, requests require [hardware key + * encryption](https://support.google.com/a/answer/14153163) turned on and + * configured. */ @interface GTLRGmail_CseKeyPair : GTLRObject @@ -812,7 +831,12 @@ FOUNDATION_EXTERN NSString * const kGTLRGmail_WatchRequest_LabelFilterBehavior_I /** - * Metadata for hardware keys. + * Metadata for hardware keys. If [hardware key + * encryption](https://support.google.com/a/answer/14153163) is set up for the + * Google Workspace organization, users can optionally store their private key + * on their smart card and use it to sign and decrypt email messages in Gmail + * by inserting their smart card into a reader attached to their Windows + * device. */ @interface GTLRGmail_HardwareKeyMetadata : GTLRObject diff --git a/Sources/GeneratedServices/Gmail/Public/GoogleAPIClientForREST/GTLRGmailQuery.h b/Sources/GeneratedServices/Gmail/Public/GoogleAPIClientForREST/GTLRGmailQuery.h index 2440e2ef2..a50782d0a 100644 --- a/Sources/GeneratedServices/Gmail/Public/GoogleAPIClientForREST/GTLRGmailQuery.h +++ b/Sources/GeneratedServices/Gmail/Public/GoogleAPIClientForREST/GTLRGmailQuery.h @@ -1170,7 +1170,8 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; @end /** - * Lists the messages in the user's mailbox. + * Lists the messages in the user's mailbox. For example usage, see [List Gmail + * messages](https://developers.google.com/workspace/gmail/api/guides/list-messages). * * Method: gmail.users.messages.list * @@ -1227,7 +1228,8 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; /** * Fetches a @c GTLRGmail_ListMessagesResponse. * - * Lists the messages in the user's mailbox. + * Lists the messages in the user's mailbox. For example usage, see [List Gmail + * messages](https://developers.google.com/workspace/gmail/api/guides/list-messages). * * @param userId The user's email address. The special value `me` can be used * to indicate the authenticated user. (Default me) @@ -1419,7 +1421,17 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; * Creates and configures a client-side encryption identity that's authorized * to send mail from the user account. Google publishes the S/MIME certificate * to a shared domain-wide directory so that people within a Google Workspace - * organization can encrypt and send mail to the identity. + * organization can encrypt and send mail to the identity. For administrators + * managing identities and keypairs for users in their organization, requests + * require authorization with a [service + * account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) + * that has [domain-wide delegation + * authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) + * to impersonate users with the + * `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users + * managing their own identities and keypairs, requests require [hardware key + * encryption](https://support.google.com/a/answer/14153163) turned on and + * configured. * * Method: gmail.users.settings.cse.identities.create * @@ -1443,7 +1455,17 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; * Creates and configures a client-side encryption identity that's authorized * to send mail from the user account. Google publishes the S/MIME certificate * to a shared domain-wide directory so that people within a Google Workspace - * organization can encrypt and send mail to the identity. + * organization can encrypt and send mail to the identity. For administrators + * managing identities and keypairs for users in their organization, requests + * require authorization with a [service + * account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) + * that has [domain-wide delegation + * authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) + * to impersonate users with the + * `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users + * managing their own identities and keypairs, requests require [hardware key + * encryption](https://support.google.com/a/answer/14153163) turned on and + * configured. * * @param object The @c GTLRGmail_CseIdentity to include in the query. * @param userId The requester's primary email address. To indicate the @@ -1460,7 +1482,17 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; * Deletes a client-side encryption identity. The authenticated user can no * longer use the identity to send encrypted messages. You cannot restore the * identity after you delete it. Instead, use the CreateCseIdentity method to - * create another identity with the same configuration. + * create another identity with the same configuration. For administrators + * managing identities and keypairs for users in their organization, requests + * require authorization with a [service + * account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) + * that has [domain-wide delegation + * authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) + * to impersonate users with the + * `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users + * managing their own identities and keypairs, requests require [hardware key + * encryption](https://support.google.com/a/answer/14153163) turned on and + * configured. * * Method: gmail.users.settings.cse.identities.delete * @@ -1491,7 +1523,17 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; * Deletes a client-side encryption identity. The authenticated user can no * longer use the identity to send encrypted messages. You cannot restore the * identity after you delete it. Instead, use the CreateCseIdentity method to - * create another identity with the same configuration. + * create another identity with the same configuration. For administrators + * managing identities and keypairs for users in their organization, requests + * require authorization with a [service + * account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) + * that has [domain-wide delegation + * authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) + * to impersonate users with the + * `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users + * managing their own identities and keypairs, requests require [hardware key + * encryption](https://support.google.com/a/answer/14153163) turned on and + * configured. * * @param userId The requester's primary email address. To indicate the * authenticated user, you can use the special value `me`. (Default me) @@ -1506,7 +1548,17 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; @end /** - * Retrieves a client-side encryption identity configuration. + * Retrieves a client-side encryption identity configuration. For + * administrators managing identities and keypairs for users in their + * organization, requests require authorization with a [service + * account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) + * that has [domain-wide delegation + * authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) + * to impersonate users with the + * `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users + * managing their own identities and keypairs, requests require [hardware key + * encryption](https://support.google.com/a/answer/14153163) turned on and + * configured. * * Method: gmail.users.settings.cse.identities.get * @@ -1536,7 +1588,17 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; /** * Fetches a @c GTLRGmail_CseIdentity. * - * Retrieves a client-side encryption identity configuration. + * Retrieves a client-side encryption identity configuration. For + * administrators managing identities and keypairs for users in their + * organization, requests require authorization with a [service + * account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) + * that has [domain-wide delegation + * authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) + * to impersonate users with the + * `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users + * managing their own identities and keypairs, requests require [hardware key + * encryption](https://support.google.com/a/answer/14153163) turned on and + * configured. * * @param userId The requester's primary email address. To indicate the * authenticated user, you can use the special value `me`. (Default me) @@ -1551,7 +1613,17 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; @end /** - * Lists the client-side encrypted identities for an authenticated user. + * Lists the client-side encrypted identities for an authenticated user. For + * administrators managing identities and keypairs for users in their + * organization, requests require authorization with a [service + * account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) + * that has [domain-wide delegation + * authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) + * to impersonate users with the + * `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users + * managing their own identities and keypairs, requests require [hardware key + * encryption](https://support.google.com/a/answer/14153163) turned on and + * configured. * * Method: gmail.users.settings.cse.identities.list * @@ -1589,7 +1661,17 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; /** * Fetches a @c GTLRGmail_ListCseIdentitiesResponse. * - * Lists the client-side encrypted identities for an authenticated user. + * Lists the client-side encrypted identities for an authenticated user. For + * administrators managing identities and keypairs for users in their + * organization, requests require authorization with a [service + * account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) + * that has [domain-wide delegation + * authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) + * to impersonate users with the + * `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users + * managing their own identities and keypairs, requests require [hardware key + * encryption](https://support.google.com/a/answer/14153163) turned on and + * configured. * * @param userId The requester's primary email address. To indicate the * authenticated user, you can use the special value `me`. (Default me) @@ -1607,7 +1689,17 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; /** * Associates a different key pair with an existing client-side encryption * identity. The updated key pair must validate against Google's [S/MIME - * certificate profiles](https://support.google.com/a/answer/7300887). + * certificate profiles](https://support.google.com/a/answer/7300887). For + * administrators managing identities and keypairs for users in their + * organization, requests require authorization with a [service + * account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) + * that has [domain-wide delegation + * authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) + * to impersonate users with the + * `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users + * managing their own identities and keypairs, requests require [hardware key + * encryption](https://support.google.com/a/answer/14153163) turned on and + * configured. * * Method: gmail.users.settings.cse.identities.patch * @@ -1633,7 +1725,17 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; * * Associates a different key pair with an existing client-side encryption * identity. The updated key pair must validate against Google's [S/MIME - * certificate profiles](https://support.google.com/a/answer/7300887). + * certificate profiles](https://support.google.com/a/answer/7300887). For + * administrators managing identities and keypairs for users in their + * organization, requests require authorization with a [service + * account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) + * that has [domain-wide delegation + * authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) + * to impersonate users with the + * `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users + * managing their own identities and keypairs, requests require [hardware key + * encryption](https://support.google.com/a/answer/14153163) turned on and + * configured. * * @param object The @c GTLRGmail_CseIdentity to include in the query. * @param userId The requester's primary email address. To indicate the @@ -1651,7 +1753,17 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; /** * Creates and uploads a client-side encryption S/MIME public key certificate - * chain and private key metadata for the authenticated user. + * chain and private key metadata for the authenticated user. For + * administrators managing identities and keypairs for users in their + * organization, requests require authorization with a [service + * account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) + * that has [domain-wide delegation + * authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) + * to impersonate users with the + * `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users + * managing their own identities and keypairs, requests require [hardware key + * encryption](https://support.google.com/a/answer/14153163) turned on and + * configured. * * Method: gmail.users.settings.cse.keypairs.create * @@ -1673,7 +1785,17 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; * Fetches a @c GTLRGmail_CseKeyPair. * * Creates and uploads a client-side encryption S/MIME public key certificate - * chain and private key metadata for the authenticated user. + * chain and private key metadata for the authenticated user. For + * administrators managing identities and keypairs for users in their + * organization, requests require authorization with a [service + * account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) + * that has [domain-wide delegation + * authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) + * to impersonate users with the + * `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users + * managing their own identities and keypairs, requests require [hardware key + * encryption](https://support.google.com/a/answer/14153163) turned on and + * configured. * * @param object The @c GTLRGmail_CseKeyPair to include in the query. * @param userId The requester's primary email address. To indicate the @@ -1691,7 +1813,17 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; * longer use the key pair to decrypt incoming CSE message texts or sign * outgoing CSE mail. To regain access, use the EnableCseKeyPair to turn on the * key pair. After 30 days, you can permanently delete the key pair by using - * the ObliterateCseKeyPair method. + * the ObliterateCseKeyPair method. For administrators managing identities and + * keypairs for users in their organization, requests require authorization + * with a [service + * account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) + * that has [domain-wide delegation + * authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) + * to impersonate users with the + * `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users + * managing their own identities and keypairs, requests require [hardware key + * encryption](https://support.google.com/a/answer/14153163) turned on and + * configured. * * Method: gmail.users.settings.cse.keypairs.disable * @@ -1719,7 +1851,17 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; * longer use the key pair to decrypt incoming CSE message texts or sign * outgoing CSE mail. To regain access, use the EnableCseKeyPair to turn on the * key pair. After 30 days, you can permanently delete the key pair by using - * the ObliterateCseKeyPair method. + * the ObliterateCseKeyPair method. For administrators managing identities and + * keypairs for users in their organization, requests require authorization + * with a [service + * account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) + * that has [domain-wide delegation + * authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) + * to impersonate users with the + * `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users + * managing their own identities and keypairs, requests require [hardware key + * encryption](https://support.google.com/a/answer/14153163) turned on and + * configured. * * @param object The @c GTLRGmail_DisableCseKeyPairRequest to include in the * query. @@ -1738,6 +1880,16 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; /** * Turns on a client-side encryption key pair that was turned off. The key pair * becomes active again for any associated client-side encryption identities. + * For administrators managing identities and keypairs for users in their + * organization, requests require authorization with a [service + * account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) + * that has [domain-wide delegation + * authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) + * to impersonate users with the + * `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users + * managing their own identities and keypairs, requests require [hardware key + * encryption](https://support.google.com/a/answer/14153163) turned on and + * configured. * * Method: gmail.users.settings.cse.keypairs.enable * @@ -1763,6 +1915,16 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; * * Turns on a client-side encryption key pair that was turned off. The key pair * becomes active again for any associated client-side encryption identities. + * For administrators managing identities and keypairs for users in their + * organization, requests require authorization with a [service + * account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) + * that has [domain-wide delegation + * authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) + * to impersonate users with the + * `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users + * managing their own identities and keypairs, requests require [hardware key + * encryption](https://support.google.com/a/answer/14153163) turned on and + * configured. * * @param object The @c GTLRGmail_EnableCseKeyPairRequest to include in the * query. @@ -1779,7 +1941,17 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; @end /** - * Retrieves an existing client-side encryption key pair. + * Retrieves an existing client-side encryption key pair. For administrators + * managing identities and keypairs for users in their organization, requests + * require authorization with a [service + * account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) + * that has [domain-wide delegation + * authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) + * to impersonate users with the + * `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users + * managing their own identities and keypairs, requests require [hardware key + * encryption](https://support.google.com/a/answer/14153163) turned on and + * configured. * * Method: gmail.users.settings.cse.keypairs.get * @@ -1806,7 +1978,17 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; /** * Fetches a @c GTLRGmail_CseKeyPair. * - * Retrieves an existing client-side encryption key pair. + * Retrieves an existing client-side encryption key pair. For administrators + * managing identities and keypairs for users in their organization, requests + * require authorization with a [service + * account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) + * that has [domain-wide delegation + * authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) + * to impersonate users with the + * `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users + * managing their own identities and keypairs, requests require [hardware key + * encryption](https://support.google.com/a/answer/14153163) turned on and + * configured. * * @param userId The requester's primary email address. To indicate the * authenticated user, you can use the special value `me`. (Default me) @@ -1820,7 +2002,17 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; @end /** - * Lists client-side encryption key pairs for an authenticated user. + * Lists client-side encryption key pairs for an authenticated user. For + * administrators managing identities and keypairs for users in their + * organization, requests require authorization with a [service + * account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) + * that has [domain-wide delegation + * authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) + * to impersonate users with the + * `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users + * managing their own identities and keypairs, requests require [hardware key + * encryption](https://support.google.com/a/answer/14153163) turned on and + * configured. * * Method: gmail.users.settings.cse.keypairs.list * @@ -1858,7 +2050,17 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; /** * Fetches a @c GTLRGmail_ListCseKeyPairsResponse. * - * Lists client-side encryption key pairs for an authenticated user. + * Lists client-side encryption key pairs for an authenticated user. For + * administrators managing identities and keypairs for users in their + * organization, requests require authorization with a [service + * account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) + * that has [domain-wide delegation + * authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) + * to impersonate users with the + * `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users + * managing their own identities and keypairs, requests require [hardware key + * encryption](https://support.google.com/a/answer/14153163) turned on and + * configured. * * @param userId The requester's primary email address. To indicate the * authenticated user, you can use the special value `me`. (Default me) @@ -1879,7 +2081,17 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; * than 30 days. To turn off a key pair, use the DisableCseKeyPair method. * Gmail can't restore or decrypt any messages that were encrypted by an * obliterated key. Authenticated users and Google Workspace administrators - * lose access to reading the encrypted messages. + * lose access to reading the encrypted messages. For administrators managing + * identities and keypairs for users in their organization, requests require + * authorization with a [service + * account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) + * that has [domain-wide delegation + * authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) + * to impersonate users with the + * `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users + * managing their own identities and keypairs, requests require [hardware key + * encryption](https://support.google.com/a/answer/14153163) turned on and + * configured. * * Method: gmail.users.settings.cse.keypairs.obliterate * @@ -1909,7 +2121,17 @@ FOUNDATION_EXTERN NSString * const kGTLRGmailInternalDateSourceReceivedTime; * than 30 days. To turn off a key pair, use the DisableCseKeyPair method. * Gmail can't restore or decrypt any messages that were encrypted by an * obliterated key. Authenticated users and Google Workspace administrators - * lose access to reading the encrypted messages. + * lose access to reading the encrypted messages. For administrators managing + * identities and keypairs for users in their organization, requests require + * authorization with a [service + * account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) + * that has [domain-wide delegation + * authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) + * to impersonate users with the + * `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users + * managing their own identities and keypairs, requests require [hardware key + * encryption](https://support.google.com/a/answer/14153163) turned on and + * configured. * * @param object The @c GTLRGmail_ObliterateCseKeyPairRequest to include in the * query. diff --git a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h index 022db40c8..a503deb9e 100644 --- a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h +++ b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h @@ -641,7 +641,15 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_DeletionMetadata_DeletionTy // ---------------------------------------------------------------------------- // GTLRHangoutsChat_DeprecatedEvent.dialogEventType -/** Value: "CANCEL_DIALOG" */ +/** + * A user closes a dialog without submitting information. The Chat app only + * receives this interaction event when users click the close icon in the top + * right corner of the dialog. When the user closes the dialog by other means + * (such as refreshing the browser, clicking outside the dialog box, or + * pressing the escape key), no event is sent. + * + * Value: "CANCEL_DIALOG" + */ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_DeprecatedEvent_DialogEventType_CancelDialog; /** * A user opens a dialog. @@ -2871,8 +2879,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty * interaction event received. * * Likely values: - * @arg @c kGTLRHangoutsChat_DeprecatedEvent_DialogEventType_CancelDialog - * Value "CANCEL_DIALOG" + * @arg @c kGTLRHangoutsChat_DeprecatedEvent_DialogEventType_CancelDialog A + * user closes a dialog without submitting information. The Chat app only + * receives this interaction event when users click the close icon in the + * top right corner of the dialog. When the user closes the dialog by + * other means (such as refreshing the browser, clicking outside the + * dialog box, or pressing the escape key), no event is sent. (Value: + * "CANCEL_DIALOG") * @arg @c kGTLRHangoutsChat_DeprecatedEvent_DialogEventType_RequestDialog A * user opens a dialog. (Value: "REQUEST_DIALOG") * @arg @c kGTLRHangoutsChat_DeprecatedEvent_DialogEventType_SubmitDialog A @@ -5049,7 +5062,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty * example, the following JSON creates a date time picker to schedule an * appointment: ``` "dateTimePicker": { "name": "appointment_time", "label": * "Book your appointment at:", "type": "DATE_AND_TIME", "valueMsEpoch": - * "796435200000" } ``` + * 796435200000 } ``` */ @property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1DateTimePicker *dateTimePicker; diff --git a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h index ae0e45e1c..dd2acbd04 100644 --- a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h +++ b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h @@ -473,10 +473,15 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * `https://www.googleapis.com/auth/chat.spaces` - * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) When * authenticating as an app, the `space.customer` field must be set in the - * request. Space membership upon creation depends on whether the space is - * created in `Import mode`: * **Import mode:** No members are created. * **All - * other modes:** The calling user is added as a member. This is: * The app - * itself when using app authentication. * The human user when using user + * request. When authenticating as an app, the Chat app is added as a member of + * the space. However, unlike human authentication, the Chat app is not added + * as a space manager. By default, the Chat app can be removed from the space + * by all space members. To allow only space managers to remove the app from a + * space, set `space.permission_settings.manage_apps` to `managers_allowed`. + * Space membership upon creation depends on whether the space is created in + * `Import mode`: * **Import mode:** No members are created. * **All other + * modes:** The calling user is added as a member. This is: * The app itself + * when using app authentication. * The human user when using user * authentication. 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. @@ -522,10 +527,15 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * `https://www.googleapis.com/auth/chat.spaces` - * `https://www.googleapis.com/auth/chat.import` (import mode spaces only) When * authenticating as an app, the `space.customer` field must be set in the - * request. Space membership upon creation depends on whether the space is - * created in `Import mode`: * **Import mode:** No members are created. * **All - * other modes:** The calling user is added as a member. This is: * The app - * itself when using app authentication. * The human user when using user + * request. When authenticating as an app, the Chat app is added as a member of + * the space. However, unlike human authentication, the Chat app is not added + * as a space manager. By default, the Chat app can be removed from the space + * by all space members. To allow only space managers to remove the app from a + * space, set `space.permission_settings.manage_apps` to `managers_allowed`. + * Space membership upon creation depends on whether the space is created in + * `Import mode`: * **Import mode:** No members are created. * **All other + * modes:** The calling user is added as a member. This is: * The app itself + * when using app authentication. * The human user when using user * authentication. 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. @@ -711,7 +721,11 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * administrator privileges when an administrator account authenticates, * `use_admin_access` is `true`, and one of the following authorization scopes * is used: - `https://www.googleapis.com/auth/chat.admin.spaces.readonly` - - * `https://www.googleapis.com/auth/chat.admin.spaces` + * `https://www.googleapis.com/auth/chat.admin.spaces` App authentication has + * the following limitations: - `space.access_settings` is only populated when + * using the `chat.app.spaces` scope. - `space.predefind_permission_settings` + * and `space.permission_settings` are only populated when using the + * `chat.app.spaces` scope, and only for spaces the app created. * * Method: chat.spaces.get * @@ -761,7 +775,11 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * administrator privileges when an administrator account authenticates, * `use_admin_access` is `true`, and one of the following authorization scopes * is used: - `https://www.googleapis.com/auth/chat.admin.spaces.readonly` - - * `https://www.googleapis.com/auth/chat.admin.spaces` + * `https://www.googleapis.com/auth/chat.admin.spaces` App authentication has + * the following limitations: - `space.access_settings` is only populated when + * using the `chat.app.spaces` scope. - `space.predefind_permission_settings` + * and `space.permission_settings` are only populated when using the + * `chat.app.spaces` scope, and only for spaces the app created. * * @param name Required. Resource name of the space, in the form * `spaces/{space}`. Format: `spaces/{space}` @@ -879,8 +897,11 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * mode spaces only) - User authentication grants administrator privileges when * an administrator account authenticates, `use_admin_access` is `true`, and * the following authorization scope is used: - - * `https://www.googleapis.com/auth/chat.admin.memberships` For example usage, - * see: - [Invite or add a user to a + * `https://www.googleapis.com/auth/chat.admin.memberships` App authentication + * is not supported for the following use cases: - Inviting users external to + * the Workspace organization that owns the space. - Adding a Google Group to a + * space. - Adding a Chat app to a space. For example usage, see: - [Invite or + * add a user to a * space](https://developers.google.com/workspace/chat/create-members#create-user-membership). * - [Invite or add a Google Group to a * space](https://developers.google.com/workspace/chat/create-members#create-group-membership). @@ -941,8 +962,11 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * mode spaces only) - User authentication grants administrator privileges when * an administrator account authenticates, `use_admin_access` is `true`, and * the following authorization scope is used: - - * `https://www.googleapis.com/auth/chat.admin.memberships` For example usage, - * see: - [Invite or add a user to a + * `https://www.googleapis.com/auth/chat.admin.memberships` App authentication + * is not supported for the following use cases: - Inviting users external to + * the Workspace organization that owns the space. - Adding a Google Group to a + * space. - Adding a Chat app to a space. For example usage, see: - [Invite or + * add a user to a * space](https://developers.google.com/workspace/chat/create-members#create-user-membership). * - [Invite or add a Google Group to a * space](https://developers.google.com/workspace/chat/create-members#create-group-membership). @@ -980,11 +1004,12 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * (import mode spaces only) - User authentication grants administrator * privileges when an administrator account authenticates, `use_admin_access` * is `true`, and the following authorization scope is used: - - * `https://www.googleapis.com/auth/chat.admin.memberships` To delete - * memberships for space managers, the requester must be a space manager. If - * you're using [app + * `https://www.googleapis.com/auth/chat.admin.memberships` App authentication + * is not supported for the following use cases: - Removing a Google Group from + * a space. - Removing a Chat app from a space. To delete memberships for space + * managers, the requester must be a space manager. If you're using [app * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * the application must be the space creator. + * the Chat app must be the space creator. * * Method: chat.spaces.members.delete * @@ -1047,11 +1072,12 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * (import mode spaces only) - User authentication grants administrator * privileges when an administrator account authenticates, `use_admin_access` * is `true`, and the following authorization scope is used: - - * `https://www.googleapis.com/auth/chat.admin.memberships` To delete - * memberships for space managers, the requester must be a space manager. If - * you're using [app + * `https://www.googleapis.com/auth/chat.admin.memberships` App authentication + * is not supported for the following use cases: - Removing a Google Group from + * a space. - Removing a Chat app from a space. To delete memberships for space + * managers, the requester must be a space manager. If you're using [app * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * the application must be the space creator. + * the Chat app must be the space creator. * * @param name Required. Resource name of the membership to delete. Chat apps * can delete human users' or their own memberships. Chat apps can't delete @@ -1098,6 +1124,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Authorization scope(s): * @c kGTLRAuthScopeHangoutsChatAdminMemberships * @c kGTLRAuthScopeHangoutsChatAdminMembershipsReadonly + * @c kGTLRAuthScopeHangoutsChatAppMemberships * @c kGTLRAuthScopeHangoutsChatBot * @c kGTLRAuthScopeHangoutsChatMemberships * @c kGTLRAuthScopeHangoutsChatMembershipsReadonly @@ -1195,6 +1222,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * Authorization scope(s): * @c kGTLRAuthScopeHangoutsChatAdminMemberships * @c kGTLRAuthScopeHangoutsChatAdminMembershipsReadonly + * @c kGTLRAuthScopeHangoutsChatAppMemberships * @c kGTLRAuthScopeHangoutsChatBot * @c kGTLRAuthScopeHangoutsChatImport * @c kGTLRAuthScopeHangoutsChatMemberships @@ -2272,7 +2300,11 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * User authentication grants administrator privileges when an administrator * account authenticates, `use_admin_access` is `true`, and the following * authorization scopes is used: - - * `https://www.googleapis.com/auth/chat.admin.spaces` + * `https://www.googleapis.com/auth/chat.admin.spaces` App authentication has + * the following limitations: - To update either + * `space.predefined_permission_settings` or `space.permission_settings`, the + * app must be the space creator. - Updating the + * `space.access_settings.audience` is not supported for app authentication. * * Method: chat.spaces.patch * @@ -2377,7 +2409,11 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * User authentication grants administrator privileges when an administrator * account authenticates, `use_admin_access` is `true`, and the following * authorization scopes is used: - - * `https://www.googleapis.com/auth/chat.admin.spaces` + * `https://www.googleapis.com/auth/chat.admin.spaces` App authentication has + * the following limitations: - To update either + * `space.predefined_permission_settings` or `space.permission_settings`, the + * app must be the space creator. - Updating the + * `space.access_settings.audience` is not supported for app authentication. * * @param object The @c GTLRHangoutsChat_Space to include in the query. * @param name Identifier. Resource name of the space. Format: `spaces/{space}` diff --git a/Sources/GeneratedServices/Logging/GTLRLoggingObjects.m b/Sources/GeneratedServices/Logging/GTLRLoggingObjects.m index 258fcfc59..02a3683f9 100644 --- a/Sources/GeneratedServices/Logging/GTLRLoggingObjects.m +++ b/Sources/GeneratedServices/Logging/GTLRLoggingObjects.m @@ -925,10 +925,10 @@ @implementation GTLRLogging_LogBucket // @implementation GTLRLogging_LogEntry -@dynamic apphub, errorGroups, httpRequest, insertId, jsonPayload, labels, - logName, metadata, operation, protoPayload, receiveTimestamp, resource, - severity, sourceLocation, spanId, split, textPayload, timestamp, trace, - traceSampled; +@dynamic apphub, apphubDestination, errorGroups, httpRequest, insertId, + jsonPayload, labels, logName, metadata, operation, protoPayload, + receiveTimestamp, resource, severity, sourceLocation, spanId, split, + textPayload, timestamp, trace, traceSampled; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingObjects.h b/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingObjects.h index 5a9986867..18615e4f7 100644 --- a/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingObjects.h +++ b/Sources/GeneratedServices/Logging/Public/GoogleAPIClientForREST/GTLRLoggingObjects.h @@ -2690,6 +2690,13 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_SuppressionInfo_Reason_ReasonUns */ @property(nonatomic, strong, nullable) GTLRLogging_AppHub *apphub; +/** + * Output only. AppHub application metadata associated with the destination + * application. This is only populated if the log represented "edge"-like data + * (such as for VPC flow logs) with a source and destination. + */ +@property(nonatomic, strong, nullable) GTLRLogging_AppHub *apphubDestination; + /** * Output only. The Error Reporting (https://cloud.google.com/error-reporting) * error groups associated with this LogEntry. Error Reporting sets the values @@ -3081,10 +3088,10 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_SuppressionInfo_Reason_ReasonUns @property(nonatomic, copy, nullable) NSString *filter; /** - * Output only. A client-assigned identifier, such as - * "load-balancer-exclusion". Identifiers are limited to 100 characters and can - * include only letters, digits, underscores, hyphens, and periods. First - * character has to be alphanumeric. + * Optional. A client-assigned identifier, such as "load-balancer-exclusion". + * 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 *name; @@ -3394,8 +3401,8 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_SuppressionInfo_Reason_ReasonUns /** * Optional. Log entries that match any of these exclusion filters will not be - * exported.If a log entry is matched by both filter and one of - * exclusion_filters it will not be exported. + * exported.If a log entry is matched by both filter and one of exclusions it + * will not be exported. */ @property(nonatomic, strong, nullable) NSArray *exclusions; @@ -3441,11 +3448,11 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_SuppressionInfo_Reason_ReasonUns @property(nonatomic, strong, nullable) NSNumber *interceptChildren; /** - * Output only. The client-assigned sink identifier, unique within the - * project.For example: "my-syslog-errors-to-pubsub".Sink identifiers are - * limited to 100 characters and can include only the following characters: - * upper and lower-case alphanumeric characters, underscores, hyphens, - * periods.First character has to be alphanumeric. + * Optional. The client-assigned sink identifier, unique within the project.For + * example: "my-syslog-errors-to-pubsub".Sink identifiers are limited to 100 + * characters and can include only the following characters: upper and + * lower-case alphanumeric characters, underscores, hyphens, periods.First + * character has to be alphanumeric. */ @property(nonatomic, copy, nullable) NSString *name; @@ -4275,7 +4282,7 @@ FOUNDATION_EXTERN NSString * const kGTLRLogging_SuppressionInfo_Reason_ReasonUns @property(nonatomic, strong, nullable) GTLRLogging_Query *loggingQuery; /** - * Output only. Resource name of the recent query.In the format: + * Optional. Resource name of the recent query.In the format: * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/recentQueries/[QUERY_ID]" For * a list of supported locations, see Supported Regions * (https://cloud.google.com/logging/docs/region-support)The QUERY_ID is a diff --git a/Sources/GeneratedServices/Looker/GTLRLookerObjects.m b/Sources/GeneratedServices/Looker/GTLRLookerObjects.m index 6119b80b7..3357a44a5 100644 --- a/Sources/GeneratedServices/Looker/GTLRLookerObjects.m +++ b/Sources/GeneratedServices/Looker/GTLRLookerObjects.m @@ -39,6 +39,9 @@ NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreStandard = @"LOOKER_CORE_STANDARD"; NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreStandardAnnual = @"LOOKER_CORE_STANDARD_ANNUAL"; NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreTrial = @"LOOKER_CORE_TRIAL"; +NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreTrialEmbed = @"LOOKER_CORE_TRIAL_EMBED"; +NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreTrialEnterprise = @"LOOKER_CORE_TRIAL_ENTERPRISE"; +NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreTrialStandard = @"LOOKER_CORE_TRIAL_STANDARD"; NSString * const kGTLRLooker_Instance_PlatformEdition_PlatformEditionUnspecified = @"PLATFORM_EDITION_UNSPECIFIED"; // GTLRLooker_Instance.state @@ -490,7 +493,15 @@ @implementation GTLRLooker_RestoreInstanceRequest // @implementation GTLRLooker_ServiceAttachment -@dynamic connectionStatus, localFqdn, targetServiceAttachmentUri; +@dynamic connectionStatus, localFqdn, localFqdns, targetServiceAttachmentUri; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"localFqdns" : [NSString class] + }; + return map; +} + @end diff --git a/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h b/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h index 76668c1d6..ff2fb5cd0 100644 --- a/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h +++ b/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h @@ -188,6 +188,24 @@ FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCo * Value: "LOOKER_CORE_TRIAL" */ FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreTrial; +/** + * Trial Embed. + * + * Value: "LOOKER_CORE_TRIAL_EMBED" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreTrialEmbed; +/** + * Trial Enterprise. + * + * Value: "LOOKER_CORE_TRIAL_ENTERPRISE" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreTrialEnterprise; +/** + * Trial Standard. + * + * Value: "LOOKER_CORE_TRIAL_STANDARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreTrialStandard; /** * Platform edition is unspecified. * @@ -754,6 +772,12 @@ FOUNDATION_EXTERN NSString * const kGTLRLooker_ServiceAttachment_ConnectionStatu * Subscription Standard. (Value: "LOOKER_CORE_STANDARD_ANNUAL") * @arg @c kGTLRLooker_Instance_PlatformEdition_LookerCoreTrial Trial. * (Value: "LOOKER_CORE_TRIAL") + * @arg @c kGTLRLooker_Instance_PlatformEdition_LookerCoreTrialEmbed Trial + * Embed. (Value: "LOOKER_CORE_TRIAL_EMBED") + * @arg @c kGTLRLooker_Instance_PlatformEdition_LookerCoreTrialEnterprise + * Trial Enterprise. (Value: "LOOKER_CORE_TRIAL_ENTERPRISE") + * @arg @c kGTLRLooker_Instance_PlatformEdition_LookerCoreTrialStandard Trial + * Standard. (Value: "LOOKER_CORE_TRIAL_STANDARD") * @arg @c kGTLRLooker_Instance_PlatformEdition_PlatformEditionUnspecified * Platform edition is unspecified. (Value: * "PLATFORM_EDITION_UNSPECIFIED") @@ -1309,11 +1333,17 @@ FOUNDATION_EXTERN NSString * const kGTLRLooker_ServiceAttachment_ConnectionStatu @property(nonatomic, copy, nullable) NSString *connectionStatus; /** - * Required. Fully qualified domain name that will be used in the private DNS + * Optional. Fully qualified domain name that will be used in the private DNS * record created for the service attachment. */ @property(nonatomic, copy, nullable) NSString *localFqdn; +/** + * Optional. List of fully qualified domain names that will be used in the + * private DNS record created for the service attachment. + */ +@property(nonatomic, strong, nullable) NSArray *localFqdns; + /** * Required. URI of the service attachment to connect to. Format: * projects/{project}/regions/{region}/serviceAttachments/{service_attachment} diff --git a/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaObjects.m b/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaObjects.m index 46e6a8c75..2ea062c6d 100644 --- a/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaObjects.m +++ b/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaObjects.m @@ -178,6 +178,16 @@ @implementation GTLRManagedKafka_CapacityConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRManagedKafka_CertificateAuthorityServiceConfig +// + +@implementation GTLRManagedKafka_CertificateAuthorityServiceConfig +@dynamic caPool; +@end + + // ---------------------------------------------------------------------------- // // GTLRManagedKafka_CheckCompatibilityRequest @@ -225,7 +235,7 @@ @implementation GTLRManagedKafka_CheckCompatibilityResponse @implementation GTLRManagedKafka_Cluster @dynamic capacityConfig, createTime, gcpConfig, labels, name, rebalanceConfig, - satisfiesPzi, satisfiesPzs, state, updateTime; + satisfiesPzi, satisfiesPzs, state, tlsConfig, updateTime; @end @@ -1068,6 +1078,16 @@ @implementation GTLRManagedKafka_TaskRetryPolicy @end +// ---------------------------------------------------------------------------- +// +// GTLRManagedKafka_TlsConfig +// + +@implementation GTLRManagedKafka_TlsConfig +@dynamic sslPrincipalMappingRules, trustConfig; +@end + + // ---------------------------------------------------------------------------- // // GTLRManagedKafka_Topic @@ -1092,6 +1112,24 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRManagedKafka_TrustConfig +// + +@implementation GTLRManagedKafka_TrustConfig +@dynamic casConfigs; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"casConfigs" : [GTLRManagedKafka_CertificateAuthorityServiceConfig class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRManagedKafka_UpdateSchemaConfigRequest diff --git a/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaQuery.m b/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaQuery.m index 5e37eb0bc..c8085f652 100644 --- a/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaQuery.m +++ b/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaQuery.m @@ -1168,6 +1168,25 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsModeDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsModeDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_SchemaMode class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.contexts.mode.delete"; + return query; +} + +@end + @implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsModeGet @dynamic name; @@ -1580,6 +1599,25 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesModeDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesModeDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRManagedKafka_SchemaMode class]; + query.loggingName = @"managedkafka.projects.locations.schemaRegistries.mode.delete"; + return query; +} + +@end + @implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesModeGet @dynamic name; diff --git a/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaObjects.h b/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaObjects.h index b5bc8502a..eb43d9068 100644 --- a/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaObjects.h +++ b/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaObjects.h @@ -18,6 +18,7 @@ @class GTLRManagedKafka_Acl; @class GTLRManagedKafka_AclEntry; @class GTLRManagedKafka_CapacityConfig; +@class GTLRManagedKafka_CertificateAuthorityServiceConfig; @class GTLRManagedKafka_Cluster; @class GTLRManagedKafka_Cluster_Labels; @class GTLRManagedKafka_ConnectAccessConfig; @@ -48,8 +49,10 @@ @class GTLRManagedKafka_Status; @class GTLRManagedKafka_Status_Details_Item; @class GTLRManagedKafka_TaskRetryPolicy; +@class GTLRManagedKafka_TlsConfig; @class GTLRManagedKafka_Topic; @class GTLRManagedKafka_Topic_Configs; +@class GTLRManagedKafka_TrustConfig; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -354,7 +357,9 @@ FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_SchemaConfig_Compatibility_ */ FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_SchemaMode_Mode_Import; /** - * No mode. + * The default / unset value. The subject mode is NONE/unset by default, which + * means use the global schema registry mode. This should not be used for + * setting the mode. * * Value: "NONE" */ @@ -456,7 +461,9 @@ FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_UpdateSchemaConfigRequest_C */ FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_UpdateSchemaModeRequest_Mode_Import; /** - * No mode. + * The default / unset value. The subject mode is NONE/unset by default, which + * means use the global schema registry mode. This should not be used for + * setting the mode. * * Value: "NONE" */ @@ -637,6 +644,21 @@ FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_UpdateSchemaModeRequest_Mod @end +/** + * A configuration for the Google Certificate Authority Service. + */ +@interface GTLRManagedKafka_CertificateAuthorityServiceConfig : GTLRObject + +/** + * Required. The name of the CA pool to pull CA certificates from. Structured + * like: projects/{project}/locations/{location}/caPools/{ca_pool}. The CA pool + * does not need to be in the same project or location as the Kafka cluster. + */ +@property(nonatomic, copy, nullable) NSString *caPool; + +@end + + /** * Request for CheckCompatibility. */ @@ -752,6 +774,9 @@ FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_UpdateSchemaModeRequest_Mod */ @property(nonatomic, copy, nullable) NSString *state; +/** Optional. TLS configuration for the Kafka cluster. */ +@property(nonatomic, strong, nullable) GTLRManagedKafka_TlsConfig *tlsConfig; + /** Output only. The time when the cluster was last updated. */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @@ -1922,25 +1947,28 @@ FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_UpdateSchemaModeRequest_Mod /** * SchemaMode represents the mode of a schema registry or a specific subject. - * Four modes are supported: * NONE: This is the default mode for a subject and - * essentially means that the subject does not have any mode set. This means - * the subject will follow the schema registry's mode. * READONLY: The schema - * registry is in read-only mode. * READWRITE: The schema registry is in - * read-write mode, which allows limited write operations on the schema. * - * IMPORT: The schema registry is in import mode, which allows more editing - * operations on the schema for data importing purposes. + * Four modes are supported: * NONE: deprecated. This was the default mode for + * a subject, but now the default is unset (which means use the global schema + * registry setting) * READONLY: The schema registry is in read-only mode. * + * READWRITE: The schema registry is in read-write mode, which allows limited + * write operations on the schema. * IMPORT: The schema registry is in import + * mode, which allows more editing operations on the schema for data importing + * purposes. */ @interface GTLRManagedKafka_SchemaMode : GTLRObject /** * Required. The mode type of a schema registry (READWRITE by default) or of a - * subject (NONE by default, which means use the global schema registry + * subject (unset by default, which means use the global schema registry * setting). * * Likely values: * @arg @c kGTLRManagedKafka_SchemaMode_Mode_Import IMPORT mode. (Value: * "IMPORT") - * @arg @c kGTLRManagedKafka_SchemaMode_Mode_None No mode. (Value: "NONE") + * @arg @c kGTLRManagedKafka_SchemaMode_Mode_None The default / unset value. + * The subject mode is NONE/unset by default, which means use the global + * schema registry mode. This should not be used for setting the mode. + * (Value: "NONE") * @arg @c kGTLRManagedKafka_SchemaMode_Mode_Readonly READONLY mode. (Value: * "READONLY") * @arg @c kGTLRManagedKafka_SchemaMode_Mode_Readwrite READWRITE mode. @@ -2126,6 +2154,32 @@ FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_UpdateSchemaModeRequest_Mod @end +/** + * The TLS configuration for the Kafka cluster. + */ +@interface GTLRManagedKafka_TlsConfig : GTLRObject + +/** + * Optional. A list of rules for mapping from SSL principal names to short + * names. These are applied in order by Kafka. Refer to the Apache Kafka + * documentation for `ssl.principal.mapping.rules` for the precise formatting + * details and syntax. Example: + * "RULE:^CN=(.*?),OU=ServiceUsers.*$/$1\@example.com/,DEFAULT" This is a + * static Kafka broker configuration. Setting or modifying this field will + * trigger a rolling restart of the Kafka brokers to apply the change. An empty + * string means no rules are applied (Kafka default). + */ +@property(nonatomic, copy, nullable) NSString *sslPrincipalMappingRules; + +/** + * Optional. The configuration of the broker truststore. If specified, clients + * can use mTLS for authentication. + */ +@property(nonatomic, strong, nullable) GTLRManagedKafka_TrustConfig *trustConfig; + +@end + + /** * A Kafka topic in a given cluster. */ @@ -2180,6 +2234,20 @@ FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_UpdateSchemaModeRequest_Mod @end +/** + * Sources of CA certificates to install in the broker's truststore. + */ +@interface GTLRManagedKafka_TrustConfig : GTLRObject + +/** + * Optional. Configuration for the Google Certificate Authority Service. + * Maximum 10. + */ +@property(nonatomic, strong, nullable) NSArray *casConfigs; + +@end + + /** * Request for updating schema config. On a SchemaSubject-level SchemaConfig, * an unset field will be removed from the SchemaConfig. @@ -2237,8 +2305,10 @@ FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_UpdateSchemaModeRequest_Mod * Likely values: * @arg @c kGTLRManagedKafka_UpdateSchemaModeRequest_Mode_Import IMPORT mode. * (Value: "IMPORT") - * @arg @c kGTLRManagedKafka_UpdateSchemaModeRequest_Mode_None No mode. - * (Value: "NONE") + * @arg @c kGTLRManagedKafka_UpdateSchemaModeRequest_Mode_None The default / + * unset value. The subject mode is NONE/unset by default, which means + * use the global schema registry mode. This should not be used for + * setting the mode. (Value: "NONE") * @arg @c kGTLRManagedKafka_UpdateSchemaModeRequest_Mode_Readonly READONLY * mode. (Value: "READONLY") * @arg @c kGTLRManagedKafka_UpdateSchemaModeRequest_Mode_Readwrite READWRITE diff --git a/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaQuery.h b/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaQuery.h index fbd1e343b..a3070e1cf 100644 --- a/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaQuery.h +++ b/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaQuery.h @@ -2123,6 +2123,42 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Delete schema mode for a subject. + * + * Method: managedkafka.projects.locations.schemaRegistries.contexts.mode.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsModeDelete : GTLRManagedKafkaQuery + +/** + * Required. The resource name of subject to delete the mode for. The format is + * * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode/{subject} + * * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode/{subject} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRManagedKafka_SchemaMode. + * + * Delete schema mode for a subject. + * + * @param name Required. The resource name of subject to delete the mode for. + * The format is * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode/{subject} + * * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode/{subject} + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesContextsModeDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Get mode at global level or for a subject. * @@ -2913,6 +2949,42 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Delete schema mode for a subject. + * + * Method: managedkafka.projects.locations.schemaRegistries.mode.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeManagedKafkaCloudPlatform + */ +@interface GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesModeDelete : GTLRManagedKafkaQuery + +/** + * Required. The resource name of subject to delete the mode for. The format is + * * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode/{subject} + * * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode/{subject} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRManagedKafka_SchemaMode. + * + * Delete schema mode for a subject. + * + * @param name Required. The resource name of subject to delete the mode for. + * The format is * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode/{subject} + * * + * projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode/{subject} + * + * @return GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesModeDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Get mode at global level or for a subject. * diff --git a/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h b/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h index 90a91346a..20a158f9b 100644 --- a/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h +++ b/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h @@ -1966,11 +1966,14 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR @property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleMapsPlacesV1PriceRange *priceRange; /** - * The primary type of the given result. This type must one of the Places API - * supported types. For example, "restaurant", "cafe", "airport", etc. A place - * can only have a single primary type. For the complete list of possible + * The primary type of the given result. This type must be one of the Places + * API supported types. For example, "restaurant", "cafe", "airport", etc. A + * place can only have a single primary type. For the complete list of possible * values, see Table A and Table B at - * https://developers.google.com/maps/documentation/places/web-service/place-types + * https://developers.google.com/maps/documentation/places/web-service/place-types. + * The primary type may be missing if the place's primary type is not a + * supported type. When a primary type is present, it is always one of the + * types in the `types` field. */ @property(nonatomic, copy, nullable) NSString *primaryType; @@ -1978,7 +1981,9 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR * The display name of the primary type, localized to the request language if * applicable. For the complete list of possible values, see Table A and Table * B at - * https://developers.google.com/maps/documentation/places/web-service/place-types + * https://developers.google.com/maps/documentation/places/web-service/place-types. + * The primary type may be missing if the place's primary type is not a + * supported type. */ @property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleTypeLocalizedText *primaryTypeDisplayName; @@ -2411,9 +2416,15 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR /** * The periods that this place is open during the week. The periods are in - * chronological order, starting with Sunday in the place-local timezone. An - * empty (but not absent) value indicates a place that is never open, e.g. - * because it is closed temporarily for renovations. + * chronological order, in the place-local timezone. An empty (but not absent) + * value indicates a place that is never open, e.g. because it is closed + * temporarily for renovations. The starting day of `periods` is NOT fixed and + * should not be assumed to be Sunday. The API determines the start day based + * on a variety of factors. For example, for a 24/7 business, the first period + * may begin on the day of the request. For other businesses, it might be the + * first day of the week that they are open. NOTE: The ordering of the + * `periods` array is independent of the ordering of the `weekday_descriptions` + * array. Do not assume they will begin on the same day. */ @property(nonatomic, strong, nullable) NSArray *periods; @@ -2464,8 +2475,12 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR /** * Localized strings describing the opening hours of this place, one string for - * each day of the week. Will be empty if the hours are unknown or could not be - * converted to localized text. Example: "Sun: 18:00–06:00" + * each day of the week. NOTE: The order of the days and the start of the week + * is determined by the locale (language and region). The ordering of the + * `periods` array is independent of the ordering of the `weekday_descriptions` + * array. Do not assume they will begin on the same day. Will be empty if the + * hours are unknown or could not be converted to localized text. Example: + * "Sun: 18:00–06:00" */ @property(nonatomic, strong, nullable) NSArray *weekdayDescriptions; @@ -3533,13 +3548,13 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR /** - * Represents a postal address (for example, for postal delivery or payments - * addresses). Given a postal address, a postal service can deliver items to a - * premise, P.O. box or similar. It is not intended to model geographical - * locations (roads, towns, mountains). In typical usage, an address would be - * created by user input or from importing existing data, depending on the type - * of process. Advice on address input or editing: - Use an - * internationalization-ready address widget such as + * Represents a postal address, such as for postal delivery or payments + * addresses. With a postal address, a postal service can deliver items to a + * premise, P.O. box, or similar. A postal address is not intended to model + * geographical locations like roads, towns, or mountains. In typical usage, an + * address would be created by user input or from importing existing data, + * depending on the type of process. Advice on address input or editing: - Use + * an internationalization-ready address widget such as * https://github.com/google/libaddressinput. - Users should not be presented * with UI elements for input or editing of fields outside countries where that * field is used. For more guidance on how to use this schema, see: diff --git a/Sources/GeneratedServices/Merchant/GTLRMerchantObjects.m b/Sources/GeneratedServices/Merchant/GTLRMerchantObjects.m index 9db6195cc..a1f6eceeb 100644 --- a/Sources/GeneratedServices/Merchant/GTLRMerchantObjects.m +++ b/Sources/GeneratedServices/Merchant/GTLRMerchantObjects.m @@ -6,7 +6,7 @@ // Description: // Programmatically manage your Merchant Center Accounts. // Documentation: -// https://developers.devsite.corp.google.com/merchant/api +// https://developers.google.com/merchant/api #import diff --git a/Sources/GeneratedServices/Merchant/GTLRMerchantQuery.m b/Sources/GeneratedServices/Merchant/GTLRMerchantQuery.m index 35cf482a8..25f46276d 100644 --- a/Sources/GeneratedServices/Merchant/GTLRMerchantQuery.m +++ b/Sources/GeneratedServices/Merchant/GTLRMerchantQuery.m @@ -6,7 +6,7 @@ // Description: // Programmatically manage your Merchant Center Accounts. // Documentation: -// https://developers.devsite.corp.google.com/merchant/api +// https://developers.google.com/merchant/api #import diff --git a/Sources/GeneratedServices/Merchant/GTLRMerchantService.m b/Sources/GeneratedServices/Merchant/GTLRMerchantService.m index 4d2e6c923..8793b109b 100644 --- a/Sources/GeneratedServices/Merchant/GTLRMerchantService.m +++ b/Sources/GeneratedServices/Merchant/GTLRMerchantService.m @@ -6,7 +6,7 @@ // Description: // Programmatically manage your Merchant Center Accounts. // Documentation: -// https://developers.devsite.corp.google.com/merchant/api +// https://developers.google.com/merchant/api #import diff --git a/Sources/GeneratedServices/Merchant/Public/GoogleAPIClientForREST/GTLRMerchant.h b/Sources/GeneratedServices/Merchant/Public/GoogleAPIClientForREST/GTLRMerchant.h index c7349580e..0ccaf6a8b 100644 --- a/Sources/GeneratedServices/Merchant/Public/GoogleAPIClientForREST/GTLRMerchant.h +++ b/Sources/GeneratedServices/Merchant/Public/GoogleAPIClientForREST/GTLRMerchant.h @@ -6,7 +6,7 @@ // Description: // Programmatically manage your Merchant Center Accounts. // Documentation: -// https://developers.devsite.corp.google.com/merchant/api +// https://developers.google.com/merchant/api #import "GTLRMerchantObjects.h" #import "GTLRMerchantQuery.h" diff --git a/Sources/GeneratedServices/Merchant/Public/GoogleAPIClientForREST/GTLRMerchantObjects.h b/Sources/GeneratedServices/Merchant/Public/GoogleAPIClientForREST/GTLRMerchantObjects.h index 666c3f645..9359541fc 100644 --- a/Sources/GeneratedServices/Merchant/Public/GoogleAPIClientForREST/GTLRMerchantObjects.h +++ b/Sources/GeneratedServices/Merchant/Public/GoogleAPIClientForREST/GTLRMerchantObjects.h @@ -6,7 +6,7 @@ // Description: // Programmatically manage your Merchant Center Accounts. // Documentation: -// https://developers.devsite.corp.google.com/merchant/api +// https://developers.google.com/merchant/api #import @@ -1084,7 +1084,10 @@ FOUNDATION_EXTERN NSString * const kGTLRMerchant_ReviewLink_Type_TypeUnspecified */ @property(nonatomic, strong, nullable) NSArray *cons; -/** Required. The content of the review. */ +/** + * Optional. The content of the review. If empty, the content might still get + * populated from pros and cons. + */ @property(nonatomic, copy, nullable) NSString *content; /** @@ -1487,7 +1490,7 @@ FOUNDATION_EXTERN NSString * const kGTLRMerchant_ReviewLink_Type_TypeUnspecified @property(nonatomic, strong, nullable) GTLRDateTime *eventTime; /** - * Optional. The product expiration time. This field will not bet set if the + * Optional. The product expiration time. This field will not be set if the * notification is sent for a product deletion event. */ @property(nonatomic, strong, nullable) GTLRDateTime *expirationTime; diff --git a/Sources/GeneratedServices/Merchant/Public/GoogleAPIClientForREST/GTLRMerchantQuery.h b/Sources/GeneratedServices/Merchant/Public/GoogleAPIClientForREST/GTLRMerchantQuery.h index ab8ed2f78..450e92d1a 100644 --- a/Sources/GeneratedServices/Merchant/Public/GoogleAPIClientForREST/GTLRMerchantQuery.h +++ b/Sources/GeneratedServices/Merchant/Public/GoogleAPIClientForREST/GTLRMerchantQuery.h @@ -6,7 +6,7 @@ // Description: // Programmatically manage your Merchant Center Accounts. // Documentation: -// https://developers.devsite.corp.google.com/merchant/api +// https://developers.google.com/merchant/api #import diff --git a/Sources/GeneratedServices/Merchant/Public/GoogleAPIClientForREST/GTLRMerchantService.h b/Sources/GeneratedServices/Merchant/Public/GoogleAPIClientForREST/GTLRMerchantService.h index 69ed6b749..f56afaead 100644 --- a/Sources/GeneratedServices/Merchant/Public/GoogleAPIClientForREST/GTLRMerchantService.h +++ b/Sources/GeneratedServices/Merchant/Public/GoogleAPIClientForREST/GTLRMerchantService.h @@ -6,7 +6,7 @@ // Description: // Programmatically manage your Merchant Center Accounts. // Documentation: -// https://developers.devsite.corp.google.com/merchant/api +// https://developers.google.com/merchant/api #import diff --git a/Sources/GeneratedServices/MyBusinessAccountManagement/Public/GoogleAPIClientForREST/GTLRMyBusinessAccountManagementObjects.h b/Sources/GeneratedServices/MyBusinessAccountManagement/Public/GoogleAPIClientForREST/GTLRMyBusinessAccountManagementObjects.h index 4c93bd235..c8e0eabc6 100644 --- a/Sources/GeneratedServices/MyBusinessAccountManagement/Public/GoogleAPIClientForREST/GTLRMyBusinessAccountManagementObjects.h +++ b/Sources/GeneratedServices/MyBusinessAccountManagement/Public/GoogleAPIClientForREST/GTLRMyBusinessAccountManagementObjects.h @@ -641,13 +641,13 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessAccountManagement_Invitation_T /** - * Represents a postal address (for example, for postal delivery or payments - * addresses). Given a postal address, a postal service can deliver items to a - * premise, P.O. box or similar. It is not intended to model geographical - * locations (roads, towns, mountains). In typical usage, an address would be - * created by user input or from importing existing data, depending on the type - * of process. Advice on address input or editing: - Use an - * internationalization-ready address widget such as + * Represents a postal address, such as for postal delivery or payments + * addresses. With a postal address, a postal service can deliver items to a + * premise, P.O. box, or similar. A postal address is not intended to model + * geographical locations like roads, towns, or mountains. In typical usage, an + * address would be created by user input or from importing existing data, + * depending on the type of process. Advice on address input or editing: - Use + * an internationalization-ready address widget such as * https://github.com/google/libaddressinput. - Users should not be presented * with UI elements for input or editing of fields outside countries where that * field is used. For more guidance on how to use this schema, see: diff --git a/Sources/GeneratedServices/MyBusinessBusinessInformation/Public/GoogleAPIClientForREST/GTLRMyBusinessBusinessInformationObjects.h b/Sources/GeneratedServices/MyBusinessBusinessInformation/Public/GoogleAPIClientForREST/GTLRMyBusinessBusinessInformationObjects.h index d2d1f87ad..dee2984b0 100644 --- a/Sources/GeneratedServices/MyBusinessBusinessInformation/Public/GoogleAPIClientForREST/GTLRMyBusinessBusinessInformationObjects.h +++ b/Sources/GeneratedServices/MyBusinessBusinessInformation/Public/GoogleAPIClientForREST/GTLRMyBusinessBusinessInformationObjects.h @@ -1328,13 +1328,13 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessBusinessInformation_TimePeriod /** - * Represents a postal address (for example, for postal delivery or payments - * addresses). Given a postal address, a postal service can deliver items to a - * premise, P.O. box or similar. It is not intended to model geographical - * locations (roads, towns, mountains). In typical usage, an address would be - * created by user input or from importing existing data, depending on the type - * of process. Advice on address input or editing: - Use an - * internationalization-ready address widget such as + * Represents a postal address, such as for postal delivery or payments + * addresses. With a postal address, a postal service can deliver items to a + * premise, P.O. box, or similar. A postal address is not intended to model + * geographical locations like roads, towns, or mountains. In typical usage, an + * address would be created by user input or from importing existing data, + * depending on the type of process. Advice on address input or editing: - Use + * an internationalization-ready address widget such as * https://github.com/google/libaddressinput. - Users should not be presented * with UI elements for input or editing of fields outside countries where that * field is used. For more guidance on how to use this schema, see: @@ -1558,7 +1558,7 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessBusinessInformation_TimePeriod /** * Location to search for. If provided, will find locations which match the - * provided location details. + * provided location details, which must include a value for the title. */ @property(nonatomic, strong, nullable) GTLRMyBusinessBusinessInformation_Location *location; diff --git a/Sources/GeneratedServices/MyBusinessVerifications/Public/GoogleAPIClientForREST/GTLRMyBusinessVerificationsObjects.h b/Sources/GeneratedServices/MyBusinessVerifications/Public/GoogleAPIClientForREST/GTLRMyBusinessVerificationsObjects.h index 5dbf805a2..03583eb1e 100644 --- a/Sources/GeneratedServices/MyBusinessVerifications/Public/GoogleAPIClientForREST/GTLRMyBusinessVerificationsObjects.h +++ b/Sources/GeneratedServices/MyBusinessVerifications/Public/GoogleAPIClientForREST/GTLRMyBusinessVerificationsObjects.h @@ -401,13 +401,13 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_VerifyLocationRe /** - * Represents a postal address (for example, for postal delivery or payments - * addresses). Given a postal address, a postal service can deliver items to a - * premise, P.O. box or similar. It is not intended to model geographical - * locations (roads, towns, mountains). In typical usage, an address would be - * created by user input or from importing existing data, depending on the type - * of process. Advice on address input or editing: - Use an - * internationalization-ready address widget such as + * Represents a postal address, such as for postal delivery or payments + * addresses. With a postal address, a postal service can deliver items to a + * premise, P.O. box, or similar. A postal address is not intended to model + * geographical locations like roads, towns, or mountains. In typical usage, an + * address would be created by user input or from importing existing data, + * depending on the type of process. Advice on address input or editing: - Use + * an internationalization-ready address widget such as * https://github.com/google/libaddressinput. - Users should not be presented * with UI elements for input or editing of fields outside countries where that * field is used. For more guidance on how to use this schema, see: diff --git a/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesObjects.m b/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesObjects.m index b5cc591c7..7383afea9 100644 --- a/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesObjects.m +++ b/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesObjects.m @@ -897,7 +897,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRNetAppFiles_LocationMetadata -@dynamic supportedFlexPerformance, supportedServiceLevels; +@dynamic hasVcp, supportedFlexPerformance, supportedServiceLevels; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1186,11 +1186,11 @@ @implementation GTLRNetAppFiles_StopReplicationRequest @implementation GTLRNetAppFiles_StoragePool @dynamic activeDirectory, allowAutoTiering, capacityGib, createTime, - customPerformanceEnabled, descriptionProperty, encryptionType, - globalAccessAllowed, kmsConfig, labels, ldapEnabled, name, network, - psaRange, replicaZone, satisfiesPzi, satisfiesPzs, serviceLevel, state, - stateDetails, totalIops, totalThroughputMibps, volumeCapacityGib, - volumeCount, zoneProperty; + customPerformanceEnabled, descriptionProperty, enableHotTierAutoResize, + encryptionType, globalAccessAllowed, hotTierSizeGib, kmsConfig, labels, + ldapEnabled, name, network, psaRange, replicaZone, satisfiesPzi, + satisfiesPzs, serviceLevel, state, stateDetails, totalIops, + totalThroughputMibps, volumeCapacityGib, volumeCount, zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -1241,7 +1241,7 @@ @implementation GTLRNetAppFiles_SyncReplicationRequest // @implementation GTLRNetAppFiles_TieringPolicy -@dynamic coolingThresholdDays, tierAction; +@dynamic coolingThresholdDays, hotTierBypassModeEnabled, tierAction; @end diff --git a/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h b/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h index 2681691c1..7c906a6c6 100644 --- a/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h +++ b/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h @@ -1610,7 +1610,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; @property(nonatomic, strong, nullable) NSNumber *backupMinimumEnforcedRetentionDays; /** - * Optional. Indicates if the daily backups are immutable. Atleast one of + * Optional. Indicates if the daily backups are immutable. At least one of * daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable * and manual_backup_immutable must be true. * @@ -1619,7 +1619,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; @property(nonatomic, strong, nullable) NSNumber *dailyBackupImmutable; /** - * Optional. Indicates if the manual backups are immutable. Atleast one of + * Optional. Indicates if the manual backups are immutable. At least one of * daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable * and manual_backup_immutable must be true. * @@ -1628,7 +1628,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; @property(nonatomic, strong, nullable) NSNumber *manualBackupImmutable; /** - * Optional. Indicates if the monthly backups are immutable. Atleast one of + * Optional. Indicates if the monthly backups are immutable. At least one of * daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable * and manual_backup_immutable must be true. * @@ -1637,7 +1637,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; @property(nonatomic, strong, nullable) NSNumber *monthlyBackupImmutable; /** - * Optional. Indicates if the weekly backups are immutable. Atleast one of + * Optional. Indicates if the weekly backups are immutable. At least one of * daily_backup_immutable, weekly_backup_immutable, monthly_backup_immutable * and manual_backup_immutable must be true. * @@ -2493,6 +2493,13 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; */ @interface GTLRNetAppFiles_LocationMetadata : GTLRObject +/** + * Output only. Indicates if the location has VCP support. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hasVcp; + /** Output only. Supported flex performance in a location. */ @property(nonatomic, strong, nullable) NSArray *supportedFlexPerformance; @@ -3315,6 +3322,16 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; +/** + * Optional. Flag indicating that the hot-tier threshold will be auto-increased + * by 10% of the hot-tier when it hits 100%. Default is true. The increment + * will kick in only if the new size after increment is still less than or + * equal to storage pool size. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableHotTierAutoResize; + /** * Output only. Specifies the current pool encryption key source. * @@ -3337,6 +3354,16 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; */ @property(nonatomic, strong, nullable) NSNumber *globalAccessAllowed GTLR_DEPRECATED; +/** + * Optional. Total hot tier capacity for the Storage Pool. It is applicable + * only to Flex service level. It should be less than the minimum storage pool + * size and cannot be more than the current storage pool size. It cannot be + * decreased once set. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hotTierSizeGib; + /** Optional. Specifies the KMS config to be used for volume encryption. */ @property(nonatomic, copy, nullable) NSString *kmsConfig; @@ -3426,7 +3453,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; @property(nonatomic, copy, nullable) NSString *stateDetails; /** - * Optional. Custom Performance Total IOPS of the pool If not provided, it will + * Optional. Custom Performance Total IOPS of the pool if not provided, it will * be calculated based on the total_throughput_mibps * * Uses NSNumber of longLongValue. @@ -3434,7 +3461,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; @property(nonatomic, strong, nullable) NSNumber *totalIops; /** - * Optional. Custom Performance Total Throughput of the pool (in MiB/s) + * Optional. Custom Performance Total Throughput of the pool (in MiBps) * * Uses NSNumber of longLongValue. */ @@ -3504,6 +3531,14 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; */ @property(nonatomic, strong, nullable) NSNumber *coolingThresholdDays; +/** + * Optional. Flag indicating that the hot tier bypass mode is enabled. Default + * is false. This is only applicable to Flex service level. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hotTierBypassModeEnabled; + /** * Optional. Flag indicating if the volume has tiering policy enable/pause. * Default is PAUSED. diff --git a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m index 10eedc736..51570cd0c 100644 --- a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m +++ b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m @@ -229,6 +229,7 @@ NSString * const kGTLRNetworkManagement_ForwardInfo_Target_NccHub = @"NCC_HUB"; NSString * const kGTLRNetworkManagement_ForwardInfo_Target_PeeringVpc = @"PEERING_VPC"; NSString * const kGTLRNetworkManagement_ForwardInfo_Target_RouterAppliance = @"ROUTER_APPLIANCE"; +NSString * const kGTLRNetworkManagement_ForwardInfo_Target_SecureWebProxyGateway = @"SECURE_WEB_PROXY_GATEWAY"; NSString * const kGTLRNetworkManagement_ForwardInfo_Target_TargetUnspecified = @"TARGET_UNSPECIFIED"; NSString * const kGTLRNetworkManagement_ForwardInfo_Target_VpnGateway = @"VPN_GATEWAY"; @@ -242,6 +243,11 @@ NSString * const kGTLRNetworkManagement_GoogleServiceInfo_GoogleServiceType_Iap = @"IAP"; NSString * const kGTLRNetworkManagement_GoogleServiceInfo_GoogleServiceType_ServerlessVpcAccess = @"SERVERLESS_VPC_ACCESS"; +// GTLRNetworkManagement_InstanceInfo.status +NSString * const kGTLRNetworkManagement_InstanceInfo_Status_NotRunning = @"NOT_RUNNING"; +NSString * const kGTLRNetworkManagement_InstanceInfo_Status_Running = @"RUNNING"; +NSString * const kGTLRNetworkManagement_InstanceInfo_Status_StatusUnspecified = @"STATUS_UNSPECIFIED"; + // GTLRNetworkManagement_LoadBalancerBackend.healthCheckFirewallState NSString * const kGTLRNetworkManagement_LoadBalancerBackend_HealthCheckFirewallState_Configured = @"CONFIGURED"; NSString * const kGTLRNetworkManagement_LoadBalancerBackend_HealthCheckFirewallState_HealthCheckFirewallStateUnspecified = @"HEALTH_CHECK_FIREWALL_STATE_UNSPECIFIED"; @@ -308,6 +314,7 @@ NSString * const kGTLRNetworkManagement_RouteInfo_NextHopType_NextHopTypeUnspecified = @"NEXT_HOP_TYPE_UNSPECIFIED"; NSString * const kGTLRNetworkManagement_RouteInfo_NextHopType_NextHopVpnGateway = @"NEXT_HOP_VPN_GATEWAY"; NSString * const kGTLRNetworkManagement_RouteInfo_NextHopType_NextHopVpnTunnel = @"NEXT_HOP_VPN_TUNNEL"; +NSString * const kGTLRNetworkManagement_RouteInfo_NextHopType_SecureWebProxyGateway = @"SECURE_WEB_PROXY_GATEWAY"; // GTLRNetworkManagement_RouteInfo.routeScope NSString * const kGTLRNetworkManagement_RouteInfo_RouteScope_NccHub = @"NCC_HUB"; @@ -528,7 +535,7 @@ @implementation GTLRNetworkManagement_CloudFunctionInfo // @implementation GTLRNetworkManagement_CloudRunRevisionEndpoint -@dynamic uri; +@dynamic serviceUri, uri; @end @@ -750,7 +757,8 @@ @implementation GTLRNetworkManagement_GoogleServiceInfo @implementation GTLRNetworkManagement_InstanceInfo @dynamic displayName, externalIp, interface, internalIp, networkTags, - networkUri, pscNetworkAttachmentUri, running, serviceAccount, uri; + networkUri, pscNetworkAttachmentUri, running, serviceAccount, status, + uri; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementQuery.m b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementQuery.m index 45f86b90b..4e4d76a64 100644 --- a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementQuery.m +++ b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementQuery.m @@ -17,6 +17,135 @@ @implementation GTLRNetworkManagementQuery @end +@implementation GTLRNetworkManagementQuery_OrganizationsLocationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkManagementQuery_OrganizationsLocationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkManagement_Location class]; + query.loggingName = @"networkmanagement.organizations.locations.get"; + return query; +} + +@end + +@implementation GTLRNetworkManagementQuery_OrganizationsLocationsList + +@dynamic extraLocationTypes, filter, name, pageSize, pageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"extraLocationTypes" : [NSString class] + }; + return map; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/locations"; + GTLRNetworkManagementQuery_OrganizationsLocationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkManagement_ListLocationsResponse class]; + query.loggingName = @"networkmanagement.organizations.locations.list"; + return query; +} + +@end + +@implementation GTLRNetworkManagementQuery_OrganizationsLocationsOperationsCancel + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRNetworkManagement_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"; + GTLRNetworkManagementQuery_OrganizationsLocationsOperationsCancel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRNetworkManagement_Empty class]; + query.loggingName = @"networkmanagement.organizations.locations.operations.cancel"; + return query; +} + +@end + +@implementation GTLRNetworkManagementQuery_OrganizationsLocationsOperationsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkManagementQuery_OrganizationsLocationsOperationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkManagement_Empty class]; + query.loggingName = @"networkmanagement.organizations.locations.operations.delete"; + return query; +} + +@end + +@implementation GTLRNetworkManagementQuery_OrganizationsLocationsOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkManagementQuery_OrganizationsLocationsOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkManagement_Operation class]; + query.loggingName = @"networkmanagement.organizations.locations.operations.get"; + return query; +} + +@end + +@implementation GTLRNetworkManagementQuery_OrganizationsLocationsOperationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/operations"; + GTLRNetworkManagementQuery_OrganizationsLocationsOperationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkManagement_ListOperationsResponse class]; + query.loggingName = @"networkmanagement.organizations.locations.operations.list"; + return query; +} + +@end + @implementation GTLRNetworkManagementQuery_ProjectsLocationsGet @dynamic name; diff --git a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h index 08dfdc709..47eee094e 100644 --- a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h +++ b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h @@ -1442,6 +1442,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_ForwardInfo_Target_Pee * Value: "ROUTER_APPLIANCE" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_ForwardInfo_Target_RouterAppliance; +/** + * Forwarded to a Secure Web Proxy Gateway. + * + * Value: "SECURE_WEB_PROXY_GATEWAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_ForwardInfo_Target_SecureWebProxyGateway; /** * Target not specified. * @@ -1515,6 +1521,28 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_GoogleServiceInfo_Goog */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_GoogleServiceInfo_GoogleServiceType_ServerlessVpcAccess; +// ---------------------------------------------------------------------------- +// GTLRNetworkManagement_InstanceInfo.status + +/** + * The instance has any status other than "RUNNING". + * + * Value: "NOT_RUNNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_InstanceInfo_Status_NotRunning; +/** + * The instance is running. + * + * Value: "RUNNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_InstanceInfo_Status_Running; +/** + * Default unspecified value. + * + * Value: "STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_InstanceInfo_Status_StatusUnspecified; + // ---------------------------------------------------------------------------- // GTLRNetworkManagement_LoadBalancerBackend.healthCheckFirewallState @@ -1881,6 +1909,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_RouteInfo_NextHopType_ * Value: "NEXT_HOP_VPN_TUNNEL" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_RouteInfo_NextHopType_NextHopVpnTunnel; +/** + * Next hop is Secure Web Proxy Gateway. + * + * Value: "SECURE_WEB_PROXY_GATEWAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_RouteInfo_NextHopType_SecureWebProxyGateway; // ---------------------------------------------------------------------------- // GTLRNetworkManagement_RouteInfo.routeScope @@ -2779,6 +2813,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT */ @interface GTLRNetworkManagement_CloudRunRevisionEndpoint : GTLRObject +/** + * Output only. The URI of the Cloud Run service that the revision belongs to. + * The format is: projects/{project}/locations/{location}/services/{service} + */ +@property(nonatomic, copy, nullable) NSString *serviceUri; + /** * A [Cloud Run](https://cloud.google.com/run) * [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) @@ -3901,6 +3941,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * a VPC peering network. (Value: "PEERING_VPC") * @arg @c kGTLRNetworkManagement_ForwardInfo_Target_RouterAppliance * Forwarded to a router appliance. (Value: "ROUTER_APPLIANCE") + * @arg @c kGTLRNetworkManagement_ForwardInfo_Target_SecureWebProxyGateway + * Forwarded to a Secure Web Proxy Gateway. (Value: + * "SECURE_WEB_PROXY_GATEWAY") * @arg @c kGTLRNetworkManagement_ForwardInfo_Target_TargetUnspecified Target * not specified. (Value: "TARGET_UNSPECIFIED") * @arg @c kGTLRNetworkManagement_ForwardInfo_Target_VpnGateway Forwarded to @@ -4062,15 +4105,29 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT @property(nonatomic, copy, nullable) NSString *pscNetworkAttachmentUri; /** - * Indicates whether the Compute Engine instance is running. + * Indicates whether the Compute Engine instance is running. Deprecated: use + * the `status` field instead. * * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *running; +@property(nonatomic, strong, nullable) NSNumber *running GTLR_DEPRECATED; /** Service account authorized for the instance. */ @property(nonatomic, copy, nullable) NSString *serviceAccount GTLR_DEPRECATED; +/** + * The status of the instance. + * + * Likely values: + * @arg @c kGTLRNetworkManagement_InstanceInfo_Status_NotRunning The instance + * has any status other than "RUNNING". (Value: "NOT_RUNNING") + * @arg @c kGTLRNetworkManagement_InstanceInfo_Status_Running The instance is + * running. (Value: "RUNNING") + * @arg @c kGTLRNetworkManagement_InstanceInfo_Status_StatusUnspecified + * Default unspecified value. (Value: "STATUS_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *status; + /** URI of a Compute Engine instance. */ @property(nonatomic, copy, nullable) NSString *uri; @@ -5157,6 +5214,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * (Value: "NEXT_HOP_VPN_GATEWAY") * @arg @c kGTLRNetworkManagement_RouteInfo_NextHopType_NextHopVpnTunnel Next * hop is a VPN tunnel. (Value: "NEXT_HOP_VPN_TUNNEL") + * @arg @c kGTLRNetworkManagement_RouteInfo_NextHopType_SecureWebProxyGateway + * Next hop is Secure Web Proxy Gateway. (Value: + * "SECURE_WEB_PROXY_GATEWAY") */ @property(nonatomic, copy, nullable) NSString *nextHopType; @@ -5838,9 +5898,11 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT @property(nonatomic, strong, nullable) NSArray *metadataFields; /** - * Identifier. Unique name of the configuration using one of the forms: + * Identifier. Unique name of the configuration. The name can have one of the + * following forms: - For project-level configurations: * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - * `organizations/{organization_number}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` + * - For organization-level configurations: + * `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -5861,8 +5923,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT @property(nonatomic, copy, nullable) NSString *state; /** - * Output only. A diagnostic bit - describes the state of the configured target - * resource for diagnostic purposes. + * Output only. Describes the state of the configured target resource for + * diagnostic purposes. * * Likely values: * @arg @c kGTLRNetworkManagement_VpcFlowLogsConfig_TargetResourceState_TargetResourceDoesNotExist diff --git a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementQuery.h b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementQuery.h index 3f9060b07..552d0545e 100644 --- a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementQuery.h +++ b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementQuery.h @@ -34,6 +34,235 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Gets information about a location. + * + * Method: networkmanagement.organizations.locations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_OrganizationsLocationsGet : GTLRNetworkManagementQuery + +/** Resource name for the location. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRNetworkManagement_Location. + * + * Gets information about a location. + * + * @param name Resource name for the location. + * + * @return GTLRNetworkManagementQuery_OrganizationsLocationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists information about the supported locations for this service. + * + * Method: networkmanagement.organizations.locations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_OrganizationsLocationsList : GTLRNetworkManagementQuery + +/** + * Optional. A list of extra location types that should be used as conditions + * for controlling the visibility of the locations. + */ +@property(nonatomic, strong, nullable) NSArray *extraLocationTypes; + +/** + * A filter to narrow down results to a preferred subset. The filtering + * language accepts strings like `"displayName=tokyo"`, and is documented in + * more detail in [AIP-160](https://google.aip.dev/160). + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** The resource that owns the locations collection, if applicable. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The maximum number of results to return. If not set, the service selects a + * default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token received from the `next_page_token` field in the response. Send + * that page token to receive the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRNetworkManagement_ListLocationsResponse. + * + * Lists information about the supported locations for this service. + * + * @param name The resource that owns the locations collection, if applicable. + * + * @return GTLRNetworkManagementQuery_OrganizationsLocationsList + * + * @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: networkmanagement.organizations.locations.operations.cancel + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_OrganizationsLocationsOperationsCancel : GTLRNetworkManagementQuery + +/** The name of the operation resource to be cancelled. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRNetworkManagement_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 GTLRNetworkManagement_CancelOperationRequest to include + * in the query. + * @param name The name of the operation resource to be cancelled. + * + * @return GTLRNetworkManagementQuery_OrganizationsLocationsOperationsCancel + */ ++ (instancetype)queryWithObject:(GTLRNetworkManagement_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: networkmanagement.organizations.locations.operations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_OrganizationsLocationsOperationsDelete : GTLRNetworkManagementQuery + +/** The name of the operation resource to be deleted. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRNetworkManagement_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 GTLRNetworkManagementQuery_OrganizationsLocationsOperationsDelete + */ ++ (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: networkmanagement.organizations.locations.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_OrganizationsLocationsOperationsGet : GTLRNetworkManagementQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRNetworkManagement_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 GTLRNetworkManagementQuery_OrganizationsLocationsOperationsGet + */ ++ (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: networkmanagement.organizations.locations.operations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_OrganizationsLocationsOperationsList : GTLRNetworkManagementQuery + +/** 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 GTLRNetworkManagement_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 GTLRNetworkManagementQuery_OrganizationsLocationsOperationsList + * + * @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. * @@ -683,11 +912,11 @@ NS_ASSUME_NONNULL_BEGIN /** * Creates a new `VpcFlowLogsConfig`. If a configuration with the exact same * settings already exists (even if the ID is different), the creation fails. - * Notes: 1. Creating a configuration with state=DISABLED will fail 2. The - * following fields are not considered as `settings` for the purpose of the - * check mentioned above, therefore - creating another configuration with the - * same fields but different values for the following fields will fail as well: - * * name * create_time * update_time * labels * description + * Notes: 1. Creating a configuration with `state=DISABLED` will fail 2. The + * following fields are not considered as settings for the purpose of the check + * mentioned above, therefore - creating another configuration with the same + * fields but different values for the following fields will fail as well: * + * name * create_time * update_time * labels * description * * Method: networkmanagement.projects.locations.vpcFlowLogsConfigs.create * @@ -697,8 +926,9 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsCreate : GTLRNetworkManagementQuery /** - * Required. The parent resource of the VPC Flow Logs configuration to create: - * `projects/{project_id}/locations/global` + * Required. The parent resource of the VpcFlowLogsConfig to create, in one of + * the following formats: - For project-level resources: + * `projects/{project_id}/locations/global` - For organization-level resources: * `organizations/{organization_id}/locations/global` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -711,17 +941,18 @@ NS_ASSUME_NONNULL_BEGIN * * Creates a new `VpcFlowLogsConfig`. If a configuration with the exact same * settings already exists (even if the ID is different), the creation fails. - * Notes: 1. Creating a configuration with state=DISABLED will fail 2. The - * following fields are not considered as `settings` for the purpose of the - * check mentioned above, therefore - creating another configuration with the - * same fields but different values for the following fields will fail as well: - * * name * create_time * update_time * labels * description + * Notes: 1. Creating a configuration with `state=DISABLED` will fail 2. The + * following fields are not considered as settings for the purpose of the check + * mentioned above, therefore - creating another configuration with the same + * fields but different values for the following fields will fail as well: * + * name * create_time * update_time * labels * description * * @param object The @c GTLRNetworkManagement_VpcFlowLogsConfig to include in * the query. - * @param parent Required. The parent resource of the VPC Flow Logs - * configuration to create: `projects/{project_id}/locations/global` - * `organizations/{organization_id}/locations/global` + * @param parent Required. The parent resource of the VpcFlowLogsConfig to + * create, in one of the following formats: - For project-level resources: + * `projects/{project_id}/locations/global` - For organization-level + * resources: `organizations/{organization_id}/locations/global` * * @return GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsCreate */ @@ -741,9 +972,11 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsDelete : GTLRNetworkManagementQuery /** - * Required. `VpcFlowLogsConfig` resource name using one of the form: - * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config} - * `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}` + * Required. The resource name of the VpcFlowLogsConfig, in one of the + * following formats: - For a project-level resource: + * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` + * - For an organization-level resource: + * `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -752,10 +985,11 @@ NS_ASSUME_NONNULL_BEGIN * * Deletes a specific `VpcFlowLogsConfig`. * - * @param name Required. `VpcFlowLogsConfig` resource name using one of the - * form: - * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config} - * `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}` + * @param name Required. The resource name of the VpcFlowLogsConfig, in one of + * the following formats: - For a project-level resource: + * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` + * - For an organization-level resource: + * `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` * * @return GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsDelete */ @@ -774,9 +1008,11 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsGet : GTLRNetworkManagementQuery /** - * Required. `VpcFlowLogsConfig` resource name using the form: - * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}` - * `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}` + * Required. The resource name of the VpcFlowLogsConfig, in one of the + * following formats: - For project-level resources: + * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` + * - For organization-level resources: + * `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -785,9 +1021,11 @@ NS_ASSUME_NONNULL_BEGIN * * Gets the details of a specific `VpcFlowLogsConfig`. * - * @param name Required. `VpcFlowLogsConfig` resource name using the form: - * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}` - * `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config}` + * @param name Required. The resource name of the VpcFlowLogsConfig, in one of + * the following formats: - For project-level resources: + * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` + * - For organization-level resources: + * `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` * * @return GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsGet */ @@ -825,8 +1063,9 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. The parent resource of the VpcFlowLogsConfig: - * `projects/{project_id}/locations/global` + * Required. The parent resource of the VpcFlowLogsConfig, in one of the + * following formats: - For project-level resourcs: + * `projects/{project_id}/locations/global` - For organization-level resources: * `organizations/{organization_id}/locations/global` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -836,9 +1075,10 @@ NS_ASSUME_NONNULL_BEGIN * * Lists all `VpcFlowLogsConfigs` in a given project. * - * @param parent Required. The parent resource of the VpcFlowLogsConfig: - * `projects/{project_id}/locations/global` - * `organizations/{organization_id}/locations/global` + * @param parent Required. The parent resource of the VpcFlowLogsConfig, in one + * of the following formats: - For project-level resourcs: + * `projects/{project_id}/locations/global` - For organization-level + * resources: `organizations/{organization_id}/locations/global` * * @return GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsList * @@ -853,11 +1093,11 @@ NS_ASSUME_NONNULL_BEGIN /** * Updates an existing `VpcFlowLogsConfig`. If a configuration with the exact * same settings already exists (even if the ID is different), the creation - * fails. Notes: 1. Updating a configuration with state=DISABLED will fail. 2. - * The following fields are not considered as `settings` for the purpose of the - * check mentioned above, therefore - updating another configuration with the - * same fields but different values for the following fields will fail as well: - * * name * create_time * update_time * labels * description + * fails. Notes: 1. Updating a configuration with `state=DISABLED` will fail. + * 2. The following fields are not considered as settings for the purpose of + * the check mentioned above, therefore - updating another configuration with + * the same fields but different values for the following fields will fail as + * well: * name * create_time * update_time * labels * description * * Method: networkmanagement.projects.locations.vpcFlowLogsConfigs.patch * @@ -867,15 +1107,21 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsPatch : GTLRNetworkManagementQuery /** - * Identifier. Unique name of the configuration using one of the forms: + * Identifier. Unique name of the configuration. The name can have one of the + * following forms: - For project-level configurations: * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - * `organizations/{organization_number}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` + * - For organization-level configurations: + * `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` */ @property(nonatomic, copy, nullable) NSString *name; /** * Required. Mask of fields to update. At least one path must be supplied in - * this field. + * this field. For example, to change the state of the configuration to + * ENABLED, specify `update_mask` = `"state"`, and the `vpc_flow_logs_config` + * would be: `vpc_flow_logs_config = { name = + * "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config" state = + * "ENABLED" }` * * String format is a comma-separated list of fields. */ @@ -886,18 +1132,19 @@ NS_ASSUME_NONNULL_BEGIN * * Updates an existing `VpcFlowLogsConfig`. If a configuration with the exact * same settings already exists (even if the ID is different), the creation - * fails. Notes: 1. Updating a configuration with state=DISABLED will fail. 2. - * The following fields are not considered as `settings` for the purpose of the - * check mentioned above, therefore - updating another configuration with the - * same fields but different values for the following fields will fail as well: - * * name * create_time * update_time * labels * description + * fails. Notes: 1. Updating a configuration with `state=DISABLED` will fail. + * 2. The following fields are not considered as settings for the purpose of + * the check mentioned above, therefore - updating another configuration with + * the same fields but different values for the following fields will fail as + * well: * name * create_time * update_time * labels * description * * @param object The @c GTLRNetworkManagement_VpcFlowLogsConfig to include in * the query. - * @param name Identifier. Unique name of the configuration using one of the - * forms: + * @param name Identifier. Unique name of the configuration. The name can have + * one of the following forms: - For project-level configurations: * `projects/{project_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` - * `organizations/{organization_number}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` + * - For organization-level configurations: + * `organizations/{organization_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}` * * @return GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsPatch */ diff --git a/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m b/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m index 5ab2a672e..2c047ea14 100644 --- a/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m +++ b/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m @@ -55,6 +55,11 @@ NSString * const kGTLRNetworkSecurity_AuthzPolicyTarget_LoadBalancingScheme_InternalSelfManaged = @"INTERNAL_SELF_MANAGED"; NSString * const kGTLRNetworkSecurity_AuthzPolicyTarget_LoadBalancingScheme_LoadBalancingSchemeUnspecified = @"LOAD_BALANCING_SCHEME_UNSPECIFIED"; +// GTLRNetworkSecurity_BackendAuthenticationConfig.wellKnownRoots +NSString * const kGTLRNetworkSecurity_BackendAuthenticationConfig_WellKnownRoots_None = @"NONE"; +NSString * const kGTLRNetworkSecurity_BackendAuthenticationConfig_WellKnownRoots_PublicRoots = @"PUBLIC_ROOTS"; +NSString * const kGTLRNetworkSecurity_BackendAuthenticationConfig_WellKnownRoots_WellKnownRootsUnspecified = @"WELL_KNOWN_ROOTS_UNSPECIFIED"; + // GTLRNetworkSecurity_FirewallEndpoint.state NSString * const kGTLRNetworkSecurity_FirewallEndpoint_State_Active = @"ACTIVE"; NSString * const kGTLRNetworkSecurity_FirewallEndpoint_State_Creating = @"CREATING"; @@ -429,10 +434,11 @@ @implementation GTLRNetworkSecurity_AuthzPolicyAuthzRuleFrom // @implementation GTLRNetworkSecurity_AuthzPolicyAuthzRuleFromRequestSource -@dynamic resources; +@dynamic ipBlocks, resources; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"ipBlocks" : [GTLRNetworkSecurity_AuthzPolicyAuthzRuleIpBlock class], @"resources" : [GTLRNetworkSecurity_AuthzPolicyAuthzRuleRequestResource class] }; return map; @@ -451,6 +457,16 @@ @implementation GTLRNetworkSecurity_AuthzPolicyAuthzRuleHeaderMatch @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkSecurity_AuthzPolicyAuthzRuleIpBlock +// + +@implementation GTLRNetworkSecurity_AuthzPolicyAuthzRuleIpBlock +@dynamic length, prefix; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkSecurity_AuthzPolicyAuthzRuleRequestResource @@ -601,6 +617,40 @@ @implementation GTLRNetworkSecurity_AuthzPolicyTarget @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkSecurity_BackendAuthenticationConfig +// + +@implementation GTLRNetworkSecurity_BackendAuthenticationConfig +@dynamic clientCertificate, createTime, descriptionProperty, ETag, labels, name, + trustConfig, updateTime, wellKnownRoots; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"descriptionProperty" : @"description", + @"ETag" : @"etag" + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRNetworkSecurity_BackendAuthenticationConfig_Labels +// + +@implementation GTLRNetworkSecurity_BackendAuthenticationConfig_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkSecurity_CancelOperationRequest @@ -1300,6 +1350,29 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkSecurity_ListBackendAuthenticationConfigsResponse +// + +@implementation GTLRNetworkSecurity_ListBackendAuthenticationConfigsResponse +@dynamic backendAuthenticationConfigs, nextPageToken, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"backendAuthenticationConfigs" : [GTLRNetworkSecurity_BackendAuthenticationConfig class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"backendAuthenticationConfigs"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkSecurity_ListClientTlsPoliciesResponse diff --git a/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityQuery.m b/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityQuery.m index 74cdbed3f..f19c49e25 100644 --- a/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityQuery.m +++ b/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityQuery.m @@ -1314,6 +1314,121 @@ + (instancetype)queryWithObject:(GTLRNetworkSecurity_GoogleIamV1TestIamPermissio @end +@implementation GTLRNetworkSecurityQuery_ProjectsLocationsBackendAuthenticationConfigsCreate + +@dynamic backendAuthenticationConfigId, parent; + ++ (instancetype)queryWithObject:(GTLRNetworkSecurity_BackendAuthenticationConfig *)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}/backendAuthenticationConfigs"; + GTLRNetworkSecurityQuery_ProjectsLocationsBackendAuthenticationConfigsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRNetworkSecurity_Operation class]; + query.loggingName = @"networksecurity.projects.locations.backendAuthenticationConfigs.create"; + return query; +} + +@end + +@implementation GTLRNetworkSecurityQuery_ProjectsLocationsBackendAuthenticationConfigsDelete + +@dynamic ETag, name; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkSecurityQuery_ProjectsLocationsBackendAuthenticationConfigsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkSecurity_Operation class]; + query.loggingName = @"networksecurity.projects.locations.backendAuthenticationConfigs.delete"; + return query; +} + +@end + +@implementation GTLRNetworkSecurityQuery_ProjectsLocationsBackendAuthenticationConfigsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkSecurityQuery_ProjectsLocationsBackendAuthenticationConfigsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkSecurity_BackendAuthenticationConfig class]; + query.loggingName = @"networksecurity.projects.locations.backendAuthenticationConfigs.get"; + return query; +} + +@end + +@implementation GTLRNetworkSecurityQuery_ProjectsLocationsBackendAuthenticationConfigsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/backendAuthenticationConfigs"; + GTLRNetworkSecurityQuery_ProjectsLocationsBackendAuthenticationConfigsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRNetworkSecurity_ListBackendAuthenticationConfigsResponse class]; + query.loggingName = @"networksecurity.projects.locations.backendAuthenticationConfigs.list"; + return query; +} + +@end + +@implementation GTLRNetworkSecurityQuery_ProjectsLocationsBackendAuthenticationConfigsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRNetworkSecurity_BackendAuthenticationConfig *)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}"; + GTLRNetworkSecurityQuery_ProjectsLocationsBackendAuthenticationConfigsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRNetworkSecurity_Operation class]; + query.loggingName = @"networksecurity.projects.locations.backendAuthenticationConfigs.patch"; + return query; +} + +@end + @implementation GTLRNetworkSecurityQuery_ProjectsLocationsClientTlsPoliciesCreate @dynamic clientTlsPolicyId, parent; diff --git a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h index dd791d54a..2a589b512 100644 --- a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h +++ b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h @@ -23,6 +23,7 @@ @class GTLRNetworkSecurity_AuthzPolicyAuthzRuleFrom; @class GTLRNetworkSecurity_AuthzPolicyAuthzRuleFromRequestSource; @class GTLRNetworkSecurity_AuthzPolicyAuthzRuleHeaderMatch; +@class GTLRNetworkSecurity_AuthzPolicyAuthzRuleIpBlock; @class GTLRNetworkSecurity_AuthzPolicyAuthzRuleRequestResource; @class GTLRNetworkSecurity_AuthzPolicyAuthzRuleRequestResourceTagValueIdSet; @class GTLRNetworkSecurity_AuthzPolicyAuthzRuleStringMatch; @@ -33,6 +34,8 @@ @class GTLRNetworkSecurity_AuthzPolicyCustomProviderAuthzExtension; @class GTLRNetworkSecurity_AuthzPolicyCustomProviderCloudIap; @class GTLRNetworkSecurity_AuthzPolicyTarget; +@class GTLRNetworkSecurity_BackendAuthenticationConfig; +@class GTLRNetworkSecurity_BackendAuthenticationConfig_Labels; @class GTLRNetworkSecurity_CertificateProviderInstance; @class GTLRNetworkSecurity_ClientTlsPolicy; @class GTLRNetworkSecurity_ClientTlsPolicy_Labels; @@ -332,6 +335,34 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_AuthzPolicyTarget_LoadBa */ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_AuthzPolicyTarget_LoadBalancingScheme_LoadBalancingSchemeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRNetworkSecurity_BackendAuthenticationConfig.wellKnownRoots + +/** + * The BackendService will only validate server certificates against roots + * specified in TrustConfig. + * + * Value: "NONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_BackendAuthenticationConfig_WellKnownRoots_None; +/** + * The BackendService uses a set of well-known public roots, in addition to any + * roots specified in the trustConfig field, when validating the server + * certificates presented by the backend. Validation with these roots is only + * considered when the TlsSettings.sni field in the BackendService is set. The + * well-known roots are a set of root CAs managed by Google. CAs in this set + * can be added or removed without notice. + * + * Value: "PUBLIC_ROOTS" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_BackendAuthenticationConfig_WellKnownRoots_PublicRoots; +/** + * Equivalent to NONE. + * + * Value: "WELL_KNOWN_ROOTS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_BackendAuthenticationConfig_WellKnownRoots_WellKnownRootsUnspecified; + // ---------------------------------------------------------------------------- // GTLRNetworkSecurity_FirewallEndpoint.state @@ -1773,6 +1804,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF */ @interface GTLRNetworkSecurity_AuthzPolicyAuthzRuleFromRequestSource : GTLRObject +/** + * Optional. A list of IPs or CIDRs to match against the source IP of a + * request. Limited to 5 ip_blocks. + */ +@property(nonatomic, strong, nullable) NSArray *ipBlocks; + /** * Optional. A list of resources to match against the resource of the source VM * of a request. Limited to 5 resources. @@ -1796,6 +1833,24 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF @end +/** + * Represents a range of IP Addresses. + */ +@interface GTLRNetworkSecurity_AuthzPolicyAuthzRuleIpBlock : GTLRObject + +/** + * Required. The length of the address range. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *length; + +/** Required. The address prefix. */ +@property(nonatomic, copy, nullable) NSString *prefix; + +@end + + /** * Describes the properties of a client VM resource accessing the internal * application load balancers. @@ -2042,6 +2097,102 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF @end +/** + * BackendAuthenticationConfig message groups the TrustConfig together with + * other settings that control how the load balancer authenticates, and + * expresses its identity to, the backend: * `trustConfig` is the attached + * TrustConfig. * `wellKnownRoots` indicates whether the load balance should + * trust backend server certificates that are issued by public certificate + * authorities, in addition to certificates trusted by the TrustConfig. * + * `clientCertificate` is a client certificate that the load balancer uses to + * express its identity to the backend, if the connection to the backend uses + * mTLS. You can attach the BackendAuthenticationConfig to the load balancer’s + * BackendService directly determining how that BackendService negotiates TLS. + */ +@interface GTLRNetworkSecurity_BackendAuthenticationConfig : GTLRObject + +/** + * Optional. A reference to a certificatemanager.googleapis.com.Certificate + * resource. This is a relative resource path following the form + * "projects/{project}/locations/{location}/certificates/{certificate}". Used + * by a BackendService to negotiate mTLS when the backend connection uses TLS + * and the backend requests a client certificate. Must have a CLIENT_AUTH + * scope. + */ +@property(nonatomic, copy, nullable) NSString *clientCertificate; + +/** Output only. The timestamp when the resource was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. Free-text description of the resource. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** Output only. Etag of the resource. */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** Set of label tags associated with the resource. */ +@property(nonatomic, strong, nullable) GTLRNetworkSecurity_BackendAuthenticationConfig_Labels *labels; + +/** + * Required. Name of the BackendAuthenticationConfig resource. It matches the + * pattern `projects/ * + * /locations/{location}/backendAuthenticationConfigs/{backend_authentication_config}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. A reference to a TrustConfig resource from the + * certificatemanager.googleapis.com namespace. This is a relative resource + * path following the form + * "projects/{project}/locations/{location}/trustConfigs/{trust_config}". A + * BackendService uses the chain of trust represented by this TrustConfig, if + * specified, to validate the server certificates presented by the backend. + * Required unless wellKnownRoots is set to PUBLIC_ROOTS. + */ +@property(nonatomic, copy, nullable) NSString *trustConfig; + +/** Output only. The timestamp when the resource was updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +/** + * Well known roots to use for server certificate validation. + * + * Likely values: + * @arg @c kGTLRNetworkSecurity_BackendAuthenticationConfig_WellKnownRoots_None + * The BackendService will only validate server certificates against + * roots specified in TrustConfig. (Value: "NONE") + * @arg @c kGTLRNetworkSecurity_BackendAuthenticationConfig_WellKnownRoots_PublicRoots + * The BackendService uses a set of well-known public roots, in addition + * to any roots specified in the trustConfig field, when validating the + * server certificates presented by the backend. Validation with these + * roots is only considered when the TlsSettings.sni field in the + * BackendService is set. The well-known roots are a set of root CAs + * managed by Google. CAs in this set can be added or removed without + * notice. (Value: "PUBLIC_ROOTS") + * @arg @c kGTLRNetworkSecurity_BackendAuthenticationConfig_WellKnownRoots_WellKnownRootsUnspecified + * Equivalent to NONE. (Value: "WELL_KNOWN_ROOTS_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *wellKnownRoots; + +@end + + +/** + * Set of label 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 GTLRNetworkSecurity_BackendAuthenticationConfig_Labels : GTLRObject +@end + + /** * The request message for Operations.CancelOperation. */ @@ -3727,6 +3878,37 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF @end +/** + * Response returned by the ListBackendAuthenticationConfigs method. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "backendAuthenticationConfigs" property. If returned as the result + * of a query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRNetworkSecurity_ListBackendAuthenticationConfigsResponse : GTLRCollectionObject + +/** + * List of BackendAuthenticationConfig resources. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *backendAuthenticationConfigs; + +/** + * If there might be more results than those appearing in this response, then + * `next_page_token` is included. To get the next set of results, call this + * method again using the value of `next_page_token` as `page_token`. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + /** * Response returned by the ListClientTlsPolicies method. * diff --git a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityQuery.h b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityQuery.h index e30afe684..ba107aae7 100644 --- a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityQuery.h +++ b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityQuery.h @@ -2416,6 +2416,214 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Creates a new BackendAuthenticationConfig in a given project and location. + * + * Method: networksecurity.projects.locations.backendAuthenticationConfigs.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkSecurityCloudPlatform + */ +@interface GTLRNetworkSecurityQuery_ProjectsLocationsBackendAuthenticationConfigsCreate : GTLRNetworkSecurityQuery + +/** + * Required. Short name of the BackendAuthenticationConfig resource to be + * created. This value should be 1-63 characters long, containing only letters, + * numbers, hyphens, and underscores, and should not start with a number. E.g. + * "backend-auth-config". + */ +@property(nonatomic, copy, nullable) NSString *backendAuthenticationConfigId; + +/** + * Required. The parent resource of the BackendAuthenticationConfig. Must be in + * the format `projects/ * /locations/{location}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRNetworkSecurity_Operation. + * + * Creates a new BackendAuthenticationConfig in a given project and location. + * + * @param object The @c GTLRNetworkSecurity_BackendAuthenticationConfig to + * include in the query. + * @param parent Required. The parent resource of the + * BackendAuthenticationConfig. Must be in the format `projects/ * + * /locations/{location}`. + * + * @return GTLRNetworkSecurityQuery_ProjectsLocationsBackendAuthenticationConfigsCreate + */ ++ (instancetype)queryWithObject:(GTLRNetworkSecurity_BackendAuthenticationConfig *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a single BackendAuthenticationConfig to BackendAuthenticationConfig. + * + * Method: networksecurity.projects.locations.backendAuthenticationConfigs.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkSecurityCloudPlatform + */ +@interface GTLRNetworkSecurityQuery_ProjectsLocationsBackendAuthenticationConfigsDelete : GTLRNetworkSecurityQuery + +/** + * Optional. Etag of the resource. If this is provided, it must match the + * server's etag. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Required. A name of the BackendAuthenticationConfig to delete. Must be in + * the format `projects/ * /locations/{location}/backendAuthenticationConfigs/ + * *`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRNetworkSecurity_Operation. + * + * Deletes a single BackendAuthenticationConfig to BackendAuthenticationConfig. + * + * @param name Required. A name of the BackendAuthenticationConfig to delete. + * Must be in the format `projects/ * + * /locations/{location}/backendAuthenticationConfigs/ *`. + * + * @return GTLRNetworkSecurityQuery_ProjectsLocationsBackendAuthenticationConfigsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets details of a single BackendAuthenticationConfig to + * BackendAuthenticationConfig. + * + * Method: networksecurity.projects.locations.backendAuthenticationConfigs.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkSecurityCloudPlatform + */ +@interface GTLRNetworkSecurityQuery_ProjectsLocationsBackendAuthenticationConfigsGet : GTLRNetworkSecurityQuery + +/** + * Required. A name of the BackendAuthenticationConfig to get. Must be in the + * format `projects/ * /locations/{location}/backendAuthenticationConfigs/ *`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRNetworkSecurity_BackendAuthenticationConfig. + * + * Gets details of a single BackendAuthenticationConfig to + * BackendAuthenticationConfig. + * + * @param name Required. A name of the BackendAuthenticationConfig to get. Must + * be in the format `projects/ * + * /locations/{location}/backendAuthenticationConfigs/ *`. + * + * @return GTLRNetworkSecurityQuery_ProjectsLocationsBackendAuthenticationConfigsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists BackendAuthenticationConfigs in a given project and location. + * + * Method: networksecurity.projects.locations.backendAuthenticationConfigs.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkSecurityCloudPlatform + */ +@interface GTLRNetworkSecurityQuery_ProjectsLocationsBackendAuthenticationConfigsList : GTLRNetworkSecurityQuery + +/** Maximum number of BackendAuthenticationConfigs to return per call. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * The value returned by the last `ListBackendAuthenticationConfigsResponse` + * Indicates that this is a continuation of a prior + * `ListBackendAuthenticationConfigs` call, and that the system should return + * the next page of data. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The project and location from which the + * BackendAuthenticationConfigs should be listed, specified in the format + * `projects/ * /locations/{location}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRNetworkSecurity_ListBackendAuthenticationConfigsResponse. + * + * Lists BackendAuthenticationConfigs in a given project and location. + * + * @param parent Required. The project and location from which the + * BackendAuthenticationConfigs should be listed, specified in the format + * `projects/ * /locations/{location}`. + * + * @return GTLRNetworkSecurityQuery_ProjectsLocationsBackendAuthenticationConfigsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates the parameters of a single BackendAuthenticationConfig to + * BackendAuthenticationConfig. + * + * Method: networksecurity.projects.locations.backendAuthenticationConfigs.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkSecurityCloudPlatform + */ +@interface GTLRNetworkSecurityQuery_ProjectsLocationsBackendAuthenticationConfigsPatch : GTLRNetworkSecurityQuery + +/** + * Required. Name of the BackendAuthenticationConfig resource. It matches the + * pattern `projects/ * + * /locations/{location}/backendAuthenticationConfigs/{backend_authentication_config}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Field mask is used to specify the fields to be overwritten in the + * BackendAuthenticationConfig resource by the update. The fields specified in + * the update_mask are relative to the resource, not the full request. A field + * will be overwritten if it is in the mask. If the user does not provide a + * mask then all fields will be overwritten. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRNetworkSecurity_Operation. + * + * Updates the parameters of a single BackendAuthenticationConfig to + * BackendAuthenticationConfig. + * + * @param object The @c GTLRNetworkSecurity_BackendAuthenticationConfig to + * include in the query. + * @param name Required. Name of the BackendAuthenticationConfig resource. It + * matches the pattern `projects/ * + * /locations/{location}/backendAuthenticationConfigs/{backend_authentication_config}` + * + * @return GTLRNetworkSecurityQuery_ProjectsLocationsBackendAuthenticationConfigsPatch + */ ++ (instancetype)queryWithObject:(GTLRNetworkSecurity_BackendAuthenticationConfig *)object + name:(NSString *)name; + +@end + /** * Creates a new ClientTlsPolicy in a given project and location. * diff --git a/Sources/GeneratedServices/NetworkServices/GTLRNetworkServicesObjects.m b/Sources/GeneratedServices/NetworkServices/GTLRNetworkServicesObjects.m index 726a0bc94..85afc4dab 100644 --- a/Sources/GeneratedServices/NetworkServices/GTLRNetworkServicesObjects.m +++ b/Sources/GeneratedServices/NetworkServices/GTLRNetworkServicesObjects.m @@ -116,6 +116,15 @@ NSString * const kGTLRNetworkServices_ServiceLbPolicy_LoadBalancingAlgorithm_WaterfallByRegion = @"WATERFALL_BY_REGION"; NSString * const kGTLRNetworkServices_ServiceLbPolicy_LoadBalancingAlgorithm_WaterfallByZone = @"WATERFALL_BY_ZONE"; +// GTLRNetworkServices_ServiceLbPolicyIsolationConfig.isolationGranularity +NSString * const kGTLRNetworkServices_ServiceLbPolicyIsolationConfig_IsolationGranularity_IsolationGranularityUnspecified = @"ISOLATION_GRANULARITY_UNSPECIFIED"; +NSString * const kGTLRNetworkServices_ServiceLbPolicyIsolationConfig_IsolationGranularity_Region = @"REGION"; + +// GTLRNetworkServices_ServiceLbPolicyIsolationConfig.isolationMode +NSString * const kGTLRNetworkServices_ServiceLbPolicyIsolationConfig_IsolationMode_IsolationModeUnspecified = @"ISOLATION_MODE_UNSPECIFIED"; +NSString * const kGTLRNetworkServices_ServiceLbPolicyIsolationConfig_IsolationMode_Nearest = @"NEAREST"; +NSString * const kGTLRNetworkServices_ServiceLbPolicyIsolationConfig_IsolationMode_Strict = @"STRICT"; + // GTLRNetworkServices_WasmPluginLogConfig.minLogLevel NSString * const kGTLRNetworkServices_WasmPluginLogConfig_MinLogLevel_Critical = @"CRITICAL"; NSString * const kGTLRNetworkServices_WasmPluginLogConfig_MinLogLevel_Debug = @"DEBUG"; @@ -1660,7 +1669,7 @@ + (Class)classForAdditionalProperties { @implementation GTLRNetworkServices_ServiceLbPolicy @dynamic autoCapacityDrain, createTime, descriptionProperty, failoverConfig, - labels, loadBalancingAlgorithm, name, updateTime; + isolationConfig, labels, loadBalancingAlgorithm, name, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -1703,6 +1712,16 @@ @implementation GTLRNetworkServices_ServiceLbPolicyFailoverConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkServices_ServiceLbPolicyIsolationConfig +// + +@implementation GTLRNetworkServices_ServiceLbPolicyIsolationConfig +@dynamic isolationGranularity, isolationMode; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkServices_SetIamPolicyRequest diff --git a/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h b/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h index 62f80c694..7c50344e6 100644 --- a/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h +++ b/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h @@ -88,6 +88,7 @@ @class GTLRNetworkServices_ServiceLbPolicy_Labels; @class GTLRNetworkServices_ServiceLbPolicyAutoCapacityDrain; @class GTLRNetworkServices_ServiceLbPolicyFailoverConfig; +@class GTLRNetworkServices_ServiceLbPolicyIsolationConfig; @class GTLRNetworkServices_Status; @class GTLRNetworkServices_Status_Details_Item; @class GTLRNetworkServices_TcpRoute; @@ -642,6 +643,46 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_ServiceLbPolicy_LoadBala */ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_ServiceLbPolicy_LoadBalancingAlgorithm_WaterfallByZone; +// ---------------------------------------------------------------------------- +// GTLRNetworkServices_ServiceLbPolicyIsolationConfig.isolationGranularity + +/** + * No isolation is configured for the backend service. Traffic can overflow + * based on the load balancing algorithm. + * + * Value: "ISOLATION_GRANULARITY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_ServiceLbPolicyIsolationConfig_IsolationGranularity_IsolationGranularityUnspecified; +/** + * Traffic for this service will be isolated at the cloud region level. + * + * Value: "REGION" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_ServiceLbPolicyIsolationConfig_IsolationGranularity_Region; + +// ---------------------------------------------------------------------------- +// GTLRNetworkServices_ServiceLbPolicyIsolationConfig.isolationMode + +/** + * No isolation mode is configured for the backend service. + * + * Value: "ISOLATION_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_ServiceLbPolicyIsolationConfig_IsolationMode_IsolationModeUnspecified; +/** + * Traffic will be sent to the nearest region. + * + * Value: "NEAREST" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_ServiceLbPolicyIsolationConfig_IsolationMode_Nearest; +/** + * Traffic will fail if no serving backends are available in the same region as + * the load balancer. + * + * Value: "STRICT" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_ServiceLbPolicyIsolationConfig_IsolationMode_Strict; + // ---------------------------------------------------------------------------- // GTLRNetworkServices_WasmPluginLogConfig.minLogLevel @@ -1251,8 +1292,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_WasmPluginLogConfig_MinL /** * Required. A set of extensions to execute for the matching request. At least * one extension is required. Up to 3 extensions can be defined for each - * extension chain for `LbTrafficExtension` resource. `LbRouteExtension` chains - * are limited to 1 extension per extension chain. + * extension chain for `LbTrafficExtension` resource. `LbRouteExtension` and + * `LbEdgeExtension` chains are limited to 1 extension per extension chain. */ @property(nonatomic, strong, nullable) NSArray *extensions; @@ -1349,16 +1390,18 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_WasmPluginLogConfig_MinL * in the format: * `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or * `//networkservices.googleapis.com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`. - * Plugin extensions are currently supported for the `LbTrafficExtension` and - * the `LbRouteExtension` resources. + * Plugin extensions are currently supported for the `LbTrafficExtension`, the + * `LbRouteExtension`, and the `LbEdgeExtension` resources. */ @property(nonatomic, copy, nullable) NSString *service; /** * Optional. A set of events during request or response processing for which - * this extension is called. This field is required for the - * `LbTrafficExtension` resource. It is optional for the `LbRouteExtension` - * resource. If unspecified `REQUEST_HEADERS` event is assumed as supported. + * this extension is called. For the `LbTrafficExtension` resource, this field + * is required. For the `LbRouteExtension` resource, this field is optional. If + * unspecified, `REQUEST_HEADERS` event is assumed as supported. For the + * `LbEdgeExtension` resource, this field is required and must only contain + * `REQUEST_HEADERS` event. */ @property(nonatomic, strong, nullable) NSArray *supportedEvents; @@ -1605,7 +1648,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_WasmPluginLogConfig_MinL /** * Output only. Identifier. Full path name of the GatewayRouteView resource. * Format: - * projects/{project_number}/locations/{location}/gateways/{gateway_name}/routeViews/{route_view_name} + * projects/{project_number}/locations/{location}/gateways/{gateway}/routeViews/{route_view} */ @property(nonatomic, copy, nullable) NSString *name; @@ -3831,7 +3874,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_WasmPluginLogConfig_MinL /** * Output only. Identifier. Full path name of the MeshRouteView resource. * Format: - * projects/{project_number}/locations/{location}/meshes/{mesh_name}/routeViews/{route_view_name} + * projects/{project_number}/locations/{location}/meshes/{mesh}/routeViews/{route_view} */ @property(nonatomic, copy, nullable) NSString *name; @@ -4167,6 +4210,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_WasmPluginLogConfig_MinL /** Optional. Configuration related to health based failover. */ @property(nonatomic, strong, nullable) GTLRNetworkServices_ServiceLbPolicyFailoverConfig *failoverConfig; +/** + * Optional. Configuration to provide isolation support for the associated + * Backend Service. + */ +@property(nonatomic, strong, nullable) GTLRNetworkServices_ServiceLbPolicyIsolationConfig *isolationConfig; + /** * Optional. Set of label tags associated with the ServiceLbPolicy resource. */ @@ -4262,6 +4311,44 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_WasmPluginLogConfig_MinL @end +/** + * Configuration to provide isolation support for the associated Backend + * Service. + */ +@interface GTLRNetworkServices_ServiceLbPolicyIsolationConfig : GTLRObject + +/** + * Optional. The isolation granularity of the load balancer. + * + * Likely values: + * @arg @c kGTLRNetworkServices_ServiceLbPolicyIsolationConfig_IsolationGranularity_IsolationGranularityUnspecified + * No isolation is configured for the backend service. Traffic can + * overflow based on the load balancing algorithm. (Value: + * "ISOLATION_GRANULARITY_UNSPECIFIED") + * @arg @c kGTLRNetworkServices_ServiceLbPolicyIsolationConfig_IsolationGranularity_Region + * Traffic for this service will be isolated at the cloud region level. + * (Value: "REGION") + */ +@property(nonatomic, copy, nullable) NSString *isolationGranularity; + +/** + * Optional. The isolation mode of the load balancer. + * + * Likely values: + * @arg @c kGTLRNetworkServices_ServiceLbPolicyIsolationConfig_IsolationMode_IsolationModeUnspecified + * No isolation mode is configured for the backend service. (Value: + * "ISOLATION_MODE_UNSPECIFIED") + * @arg @c kGTLRNetworkServices_ServiceLbPolicyIsolationConfig_IsolationMode_Nearest + * Traffic will be sent to the nearest region. (Value: "NEAREST") + * @arg @c kGTLRNetworkServices_ServiceLbPolicyIsolationConfig_IsolationMode_Strict + * Traffic will fail if no serving backends are available in the same + * region as the load balancer. (Value: "STRICT") + */ +@property(nonatomic, copy, nullable) NSString *isolationMode; + +@end + + /** * Request message for `SetIamPolicy` method. */ diff --git a/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesQuery.h b/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesQuery.h index d65a99b4c..2569a6a4d 100644 --- a/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesQuery.h +++ b/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesQuery.h @@ -1091,7 +1091,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServicesViewWasmPluginViewUnspeci /** * Required. Name of the GatewayRouteView resource. Formats: - * projects/{project_number}/locations/{location}/gateways/{gateway_name}/routeViews/{route_view_name} + * projects/{project_number}/locations/{location}/gateways/{gateway}/routeViews/{route_view} */ @property(nonatomic, copy, nullable) NSString *name; @@ -1101,7 +1101,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServicesViewWasmPluginViewUnspeci * Get a single RouteView of a Gateway. * * @param name Required. Name of the GatewayRouteView resource. Formats: - * projects/{project_number}/locations/{location}/gateways/{gateway_name}/routeViews/{route_view_name} + * projects/{project_number}/locations/{location}/gateways/{gateway}/routeViews/{route_view} * * @return GTLRNetworkServicesQuery_ProjectsLocationsGatewaysRouteViewsGet */ @@ -1131,7 +1131,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServicesViewWasmPluginViewUnspeci /** * Required. The Gateway to which a Route is associated. Formats: - * projects/{project_number}/locations/{location}/gateways/{gateway_name} + * projects/{project_number}/locations/{location}/gateways/{gateway} */ @property(nonatomic, copy, nullable) NSString *parent; @@ -1141,7 +1141,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServicesViewWasmPluginViewUnspeci * Lists RouteViews * * @param parent Required. The Gateway to which a Route is associated. Formats: - * projects/{project_number}/locations/{location}/gateways/{gateway_name} + * projects/{project_number}/locations/{location}/gateways/{gateway} * * @return GTLRNetworkServicesQuery_ProjectsLocationsGatewaysRouteViewsList * @@ -2294,7 +2294,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServicesViewWasmPluginViewUnspeci /** * Required. Name of the MeshRouteView resource. Format: - * projects/{project_number}/locations/{location}/meshes/{mesh_name}/routeViews/{route_view_name} + * projects/{project_number}/locations/{location}/meshes/{mesh}/routeViews/{route_view} */ @property(nonatomic, copy, nullable) NSString *name; @@ -2304,7 +2304,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServicesViewWasmPluginViewUnspeci * Get a single RouteView of a Mesh. * * @param name Required. Name of the MeshRouteView resource. Format: - * projects/{project_number}/locations/{location}/meshes/{mesh_name}/routeViews/{route_view_name} + * projects/{project_number}/locations/{location}/meshes/{mesh}/routeViews/{route_view} * * @return GTLRNetworkServicesQuery_ProjectsLocationsMeshesRouteViewsGet */ @@ -2334,7 +2334,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServicesViewWasmPluginViewUnspeci /** * Required. The Mesh to which a Route is associated. Format: - * projects/{project_number}/locations/{location}/meshes/{mesh_name} + * projects/{project_number}/locations/{location}/meshes/{mesh} */ @property(nonatomic, copy, nullable) NSString *parent; @@ -2344,7 +2344,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServicesViewWasmPluginViewUnspeci * Lists RouteViews * * @param parent Required. The Mesh to which a Route is associated. Format: - * projects/{project_number}/locations/{location}/meshes/{mesh_name} + * projects/{project_number}/locations/{location}/meshes/{mesh} * * @return GTLRNetworkServicesQuery_ProjectsLocationsMeshesRouteViewsList * diff --git a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h index 5acd67199..32bc6f2e8 100644 --- a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h +++ b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h @@ -3869,7 +3869,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @property(nonatomic, strong, nullable) NSNumber *limit; /** - * Required. ProducerInstanceLocation is used to specify which authorization + * Optional. ProducerInstanceLocation is used to specify which authorization * mechanism to use to determine which projects the Producer instance can be * within. * diff --git a/Sources/GeneratedServices/OrgPolicyAPI/Public/GoogleAPIClientForREST/GTLROrgPolicyAPIObjects.h b/Sources/GeneratedServices/OrgPolicyAPI/Public/GoogleAPIClientForREST/GTLROrgPolicyAPIObjects.h index f2cd7ab00..13fda14ee 100644 --- a/Sources/GeneratedServices/OrgPolicyAPI/Public/GoogleAPIClientForREST/GTLROrgPolicyAPIObjects.h +++ b/Sources/GeneratedServices/OrgPolicyAPI/Public/GoogleAPIClientForREST/GTLROrgPolicyAPIObjects.h @@ -821,8 +821,8 @@ FOUNDATION_EXTERN NSString * const kGTLROrgPolicyAPI_GoogleCloudOrgpolicyV2Custo /** * If `true`, then the policy is enforced. If `false`, then any configuration - * is acceptable. This field can be set only in policies for boolean - * constraints. + * is acceptable. This field can be set in policies for boolean constraints, + * custom constraints and managed constraints. * * Uses NSNumber of boolValue. */ diff --git a/Sources/GeneratedServices/Parallelstore/Public/GoogleAPIClientForREST/GTLRParallelstoreObjects.h b/Sources/GeneratedServices/Parallelstore/Public/GoogleAPIClientForREST/GTLRParallelstoreObjects.h index e6f392272..768434b62 100644 --- a/Sources/GeneratedServices/Parallelstore/Public/GoogleAPIClientForREST/GTLRParallelstoreObjects.h +++ b/Sources/GeneratedServices/Parallelstore/Public/GoogleAPIClientForREST/GTLRParallelstoreObjects.h @@ -138,8 +138,7 @@ FOUNDATION_EXTERN NSString * const kGTLRParallelstore_Instance_State_Creating; */ FOUNDATION_EXTERN NSString * const kGTLRParallelstore_Instance_State_Deleting; /** - * LINT.IfChange The instance is not usable. - * LINT.ThenChange(//depot/google3/configs/monitoring/boq/daos_clh/cloud_precomputes_lib.py) + * The instance is not usable. * * Value: "FAILED" */ @@ -529,10 +528,8 @@ FOUNDATION_EXTERN NSString * const kGTLRParallelstore_TransferMetadataOptions_Ui * created. (Value: "CREATING") * @arg @c kGTLRParallelstore_Instance_State_Deleting The instance is being * deleted. (Value: "DELETING") - * @arg @c kGTLRParallelstore_Instance_State_Failed LINT.IfChange The - * instance is not usable. - * LINT.ThenChange(//depot/google3/configs/monitoring/boq/daos_clh/cloud_precomputes_lib.py) - * (Value: "FAILED") + * @arg @c kGTLRParallelstore_Instance_State_Failed The instance is not + * usable. (Value: "FAILED") * @arg @c kGTLRParallelstore_Instance_State_Repairing The instance is being * repaired. This should only be used by instances using the `PERSISTENT` * deployment type. (Value: "REPAIRING") diff --git a/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m b/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m index 87a62967e..5410585fb 100644 --- a/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m +++ b/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m @@ -82,6 +82,10 @@ NSString * const kGTLRPlayIntegrity_RecentDeviceActivity_DeviceActivityLevel_Level4 = @"LEVEL_4"; NSString * const kGTLRPlayIntegrity_RecentDeviceActivity_DeviceActivityLevel_Unevaluated = @"UNEVALUATED"; +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" +#pragma clang diagnostic ignored "-Wdeprecated-implementations" + // ---------------------------------------------------------------------------- // // GTLRPlayIntegrity_AccountActivity @@ -345,3 +349,5 @@ @implementation GTLRPlayIntegrity_WriteDeviceRecallRequest @implementation GTLRPlayIntegrity_WriteDeviceRecallResponse @end + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h b/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h index ced1709a5..a7aeee8a8 100644 --- a/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h +++ b/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h @@ -39,6 +39,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 @@ -399,6 +400,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_RecentDeviceActivity_Devic * (Restricted Access) Contains a signal helping apps differentiating between * likely genuine and likely non-genuine user traffic. */ +GTLR_DEPRECATED @interface GTLRPlayIntegrity_AccountActivity : GTLRObject /** @@ -437,7 +439,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_RecentDeviceActivity_Devic * (Restricted Access) Details about the account activity for the user in the * scope. */ -@property(nonatomic, strong, nullable) GTLRPlayIntegrity_AccountActivity *accountActivity; +@property(nonatomic, strong, nullable) GTLRPlayIntegrity_AccountActivity *accountActivity GTLR_DEPRECATED; /** * Required. Details about the licensing status of the user for the app in the diff --git a/Sources/GeneratedServices/PolicySimulator/GTLRPolicySimulatorObjects.m b/Sources/GeneratedServices/PolicySimulator/GTLRPolicySimulatorObjects.m index b6720ec30..6138a3d5b 100644 --- a/Sources/GeneratedServices/PolicySimulator/GTLRPolicySimulatorObjects.m +++ b/Sources/GeneratedServices/PolicySimulator/GTLRPolicySimulatorObjects.m @@ -19,6 +19,19 @@ // ---------------------------------------------------------------------------- // Constants +// GTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint.actionType +NSString * const kGTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint_ActionType_ActionTypeUnspecified = @"ACTION_TYPE_UNSPECIFIED"; +NSString * const kGTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint_ActionType_Allow = @"ALLOW"; +NSString * const kGTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint_ActionType_Deny = @"DENY"; + +// GTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint.methodTypes +NSString * const kGTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint_MethodTypes_Create = @"CREATE"; +NSString * const kGTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint_MethodTypes_Delete = @"DELETE"; +NSString * const kGTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint_MethodTypes_GovernTags = @"GOVERN_TAGS"; +NSString * const kGTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint_MethodTypes_MethodTypeUnspecified = @"METHOD_TYPE_UNSPECIFIED"; +NSString * const kGTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint_MethodTypes_RemoveGrant = @"REMOVE_GRANT"; +NSString * const kGTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint_MethodTypes_Update = @"UPDATE"; + // GTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessStateDiff.accessChange NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessStateDiff_AccessChange_AccessChangeTypeUnspecified = @"ACCESS_CHANGE_TYPE_UNSPECIFIED"; NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessStateDiff_AccessChange_AccessGained = @"ACCESS_GAINED"; @@ -28,6 +41,27 @@ NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessStateDiff_AccessChange_NoChange = @"NO_CHANGE"; NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessStateDiff_AccessChange_UnknownChange = @"UNKNOWN_CHANGE"; +// GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata.state +NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewFailed = @"PREVIEW_FAILED"; +NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewPending = @"PREVIEW_PENDING"; +NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewRunning = @"PREVIEW_RUNNING"; +NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewStateUnspecified = @"PREVIEW_STATE_UNSPECIFIED"; +NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewSucceeded = @"PREVIEW_SUCCEEDED"; + +// GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata.state +NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewFailed = @"PREVIEW_FAILED"; +NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewPending = @"PREVIEW_PENDING"; +NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewRunning = @"PREVIEW_RUNNING"; +NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewStateUnspecified = @"PREVIEW_STATE_UNSPECIFIED"; +NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewSucceeded = @"PREVIEW_SUCCEEDED"; + +// GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview.state +NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview_State_PreviewFailed = @"PREVIEW_FAILED"; +NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview_State_PreviewPending = @"PREVIEW_PENDING"; +NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview_State_PreviewRunning = @"PREVIEW_RUNNING"; +NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview_State_PreviewStateUnspecified = @"PREVIEW_STATE_UNSPECIFIED"; +NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview_State_PreviewSucceeded = @"PREVIEW_SUCCEEDED"; + // GTLRPolicySimulator_GoogleCloudPolicysimulatorV1BindingExplanation.access NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1BindingExplanation_Access_AccessStateUnspecified = @"ACCESS_STATE_UNSPECIFIED"; NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1BindingExplanation_Access_Granted = @"GRANTED"; @@ -82,6 +116,13 @@ NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1ExplainedPolicy_Relevance_High = @"HIGH"; NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1ExplainedPolicy_Relevance_Normal = @"NORMAL"; +// GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview.state +NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview_State_PreviewFailed = @"PREVIEW_FAILED"; +NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview_State_PreviewPending = @"PREVIEW_PENDING"; +NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview_State_PreviewRunning = @"PREVIEW_RUNNING"; +NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview_State_PreviewStateUnspecified = @"PREVIEW_STATE_UNSPECIFIED"; +NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview_State_PreviewSucceeded = @"PREVIEW_SUCCEEDED"; + // GTLRPolicySimulator_GoogleCloudPolicysimulatorV1Replay.state NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1Replay_State_Failed = @"FAILED"; NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1Replay_State_Pending = @"PENDING"; @@ -99,6 +140,120 @@ NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfig_LogType_DataWrite = @"DATA_WRITE"; NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfig_LogType_LogTypeUnspecified = @"LOG_TYPE_UNSPECIFIED"; +// ---------------------------------------------------------------------------- +// +// GTLRPolicySimulator_GoogleCloudOrgpolicyV2AlternatePolicySpec +// + +@implementation GTLRPolicySimulator_GoogleCloudOrgpolicyV2AlternatePolicySpec +@dynamic launch, spec; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint +// + +@implementation GTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint +@dynamic actionType, condition, descriptionProperty, displayName, methodTypes, + name, resourceTypes, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"methodTypes" : [NSString class], + @"resourceTypes" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRPolicySimulator_GoogleCloudOrgpolicyV2Policy +// + +@implementation GTLRPolicySimulator_GoogleCloudOrgpolicyV2Policy +@dynamic alternate, dryRunSpec, ETag, name, spec; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRPolicySimulator_GoogleCloudOrgpolicyV2PolicySpec +// + +@implementation GTLRPolicySimulator_GoogleCloudOrgpolicyV2PolicySpec +@dynamic ETag, inheritFromParent, reset, rules, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"rules" : [GTLRPolicySimulator_GoogleCloudOrgpolicyV2PolicySpecPolicyRule class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRPolicySimulator_GoogleCloudOrgpolicyV2PolicySpecPolicyRule +// + +@implementation GTLRPolicySimulator_GoogleCloudOrgpolicyV2PolicySpecPolicyRule +@dynamic allowAll, condition, denyAll, enforce, parameters, values; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRPolicySimulator_GoogleCloudOrgpolicyV2PolicySpecPolicyRule_Parameters +// + +@implementation GTLRPolicySimulator_GoogleCloudOrgpolicyV2PolicySpecPolicyRule_Parameters + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRPolicySimulator_GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues +// + +@implementation GTLRPolicySimulator_GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues +@dynamic allowedValues, deniedValues; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"allowedValues" : [NSString class], + @"deniedValues" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessStateDiff @@ -119,6 +274,96 @@ @implementation GTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessTuple @end +// ---------------------------------------------------------------------------- +// +// GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata +// + +@implementation GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata +@dynamic requestTime, resourcesFound, resourcesPending, resourcesScanned, + startTime, state; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata +// + +@implementation GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata +@dynamic requestTime, resourcesFound, resourcesPending, resourcesScanned, + startTime, state; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay +// + +@implementation GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay +@dynamic customConstraints, policies; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"customConstraints" : [GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay class], + @"policies" : [GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay +// + +@implementation GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay +@dynamic customConstraint, customConstraintParent; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay +// + +@implementation GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay +@dynamic policy, policyParent; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview +// + +@implementation GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview +@dynamic createTime, customConstraints, name, overlay, resourceCounts, state, + violationsCount; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"customConstraints" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts +// + +@implementation GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts +@dynamic compliant, errors, noncompliant, scanned, unenforced; +@end + + // ---------------------------------------------------------------------------- // // GTLRPolicySimulator_GoogleCloudPolicysimulatorV1BindingExplanation @@ -191,6 +436,50 @@ @implementation GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ExplainedPolicy @end +// ---------------------------------------------------------------------------- +// +// GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsPreviewsResponse +// + +@implementation GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsPreviewsResponse +@dynamic nextPageToken, orgPolicyViolationsPreviews; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"orgPolicyViolationsPreviews" : [GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"orgPolicyViolationsPreviews"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsResponse +// + +@implementation GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsResponse +@dynamic nextPageToken, orgPolicyViolations; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"orgPolicyViolations" : [GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolation class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"orgPolicyViolations"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ListReplayResultsResponse @@ -213,6 +502,84 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyOverlay +// + +@implementation GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyOverlay +@dynamic customConstraints, policies; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"customConstraints" : [GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyOverlayCustomConstraintOverlay class], + @"policies" : [GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyOverlayPolicyOverlay class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyOverlayCustomConstraintOverlay +// + +@implementation GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyOverlayCustomConstraintOverlay +@dynamic customConstraint, customConstraintParent; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyOverlayPolicyOverlay +// + +@implementation GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyOverlayPolicyOverlay +@dynamic policy, policyParent; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolation +// + +@implementation GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolation +@dynamic customConstraint, error, name, resource; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview +// + +@implementation GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview +@dynamic createTime, customConstraints, name, overlay, resourceCounts, state, + violationsCount; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"customConstraints" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreviewResourceCounts +// + +@implementation GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreviewResourceCounts +@dynamic compliant, errors, noncompliant, scanned, unenforced; +@end + + // ---------------------------------------------------------------------------- // // GTLRPolicySimulator_GoogleCloudPolicysimulatorV1Replay @@ -288,6 +655,24 @@ @implementation GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ReplayResultsSum @end +// ---------------------------------------------------------------------------- +// +// GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ResourceContext +// + +@implementation GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ResourceContext +@dynamic ancestors, assetType, resource; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"ancestors" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRPolicySimulator_GoogleIamV1AuditConfig diff --git a/Sources/GeneratedServices/PolicySimulator/GTLRPolicySimulatorQuery.m b/Sources/GeneratedServices/PolicySimulator/GTLRPolicySimulatorQuery.m index 46687a5b0..64b3af12a 100644 --- a/Sources/GeneratedServices/PolicySimulator/GTLRPolicySimulatorQuery.m +++ b/Sources/GeneratedServices/PolicySimulator/GTLRPolicySimulatorQuery.m @@ -22,6 +22,25 @@ @implementation GTLRPolicySimulatorQuery @end +@implementation GTLRPolicySimulatorQuery_FoldersLocationsAccessPolicySimulationsOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRPolicySimulatorQuery_FoldersLocationsAccessPolicySimulationsOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRPolicySimulator_GoogleLongrunningOperation class]; + query.loggingName = @"policysimulator.folders.locations.accessPolicySimulations.operations.get"; + return query; +} + +@end + @implementation GTLRPolicySimulatorQuery_FoldersLocationsOrgPolicyViolationsPreviewsOperationsGet @dynamic name; @@ -182,6 +201,90 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRPolicySimulatorQuery_OrganizationsLocationsAccessPolicySimulationsOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRPolicySimulatorQuery_OrganizationsLocationsAccessPolicySimulationsOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRPolicySimulator_GoogleLongrunningOperation class]; + query.loggingName = @"policysimulator.organizations.locations.accessPolicySimulations.operations.get"; + return query; +} + +@end + +@implementation GTLRPolicySimulatorQuery_OrganizationsLocationsOrgPolicyViolationsPreviewsCreate + +@dynamic orgPolicyViolationsPreviewId, parent; + ++ (instancetype)queryWithObject:(GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview *)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}/orgPolicyViolationsPreviews"; + GTLRPolicySimulatorQuery_OrganizationsLocationsOrgPolicyViolationsPreviewsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRPolicySimulator_GoogleLongrunningOperation class]; + query.loggingName = @"policysimulator.organizations.locations.orgPolicyViolationsPreviews.create"; + return query; +} + +@end + +@implementation GTLRPolicySimulatorQuery_OrganizationsLocationsOrgPolicyViolationsPreviewsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRPolicySimulatorQuery_OrganizationsLocationsOrgPolicyViolationsPreviewsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview class]; + query.loggingName = @"policysimulator.organizations.locations.orgPolicyViolationsPreviews.get"; + return query; +} + +@end + +@implementation GTLRPolicySimulatorQuery_OrganizationsLocationsOrgPolicyViolationsPreviewsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/orgPolicyViolationsPreviews"; + GTLRPolicySimulatorQuery_OrganizationsLocationsOrgPolicyViolationsPreviewsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsPreviewsResponse class]; + query.loggingName = @"policysimulator.organizations.locations.orgPolicyViolationsPreviews.list"; + return query; +} + +@end + @implementation GTLRPolicySimulatorQuery_OrganizationsLocationsOrgPolicyViolationsPreviewsOperationsGet @dynamic name; @@ -201,6 +304,25 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRPolicySimulatorQuery_OrganizationsLocationsOrgPolicyViolationsPreviewsOrgPolicyViolationsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/orgPolicyViolations"; + GTLRPolicySimulatorQuery_OrganizationsLocationsOrgPolicyViolationsPreviewsOrgPolicyViolationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsResponse class]; + query.loggingName = @"policysimulator.organizations.locations.orgPolicyViolationsPreviews.orgPolicyViolations.list"; + return query; +} + +@end + @implementation GTLRPolicySimulatorQuery_OrganizationsLocationsReplaysCreate @dynamic parent; @@ -304,6 +426,25 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRPolicySimulatorQuery_ProjectsLocationsAccessPolicySimulationsOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRPolicySimulatorQuery_ProjectsLocationsAccessPolicySimulationsOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRPolicySimulator_GoogleLongrunningOperation class]; + query.loggingName = @"policysimulator.projects.locations.accessPolicySimulations.operations.get"; + return query; +} + +@end + @implementation GTLRPolicySimulatorQuery_ProjectsLocationsOrgPolicyViolationsPreviewsOperationsGet @dynamic name; diff --git a/Sources/GeneratedServices/PolicySimulator/Public/GoogleAPIClientForREST/GTLRPolicySimulatorObjects.h b/Sources/GeneratedServices/PolicySimulator/Public/GoogleAPIClientForREST/GTLRPolicySimulatorObjects.h index e83721163..d6140d028 100644 --- a/Sources/GeneratedServices/PolicySimulator/Public/GoogleAPIClientForREST/GTLRPolicySimulatorObjects.h +++ b/Sources/GeneratedServices/PolicySimulator/Public/GoogleAPIClientForREST/GTLRPolicySimulatorObjects.h @@ -20,18 +20,36 @@ #error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. #endif +@class GTLRPolicySimulator_GoogleCloudOrgpolicyV2AlternatePolicySpec; +@class GTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint; +@class GTLRPolicySimulator_GoogleCloudOrgpolicyV2Policy; +@class GTLRPolicySimulator_GoogleCloudOrgpolicyV2PolicySpec; +@class GTLRPolicySimulator_GoogleCloudOrgpolicyV2PolicySpecPolicyRule; +@class GTLRPolicySimulator_GoogleCloudOrgpolicyV2PolicySpecPolicyRule_Parameters; +@class GTLRPolicySimulator_GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues; @class GTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessStateDiff; @class GTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessTuple; +@class GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay; +@class GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay; +@class GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay; +@class GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts; @class GTLRPolicySimulator_GoogleCloudPolicysimulatorV1BindingExplanation; @class GTLRPolicySimulator_GoogleCloudPolicysimulatorV1BindingExplanation_Memberships; @class GTLRPolicySimulator_GoogleCloudPolicysimulatorV1BindingExplanationAnnotatedMembership; @class GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ExplainedAccess; @class GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ExplainedPolicy; +@class GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyOverlay; +@class GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyOverlayCustomConstraintOverlay; +@class GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyOverlayPolicyOverlay; +@class GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolation; +@class GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview; +@class GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreviewResourceCounts; @class GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ReplayConfig; @class GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ReplayConfig_PolicyOverlay; @class GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ReplayDiff; @class GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ReplayResult; @class GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ReplayResultsSummary; +@class GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ResourceContext; @class GTLRPolicySimulator_GoogleIamV1AuditConfig; @class GTLRPolicySimulator_GoogleIamV1AuditLogConfig; @class GTLRPolicySimulator_GoogleIamV1Binding; @@ -54,6 +72,70 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the classes' properties below. +// ---------------------------------------------------------------------------- +// GTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint.actionType + +/** + * This is only used for distinguishing unset values and should never be used. + * Results in an error. + * + * Value: "ACTION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint_ActionType_ActionTypeUnspecified; +/** + * Allowed action type. + * + * Value: "ALLOW" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint_ActionType_Allow; +/** + * Deny action type. + * + * Value: "DENY" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint_ActionType_Deny; + +// ---------------------------------------------------------------------------- +// GTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint.methodTypes + +/** + * Constraint applied when creating the resource. + * + * Value: "CREATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint_MethodTypes_Create; +/** + * Constraint applied when deleting the resource. Not currently supported. + * + * Value: "DELETE" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint_MethodTypes_Delete; +/** + * Constraint applied when enforcing forced tagging. + * + * Value: "GOVERN_TAGS" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint_MethodTypes_GovernTags; +/** + * This is only used for distinguishing unset values and should never be used. + * Results in an error. + * + * Value: "METHOD_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint_MethodTypes_MethodTypeUnspecified; +/** + * Constraint applied when removing an IAM grant. + * + * Value: "REMOVE_GRANT" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint_MethodTypes_RemoveGrant; +/** + * Constraint applied when updating the resource. + * + * Value: "UPDATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint_MethodTypes_Update; + // ---------------------------------------------------------------------------- // GTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessStateDiff.accessChange @@ -114,6 +196,108 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulat */ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessStateDiff_AccessChange_UnknownChange; +// ---------------------------------------------------------------------------- +// GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata.state + +/** + * The OrgPolicyViolationsPreview creation failed with an error. + * + * Value: "PREVIEW_FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewFailed; +/** + * The OrgPolicyViolationsPreview has not been created yet. + * + * Value: "PREVIEW_PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewPending; +/** + * The OrgPolicyViolationsPreview is currently being created. + * + * Value: "PREVIEW_RUNNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewRunning; +/** + * The state is unspecified. + * + * Value: "PREVIEW_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewStateUnspecified; +/** + * The OrgPolicyViolationsPreview creation finished successfully. + * + * Value: "PREVIEW_SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewSucceeded; + +// ---------------------------------------------------------------------------- +// GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata.state + +/** + * The OrgPolicyViolationsPreview creation failed with an error. + * + * Value: "PREVIEW_FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewFailed; +/** + * The OrgPolicyViolationsPreview has not been created yet. + * + * Value: "PREVIEW_PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewPending; +/** + * The OrgPolicyViolationsPreview is currently being created. + * + * Value: "PREVIEW_RUNNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewRunning; +/** + * The state is unspecified. + * + * Value: "PREVIEW_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewStateUnspecified; +/** + * The OrgPolicyViolationsPreview creation finished successfully. + * + * Value: "PREVIEW_SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewSucceeded; + +// ---------------------------------------------------------------------------- +// GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview.state + +/** + * The OrgPolicyViolationsPreview creation failed with an error. + * + * Value: "PREVIEW_FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview_State_PreviewFailed; +/** + * The OrgPolicyViolationsPreview has not been created yet. + * + * Value: "PREVIEW_PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview_State_PreviewPending; +/** + * The OrgPolicyViolationsPreview is currently being created. + * + * Value: "PREVIEW_RUNNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview_State_PreviewRunning; +/** + * The state is unspecified. + * + * Value: "PREVIEW_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview_State_PreviewStateUnspecified; +/** + * The OrgPolicyViolationsPreview creation finished successfully. + * + * Value: "PREVIEW_SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview_State_PreviewSucceeded; + // ---------------------------------------------------------------------------- // GTLRPolicySimulator_GoogleCloudPolicysimulatorV1BindingExplanation.access @@ -385,6 +569,40 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulat */ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1ExplainedPolicy_Relevance_Normal; +// ---------------------------------------------------------------------------- +// GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview.state + +/** + * The OrgPolicyViolationsPreview creation failed with an error. + * + * Value: "PREVIEW_FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview_State_PreviewFailed; +/** + * The OrgPolicyViolationsPreview has not been created yet. + * + * Value: "PREVIEW_PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview_State_PreviewPending; +/** + * The OrgPolicyViolationsPreview is currently being created. + * + * Value: "PREVIEW_RUNNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview_State_PreviewRunning; +/** + * The state is unspecified. + * + * Value: "PREVIEW_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview_State_PreviewStateUnspecified; +/** + * The OrgPolicyViolationsPreview creation finished successfully. + * + * Value: "PREVIEW_SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview_State_PreviewSucceeded; + // ---------------------------------------------------------------------------- // GTLRPolicySimulator_GoogleCloudPolicysimulatorV1Replay.state @@ -453,113 +671,713 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfi */ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfig_LogType_DataRead; /** - * Data writes. Example: CloudSQL Users create - * - * Value: "DATA_WRITE" + * Data writes. Example: CloudSQL Users create + * + * Value: "DATA_WRITE" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfig_LogType_DataWrite; +/** + * Default case. Should never be this. + * + * Value: "LOG_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfig_LogType_LogTypeUnspecified; + +/** + * Similar to PolicySpec but with an extra 'launch' field for launch reference. + * The PolicySpec here is specific for dry-run. + */ +@interface GTLRPolicySimulator_GoogleCloudOrgpolicyV2AlternatePolicySpec : GTLRObject + +/** + * Reference to the launch that will be used while audit logging and to control + * the launch. Should be set only in the alternate policy. + */ +@property(nonatomic, copy, nullable) NSString *launch; + +/** Specify constraint for configurations of Google Cloud resources. */ +@property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleCloudOrgpolicyV2PolicySpec *spec; + +@end + + +/** + * A custom constraint defined by customers which can *only* be applied to the + * given resource types and organization. By creating a custom constraint, + * customers can apply policies of this custom constraint. *Creating a custom + * constraint itself does NOT apply any policy enforcement*. + */ +@interface GTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint : GTLRObject + +/** + * Allow or deny type. + * + * Likely values: + * @arg @c kGTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint_ActionType_ActionTypeUnspecified + * This is only used for distinguishing unset values and should never be + * used. Results in an error. (Value: "ACTION_TYPE_UNSPECIFIED") + * @arg @c kGTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint_ActionType_Allow + * Allowed action type. (Value: "ALLOW") + * @arg @c kGTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint_ActionType_Deny + * Deny action type. (Value: "DENY") + */ +@property(nonatomic, copy, nullable) NSString *actionType; + +/** + * A Common Expression Language (CEL) condition which is used in the evaluation + * of the constraint. For example: + * `resource.instanceName.matches("[production|test]_.*_(\\d)+")` or, + * `resource.management.auto_upgrade == true` The max length of the condition + * is 1000 characters. + */ +@property(nonatomic, copy, nullable) NSString *condition; + +/** + * Detailed information about this custom policy constraint. The max length of + * the description is 2000 characters. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * One line display name for the UI. The max length of the display_name is 200 + * characters. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** All the operations being applied for this constraint. */ +@property(nonatomic, strong, nullable) NSArray *methodTypes; + +/** + * Immutable. Name of the constraint. This is unique within the organization. + * Format of the name should be * + * `organizations/{organization_id}/customConstraints/{custom_constraint_id}` + * Example: `organizations/123/customConstraints/custom.createOnlyE2TypeVms` + * The max length is 70 characters and the minimum length is 1. Note that the + * prefix `organizations/{organization_id}/customConstraints/` is not counted. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Immutable. The resource instance type on which this policy applies. Format + * will be of the form : `/` Example: * `compute.googleapis.com/Instance`. + */ +@property(nonatomic, strong, nullable) NSArray *resourceTypes; + +/** + * Output only. The last time this custom constraint was updated. This + * represents the last time that the `CreateCustomConstraint` or + * `UpdateCustomConstraint` methods were called. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Defines an organization policy which is used to specify constraints for + * configurations of Google Cloud resources. + */ +@interface GTLRPolicySimulator_GoogleCloudOrgpolicyV2Policy : GTLRObject + +/** Deprecated. */ +@property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleCloudOrgpolicyV2AlternatePolicySpec *alternate GTLR_DEPRECATED; + +/** + * Dry-run policy. Audit-only policy, can be used to monitor how the policy + * would have impacted the existing and future resources if it's enforced. + */ +@property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleCloudOrgpolicyV2PolicySpec *dryRunSpec; + +/** + * Optional. An opaque tag indicating the current state of the policy, used for + * concurrency control. This 'etag' is computed by the server based on the + * value of other fields, and may be sent on update and delete requests to + * ensure the client has an up-to-date value before proceeding. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Immutable. The resource name of the policy. Must be one of the following + * forms, where `constraint_name` is the name of the constraint which this + * policy configures: * `projects/{project_number}/policies/{constraint_name}` + * * `folders/{folder_id}/policies/{constraint_name}` * + * `organizations/{organization_id}/policies/{constraint_name}` For example, + * `projects/123/policies/compute.disableSerialPortAccess`. Note: + * `projects/{project_id}/policies/{constraint_name}` is also an acceptable + * name for API requests, but responses will return the name using the + * equivalent project number. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Basic information about the organization policy. */ +@property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleCloudOrgpolicyV2PolicySpec *spec; + +@end + + +/** + * Defines a Google Cloud policy specification which is used to specify + * constraints for configurations of Google Cloud resources. + */ +@interface GTLRPolicySimulator_GoogleCloudOrgpolicyV2PolicySpec : GTLRObject + +/** + * An opaque tag indicating the current version of the policySpec, used for + * concurrency control. This field is ignored if used in a `CreatePolicy` + * request. When the policy is returned from either a `GetPolicy` or a + * `ListPolicies` request, this `etag` indicates the version of the current + * policySpec to use when executing a read-modify-write loop. When the policy + * is returned from a `GetEffectivePolicy` request, the `etag` will be unset. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Determines the inheritance behavior for this policy. If + * `inherit_from_parent` is true, policy rules set higher up in the hierarchy + * (up to the closest root) are inherited and present in the effective policy. + * If it is false, then no rules are inherited, and this policy becomes the new + * root for evaluation. This field can be set only for policies which configure + * list constraints. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *inheritFromParent; + +/** + * Ignores policies set above this resource and restores the + * `constraint_default` enforcement behavior of the specific constraint at this + * resource. This field can be set in policies for either list or boolean + * constraints. If set, `rules` must be empty and `inherit_from_parent` must be + * set to false. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *reset; + +/** + * In policies for boolean constraints, the following requirements apply: - + * There must be one and only one policy rule where condition is unset. - + * Boolean policy rules with conditions must set `enforced` to the opposite of + * the policy rule without a condition. - During policy evaluation, policy + * rules with conditions that are true for a target resource take precedence. + */ +@property(nonatomic, strong, nullable) NSArray *rules; + +/** + * Output only. The time stamp this was previously updated. This represents the + * last time a call to `CreatePolicy` or `UpdatePolicy` was made for that + * policy. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * A rule used to express this policy. + */ +@interface GTLRPolicySimulator_GoogleCloudOrgpolicyV2PolicySpecPolicyRule : GTLRObject + +/** + * Setting this to true means that all values are allowed. This field can be + * set only in policies for list constraints. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowAll; + +/** + * A condition which determines whether this rule is used in the evaluation of + * the policy. When set, the `expression` field in the `Expr' must include from + * 1 to 10 subexpressions, joined by the "||" or "&&" operators. Each + * subexpression must be of the form "resource.matchTag('/tag_key_short_name, + * 'tag_value_short_name')". or "resource.matchTagId('tagKeys/key_id', + * 'tagValues/value_id')". where key_name and value_name are the resource names + * for Label Keys and Values. These names are available from the Tag Manager + * Service. An example expression is: + * "resource.matchTag('123456789/environment, 'prod')". or + * "resource.matchTagId('tagKeys/123', 'tagValues/456')". + */ +@property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleTypeExpr *condition; + +/** + * Setting this to true means that all values are denied. This field can be set + * only in policies for list constraints. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *denyAll; + +/** + * If `true`, then the policy is enforced. If `false`, then any configuration + * is acceptable. This field can be set in policies for boolean constraints, + * custom constraints and managed constraints. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enforce; + +/** + * Optional. Required for managed constraints if parameters are defined. Passes + * parameter values when policy enforcement is enabled. Ensure that parameter + * value types match those defined in the constraint definition. For example: { + * "allowedLocations" : ["us-east1", "us-west1"], "allowAll" : true } + */ +@property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleCloudOrgpolicyV2PolicySpecPolicyRule_Parameters *parameters; + +/** + * List of values to be used for this policy rule. This field can be set only + * in policies for list constraints. + */ +@property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues *values; + +@end + + +/** + * Optional. Required for managed constraints if parameters are defined. Passes + * parameter values when policy enforcement is enabled. Ensure that parameter + * value types match those defined in the constraint definition. For example: { + * "allowedLocations" : ["us-east1", "us-west1"], "allowAll" : true } + * + * @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 GTLRPolicySimulator_GoogleCloudOrgpolicyV2PolicySpecPolicyRule_Parameters : GTLRObject +@end + + +/** + * A message that holds specific allowed and denied values. This message can + * define specific values and subtrees of the Resource Manager resource + * hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed or + * denied. This is achieved by using the `under:` and optional `is:` prefixes. + * The `under:` prefix is used to denote resource subtree values. The `is:` + * prefix is used to denote specific values, and is required only if the value + * contains a ":". Values prefixed with "is:" are treated the same as values + * with no prefix. Ancestry subtrees must be in one of the following formats: - + * `projects/` (for example, `projects/tokyo-rain-123`) - `folders/` (for + * example, `folders/1234`) - `organizations/` (for example, + * `organizations/1234`) The `supports_under` field of the associated + * `Constraint` defines whether ancestry prefixes can be used. + */ +@interface GTLRPolicySimulator_GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues : GTLRObject + +/** List of values allowed at this resource. */ +@property(nonatomic, strong, nullable) NSArray *allowedValues; + +/** List of values denied at this resource. */ +@property(nonatomic, strong, nullable) NSArray *deniedValues; + +@end + + +/** + * A summary and comparison of the principal's access under the current + * (baseline) policies and the proposed (simulated) policies for a single + * access tuple. + */ +@interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessStateDiff : GTLRObject + +/** + * How the principal's access, specified in the AccessState field, changed + * between the current (baseline) policies and proposed (simulated) policies. + * + * Likely values: + * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessStateDiff_AccessChange_AccessChangeTypeUnspecified + * Default value. This value is unused. (Value: + * "ACCESS_CHANGE_TYPE_UNSPECIFIED") + * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessStateDiff_AccessChange_AccessGained + * The principal did not have access under the current policies + * (`NOT_GRANTED`), but will have access after the proposed changes + * (`GRANTED`). (Value: "ACCESS_GAINED") + * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessStateDiff_AccessChange_AccessMaybeGained + * This result can occur for the following reasons: * The principal did + * not have access under the current policies (`NOT_GRANTED`), but their + * access after the proposed changes is `UNKNOWN`. * The principal's + * access under the current policies is `UNKNOWN`, but they will have + * access after the proposed changes (`GRANTED`). (Value: + * "ACCESS_MAYBE_GAINED") + * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessStateDiff_AccessChange_AccessMaybeRevoked + * This result can occur for the following reasons: * The principal had + * access under the current policies (`GRANTED`), but their access after + * the proposed changes is `UNKNOWN`. * The principal's access under the + * current policies is `UNKNOWN`, but they will not have access after the + * proposed changes (`NOT_GRANTED`). (Value: "ACCESS_MAYBE_REVOKED") + * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessStateDiff_AccessChange_AccessRevoked + * The principal had access under the current policies (`GRANTED`), but + * will no longer have access after the proposed changes (`NOT_GRANTED`). + * (Value: "ACCESS_REVOKED") + * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessStateDiff_AccessChange_NoChange + * The principal's access did not change. This includes the case where + * both baseline and simulated are UNKNOWN, but the unknown information + * is equivalent. (Value: "NO_CHANGE") + * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessStateDiff_AccessChange_UnknownChange + * The principal's access under both the current policies and the + * proposed policies is `UNKNOWN`, but the unknown information differs + * between them. (Value: "UNKNOWN_CHANGE") + */ +@property(nonatomic, copy, nullable) NSString *accessChange; + +/** + * The results of evaluating the access tuple under the current (baseline) + * policies. If the AccessState couldn't be fully evaluated, this field + * explains why. + */ +@property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ExplainedAccess *baseline; + +/** + * The results of evaluating the access tuple under the proposed (simulated) + * policies. If the AccessState couldn't be fully evaluated, this field + * explains why. + */ +@property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ExplainedAccess *simulated; + +@end + + +/** + * Information about the principal, resource, and permission to check. + */ +@interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessTuple : GTLRObject + +/** + * Required. The full resource name that identifies the resource. For example, + * `//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance`. + * For examples of full resource names for Google Cloud services, see + * https://cloud.google.com/iam/help/troubleshooter/full-resource-names. + */ +@property(nonatomic, copy, nullable) NSString *fullResourceName; + +/** + * Required. The IAM permission to check for the specified principal and + * resource. For a complete list of IAM permissions, see + * https://cloud.google.com/iam/help/permissions/reference. For a complete list + * of predefined IAM roles and the permissions in each role, see + * https://cloud.google.com/iam/help/roles/reference. + */ +@property(nonatomic, copy, nullable) NSString *permission; + +/** + * Required. The principal whose access you want to check, in the form of the + * email address that represents that principal. For example, + * `alice\@example.com` or + * `my-service-account\@my-project.iam.gserviceaccount.com`. The principal must + * be a Google Account or a service account. Other types of principals are not + * supported. + */ +@property(nonatomic, copy, nullable) NSString *principal; + +@end + + +/** + * CreateOrgPolicyViolationsPreviewOperationMetadata is metadata about an + * OrgPolicyViolationsPreview generations operation. + */ +@interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata : GTLRObject + +/** Time when the request was received. */ +@property(nonatomic, strong, nullable) GTLRDateTime *requestTime; + +/** + * Total number of resources that need scanning. Should equal resource_scanned + * + resources_pending + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *resourcesFound; + +/** + * Number of resources still to scan. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *resourcesPending; + +/** + * Number of resources already scanned. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *resourcesScanned; + +/** + * Time when the request started processing, i.e., when the state was set to + * RUNNING. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; + +/** + * Output only. The current state of the operation. + * + * Likely values: + * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewFailed + * The OrgPolicyViolationsPreview creation failed with an error. (Value: + * "PREVIEW_FAILED") + * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewPending + * The OrgPolicyViolationsPreview has not been created yet. (Value: + * "PREVIEW_PENDING") + * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewRunning + * The OrgPolicyViolationsPreview is currently being created. (Value: + * "PREVIEW_RUNNING") + * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewStateUnspecified + * The state is unspecified. (Value: "PREVIEW_STATE_UNSPECIFIED") + * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewSucceeded + * The OrgPolicyViolationsPreview creation finished successfully. (Value: + * "PREVIEW_SUCCEEDED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + +/** + * GenerateOrgPolicyViolationsPreviewOperationMetadata is metadata about an + * OrgPolicyViolationsPreview generations operation. + */ +@interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata : GTLRObject + +/** Time when the request was received. */ +@property(nonatomic, strong, nullable) GTLRDateTime *requestTime; + +/** + * Total number of resources that need scanning. Should equal resource_scanned + * + resources_pending + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *resourcesFound; + +/** + * Number of resources still to scan. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *resourcesPending; + +/** + * Number of resources already scanned. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *resourcesScanned; + +/** + * Time when the request started processing, i.e. when the state was set to + * RUNNING. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; + +/** + * The current state of the operation. + * + * Likely values: + * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewFailed + * The OrgPolicyViolationsPreview creation failed with an error. (Value: + * "PREVIEW_FAILED") + * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewPending + * The OrgPolicyViolationsPreview has not been created yet. (Value: + * "PREVIEW_PENDING") + * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewRunning + * The OrgPolicyViolationsPreview is currently being created. (Value: + * "PREVIEW_RUNNING") + * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewStateUnspecified + * The state is unspecified. (Value: "PREVIEW_STATE_UNSPECIFIED") + * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata_State_PreviewSucceeded + * The OrgPolicyViolationsPreview creation finished successfully. (Value: + * "PREVIEW_SUCCEEDED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + +/** + * The proposed changes to OrgPolicy. + */ +@interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay : GTLRObject + +/** + * Optional. The OrgPolicy CustomConstraint changes to preview violations for. + * Any existing CustomConstraints with the same name will be overridden in the + * simulation. That is, violations will be determined as if all custom + * constraints in the overlay were instantiated. Only a single + * custom_constraint is supported in the overlay at a time. For evaluating + * multiple constraints, multiple `GenerateOrgPolicyViolationsPreview` requests + * are made, where each request evaluates a single constraint. + */ +@property(nonatomic, strong, nullable) NSArray *customConstraints; + +/** + * Optional. The OrgPolicy changes to preview violations for. Any existing + * OrgPolicies with the same name will be overridden in the simulation. That + * is, violations will be determined as if all policies in the overlay were + * created or updated. + */ +@property(nonatomic, strong, nullable) NSArray *policies; + +@end + + +/** + * A change to an OrgPolicy custom constraint. + */ +@interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay : GTLRObject + +/** Optional. The new or updated custom constraint. */ +@property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint *customConstraint; + +/** + * Optional. Resource the constraint is attached to. Example: + * "organization/987654" + */ +@property(nonatomic, copy, nullable) NSString *customConstraintParent; + +@end + + +/** + * A change to an OrgPolicy. + */ +@interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay : GTLRObject + +/** Optional. The new or updated OrgPolicy. */ +@property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleCloudOrgpolicyV2Policy *policy; + +/** + * Optional. The parent of the policy we are attaching to. Example: + * "projects/123456" + */ +@property(nonatomic, copy, nullable) NSString *policyParent; + +@end + + +/** + * OrgPolicyViolationsPreview is a resource providing a preview of the + * violations that will exist if an OrgPolicy change is made. The list of + * violations are modeled as child resources and retrieved via a + * ListOrgPolicyViolations API call. There are potentially more + * OrgPolicyViolations than could fit in an embedded field. Thus, the use of a + * child resource instead of a field. + */ +@interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview : GTLRObject + +/** Output only. Time when this `OrgPolicyViolationsPreview` was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Output only. The names of the constraints against which all + * `OrgPolicyViolations` were evaluated. If `OrgPolicyOverlay` only contains + * `PolicyOverlay` then it contains the name of the configured custom + * constraint, applicable to the specified policies. Otherwise it contains the + * name of the constraint specified in `CustomConstraintOverlay`. Format: + * `organizations/{organization_id}/customConstraints/{custom_constraint_id}` + * Example: `organizations/123/customConstraints/custom.createOnlyE2TypeVms` */ -FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfig_LogType_DataWrite; +@property(nonatomic, strong, nullable) NSArray *customConstraints; + /** - * Default case. Should never be this. - * - * Value: "LOG_TYPE_UNSPECIFIED" + * Output only. The resource name of the `OrgPolicyViolationsPreview`. It has + * the following format: + * `organizations/{organization}/locations/{location}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreview}` + * Example: + * `organizations/my-example-org/locations/global/orgPolicyViolationsPreviews/506a5f7f` */ -FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfig_LogType_LogTypeUnspecified; +@property(nonatomic, copy, nullable) NSString *name; + +/** Required. The proposed changes we are previewing violations for. */ +@property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay *overlay; /** - * A summary and comparison of the principal's access under the current - * (baseline) policies and the proposed (simulated) policies for a single - * access tuple. + * Output only. A summary of the state of all resources scanned for compliance + * with the changed OrgPolicy. */ -@interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessStateDiff : GTLRObject +@property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts *resourceCounts; /** - * How the principal's access, specified in the AccessState field, changed - * between the current (baseline) policies and proposed (simulated) policies. + * Output only. The state of the `OrgPolicyViolationsPreview`. * * Likely values: - * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessStateDiff_AccessChange_AccessChangeTypeUnspecified - * Default value. This value is unused. (Value: - * "ACCESS_CHANGE_TYPE_UNSPECIFIED") - * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessStateDiff_AccessChange_AccessGained - * The principal did not have access under the current policies - * (`NOT_GRANTED`), but will have access after the proposed changes - * (`GRANTED`). (Value: "ACCESS_GAINED") - * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessStateDiff_AccessChange_AccessMaybeGained - * This result can occur for the following reasons: * The principal did - * not have access under the current policies (`NOT_GRANTED`), but their - * access after the proposed changes is `UNKNOWN`. * The principal's - * access under the current policies is `UNKNOWN`, but they will have - * access after the proposed changes (`GRANTED`). (Value: - * "ACCESS_MAYBE_GAINED") - * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessStateDiff_AccessChange_AccessMaybeRevoked - * This result can occur for the following reasons: * The principal had - * access under the current policies (`GRANTED`), but their access after - * the proposed changes is `UNKNOWN`. * The principal's access under the - * current policies is `UNKNOWN`, but they will not have access after the - * proposed changes (`NOT_GRANTED`). (Value: "ACCESS_MAYBE_REVOKED") - * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessStateDiff_AccessChange_AccessRevoked - * The principal had access under the current policies (`GRANTED`), but - * will no longer have access after the proposed changes (`NOT_GRANTED`). - * (Value: "ACCESS_REVOKED") - * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessStateDiff_AccessChange_NoChange - * The principal's access did not change. This includes the case where - * both baseline and simulated are UNKNOWN, but the unknown information - * is equivalent. (Value: "NO_CHANGE") - * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessStateDiff_AccessChange_UnknownChange - * The principal's access under both the current policies and the - * proposed policies is `UNKNOWN`, but the unknown information differs - * between them. (Value: "UNKNOWN_CHANGE") + * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview_State_PreviewFailed + * The OrgPolicyViolationsPreview creation failed with an error. (Value: + * "PREVIEW_FAILED") + * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview_State_PreviewPending + * The OrgPolicyViolationsPreview has not been created yet. (Value: + * "PREVIEW_PENDING") + * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview_State_PreviewRunning + * The OrgPolicyViolationsPreview is currently being created. (Value: + * "PREVIEW_RUNNING") + * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview_State_PreviewStateUnspecified + * The state is unspecified. (Value: "PREVIEW_STATE_UNSPECIFIED") + * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview_State_PreviewSucceeded + * The OrgPolicyViolationsPreview creation finished successfully. (Value: + * "PREVIEW_SUCCEEDED") */ -@property(nonatomic, copy, nullable) NSString *accessChange; +@property(nonatomic, copy, nullable) NSString *state; /** - * The results of evaluating the access tuple under the current (baseline) - * policies. If the AccessState couldn't be fully evaluated, this field - * explains why. + * Output only. The number of OrgPolicyViolations in this + * `OrgPolicyViolationsPreview`. This count may differ from + * `resource_summary.noncompliant_count` because each OrgPolicyViolation is + * specific to a resource **and** constraint. If there are multiple constraints + * being evaluated (i.e. multiple policies in the overlay), a single resource + * may violate multiple constraints. + * + * Uses NSNumber of intValue. */ -@property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ExplainedAccess *baseline; +@property(nonatomic, strong, nullable) NSNumber *violationsCount; + +@end + /** - * The results of evaluating the access tuple under the proposed (simulated) - * policies. If the AccessState couldn't be fully evaluated, this field - * explains why. + * A summary of the state of all resources scanned for compliance with the + * changed OrgPolicy. */ -@property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ExplainedAccess *simulated; - -@end +@interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts : GTLRObject +/** + * Output only. Number of scanned resources with zero violations. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *compliant; /** - * Information about the principal, resource, and permission to check. + * Output only. Number of resources that returned an error when scanned. + * + * Uses NSNumber of intValue. */ -@interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1AccessTuple : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *errors; /** - * Required. The full resource name that identifies the resource. For example, - * `//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance`. - * For examples of full resource names for Google Cloud services, see - * https://cloud.google.com/iam/help/troubleshooter/full-resource-names. + * Output only. Number of scanned resources with at least one violation. + * + * Uses NSNumber of intValue. */ -@property(nonatomic, copy, nullable) NSString *fullResourceName; +@property(nonatomic, strong, nullable) NSNumber *noncompliant; /** - * Required. The IAM permission to check for the specified principal and - * resource. For a complete list of IAM permissions, see - * https://cloud.google.com/iam/help/permissions/reference. For a complete list - * of predefined IAM roles and the permissions in each role, see - * https://cloud.google.com/iam/help/roles/reference. + * Output only. Number of resources checked for compliance. Must equal: + * unenforced + noncompliant + compliant + error + * + * Uses NSNumber of intValue. */ -@property(nonatomic, copy, nullable) NSString *permission; +@property(nonatomic, strong, nullable) NSNumber *scanned; /** - * Required. The principal whose access you want to check, in the form of the - * email address that represents that principal. For example, - * `alice\@example.com` or - * `my-service-account\@my-project.iam.gserviceaccount.com`. The principal must - * be a Google Account or a service account. Other types of principals are not - * supported. + * Output only. Number of resources where the constraint was not enforced, i.e. + * the Policy set `enforced: false` for that resource. + * + * Uses NSNumber of intValue. */ -@property(nonatomic, copy, nullable) NSString *principal; +@property(nonatomic, strong, nullable) NSNumber *unenforced; @end @@ -885,6 +1703,62 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfi @end +/** + * ListOrgPolicyViolationsPreviewsResponse is the response message for + * OrgPolicyViolationsPreviewService.ListOrgPolicyViolationsPreviews. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "orgPolicyViolationsPreviews" property. If returned as the result + * of a query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsPreviewsResponse : GTLRCollectionObject + +/** + * A token that you can use to retrieve the next page of results. If this field + * is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of OrgPolicyViolationsPreview + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *orgPolicyViolationsPreviews; + +@end + + +/** + * ListOrgPolicyViolationsResponse is the response message for + * OrgPolicyViolationsPreviewService.ListOrgPolicyViolations + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "orgPolicyViolations" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsResponse : GTLRCollectionObject + +/** + * A token that you can use to retrieve the next page of results. If this field + * is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of OrgPolicyViolations + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *orgPolicyViolations; + +@end + + /** * Response message for Simulator.ListReplayResults. * @@ -912,6 +1786,215 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfi @end +/** + * The proposed changes to OrgPolicy. + */ +@interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyOverlay : GTLRObject + +/** + * Optional. The OrgPolicy CustomConstraint changes to preview violations for. + * Any existing CustomConstraints with the same name will be overridden in the + * simulation. That is, violations will be determined as if all custom + * constraints in the overlay were instantiated. Only a single + * custom_constraint is supported in the overlay at a time. For evaluating + * multiple constraints, multiple `GenerateOrgPolicyViolationsPreview` requests + * are made, where each request evaluates a single constraint. + */ +@property(nonatomic, strong, nullable) NSArray *customConstraints; + +/** + * Optional. The OrgPolicy changes to preview violations for. Any existing + * OrgPolicies with the same name will be overridden in the simulation. That + * is, violations will be determined as if all policies in the overlay were + * created or updated. + */ +@property(nonatomic, strong, nullable) NSArray *policies; + +@end + + +/** + * A change to an OrgPolicy custom constraint. + */ +@interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyOverlayCustomConstraintOverlay : GTLRObject + +/** Optional. The new or updated custom constraint. */ +@property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint *customConstraint; + +/** + * Optional. Resource the constraint is attached to. Example: + * "organization/987654" + */ +@property(nonatomic, copy, nullable) NSString *customConstraintParent; + +@end + + +/** + * A change to an OrgPolicy. + */ +@interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyOverlayPolicyOverlay : GTLRObject + +/** Optional. The new or updated OrgPolicy. */ +@property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleCloudOrgpolicyV2Policy *policy; + +/** + * Optional. The parent of the policy we are attaching to. Example: + * "projects/123456" + */ +@property(nonatomic, copy, nullable) NSString *policyParent; + +@end + + +/** + * OrgPolicyViolation is a resource representing a single resource violating a + * single OrgPolicy constraint. + */ +@interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolation : GTLRObject + +/** The custom constraint being violated. */ +@property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleCloudOrgpolicyV2CustomConstraint *customConstraint; + +/** Any error encountered during the evaluation. */ +@property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleRpcStatus *error; + +/** + * The name of the `OrgPolicyViolation`. Example: + * organizations/my-example-org/locations/global/orgPolicyViolationsPreviews/506a5f7f/orgPolicyViolations/38ce` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** The resource violating the constraint. */ +@property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ResourceContext *resource; + +@end + + +/** + * OrgPolicyViolationsPreview is a resource providing a preview of the + * violations that will exist if an OrgPolicy change is made. The list of + * violations are modeled as child resources and retrieved via a + * ListOrgPolicyViolations API call. There are potentially more + * OrgPolicyViolations than could fit in an embedded field. Thus, the use of a + * child resource instead of a field. + */ +@interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview : GTLRObject + +/** Output only. Time when this `OrgPolicyViolationsPreview` was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Output only. The names of the constraints against which all + * `OrgPolicyViolations` were evaluated. If `OrgPolicyOverlay` only contains + * `PolicyOverlay` then it contains the name of the configured custom + * constraint, applicable to the specified policies. Otherwise it contains the + * name of the constraint specified in `CustomConstraintOverlay`. Format: + * `organizations/{organization_id}/customConstraints/{custom_constraint_id}` + * Example: `organizations/123/customConstraints/custom.createOnlyE2TypeVms` + */ +@property(nonatomic, strong, nullable) NSArray *customConstraints; + +/** + * Output only. The resource name of the `OrgPolicyViolationsPreview`. It has + * the following format: + * `organizations/{organization}/locations/{location}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreview}` + * Example: + * `organizations/my-example-org/locations/global/orgPolicyViolationsPreviews/506a5f7f` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Required. The proposed changes we are previewing violations for. */ +@property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyOverlay *overlay; + +/** + * Output only. A summary of the state of all resources scanned for compliance + * with the changed OrgPolicy. + */ +@property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreviewResourceCounts *resourceCounts; + +/** + * Output only. The state of the `OrgPolicyViolationsPreview`. + * + * Likely values: + * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview_State_PreviewFailed + * The OrgPolicyViolationsPreview creation failed with an error. (Value: + * "PREVIEW_FAILED") + * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview_State_PreviewPending + * The OrgPolicyViolationsPreview has not been created yet. (Value: + * "PREVIEW_PENDING") + * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview_State_PreviewRunning + * The OrgPolicyViolationsPreview is currently being created. (Value: + * "PREVIEW_RUNNING") + * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview_State_PreviewStateUnspecified + * The state is unspecified. (Value: "PREVIEW_STATE_UNSPECIFIED") + * @arg @c kGTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview_State_PreviewSucceeded + * The OrgPolicyViolationsPreview creation finished successfully. (Value: + * "PREVIEW_SUCCEEDED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Output only. The number of OrgPolicyViolations in this + * `OrgPolicyViolationsPreview`. This count may differ from + * `resource_summary.noncompliant_count` because each OrgPolicyViolation is + * specific to a resource **and** constraint. If there are multiple constraints + * being evaluated (i.e. multiple policies in the overlay), a single resource + * may violate multiple constraints. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *violationsCount; + +@end + + +/** + * A summary of the state of all resources scanned for compliance with the + * changed OrgPolicy. + */ +@interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreviewResourceCounts : GTLRObject + +/** + * Output only. Number of scanned resources with zero violations. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *compliant; + +/** + * Output only. Number of resources that returned an error when scanned. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *errors; + +/** + * Output only. Number of scanned resources with at least one violation. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *noncompliant; + +/** + * Output only. Number of resources checked for compliance. Must equal: + * unenforced + noncompliant + compliant + error + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *scanned; + +/** + * Output only. Number of resources where the constraint was not enforced, i.e. + * the Policy set `enforced: false` for that resource. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *unenforced; + +@end + + /** * A resource describing a `Replay`, or simulation. */ @@ -1129,6 +2212,44 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfi @end +/** + * ResourceContext provides the context we know about a resource. It is similar + * in concept to google.cloud.asset.v1.Resource, but focuses on the information + * specifically used by Simulator. + */ +@interface GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ResourceContext : GTLRObject + +/** + * The ancestry path of the resource in Google Cloud [resource + * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), + * represented as a list of relative resource names. An ancestry path starts + * with the closest ancestor in the hierarchy and ends at root. If the resource + * is a project, folder, or organization, the ancestry path starts from the + * resource itself. Example: `["projects/123456789", "folders/5432", + * "organizations/1234"]` + */ +@property(nonatomic, strong, nullable) NSArray *ancestors; + +/** + * The asset type of the resource as defined by CAIS. Example: + * `compute.googleapis.com/Firewall` See [Supported asset + * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) + * for more information. + */ +@property(nonatomic, copy, nullable) NSString *assetType; + +/** + * The full name of the resource. Example: + * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` + * See [Resource + * names](https://cloud.google.com/apis/design/resource_names#full_resource_name) + * for more information. + */ +@property(nonatomic, copy, nullable) NSString *resource; + +@end + + /** * Specifies the audit configuration for a service. The configuration * determines which permission types are logged, and what identities, if any, diff --git a/Sources/GeneratedServices/PolicySimulator/Public/GoogleAPIClientForREST/GTLRPolicySimulatorQuery.h b/Sources/GeneratedServices/PolicySimulator/Public/GoogleAPIClientForREST/GTLRPolicySimulatorQuery.h index ec266438c..8594e9392 100644 --- a/Sources/GeneratedServices/PolicySimulator/Public/GoogleAPIClientForREST/GTLRPolicySimulatorQuery.h +++ b/Sources/GeneratedServices/PolicySimulator/Public/GoogleAPIClientForREST/GTLRPolicySimulatorQuery.h @@ -39,6 +39,36 @@ 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: policysimulator.folders.locations.accessPolicySimulations.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopePolicySimulatorCloudPlatform + */ +@interface GTLRPolicySimulatorQuery_FoldersLocationsAccessPolicySimulationsOperationsGet : GTLRPolicySimulatorQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRPolicySimulator_GoogleLongrunningOperation. + * + * 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 GTLRPolicySimulatorQuery_FoldersLocationsAccessPolicySimulationsOperationsGet + */ ++ (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 @@ -337,6 +367,169 @@ 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: policysimulator.organizations.locations.accessPolicySimulations.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopePolicySimulatorCloudPlatform + */ +@interface GTLRPolicySimulatorQuery_OrganizationsLocationsAccessPolicySimulationsOperationsGet : GTLRPolicySimulatorQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRPolicySimulator_GoogleLongrunningOperation. + * + * 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 GTLRPolicySimulatorQuery_OrganizationsLocationsAccessPolicySimulationsOperationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * CreateOrgPolicyViolationsPreview creates an OrgPolicyViolationsPreview for + * the proposed changes in the provided + * OrgPolicyViolationsPreview.OrgPolicyOverlay. The changes to OrgPolicy are + * specified by this `OrgPolicyOverlay`. The resources to scan are inferred + * from these specified changes. + * + * Method: policysimulator.organizations.locations.orgPolicyViolationsPreviews.create + * + * Authorization scope(s): + * @c kGTLRAuthScopePolicySimulatorCloudPlatform + */ +@interface GTLRPolicySimulatorQuery_OrganizationsLocationsOrgPolicyViolationsPreviewsCreate : GTLRPolicySimulatorQuery + +/** + * Optional. An optional user-specified ID for the OrgPolicyViolationsPreview. + * If not provided, a random ID will be generated. + */ +@property(nonatomic, copy, nullable) NSString *orgPolicyViolationsPreviewId; + +/** + * Required. The organization under which this OrgPolicyViolationsPreview will + * be created. Example: `organizations/my-example-org/locations/global` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRPolicySimulator_GoogleLongrunningOperation. + * + * CreateOrgPolicyViolationsPreview creates an OrgPolicyViolationsPreview for + * the proposed changes in the provided + * OrgPolicyViolationsPreview.OrgPolicyOverlay. The changes to OrgPolicy are + * specified by this `OrgPolicyOverlay`. The resources to scan are inferred + * from these specified changes. + * + * @param object The @c + * GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview + * to include in the query. + * @param parent Required. The organization under which this + * OrgPolicyViolationsPreview will be created. Example: + * `organizations/my-example-org/locations/global` + * + * @return GTLRPolicySimulatorQuery_OrganizationsLocationsOrgPolicyViolationsPreviewsCreate + */ ++ (instancetype)queryWithObject:(GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview *)object + parent:(NSString *)parent; + +@end + +/** + * GetOrgPolicyViolationsPreview gets the specified OrgPolicyViolationsPreview. + * Each OrgPolicyViolationsPreview is available for at least 7 days. + * + * Method: policysimulator.organizations.locations.orgPolicyViolationsPreviews.get + * + * Authorization scope(s): + * @c kGTLRAuthScopePolicySimulatorCloudPlatform + */ +@interface GTLRPolicySimulatorQuery_OrganizationsLocationsOrgPolicyViolationsPreviewsGet : GTLRPolicySimulatorQuery + +/** Required. The name of the OrgPolicyViolationsPreview to get. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c + * GTLRPolicySimulator_GoogleCloudPolicysimulatorV1OrgPolicyViolationsPreview. + * + * GetOrgPolicyViolationsPreview gets the specified OrgPolicyViolationsPreview. + * Each OrgPolicyViolationsPreview is available for at least 7 days. + * + * @param name Required. The name of the OrgPolicyViolationsPreview to get. + * + * @return GTLRPolicySimulatorQuery_OrganizationsLocationsOrgPolicyViolationsPreviewsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * ListOrgPolicyViolationsPreviews lists each OrgPolicyViolationsPreview in an + * organization. Each OrgPolicyViolationsPreview is available for at least 7 + * days. + * + * Method: policysimulator.organizations.locations.orgPolicyViolationsPreviews.list + * + * Authorization scope(s): + * @c kGTLRAuthScopePolicySimulatorCloudPlatform + */ +@interface GTLRPolicySimulatorQuery_OrganizationsLocationsOrgPolicyViolationsPreviewsList : GTLRPolicySimulatorQuery + +/** + * Optional. The maximum number of items to return. The service may return + * fewer than this value. If unspecified, at most 5 items will be returned. The + * maximum value is 10; values above 10 will be coerced to 10. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous call. Provide this to + * retrieve the subsequent page. When paginating, all other parameters must + * match the call that provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent the violations are scoped to. Format: + * `organizations/{organization}/locations/{location}` Example: + * `organizations/my-example-org/locations/global` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsPreviewsResponse. + * + * ListOrgPolicyViolationsPreviews lists each OrgPolicyViolationsPreview in an + * organization. Each OrgPolicyViolationsPreview is available for at least 7 + * days. + * + * @param parent Required. The parent the violations are scoped to. Format: + * `organizations/{organization}/locations/{location}` Example: + * `organizations/my-example-org/locations/global` + * + * @return GTLRPolicySimulatorQuery_OrganizationsLocationsOrgPolicyViolationsPreviewsList + * + * @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 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 @@ -367,6 +560,59 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * ListOrgPolicyViolations lists the OrgPolicyViolations that are present in an + * OrgPolicyViolationsPreview. + * + * Method: policysimulator.organizations.locations.orgPolicyViolationsPreviews.orgPolicyViolations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopePolicySimulatorCloudPlatform + */ +@interface GTLRPolicySimulatorQuery_OrganizationsLocationsOrgPolicyViolationsPreviewsOrgPolicyViolationsList : GTLRPolicySimulatorQuery + +/** + * Optional. The maximum number of items to return. The service may return + * fewer than this value. If unspecified, at most 1000 items will be returned. + * The maximum value is 1000; values above 1000 will be coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous call. Provide this to + * retrieve the subsequent page. When paginating, all other parameters must + * match the call that provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The OrgPolicyViolationsPreview to get OrgPolicyViolations from. + * Format: + * organizations/{organization}/locations/{location}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreview} + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRPolicySimulator_GoogleCloudPolicysimulatorV1ListOrgPolicyViolationsResponse. + * + * ListOrgPolicyViolations lists the OrgPolicyViolations that are present in an + * OrgPolicyViolationsPreview. + * + * @param parent Required. The OrgPolicyViolationsPreview to get + * OrgPolicyViolations from. Format: + * organizations/{organization}/locations/{location}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreview} + * + * @return GTLRPolicySimulatorQuery_OrganizationsLocationsOrgPolicyViolationsPreviewsOrgPolicyViolationsList + * + * @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 and starts a Replay using the given ReplayConfig. * @@ -564,6 +810,36 @@ 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: policysimulator.projects.locations.accessPolicySimulations.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopePolicySimulatorCloudPlatform + */ +@interface GTLRPolicySimulatorQuery_ProjectsLocationsAccessPolicySimulationsOperationsGet : GTLRPolicySimulatorQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRPolicySimulator_GoogleLongrunningOperation. + * + * 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 GTLRPolicySimulatorQuery_ProjectsLocationsAccessPolicySimulationsOperationsGet + */ ++ (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 diff --git a/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseQuery.h b/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseQuery.h index ba29fa3a3..8f538e8a1 100644 --- a/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseQuery.h +++ b/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseQuery.h @@ -333,7 +333,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 + * number of IP overrides per key is 1000. * For any conflict (such as IP * already exists or IP part of an existing IP range), an error is returned. * * Method: recaptchaenterprise.projects.keys.addIpOverride @@ -354,7 +354,7 @@ NS_ASSUME_NONNULL_BEGIN * GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1AddIpOverrideResponse. * * 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 + * number of IP overrides per key is 1000. * For any conflict (such as IP * already exists or IP part of an existing IP range), an error is returned. * * @param object The @c diff --git a/Sources/GeneratedServices/Reports/GTLRReportsQuery.m b/Sources/GeneratedServices/Reports/GTLRReportsQuery.m index 6a582fdd0..400b8d093 100644 --- a/Sources/GeneratedServices/Reports/GTLRReportsQuery.m +++ b/Sources/GeneratedServices/Reports/GTLRReportsQuery.m @@ -25,6 +25,7 @@ NSString * const kGTLRReportsApplicationNameDataStudio = @"data_studio"; NSString * const kGTLRReportsApplicationNameDrive = @"drive"; NSString * const kGTLRReportsApplicationNameGcp = @"gcp"; +NSString * const kGTLRReportsApplicationNameGeminiInWorkspaceApps = @"gemini_in_workspace_apps"; NSString * const kGTLRReportsApplicationNameGplus = @"gplus"; NSString * const kGTLRReportsApplicationNameGroups = @"groups"; NSString * const kGTLRReportsApplicationNameGroupsEnterprise = @"groups_enterprise"; diff --git a/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsQuery.h b/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsQuery.h index afb530619..a13a74c60 100644 --- a/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsQuery.h +++ b/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsQuery.h @@ -89,6 +89,14 @@ FOUNDATION_EXTERN NSString * const kGTLRReportsApplicationNameDrive; * Value: "gcp" */ FOUNDATION_EXTERN NSString * const kGTLRReportsApplicationNameGcp; +/** + * The Gemini for Workspace activity reports return information about various + * types of Gemini activity events performed by users within a Workspace + * application. + * + * Value: "gemini_in_workspace_apps" + */ +FOUNDATION_EXTERN NSString * const kGTLRReportsApplicationNameGeminiInWorkspaceApps; /** * The Google+ application's activity reports return information about various * Google+ activity events. @@ -304,6 +312,10 @@ FOUNDATION_EXTERN NSString * const kGTLRReportsEntityTypeGplusCommunities; * @arg @c kGTLRReportsApplicationNameVault The Vault activity reports return * information about various types of Vault activity events. (Value: * "vault") + * @arg @c kGTLRReportsApplicationNameGeminiInWorkspaceApps The Gemini for + * Workspace activity reports return information about various types of + * Gemini activity events performed by users within a Workspace + * application. (Value: "gemini_in_workspace_apps") */ @property(nonatomic, copy, nullable) NSString *applicationName; @@ -518,6 +530,10 @@ FOUNDATION_EXTERN NSString * const kGTLRReportsEntityTypeGplusCommunities; * @arg @c kGTLRReportsApplicationNameVault The Vault activity reports return * information about various types of Vault activity events. (Value: * "vault") + * @arg @c kGTLRReportsApplicationNameGeminiInWorkspaceApps The Gemini for + * Workspace activity reports return information about various types of + * Gemini activity events performed by users within a Workspace + * application. (Value: "gemini_in_workspace_apps") * * @return GTLRReportsQuery_ActivitiesList * diff --git a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m index 208076bb6..fed7f551d 100644 --- a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m +++ b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m @@ -48,6 +48,10 @@ NSString * const kGTLRSQLAdmin_Backup_DatabaseVersion_Mysql8040 = @"MYSQL_8_0_40"; NSString * const kGTLRSQLAdmin_Backup_DatabaseVersion_Mysql8041 = @"MYSQL_8_0_41"; NSString * const kGTLRSQLAdmin_Backup_DatabaseVersion_Mysql8042 = @"MYSQL_8_0_42"; +NSString * const kGTLRSQLAdmin_Backup_DatabaseVersion_Mysql8043 = @"MYSQL_8_0_43"; +NSString * const kGTLRSQLAdmin_Backup_DatabaseVersion_Mysql8044 = @"MYSQL_8_0_44"; +NSString * const kGTLRSQLAdmin_Backup_DatabaseVersion_Mysql8045 = @"MYSQL_8_0_45"; +NSString * const kGTLRSQLAdmin_Backup_DatabaseVersion_Mysql8046 = @"MYSQL_8_0_46"; NSString * const kGTLRSQLAdmin_Backup_DatabaseVersion_Mysql84 = @"MYSQL_8_4"; NSString * const kGTLRSQLAdmin_Backup_DatabaseVersion_Postgres10 = @"POSTGRES_10"; NSString * const kGTLRSQLAdmin_Backup_DatabaseVersion_Postgres11 = @"POSTGRES_11"; @@ -137,6 +141,10 @@ NSString * const kGTLRSQLAdmin_BackupRun_DatabaseVersion_Mysql8040 = @"MYSQL_8_0_40"; NSString * const kGTLRSQLAdmin_BackupRun_DatabaseVersion_Mysql8041 = @"MYSQL_8_0_41"; NSString * const kGTLRSQLAdmin_BackupRun_DatabaseVersion_Mysql8042 = @"MYSQL_8_0_42"; +NSString * const kGTLRSQLAdmin_BackupRun_DatabaseVersion_Mysql8043 = @"MYSQL_8_0_43"; +NSString * const kGTLRSQLAdmin_BackupRun_DatabaseVersion_Mysql8044 = @"MYSQL_8_0_44"; +NSString * const kGTLRSQLAdmin_BackupRun_DatabaseVersion_Mysql8045 = @"MYSQL_8_0_45"; +NSString * const kGTLRSQLAdmin_BackupRun_DatabaseVersion_Mysql8046 = @"MYSQL_8_0_46"; NSString * const kGTLRSQLAdmin_BackupRun_DatabaseVersion_Mysql84 = @"MYSQL_8_4"; NSString * const kGTLRSQLAdmin_BackupRun_DatabaseVersion_Postgres10 = @"POSTGRES_10"; NSString * const kGTLRSQLAdmin_BackupRun_DatabaseVersion_Postgres11 = @"POSTGRES_11"; @@ -207,6 +215,10 @@ NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql8040 = @"MYSQL_8_0_40"; NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql8041 = @"MYSQL_8_0_41"; NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql8042 = @"MYSQL_8_0_42"; +NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql8043 = @"MYSQL_8_0_43"; +NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql8044 = @"MYSQL_8_0_44"; +NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql8045 = @"MYSQL_8_0_45"; +NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql8046 = @"MYSQL_8_0_46"; NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql84 = @"MYSQL_8_4"; NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Postgres10 = @"POSTGRES_10"; NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Postgres11 = @"POSTGRES_11"; @@ -266,6 +278,10 @@ NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql8040 = @"MYSQL_8_0_40"; NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql8041 = @"MYSQL_8_0_41"; NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql8042 = @"MYSQL_8_0_42"; +NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql8043 = @"MYSQL_8_0_43"; +NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql8044 = @"MYSQL_8_0_44"; +NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql8045 = @"MYSQL_8_0_45"; +NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql8046 = @"MYSQL_8_0_46"; NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql84 = @"MYSQL_8_4"; NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Postgres10 = @"POSTGRES_10"; NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Postgres11 = @"POSTGRES_11"; @@ -366,6 +382,10 @@ NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Mysql8040 = @"MYSQL_8_0_40"; NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Mysql8041 = @"MYSQL_8_0_41"; NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Mysql8042 = @"MYSQL_8_0_42"; +NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Mysql8043 = @"MYSQL_8_0_43"; +NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Mysql8044 = @"MYSQL_8_0_44"; +NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Mysql8045 = @"MYSQL_8_0_45"; +NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Mysql8046 = @"MYSQL_8_0_46"; NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Mysql84 = @"MYSQL_8_4"; NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Postgres10 = @"POSTGRES_10"; NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Postgres11 = @"POSTGRES_11"; @@ -480,7 +500,6 @@ NSString * const kGTLRSQLAdmin_Operation_OperationType_Maintenance = @"MAINTENANCE"; NSString * const kGTLRSQLAdmin_Operation_OperationType_MajorVersionUpgrade = @"MAJOR_VERSION_UPGRADE"; NSString * const kGTLRSQLAdmin_Operation_OperationType_ManageBackup = @"MANAGE_BACKUP"; -NSString * const kGTLRSQLAdmin_Operation_OperationType_PreCheckMajorVersionUpgrade = @"PRE_CHECK_MAJOR_VERSION_UPGRADE"; NSString * const kGTLRSQLAdmin_Operation_OperationType_PromoteReplica = @"PROMOTE_REPLICA"; NSString * const kGTLRSQLAdmin_Operation_OperationType_ReconfigureOldPrimary = @"RECONFIGURE_OLD_PRIMARY"; NSString * const kGTLRSQLAdmin_Operation_OperationType_RecreateReplica = @"RECREATE_REPLICA"; @@ -1039,7 +1058,7 @@ @implementation GTLRSQLAdmin_DatabaseInstance includeReplicasForMajorVersionUpgrade, instanceType, ipAddresses, ipv6Address, kind, maintenanceVersion, masterInstanceName, maxDiskSize, name, nodeCount, nodes, onPremisesConfiguration, outOfDiskReport, - pitrFields, primaryDnsName, project, pscServiceAttachmentLink, region, + primaryDnsName, project, pscServiceAttachmentLink, region, replicaConfiguration, replicaNames, replicationCluster, rootPassword, satisfiesPzi, satisfiesPzs, scheduledMaintenance, secondaryGceZone, selfLink, serverCaCert, serviceAccountEmailAddress, settings, @@ -2068,17 +2087,6 @@ @implementation GTLRSQLAdmin_PerformDiskShrinkContext @end -// ---------------------------------------------------------------------------- -// -// GTLRSQLAdmin_PITRFields -// - -@implementation GTLRSQLAdmin_PITRFields -@dynamic enableBinLog, replicationLogArchivingEnabled, sqlserverPitrEnabled, - transactionLogRetentionDays; -@end - - // ---------------------------------------------------------------------------- // // GTLRSQLAdmin_PointInTimeRestoreContext diff --git a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h index 4783cfd57..c99e83556 100644 --- a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h +++ b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h @@ -77,7 +77,6 @@ @class GTLRSQLAdmin_OperationErrors; @class GTLRSQLAdmin_PasswordStatus; @class GTLRSQLAdmin_PasswordValidationPolicy; -@class GTLRSQLAdmin_PITRFields; @class GTLRSQLAdmin_PoolNodeConfig; @class GTLRSQLAdmin_PscAutoConnectionConfig; @class GTLRSQLAdmin_PscConfig; @@ -311,6 +310,30 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Backup_DatabaseVersion_Mysql804 * Value: "MYSQL_8_0_42" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Backup_DatabaseVersion_Mysql8042; +/** + * The database major version is MySQL 8.0 and the minor version is 43. + * + * Value: "MYSQL_8_0_43" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Backup_DatabaseVersion_Mysql8043; +/** + * The database major version is MySQL 8.0 and the minor version is 44. + * + * Value: "MYSQL_8_0_44" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Backup_DatabaseVersion_Mysql8044; +/** + * The database major version is MySQL 8.0 and the minor version is 45. + * + * Value: "MYSQL_8_0_45" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Backup_DatabaseVersion_Mysql8045; +/** + * The database major version is MySQL 8.0 and the minor version is 46. + * + * Value: "MYSQL_8_0_46" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Backup_DatabaseVersion_Mysql8046; /** * The database version is MySQL 8.4. * @@ -787,6 +810,30 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_BackupRun_DatabaseVersion_Mysql * Value: "MYSQL_8_0_42" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_BackupRun_DatabaseVersion_Mysql8042; +/** + * The database major version is MySQL 8.0 and the minor version is 43. + * + * Value: "MYSQL_8_0_43" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_BackupRun_DatabaseVersion_Mysql8043; +/** + * The database major version is MySQL 8.0 and the minor version is 44. + * + * Value: "MYSQL_8_0_44" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_BackupRun_DatabaseVersion_Mysql8044; +/** + * The database major version is MySQL 8.0 and the minor version is 45. + * + * Value: "MYSQL_8_0_45" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_BackupRun_DatabaseVersion_Mysql8045; +/** + * The database major version is MySQL 8.0 and the minor version is 46. + * + * Value: "MYSQL_8_0_46" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_BackupRun_DatabaseVersion_Mysql8046; /** * The database version is MySQL 8.4. * @@ -1177,6 +1224,30 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion * Value: "MYSQL_8_0_42" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql8042; +/** + * The database major version is MySQL 8.0 and the minor version is 43. + * + * Value: "MYSQL_8_0_43" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql8043; +/** + * The database major version is MySQL 8.0 and the minor version is 44. + * + * Value: "MYSQL_8_0_44" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql8044; +/** + * The database major version is MySQL 8.0 and the minor version is 45. + * + * Value: "MYSQL_8_0_45" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql8045; +/** + * The database major version is MySQL 8.0 and the minor version is 46. + * + * Value: "MYSQL_8_0_46" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql8046; /** * The database version is MySQL 8.4. * @@ -1509,6 +1580,30 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersio * Value: "MYSQL_8_0_42" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql8042; +/** + * The database major version is MySQL 8.0 and the minor version is 43. + * + * Value: "MYSQL_8_0_43" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql8043; +/** + * The database major version is MySQL 8.0 and the minor version is 44. + * + * Value: "MYSQL_8_0_44" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql8044; +/** + * The database major version is MySQL 8.0 and the minor version is 45. + * + * Value: "MYSQL_8_0_45" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql8045; +/** + * The database major version is MySQL 8.0 and the minor version is 46. + * + * Value: "MYSQL_8_0_46" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql8046; /** * The database version is MySQL 8.4. * @@ -2036,6 +2131,30 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Mysql8041; * Value: "MYSQL_8_0_42" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Mysql8042; +/** + * The database major version is MySQL 8.0 and the minor version is 43. + * + * Value: "MYSQL_8_0_43" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Mysql8043; +/** + * The database major version is MySQL 8.0 and the minor version is 44. + * + * Value: "MYSQL_8_0_44" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Mysql8044; +/** + * The database major version is MySQL 8.0 and the minor version is 45. + * + * Value: "MYSQL_8_0_45" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Mysql8045; +/** + * The database major version is MySQL 8.0 and the minor version is 46. + * + * Value: "MYSQL_8_0_46" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Flag_AppliesTo_Mysql8046; /** * The database version is MySQL 8.4. * @@ -2666,12 +2785,6 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Operation_OperationType_MajorVe * Value: "MANAGE_BACKUP" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Operation_OperationType_ManageBackup; -/** - * Pre-checks the major version upgrade operation. - * - * Value: "PRE_CHECK_MAJOR_VERSION_UPGRADE" - */ -FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Operation_OperationType_PreCheckMajorVersionUpgrade; /** * Promotes a Cloud SQL replica instance. * @@ -3947,6 +4060,18 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * @arg @c kGTLRSQLAdmin_Backup_DatabaseVersion_Mysql8042 The database major * version is MySQL 8.0 and the minor version is 42. (Value: * "MYSQL_8_0_42") + * @arg @c kGTLRSQLAdmin_Backup_DatabaseVersion_Mysql8043 The database major + * version is MySQL 8.0 and the minor version is 43. (Value: + * "MYSQL_8_0_43") + * @arg @c kGTLRSQLAdmin_Backup_DatabaseVersion_Mysql8044 The database major + * version is MySQL 8.0 and the minor version is 44. (Value: + * "MYSQL_8_0_44") + * @arg @c kGTLRSQLAdmin_Backup_DatabaseVersion_Mysql8045 The database major + * version is MySQL 8.0 and the minor version is 45. (Value: + * "MYSQL_8_0_45") + * @arg @c kGTLRSQLAdmin_Backup_DatabaseVersion_Mysql8046 The database major + * version is MySQL 8.0 and the minor version is 46. (Value: + * "MYSQL_8_0_46") * @arg @c kGTLRSQLAdmin_Backup_DatabaseVersion_Mysql84 The database version * is MySQL 8.4. (Value: "MYSQL_8_4") * @arg @c kGTLRSQLAdmin_Backup_DatabaseVersion_Postgres10 The database @@ -4410,6 +4535,18 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * @arg @c kGTLRSQLAdmin_BackupRun_DatabaseVersion_Mysql8042 The database * major version is MySQL 8.0 and the minor version is 42. (Value: * "MYSQL_8_0_42") + * @arg @c kGTLRSQLAdmin_BackupRun_DatabaseVersion_Mysql8043 The database + * major version is MySQL 8.0 and the minor version is 43. (Value: + * "MYSQL_8_0_43") + * @arg @c kGTLRSQLAdmin_BackupRun_DatabaseVersion_Mysql8044 The database + * major version is MySQL 8.0 and the minor version is 44. (Value: + * "MYSQL_8_0_44") + * @arg @c kGTLRSQLAdmin_BackupRun_DatabaseVersion_Mysql8045 The database + * major version is MySQL 8.0 and the minor version is 45. (Value: + * "MYSQL_8_0_45") + * @arg @c kGTLRSQLAdmin_BackupRun_DatabaseVersion_Mysql8046 The database + * major version is MySQL 8.0 and the minor version is 46. (Value: + * "MYSQL_8_0_46") * @arg @c kGTLRSQLAdmin_BackupRun_DatabaseVersion_Mysql84 The database * version is MySQL 8.4. (Value: "MYSQL_8_4") * @arg @c kGTLRSQLAdmin_BackupRun_DatabaseVersion_Postgres10 The database @@ -4876,6 +5013,18 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * @arg @c kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql8042 The * database major version is MySQL 8.0 and the minor version is 42. * (Value: "MYSQL_8_0_42") + * @arg @c kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql8043 The + * database major version is MySQL 8.0 and the minor version is 43. + * (Value: "MYSQL_8_0_43") + * @arg @c kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql8044 The + * database major version is MySQL 8.0 and the minor version is 44. + * (Value: "MYSQL_8_0_44") + * @arg @c kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql8045 The + * database major version is MySQL 8.0 and the minor version is 45. + * (Value: "MYSQL_8_0_45") + * @arg @c kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql8046 The + * database major version is MySQL 8.0 and the minor version is 46. + * (Value: "MYSQL_8_0_46") * @arg @c kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Mysql84 The database * version is MySQL 8.4. (Value: "MYSQL_8_4") * @arg @c kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Postgres10 The @@ -5193,6 +5342,18 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * @arg @c kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql8042 The * database major version is MySQL 8.0 and the minor version is 42. * (Value: "MYSQL_8_0_42") + * @arg @c kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql8043 The + * database major version is MySQL 8.0 and the minor version is 43. + * (Value: "MYSQL_8_0_43") + * @arg @c kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql8044 The + * database major version is MySQL 8.0 and the minor version is 44. + * (Value: "MYSQL_8_0_44") + * @arg @c kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql8045 The + * database major version is MySQL 8.0 and the minor version is 45. + * (Value: "MYSQL_8_0_45") + * @arg @c kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql8046 The + * database major version is MySQL 8.0 and the minor version is 46. + * (Value: "MYSQL_8_0_46") * @arg @c kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Mysql84 The * database version is MySQL 8.4. (Value: "MYSQL_8_4") * @arg @c kGTLRSQLAdmin_DatabaseInstance_DatabaseVersion_Postgres10 The @@ -5370,9 +5531,6 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; */ @property(nonatomic, strong, nullable) GTLRSQLAdmin_SqlOutOfDiskReport *outOfDiskReport; -/** Input only. PITR related fields added for Instance Independent PITR. */ -@property(nonatomic, strong, nullable) GTLRSQLAdmin_PITRFields *pitrFields; - /** Output only. DEPRECATED: please use write_endpoint instead. */ @property(nonatomic, copy, nullable) NSString *primaryDnsName GTLR_DEPRECATED; @@ -7539,9 +7697,6 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * "MAJOR_VERSION_UPGRADE") * @arg @c kGTLRSQLAdmin_Operation_OperationType_ManageBackup Changes the * BackupTier of a Cloud SQL instance. (Value: "MANAGE_BACKUP") - * @arg @c kGTLRSQLAdmin_Operation_OperationType_PreCheckMajorVersionUpgrade - * Pre-checks the major version upgrade operation. (Value: - * "PRE_CHECK_MAJOR_VERSION_UPGRADE") * @arg @c kGTLRSQLAdmin_Operation_OperationType_PromoteReplica Promotes a * Cloud SQL replica instance. (Value: "PROMOTE_REPLICA") * @arg @c kGTLRSQLAdmin_Operation_OperationType_ReconfigureOldPrimary @@ -7839,43 +7994,6 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @end -/** - * PITR related fields include enablement settings, archiving settings, and the - * bucket name. - */ -@interface GTLRSQLAdmin_PITRFields : GTLRObject - -/** - * The enablement setting for PITR for MySQL. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *enableBinLog; - -/** - * The enablement setting for PITR for PostgreSQL. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *replicationLogArchivingEnabled; - -/** - * The enablement setting for PITR for SQL Server. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *sqlserverPitrEnabled; - -/** - * The number of transaction log days to retain for PITR - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *transactionLogRetentionDays; - -@end - - /** * The context to perform a point-in-time recovery of an instance managed by * Google Cloud Backup and Disaster Recovery. diff --git a/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementObjects.m b/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementObjects.m new file mode 100644 index 000000000..1bf1055aa --- /dev/null +++ b/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementObjects.m @@ -0,0 +1,1020 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// SaaS Runtime API (saasservicemgmt/v1beta1) +// Documentation: +// https://cloud.google.com/saas-runtime/docs + +#import + +// ---------------------------------------------------------------------------- +// Constants + +// GTLRSaaSServiceManagement_Rollout.state +NSString * const kGTLRSaaSServiceManagement_Rollout_State_RolloutStateCancelled = @"ROLLOUT_STATE_CANCELLED"; +NSString * const kGTLRSaaSServiceManagement_Rollout_State_RolloutStateCancelling = @"ROLLOUT_STATE_CANCELLING"; +NSString * const kGTLRSaaSServiceManagement_Rollout_State_RolloutStateFailed = @"ROLLOUT_STATE_FAILED"; +NSString * const kGTLRSaaSServiceManagement_Rollout_State_RolloutStatePaused = @"ROLLOUT_STATE_PAUSED"; +NSString * const kGTLRSaaSServiceManagement_Rollout_State_RolloutStatePausing = @"ROLLOUT_STATE_PAUSING"; +NSString * const kGTLRSaaSServiceManagement_Rollout_State_RolloutStateResuming = @"ROLLOUT_STATE_RESUMING"; +NSString * const kGTLRSaaSServiceManagement_Rollout_State_RolloutStateRunning = @"ROLLOUT_STATE_RUNNING"; +NSString * const kGTLRSaaSServiceManagement_Rollout_State_RolloutStateSucceeded = @"ROLLOUT_STATE_SUCCEEDED"; +NSString * const kGTLRSaaSServiceManagement_Rollout_State_RolloutStateUnspecified = @"ROLLOUT_STATE_UNSPECIFIED"; +NSString * const kGTLRSaaSServiceManagement_Rollout_State_RolloutStateWaiting = @"ROLLOUT_STATE_WAITING"; + +// GTLRSaaSServiceManagement_RolloutControl.action +NSString * const kGTLRSaaSServiceManagement_RolloutControl_Action_RolloutActionCancel = @"ROLLOUT_ACTION_CANCEL"; +NSString * const kGTLRSaaSServiceManagement_RolloutControl_Action_RolloutActionPause = @"ROLLOUT_ACTION_PAUSE"; +NSString * const kGTLRSaaSServiceManagement_RolloutControl_Action_RolloutActionRun = @"ROLLOUT_ACTION_RUN"; +NSString * const kGTLRSaaSServiceManagement_RolloutControl_Action_RolloutActionUnspecified = @"ROLLOUT_ACTION_UNSPECIFIED"; + +// GTLRSaaSServiceManagement_RolloutKind.updateUnitKindStrategy +NSString * const kGTLRSaaSServiceManagement_RolloutKind_UpdateUnitKindStrategy_UpdateUnitKindStrategyNever = @"UPDATE_UNIT_KIND_STRATEGY_NEVER"; +NSString * const kGTLRSaaSServiceManagement_RolloutKind_UpdateUnitKindStrategy_UpdateUnitKindStrategyOnStart = @"UPDATE_UNIT_KIND_STRATEGY_ON_START"; +NSString * const kGTLRSaaSServiceManagement_RolloutKind_UpdateUnitKindStrategy_UpdateUnitKindStrategyUnspecified = @"UPDATE_UNIT_KIND_STRATEGY_UNSPECIFIED"; + +// GTLRSaaSServiceManagement_Unit.managementMode +NSString * const kGTLRSaaSServiceManagement_Unit_ManagementMode_ManagementModeSystem = @"MANAGEMENT_MODE_SYSTEM"; +NSString * const kGTLRSaaSServiceManagement_Unit_ManagementMode_ManagementModeUnspecified = @"MANAGEMENT_MODE_UNSPECIFIED"; +NSString * const kGTLRSaaSServiceManagement_Unit_ManagementMode_ManagementModeUser = @"MANAGEMENT_MODE_USER"; + +// GTLRSaaSServiceManagement_Unit.state +NSString * const kGTLRSaaSServiceManagement_Unit_State_UnitStateDeprovisioning = @"UNIT_STATE_DEPROVISIONING"; +NSString * const kGTLRSaaSServiceManagement_Unit_State_UnitStateError = @"UNIT_STATE_ERROR"; +NSString * const kGTLRSaaSServiceManagement_Unit_State_UnitStateNotProvisioned = @"UNIT_STATE_NOT_PROVISIONED"; +NSString * const kGTLRSaaSServiceManagement_Unit_State_UnitStateProvisioning = @"UNIT_STATE_PROVISIONING"; +NSString * const kGTLRSaaSServiceManagement_Unit_State_UnitStateReady = @"UNIT_STATE_READY"; +NSString * const kGTLRSaaSServiceManagement_Unit_State_UnitStateUnspecified = @"UNIT_STATE_UNSPECIFIED"; +NSString * const kGTLRSaaSServiceManagement_Unit_State_UnitStateUpdating = @"UNIT_STATE_UPDATING"; + +// GTLRSaaSServiceManagement_Unit.systemManagedState +NSString * const kGTLRSaaSServiceManagement_Unit_SystemManagedState_SystemManagedStateActive = @"SYSTEM_MANAGED_STATE_ACTIVE"; +NSString * const kGTLRSaaSServiceManagement_Unit_SystemManagedState_SystemManagedStateDecommissioned = @"SYSTEM_MANAGED_STATE_DECOMMISSIONED"; +NSString * const kGTLRSaaSServiceManagement_Unit_SystemManagedState_SystemManagedStateInactive = @"SYSTEM_MANAGED_STATE_INACTIVE"; +NSString * const kGTLRSaaSServiceManagement_Unit_SystemManagedState_SystemManagedStateUnspecified = @"SYSTEM_MANAGED_STATE_UNSPECIFIED"; + +// GTLRSaaSServiceManagement_UnitCondition.status +NSString * const kGTLRSaaSServiceManagement_UnitCondition_Status_StatusFalse = @"STATUS_FALSE"; +NSString * const kGTLRSaaSServiceManagement_UnitCondition_Status_StatusTrue = @"STATUS_TRUE"; +NSString * const kGTLRSaaSServiceManagement_UnitCondition_Status_StatusUnknown = @"STATUS_UNKNOWN"; +NSString * const kGTLRSaaSServiceManagement_UnitCondition_Status_StatusUnspecified = @"STATUS_UNSPECIFIED"; + +// GTLRSaaSServiceManagement_UnitCondition.type +NSString * const kGTLRSaaSServiceManagement_UnitCondition_Type_TypeOperationError = @"TYPE_OPERATION_ERROR"; +NSString * const kGTLRSaaSServiceManagement_UnitCondition_Type_TypeProvisioned = @"TYPE_PROVISIONED"; +NSString * const kGTLRSaaSServiceManagement_UnitCondition_Type_TypeReady = @"TYPE_READY"; +NSString * const kGTLRSaaSServiceManagement_UnitCondition_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; +NSString * const kGTLRSaaSServiceManagement_UnitCondition_Type_TypeUpdating = @"TYPE_UPDATING"; + +// GTLRSaaSServiceManagement_UnitOperation.errorCategory +NSString * const kGTLRSaaSServiceManagement_UnitOperation_ErrorCategory_Fatal = @"FATAL"; +NSString * const kGTLRSaaSServiceManagement_UnitOperation_ErrorCategory_Ignorable = @"IGNORABLE"; +NSString * const kGTLRSaaSServiceManagement_UnitOperation_ErrorCategory_NotApplicable = @"NOT_APPLICABLE"; +NSString * const kGTLRSaaSServiceManagement_UnitOperation_ErrorCategory_Retriable = @"RETRIABLE"; +NSString * const kGTLRSaaSServiceManagement_UnitOperation_ErrorCategory_Standard = @"STANDARD"; +NSString * const kGTLRSaaSServiceManagement_UnitOperation_ErrorCategory_UnitOperationErrorCategoryUnspecified = @"UNIT_OPERATION_ERROR_CATEGORY_UNSPECIFIED"; + +// GTLRSaaSServiceManagement_UnitOperation.state +NSString * const kGTLRSaaSServiceManagement_UnitOperation_State_UnitOperationStateCancelled = @"UNIT_OPERATION_STATE_CANCELLED"; +NSString * const kGTLRSaaSServiceManagement_UnitOperation_State_UnitOperationStateFailed = @"UNIT_OPERATION_STATE_FAILED"; +NSString * const kGTLRSaaSServiceManagement_UnitOperation_State_UnitOperationStatePending = @"UNIT_OPERATION_STATE_PENDING"; +NSString * const kGTLRSaaSServiceManagement_UnitOperation_State_UnitOperationStateRunning = @"UNIT_OPERATION_STATE_RUNNING"; +NSString * const kGTLRSaaSServiceManagement_UnitOperation_State_UnitOperationStateScheduled = @"UNIT_OPERATION_STATE_SCHEDULED"; +NSString * const kGTLRSaaSServiceManagement_UnitOperation_State_UnitOperationStateSucceeded = @"UNIT_OPERATION_STATE_SUCCEEDED"; +NSString * const kGTLRSaaSServiceManagement_UnitOperation_State_UnitOperationStateUnknown = @"UNIT_OPERATION_STATE_UNKNOWN"; + +// GTLRSaaSServiceManagement_UnitOperationCondition.status +NSString * const kGTLRSaaSServiceManagement_UnitOperationCondition_Status_StatusFalse = @"STATUS_FALSE"; +NSString * const kGTLRSaaSServiceManagement_UnitOperationCondition_Status_StatusTrue = @"STATUS_TRUE"; +NSString * const kGTLRSaaSServiceManagement_UnitOperationCondition_Status_StatusUnknown = @"STATUS_UNKNOWN"; +NSString * const kGTLRSaaSServiceManagement_UnitOperationCondition_Status_StatusUnspecified = @"STATUS_UNSPECIFIED"; + +// GTLRSaaSServiceManagement_UnitOperationCondition.type +NSString * const kGTLRSaaSServiceManagement_UnitOperationCondition_Type_TypeCancelled = @"TYPE_CANCELLED"; +NSString * const kGTLRSaaSServiceManagement_UnitOperationCondition_Type_TypeRunning = @"TYPE_RUNNING"; +NSString * const kGTLRSaaSServiceManagement_UnitOperationCondition_Type_TypeScheduled = @"TYPE_SCHEDULED"; +NSString * const kGTLRSaaSServiceManagement_UnitOperationCondition_Type_TypeSucceeded = @"TYPE_SUCCEEDED"; +NSString * const kGTLRSaaSServiceManagement_UnitOperationCondition_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; + +// GTLRSaaSServiceManagement_UnitVariable.type +NSString * const kGTLRSaaSServiceManagement_UnitVariable_Type_Bool = @"BOOL"; +NSString * const kGTLRSaaSServiceManagement_UnitVariable_Type_Int = @"INT"; +NSString * const kGTLRSaaSServiceManagement_UnitVariable_Type_String = @"STRING"; +NSString * const kGTLRSaaSServiceManagement_UnitVariable_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_Aggregate +// + +@implementation GTLRSaaSServiceManagement_Aggregate +@dynamic count, group; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_Blueprint +// + +@implementation GTLRSaaSServiceManagement_Blueprint +@dynamic engine, package, version; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_Dependency +// + +@implementation GTLRSaaSServiceManagement_Dependency +@dynamic alias, unitKind; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_Deprovision +// + +@implementation GTLRSaaSServiceManagement_Deprovision +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_Empty +// + +@implementation GTLRSaaSServiceManagement_Empty +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_ErrorBudget +// + +@implementation GTLRSaaSServiceManagement_ErrorBudget +@dynamic allowedCount, allowedPercentage; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_FromMapping +// + +@implementation GTLRSaaSServiceManagement_FromMapping +@dynamic dependency, outputVariable; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_GoogleCloudLocationLocation +// + +@implementation GTLRSaaSServiceManagement_GoogleCloudLocationLocation +@dynamic displayName, labels, locationId, metadata, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_GoogleCloudLocationLocation_Labels +// + +@implementation GTLRSaaSServiceManagement_GoogleCloudLocationLocation_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_GoogleCloudLocationLocation_Metadata +// + +@implementation GTLRSaaSServiceManagement_GoogleCloudLocationLocation_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_ListLocationsResponse +// + +@implementation GTLRSaaSServiceManagement_ListLocationsResponse +@dynamic locations, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"locations" : [GTLRSaaSServiceManagement_GoogleCloudLocationLocation class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"locations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_ListReleasesResponse +// + +@implementation GTLRSaaSServiceManagement_ListReleasesResponse +@dynamic nextPageToken, releases, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"releases" : [GTLRSaaSServiceManagement_Release class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"releases"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_ListRolloutKindsResponse +// + +@implementation GTLRSaaSServiceManagement_ListRolloutKindsResponse +@dynamic nextPageToken, rolloutKinds, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"rolloutKinds" : [GTLRSaaSServiceManagement_RolloutKind class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"rolloutKinds"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_ListRolloutsResponse +// + +@implementation GTLRSaaSServiceManagement_ListRolloutsResponse +@dynamic nextPageToken, rollouts, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"rollouts" : [GTLRSaaSServiceManagement_Rollout class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"rollouts"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_ListSaasResponse +// + +@implementation GTLRSaaSServiceManagement_ListSaasResponse +@dynamic nextPageToken, saas, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"saas" : [GTLRSaaSServiceManagement_Saas class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"saas"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_ListTenantsResponse +// + +@implementation GTLRSaaSServiceManagement_ListTenantsResponse +@dynamic nextPageToken, tenants, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"tenants" : [GTLRSaaSServiceManagement_Tenant class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"tenants"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_ListUnitKindsResponse +// + +@implementation GTLRSaaSServiceManagement_ListUnitKindsResponse +@dynamic nextPageToken, unitKinds, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"unitKinds" : [GTLRSaaSServiceManagement_UnitKind class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"unitKinds"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_ListUnitOperationsResponse +// + +@implementation GTLRSaaSServiceManagement_ListUnitOperationsResponse +@dynamic nextPageToken, unitOperations, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"unitOperations" : [GTLRSaaSServiceManagement_UnitOperation class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"unitOperations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_ListUnitsResponse +// + +@implementation GTLRSaaSServiceManagement_ListUnitsResponse +@dynamic nextPageToken, units, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"units" : [GTLRSaaSServiceManagement_Unit class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"units"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_Location +// + +@implementation GTLRSaaSServiceManagement_Location +@dynamic name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_MaintenanceSettings +// + +@implementation GTLRSaaSServiceManagement_MaintenanceSettings +@dynamic pinnedUntilTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_Provision +// + +@implementation GTLRSaaSServiceManagement_Provision +@dynamic inputVariables, releaseProperty; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"releaseProperty" : @"release" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"inputVariables" : [GTLRSaaSServiceManagement_UnitVariable class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_Release +// + +@implementation GTLRSaaSServiceManagement_Release +@dynamic annotations, blueprint, createTime, ETag, inputVariableDefaults, + inputVariables, labels, name, outputVariables, releaseRequirements, + uid, unitKind, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"inputVariableDefaults" : [GTLRSaaSServiceManagement_UnitVariable class], + @"inputVariables" : [GTLRSaaSServiceManagement_UnitVariable class], + @"outputVariables" : [GTLRSaaSServiceManagement_UnitVariable class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_Release_Annotations +// + +@implementation GTLRSaaSServiceManagement_Release_Annotations + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_Release_Labels +// + +@implementation GTLRSaaSServiceManagement_Release_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_ReleaseRequirements +// + +@implementation GTLRSaaSServiceManagement_ReleaseRequirements +@dynamic upgradeableFromReleases; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"upgradeableFromReleases" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_Rollout +// + +@implementation GTLRSaaSServiceManagement_Rollout +@dynamic annotations, control, createTime, endTime, ETag, labels, name, + parentRollout, releaseProperty, rolloutKind, + rolloutOrchestrationStrategy, rootRollout, startTime, state, + stateMessage, stateTransitionTime, stats, uid, unitFilter, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"ETag" : @"etag", + @"releaseProperty" : @"release" + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_Rollout_Annotations +// + +@implementation GTLRSaaSServiceManagement_Rollout_Annotations + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_Rollout_Labels +// + +@implementation GTLRSaaSServiceManagement_Rollout_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_RolloutControl +// + +@implementation GTLRSaaSServiceManagement_RolloutControl +@dynamic action, runParams; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_RolloutKind +// + +@implementation GTLRSaaSServiceManagement_RolloutKind +@dynamic annotations, createTime, errorBudget, ETag, labels, name, + rolloutOrchestrationStrategy, uid, unitFilter, unitKind, updateTime, + updateUnitKindStrategy; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_RolloutKind_Annotations +// + +@implementation GTLRSaaSServiceManagement_RolloutKind_Annotations + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_RolloutKind_Labels +// + +@implementation GTLRSaaSServiceManagement_RolloutKind_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_RolloutStats +// + +@implementation GTLRSaaSServiceManagement_RolloutStats +@dynamic operationsByState; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"operationsByState" : [GTLRSaaSServiceManagement_Aggregate class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_RunRolloutActionParams +// + +@implementation GTLRSaaSServiceManagement_RunRolloutActionParams +@dynamic retryFailedOperations; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_Saas +// + +@implementation GTLRSaaSServiceManagement_Saas +@dynamic annotations, createTime, ETag, labels, locations, name, uid, + updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"locations" : [GTLRSaaSServiceManagement_Location class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_Saas_Annotations +// + +@implementation GTLRSaaSServiceManagement_Saas_Annotations + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_Saas_Labels +// + +@implementation GTLRSaaSServiceManagement_Saas_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_Schedule +// + +@implementation GTLRSaaSServiceManagement_Schedule +@dynamic startTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_Tenant +// + +@implementation GTLRSaaSServiceManagement_Tenant +@dynamic annotations, consumerResource, createTime, ETag, labels, name, saas, + uid, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_Tenant_Annotations +// + +@implementation GTLRSaaSServiceManagement_Tenant_Annotations + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_Tenant_Labels +// + +@implementation GTLRSaaSServiceManagement_Tenant_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_ToMapping +// + +@implementation GTLRSaaSServiceManagement_ToMapping +@dynamic dependency, ignoreForLookup, inputVariable; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_Unit +// + +@implementation GTLRSaaSServiceManagement_Unit +@dynamic annotations, conditions, createTime, dependencies, dependents, ETag, + inputVariables, labels, maintenance, managementMode, name, + ongoingOperations, outputVariables, pendingOperations, releaseProperty, + scheduledOperations, state, systemCleanupAt, systemManagedState, + tenant, uid, unitKind, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"ETag" : @"etag", + @"releaseProperty" : @"release" + }; + return map; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"conditions" : [GTLRSaaSServiceManagement_UnitCondition class], + @"dependencies" : [GTLRSaaSServiceManagement_UnitDependency class], + @"dependents" : [GTLRSaaSServiceManagement_UnitDependency class], + @"inputVariables" : [GTLRSaaSServiceManagement_UnitVariable class], + @"ongoingOperations" : [NSString class], + @"outputVariables" : [GTLRSaaSServiceManagement_UnitVariable class], + @"pendingOperations" : [NSString class], + @"scheduledOperations" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_Unit_Annotations +// + +@implementation GTLRSaaSServiceManagement_Unit_Annotations + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_Unit_Labels +// + +@implementation GTLRSaaSServiceManagement_Unit_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_UnitCondition +// + +@implementation GTLRSaaSServiceManagement_UnitCondition +@dynamic lastTransitionTime, message, reason, status, type; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_UnitDependency +// + +@implementation GTLRSaaSServiceManagement_UnitDependency +@dynamic alias, unit; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_UnitKind +// + +@implementation GTLRSaaSServiceManagement_UnitKind +@dynamic annotations, createTime, defaultRelease, dependencies, ETag, + inputVariableMappings, labels, name, outputVariableMappings, saas, uid, + updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dependencies" : [GTLRSaaSServiceManagement_Dependency class], + @"inputVariableMappings" : [GTLRSaaSServiceManagement_VariableMapping class], + @"outputVariableMappings" : [GTLRSaaSServiceManagement_VariableMapping class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_UnitKind_Annotations +// + +@implementation GTLRSaaSServiceManagement_UnitKind_Annotations + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_UnitKind_Labels +// + +@implementation GTLRSaaSServiceManagement_UnitKind_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_UnitOperation +// + +@implementation GTLRSaaSServiceManagement_UnitOperation +@dynamic annotations, cancel, conditions, createTime, deprovision, engineState, + errorCategory, ETag, labels, name, parentUnitOperation, provision, + rollout, schedule, state, uid, unit, updateTime, upgrade; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"conditions" : [GTLRSaaSServiceManagement_UnitOperationCondition class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_UnitOperation_Annotations +// + +@implementation GTLRSaaSServiceManagement_UnitOperation_Annotations + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_UnitOperation_Labels +// + +@implementation GTLRSaaSServiceManagement_UnitOperation_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_UnitOperationCondition +// + +@implementation GTLRSaaSServiceManagement_UnitOperationCondition +@dynamic lastTransitionTime, message, reason, status, type; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_UnitVariable +// + +@implementation GTLRSaaSServiceManagement_UnitVariable +@dynamic type, value, variable; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_Upgrade +// + +@implementation GTLRSaaSServiceManagement_Upgrade +@dynamic inputVariables, releaseProperty; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"releaseProperty" : @"release" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"inputVariables" : [GTLRSaaSServiceManagement_UnitVariable class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSaaSServiceManagement_VariableMapping +// + +@implementation GTLRSaaSServiceManagement_VariableMapping +@dynamic from, to, variable; +@end diff --git a/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementQuery.m b/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementQuery.m new file mode 100644 index 000000000..60d7ac934 --- /dev/null +++ b/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementQuery.m @@ -0,0 +1,980 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// SaaS Runtime API (saasservicemgmt/v1beta1) +// Documentation: +// https://cloud.google.com/saas-runtime/docs + +#import + +@implementation GTLRSaaSServiceManagementQuery + +@dynamic fields; + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1beta1/{+name}"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSaaSServiceManagement_GoogleCloudLocationLocation class]; + query.loggingName = @"saasservicemgmt.projects.locations.get"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsList + +@dynamic extraLocationTypes, filter, name, pageSize, pageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"extraLocationTypes" : [NSString class] + }; + return map; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1beta1/{+name}/locations"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSaaSServiceManagement_ListLocationsResponse class]; + query.loggingName = @"saasservicemgmt.projects.locations.list"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsReleasesCreate + +@dynamic parent, releaseId, requestId, validateOnly; + ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_Release *)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 = @"v1beta1/{+parent}/releases"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsReleasesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSaaSServiceManagement_Release class]; + query.loggingName = @"saasservicemgmt.projects.locations.releases.create"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsReleasesDelete + +@dynamic ETag, name, requestId, validateOnly; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1beta1/{+name}"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsReleasesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSaaSServiceManagement_Empty class]; + query.loggingName = @"saasservicemgmt.projects.locations.releases.delete"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsReleasesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1beta1/{+name}"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsReleasesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSaaSServiceManagement_Release class]; + query.loggingName = @"saasservicemgmt.projects.locations.releases.get"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsReleasesList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1beta1/{+parent}/releases"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsReleasesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSaaSServiceManagement_ListReleasesResponse class]; + query.loggingName = @"saasservicemgmt.projects.locations.releases.list"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsReleasesPatch + +@dynamic name, requestId, updateMask, validateOnly; + ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_Release *)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 = @"v1beta1/{+name}"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsReleasesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSaaSServiceManagement_Release class]; + query.loggingName = @"saasservicemgmt.projects.locations.releases.patch"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutKindsCreate + +@dynamic parent, requestId, rolloutKindId, validateOnly; + ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_RolloutKind *)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 = @"v1beta1/{+parent}/rolloutKinds"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutKindsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSaaSServiceManagement_RolloutKind class]; + query.loggingName = @"saasservicemgmt.projects.locations.rolloutKinds.create"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutKindsDelete + +@dynamic ETag, name, requestId, validateOnly; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1beta1/{+name}"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutKindsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSaaSServiceManagement_Empty class]; + query.loggingName = @"saasservicemgmt.projects.locations.rolloutKinds.delete"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutKindsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1beta1/{+name}"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutKindsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSaaSServiceManagement_RolloutKind class]; + query.loggingName = @"saasservicemgmt.projects.locations.rolloutKinds.get"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutKindsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1beta1/{+parent}/rolloutKinds"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutKindsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSaaSServiceManagement_ListRolloutKindsResponse class]; + query.loggingName = @"saasservicemgmt.projects.locations.rolloutKinds.list"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutKindsPatch + +@dynamic name, requestId, updateMask, validateOnly; + ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_RolloutKind *)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 = @"v1beta1/{+name}"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutKindsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSaaSServiceManagement_RolloutKind class]; + query.loggingName = @"saasservicemgmt.projects.locations.rolloutKinds.patch"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutsCreate + +@dynamic parent, requestId, rolloutId, validateOnly; + ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_Rollout *)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 = @"v1beta1/{+parent}/rollouts"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSaaSServiceManagement_Rollout class]; + query.loggingName = @"saasservicemgmt.projects.locations.rollouts.create"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutsDelete + +@dynamic ETag, name, requestId, validateOnly; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1beta1/{+name}"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSaaSServiceManagement_Empty class]; + query.loggingName = @"saasservicemgmt.projects.locations.rollouts.delete"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1beta1/{+name}"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSaaSServiceManagement_Rollout class]; + query.loggingName = @"saasservicemgmt.projects.locations.rollouts.get"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1beta1/{+parent}/rollouts"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSaaSServiceManagement_ListRolloutsResponse class]; + query.loggingName = @"saasservicemgmt.projects.locations.rollouts.list"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutsPatch + +@dynamic name, requestId, updateMask, validateOnly; + ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_Rollout *)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 = @"v1beta1/{+name}"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSaaSServiceManagement_Rollout class]; + query.loggingName = @"saasservicemgmt.projects.locations.rollouts.patch"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsSaasCreate + +@dynamic parent, requestId, saasId, validateOnly; + ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_Saas *)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 = @"v1beta1/{+parent}/saas"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsSaasCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSaaSServiceManagement_Saas class]; + query.loggingName = @"saasservicemgmt.projects.locations.saas.create"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsSaasDelete + +@dynamic ETag, name, requestId, validateOnly; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1beta1/{+name}"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsSaasDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSaaSServiceManagement_Empty class]; + query.loggingName = @"saasservicemgmt.projects.locations.saas.delete"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsSaasGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1beta1/{+name}"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsSaasGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSaaSServiceManagement_Saas class]; + query.loggingName = @"saasservicemgmt.projects.locations.saas.get"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsSaasList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1beta1/{+parent}/saas"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsSaasList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSaaSServiceManagement_ListSaasResponse class]; + query.loggingName = @"saasservicemgmt.projects.locations.saas.list"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsSaasPatch + +@dynamic name, requestId, updateMask, validateOnly; + ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_Saas *)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 = @"v1beta1/{+name}"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsSaasPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSaaSServiceManagement_Saas class]; + query.loggingName = @"saasservicemgmt.projects.locations.saas.patch"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsTenantsCreate + +@dynamic parent, requestId, tenantId, validateOnly; + ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_Tenant *)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 = @"v1beta1/{+parent}/tenants"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsTenantsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSaaSServiceManagement_Tenant class]; + query.loggingName = @"saasservicemgmt.projects.locations.tenants.create"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsTenantsDelete + +@dynamic ETag, name, requestId, validateOnly; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1beta1/{+name}"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsTenantsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSaaSServiceManagement_Empty class]; + query.loggingName = @"saasservicemgmt.projects.locations.tenants.delete"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsTenantsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1beta1/{+name}"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsTenantsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSaaSServiceManagement_Tenant class]; + query.loggingName = @"saasservicemgmt.projects.locations.tenants.get"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsTenantsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1beta1/{+parent}/tenants"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsTenantsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSaaSServiceManagement_ListTenantsResponse class]; + query.loggingName = @"saasservicemgmt.projects.locations.tenants.list"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsTenantsPatch + +@dynamic name, requestId, updateMask, validateOnly; + ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_Tenant *)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 = @"v1beta1/{+name}"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsTenantsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSaaSServiceManagement_Tenant class]; + query.loggingName = @"saasservicemgmt.projects.locations.tenants.patch"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitKindsCreate + +@dynamic parent, requestId, unitKindId, validateOnly; + ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_UnitKind *)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 = @"v1beta1/{+parent}/unitKinds"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitKindsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSaaSServiceManagement_UnitKind class]; + query.loggingName = @"saasservicemgmt.projects.locations.unitKinds.create"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitKindsDelete + +@dynamic ETag, name, requestId, validateOnly; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1beta1/{+name}"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitKindsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSaaSServiceManagement_Empty class]; + query.loggingName = @"saasservicemgmt.projects.locations.unitKinds.delete"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitKindsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1beta1/{+name}"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitKindsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSaaSServiceManagement_UnitKind class]; + query.loggingName = @"saasservicemgmt.projects.locations.unitKinds.get"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitKindsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1beta1/{+parent}/unitKinds"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitKindsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSaaSServiceManagement_ListUnitKindsResponse class]; + query.loggingName = @"saasservicemgmt.projects.locations.unitKinds.list"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitKindsPatch + +@dynamic name, requestId, updateMask, validateOnly; + ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_UnitKind *)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 = @"v1beta1/{+name}"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitKindsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSaaSServiceManagement_UnitKind class]; + query.loggingName = @"saasservicemgmt.projects.locations.unitKinds.patch"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitOperationsCreate + +@dynamic parent, requestId, unitOperationId, validateOnly; + ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_UnitOperation *)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 = @"v1beta1/{+parent}/unitOperations"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitOperationsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSaaSServiceManagement_UnitOperation class]; + query.loggingName = @"saasservicemgmt.projects.locations.unitOperations.create"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitOperationsDelete + +@dynamic ETag, name, requestId, validateOnly; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1beta1/{+name}"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitOperationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSaaSServiceManagement_Empty class]; + query.loggingName = @"saasservicemgmt.projects.locations.unitOperations.delete"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1beta1/{+name}"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSaaSServiceManagement_UnitOperation class]; + query.loggingName = @"saasservicemgmt.projects.locations.unitOperations.get"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitOperationsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1beta1/{+parent}/unitOperations"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitOperationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSaaSServiceManagement_ListUnitOperationsResponse class]; + query.loggingName = @"saasservicemgmt.projects.locations.unitOperations.list"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitOperationsPatch + +@dynamic name, requestId, updateMask, validateOnly; + ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_UnitOperation *)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 = @"v1beta1/{+name}"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitOperationsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSaaSServiceManagement_UnitOperation class]; + query.loggingName = @"saasservicemgmt.projects.locations.unitOperations.patch"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitsCreate + +@dynamic parent, requestId, unitId, validateOnly; + ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_Unit *)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 = @"v1beta1/{+parent}/units"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSaaSServiceManagement_Unit class]; + query.loggingName = @"saasservicemgmt.projects.locations.units.create"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitsDelete + +@dynamic ETag, name, requestId, validateOnly; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1beta1/{+name}"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSaaSServiceManagement_Empty class]; + query.loggingName = @"saasservicemgmt.projects.locations.units.delete"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1beta1/{+name}"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSaaSServiceManagement_Unit class]; + query.loggingName = @"saasservicemgmt.projects.locations.units.get"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1beta1/{+parent}/units"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSaaSServiceManagement_ListUnitsResponse class]; + query.loggingName = @"saasservicemgmt.projects.locations.units.list"; + return query; +} + +@end + +@implementation GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitsPatch + +@dynamic name, requestId, updateMask, validateOnly; + ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_Unit *)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 = @"v1beta1/{+name}"; + GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSaaSServiceManagement_Unit class]; + query.loggingName = @"saasservicemgmt.projects.locations.units.patch"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementService.m b/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementService.m new file mode 100644 index 000000000..c29ac5fe1 --- /dev/null +++ b/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementService.m @@ -0,0 +1,33 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// SaaS Runtime API (saasservicemgmt/v1beta1) +// Documentation: +// https://cloud.google.com/saas-runtime/docs + +#import + +// ---------------------------------------------------------------------------- +// Authorization scope + +NSString * const kGTLRAuthScopeSaaSServiceManagementCloudPlatform = @"https://www.googleapis.com/auth/cloud-platform"; + +// ---------------------------------------------------------------------------- +// GTLRSaaSServiceManagementService +// + +@implementation GTLRSaaSServiceManagementService + +- (instancetype)init { + self = [super init]; + if (self) { + // From discovery. + self.rootURLString = @"https://saasservicemgmt.googleapis.com/"; + self.batchPath = @"batch"; + self.prettyPrintQueryParameterNames = @[ @"prettyPrint" ]; + } + return self; +} + +@end diff --git a/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagement.h b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagement.h new file mode 100644 index 000000000..dd3a969d6 --- /dev/null +++ b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagement.h @@ -0,0 +1,11 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// SaaS Runtime API (saasservicemgmt/v1beta1) +// Documentation: +// https://cloud.google.com/saas-runtime/docs + +#import "GTLRSaaSServiceManagementObjects.h" +#import "GTLRSaaSServiceManagementQuery.h" +#import "GTLRSaaSServiceManagementService.h" diff --git a/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementObjects.h b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementObjects.h new file mode 100644 index 000000000..0166cb05c --- /dev/null +++ b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementObjects.h @@ -0,0 +1,2509 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// SaaS Runtime API (saasservicemgmt/v1beta1) +// Documentation: +// https://cloud.google.com/saas-runtime/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 GTLRSaaSServiceManagement_Aggregate; +@class GTLRSaaSServiceManagement_Blueprint; +@class GTLRSaaSServiceManagement_Dependency; +@class GTLRSaaSServiceManagement_Deprovision; +@class GTLRSaaSServiceManagement_ErrorBudget; +@class GTLRSaaSServiceManagement_FromMapping; +@class GTLRSaaSServiceManagement_GoogleCloudLocationLocation; +@class GTLRSaaSServiceManagement_GoogleCloudLocationLocation_Labels; +@class GTLRSaaSServiceManagement_GoogleCloudLocationLocation_Metadata; +@class GTLRSaaSServiceManagement_Location; +@class GTLRSaaSServiceManagement_MaintenanceSettings; +@class GTLRSaaSServiceManagement_Provision; +@class GTLRSaaSServiceManagement_Release; +@class GTLRSaaSServiceManagement_Release_Annotations; +@class GTLRSaaSServiceManagement_Release_Labels; +@class GTLRSaaSServiceManagement_ReleaseRequirements; +@class GTLRSaaSServiceManagement_Rollout; +@class GTLRSaaSServiceManagement_Rollout_Annotations; +@class GTLRSaaSServiceManagement_Rollout_Labels; +@class GTLRSaaSServiceManagement_RolloutControl; +@class GTLRSaaSServiceManagement_RolloutKind; +@class GTLRSaaSServiceManagement_RolloutKind_Annotations; +@class GTLRSaaSServiceManagement_RolloutKind_Labels; +@class GTLRSaaSServiceManagement_RolloutStats; +@class GTLRSaaSServiceManagement_RunRolloutActionParams; +@class GTLRSaaSServiceManagement_Saas; +@class GTLRSaaSServiceManagement_Saas_Annotations; +@class GTLRSaaSServiceManagement_Saas_Labels; +@class GTLRSaaSServiceManagement_Schedule; +@class GTLRSaaSServiceManagement_Tenant; +@class GTLRSaaSServiceManagement_Tenant_Annotations; +@class GTLRSaaSServiceManagement_Tenant_Labels; +@class GTLRSaaSServiceManagement_ToMapping; +@class GTLRSaaSServiceManagement_Unit; +@class GTLRSaaSServiceManagement_Unit_Annotations; +@class GTLRSaaSServiceManagement_Unit_Labels; +@class GTLRSaaSServiceManagement_UnitCondition; +@class GTLRSaaSServiceManagement_UnitDependency; +@class GTLRSaaSServiceManagement_UnitKind; +@class GTLRSaaSServiceManagement_UnitKind_Annotations; +@class GTLRSaaSServiceManagement_UnitKind_Labels; +@class GTLRSaaSServiceManagement_UnitOperation; +@class GTLRSaaSServiceManagement_UnitOperation_Annotations; +@class GTLRSaaSServiceManagement_UnitOperation_Labels; +@class GTLRSaaSServiceManagement_UnitOperationCondition; +@class GTLRSaaSServiceManagement_UnitVariable; +@class GTLRSaaSServiceManagement_Upgrade; +@class GTLRSaaSServiceManagement_VariableMapping; + +// 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. + +// ---------------------------------------------------------------------------- +// GTLRSaaSServiceManagement_Rollout.state + +/** + * Rollout has been canceled. + * + * Value: "ROLLOUT_STATE_CANCELLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_Rollout_State_RolloutStateCancelled; +/** + * Rollout is being canceled. + * + * Value: "ROLLOUT_STATE_CANCELLING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_Rollout_State_RolloutStateCancelling; +/** + * Rollout has failed. + * + * Value: "ROLLOUT_STATE_FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_Rollout_State_RolloutStateFailed; +/** + * Rollout has been paused. + * + * Value: "ROLLOUT_STATE_PAUSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_Rollout_State_RolloutStatePaused; +/** + * Rollout is being paused. + * + * Value: "ROLLOUT_STATE_PAUSING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_Rollout_State_RolloutStatePausing; +/** + * Rollout is being resumed. + * + * Value: "ROLLOUT_STATE_RESUMING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_Rollout_State_RolloutStateResuming; +/** + * Rollout is in progress. + * + * Value: "ROLLOUT_STATE_RUNNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_Rollout_State_RolloutStateRunning; +/** + * Rollout completed successfully. + * + * Value: "ROLLOUT_STATE_SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_Rollout_State_RolloutStateSucceeded; +/** + * Unspecified state. + * + * Value: "ROLLOUT_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_Rollout_State_RolloutStateUnspecified; +/** + * Rollout is waiting for some condition to be met before starting. + * + * Value: "ROLLOUT_STATE_WAITING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_Rollout_State_RolloutStateWaiting; + +// ---------------------------------------------------------------------------- +// GTLRSaaSServiceManagement_RolloutControl.action + +/** + * Cancel the Rollout permanently. + * + * Value: "ROLLOUT_ACTION_CANCEL" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_RolloutControl_Action_RolloutActionCancel; +/** + * Pause the Rollout until it is resumed (i.e. RUN is requested). + * + * Value: "ROLLOUT_ACTION_PAUSE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_RolloutControl_Action_RolloutActionPause; +/** + * Run the Rollout until it naturally reaches a terminal state. A rollout + * requested to run will progress through all natural Rollout States (such as + * RUNNING -> SUCCEEDED or RUNNING -> FAILED). If retriable errors are + * encountered during the rollout, the rollout will paused by default and can + * be resumed by re-requesting this RUN action. + * + * Value: "ROLLOUT_ACTION_RUN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_RolloutControl_Action_RolloutActionRun; +/** + * Unspecified action, will be treated as RUN by default. + * + * Value: "ROLLOUT_ACTION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_RolloutControl_Action_RolloutActionUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRSaaSServiceManagement_RolloutKind.updateUnitKindStrategy + +/** + * Never update the unit kind. + * + * Value: "UPDATE_UNIT_KIND_STRATEGY_NEVER" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_RolloutKind_UpdateUnitKindStrategy_UpdateUnitKindStrategyNever; +/** + * Update the unit kind strategy on the rollout start. + * + * Value: "UPDATE_UNIT_KIND_STRATEGY_ON_START" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_RolloutKind_UpdateUnitKindStrategy_UpdateUnitKindStrategyOnStart; +/** + * Strategy unspecified. + * + * Value: "UPDATE_UNIT_KIND_STRATEGY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_RolloutKind_UpdateUnitKindStrategy_UpdateUnitKindStrategyUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRSaaSServiceManagement_Unit.managementMode + +/** + * The system will decide when to deprovision and delete the unit. User still + * can deprovision or delete the unit manually. + * + * Value: "MANAGEMENT_MODE_SYSTEM" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_Unit_ManagementMode_ManagementModeSystem; +/** Value: "MANAGEMENT_MODE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_Unit_ManagementMode_ManagementModeUnspecified; +/** + * Unit's lifecycle is managed by the user. + * + * Value: "MANAGEMENT_MODE_USER" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_Unit_ManagementMode_ManagementModeUser; + +// ---------------------------------------------------------------------------- +// GTLRSaaSServiceManagement_Unit.state + +/** + * Unit is being deleted. + * + * Value: "UNIT_STATE_DEPROVISIONING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_Unit_State_UnitStateDeprovisioning; +/** + * Unit has error, when it is not ready and some error operation + * + * Value: "UNIT_STATE_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_Unit_State_UnitStateError; +/** + * Unit is not provisioned. + * + * Value: "UNIT_STATE_NOT_PROVISIONED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_Unit_State_UnitStateNotProvisioned; +/** + * Unit is being provisioned. + * + * Value: "UNIT_STATE_PROVISIONING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_Unit_State_UnitStateProvisioning; +/** + * Unit has been provisioned and is ready for use + * + * Value: "UNIT_STATE_READY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_Unit_State_UnitStateReady; +/** + * Unspecified state. + * + * Value: "UNIT_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_Unit_State_UnitStateUnspecified; +/** + * Unit is being updated. This is typically when a unit is being upgraded to a + * new release or some of the input variables on the Unit is being changed. + * Certain kinds of updates may cause the Unit to become unusable while the + * update is in progress. + * + * Value: "UNIT_STATE_UPDATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_Unit_State_UnitStateUpdating; + +// ---------------------------------------------------------------------------- +// GTLRSaaSServiceManagement_Unit.systemManagedState + +/** + * Unit has dependents attached. + * + * Value: "SYSTEM_MANAGED_STATE_ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_Unit_SystemManagedState_SystemManagedStateActive; +/** + * Unit has no dependencies attached, and attachment is not allowed. + * + * Value: "SYSTEM_MANAGED_STATE_DECOMMISSIONED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_Unit_SystemManagedState_SystemManagedStateDecommissioned; +/** + * Unit has no dependencies attached, but attachment is allowed. + * + * Value: "SYSTEM_MANAGED_STATE_INACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_Unit_SystemManagedState_SystemManagedStateInactive; +/** Value: "SYSTEM_MANAGED_STATE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_Unit_SystemManagedState_SystemManagedStateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRSaaSServiceManagement_UnitCondition.status + +/** + * Condition is false. + * + * Value: "STATUS_FALSE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitCondition_Status_StatusFalse; +/** + * Condition is true. + * + * Value: "STATUS_TRUE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitCondition_Status_StatusTrue; +/** + * Condition is unknown. + * + * Value: "STATUS_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitCondition_Status_StatusUnknown; +/** + * Condition status is unspecified. + * + * Value: "STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitCondition_Status_StatusUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRSaaSServiceManagement_UnitCondition.type + +/** + * Condition type is operationError. True when the last unit operation fails + * with a non-ignorable error. + * + * Value: "TYPE_OPERATION_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitCondition_Type_TypeOperationError; +/** + * Condition type is provisioned. + * + * Value: "TYPE_PROVISIONED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitCondition_Type_TypeProvisioned; +/** + * Condition type is ready. + * + * Value: "TYPE_READY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitCondition_Type_TypeReady; +/** + * Condition type is unspecified. + * + * Value: "TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitCondition_Type_TypeUnspecified; +/** + * Condition type is updating. + * + * Value: "TYPE_UPDATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitCondition_Type_TypeUpdating; + +// ---------------------------------------------------------------------------- +// GTLRSaaSServiceManagement_UnitOperation.errorCategory + +/** + * Unit operation error category is fatal + * + * Value: "FATAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitOperation_ErrorCategory_Fatal; +/** + * Unit operation error category is ignorable + * + * Value: "IGNORABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitOperation_ErrorCategory_Ignorable; +/** + * Unit operation error category is not applicable, or it is not an error + * + * Value: "NOT_APPLICABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitOperation_ErrorCategory_NotApplicable; +/** + * Unit operation error category is retriable + * + * Value: "RETRIABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitOperation_ErrorCategory_Retriable; +/** + * Unit operation error category is standard, counts towards Rollout error + * budget + * + * Value: "STANDARD" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitOperation_ErrorCategory_Standard; +/** + * Unit operation error category is unspecified + * + * Value: "UNIT_OPERATION_ERROR_CATEGORY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitOperation_ErrorCategory_UnitOperationErrorCategoryUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRSaaSServiceManagement_UnitOperation.state + +/** + * Unit operation was cancelled. + * + * Value: "UNIT_OPERATION_STATE_CANCELLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitOperation_State_UnitOperationStateCancelled; +/** + * Unit operation has failed. + * + * Value: "UNIT_OPERATION_STATE_FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitOperation_State_UnitOperationStateFailed; +/** + * Unit operation is accepted but not ready to run. + * + * Value: "UNIT_OPERATION_STATE_PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitOperation_State_UnitOperationStatePending; +/** + * Unit operation is running. + * + * Value: "UNIT_OPERATION_STATE_RUNNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitOperation_State_UnitOperationStateRunning; +/** + * Unit operation is accepted and scheduled. + * + * Value: "UNIT_OPERATION_STATE_SCHEDULED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitOperation_State_UnitOperationStateScheduled; +/** + * Unit operation has completed successfully. + * + * Value: "UNIT_OPERATION_STATE_SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitOperation_State_UnitOperationStateSucceeded; +/** Value: "UNIT_OPERATION_STATE_UNKNOWN" */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitOperation_State_UnitOperationStateUnknown; + +// ---------------------------------------------------------------------------- +// GTLRSaaSServiceManagement_UnitOperationCondition.status + +/** + * Condition is false. + * + * Value: "STATUS_FALSE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitOperationCondition_Status_StatusFalse; +/** + * Condition is true. + * + * Value: "STATUS_TRUE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitOperationCondition_Status_StatusTrue; +/** + * Condition is unknown. + * + * Value: "STATUS_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitOperationCondition_Status_StatusUnknown; +/** + * Condition status is unspecified. + * + * Value: "STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitOperationCondition_Status_StatusUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRSaaSServiceManagement_UnitOperationCondition.type + +/** + * Condition type is cancelled. + * + * Value: "TYPE_CANCELLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitOperationCondition_Type_TypeCancelled; +/** + * Condition type is running. + * + * Value: "TYPE_RUNNING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitOperationCondition_Type_TypeRunning; +/** + * Condition type is scheduled. + * + * Value: "TYPE_SCHEDULED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitOperationCondition_Type_TypeScheduled; +/** + * Condition type is succeeded. + * + * Value: "TYPE_SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitOperationCondition_Type_TypeSucceeded; +/** + * Condition type is unspecified. + * + * Value: "TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitOperationCondition_Type_TypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRSaaSServiceManagement_UnitVariable.type + +/** + * Variable type is bool. + * + * Value: "BOOL" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitVariable_Type_Bool; +/** + * Variable type is int. + * + * Value: "INT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitVariable_Type_Int; +/** + * Variable type is string. + * + * Value: "STRING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitVariable_Type_String; +/** + * Variable type is unspecified. + * + * Value: "TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitVariable_Type_TypeUnspecified; + +/** + * Represents the aggregation of a set of population of like records by a + * certain group. For example, a collection of unit counts can be aggregated + * and grouped by their state. + */ +@interface GTLRSaaSServiceManagement_Aggregate : GTLRObject + +/** + * Required. Number of records in the group. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *count; + +/** Required. Group by which to aggregate. */ +@property(nonatomic, copy, nullable) NSString *group; + +@end + + +/** + * Blueprints are OCI Images that contain all of the artifacts needed to + * provision a unit. Metadata such as, type of the engine used to actuate the + * blueprint (e.g. terraform, helm etc) and version will come from the image + * manifest. If the hostname is omitted, it will be assumed to be the regional + * path to Artifact Registry (eg. us-east1-docker.pkg.dev). + */ +@interface GTLRSaaSServiceManagement_Blueprint : GTLRObject + +/** + * Output only. Type of the engine used to actuate the blueprint. e.g. + * terraform, helm etc. + */ +@property(nonatomic, copy, nullable) NSString *engine; + +/** + * Optional. Immutable. URI to a blueprint used by the Unit (required unless + * unitKind or release is set). + */ +@property(nonatomic, copy, nullable) NSString *package; + +/** Output only. Version metadata if present on the blueprint. */ +@property(nonatomic, copy, nullable) NSString *version; + +@end + + +/** + * Dependency represent a single dependency with another unit kind by alias. + */ +@interface GTLRSaaSServiceManagement_Dependency : GTLRObject + +/** Required. An alias for the dependency. Used for input variable mapping. */ +@property(nonatomic, copy, nullable) NSString *alias; + +/** Required. Immutable. The unit kind of the dependency. */ +@property(nonatomic, copy, nullable) NSString *unitKind; + +@end + + +/** + * Deprovision is the unit operation that deprovision the underlying resources + * represented by a Unit. Can only execute if the Unit is currently + * provisioned. + */ +@interface GTLRSaaSServiceManagement_Deprovision : 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 + * or the response type of an API method. For instance: service Foo { rpc + * Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } + */ +@interface GTLRSaaSServiceManagement_Empty : GTLRObject +@end + + +/** + * The configuration for error budget. If the number of failed units exceeds + * max(allowed_count, allowed_ratio * total_units), the rollout will be paused. + */ +@interface GTLRSaaSServiceManagement_ErrorBudget : GTLRObject + +/** + * Optional. The maximum number of failed units allowed in a location without + * pausing the rollout. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowedCount; + +/** + * Optional. The maximum percentage of units allowed to fail (0, 100] within a + * location without pausing the rollout. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowedPercentage; + +@end + + +/** + * Output variables whose values will be passed on to dependencies + */ +@interface GTLRSaaSServiceManagement_FromMapping : GTLRObject + +/** + * Required. Alias of the dependency that the outputVariable will pass its + * value to + */ +@property(nonatomic, copy, nullable) NSString *dependency; + +/** Required. Name of the outputVariable on the dependency */ +@property(nonatomic, copy, nullable) NSString *outputVariable; + +@end + + +/** + * A resource that represents a Google Cloud location. + */ +@interface GTLRSaaSServiceManagement_GoogleCloudLocationLocation : 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) GTLRSaaSServiceManagement_GoogleCloudLocationLocation_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) GTLRSaaSServiceManagement_GoogleCloudLocationLocation_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 GTLRSaaSServiceManagement_GoogleCloudLocationLocation_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 GTLRSaaSServiceManagement_GoogleCloudLocationLocation_Metadata : GTLRObject +@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 GTLRSaaSServiceManagement_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 structure for the ListReleases method. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "releases" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSaaSServiceManagement_ListReleasesResponse : GTLRCollectionObject + +/** + * If present, the next page token can be provided to a subsequent ListReleases + * call to list the next page. If empty, there are no more pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The resulting releases. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *releases; + +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * The response structure for the ListRolloutKinds method. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "rolloutKinds" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSaaSServiceManagement_ListRolloutKindsResponse : GTLRCollectionObject + +/** + * If present, the next page token can be provided to a subsequent + * ListRolloutKinds call to list the next page. If empty, there are no more + * pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The resulting rollout kinds. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *rolloutKinds; + +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * The response structure for the ListRollouts method. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "rollouts" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSaaSServiceManagement_ListRolloutsResponse : GTLRCollectionObject + +/** + * If present, the next page token can be provided to a subsequent ListRollouts + * call to list the next page. If empty, there are no more pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The resulting rollouts. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *rollouts; + +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * The response structure for the ListSaas method. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "saas" property. If returned as the result of a query, it should + * support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSaaSServiceManagement_ListSaasResponse : GTLRCollectionObject + +/** + * If present, the next page token can be provided to a subsequent ListSaas + * call to list the next page. If empty, there are no more pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The resulting saas. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *saas; + +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * The response structure for the ListTenants method. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "tenants" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSaaSServiceManagement_ListTenantsResponse : GTLRCollectionObject + +/** + * If present, the next page token can be provided to a subsequent ListTenants + * call to list the next page. If empty, there are no more pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The resulting tenants. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *tenants; + +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * The response structure for the ListUnitKinds method. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "unitKinds" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSaaSServiceManagement_ListUnitKindsResponse : GTLRCollectionObject + +/** + * If present, the next page token can be provided to a subsequent + * ListUnitKinds call to list the next page. If empty, there are no more pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The resulting unit kinds. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *unitKinds; + +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * The response structure for the ListUnitOperations method. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "unitOperations" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRSaaSServiceManagement_ListUnitOperationsResponse : GTLRCollectionObject + +/** + * If present, the next page token can be provided to a subsequent + * ListUnitOperations call to list the next page. If empty, there are no more + * pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The resulting unit operations. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *unitOperations; + +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * The response structure for the ListUnits method. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "units" property. If returned as the result of a query, it should + * support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSaaSServiceManagement_ListUnitsResponse : GTLRCollectionObject + +/** + * If present, the next page token can be provided to a subsequent ListUnits + * call to list the next page. If empty, there are no more pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The resulting units. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *units; + +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * Location information that the service is available in. + */ +@interface GTLRSaaSServiceManagement_Location : GTLRObject + +/** Optional. Name of location. */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + +/** + * Captures requested directives for performing future maintenance on the unit. + * This includes a request for the unit to skip maintenance for a period of + * time and remain pinned to its current release as well as controls for + * postponing maintenance scheduled in future. + */ +@interface GTLRSaaSServiceManagement_MaintenanceSettings : GTLRObject + +/** + * Optional. If present, it fixes the release on the unit until the given time; + * i.e. changes to the release field will be rejected. Rollouts should and will + * also respect this by not requesting an upgrade in the first place. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *pinnedUntilTime; + +@end + + +/** + * Provision is the unit operation that provision the underlying resources + * represented by a Unit. Can only execute if the Unit is not currently + * provisioned. + */ +@interface GTLRSaaSServiceManagement_Provision : GTLRObject + +/** Optional. Set of input variables. Maximum 100. (optional) */ +@property(nonatomic, strong, nullable) NSArray *inputVariables; + +/** + * Optional. Reference to the Release object to use for the Unit. (optional). + * + * Remapped to 'releaseProperty' to avoid NSObject's 'release'. + */ +@property(nonatomic, copy, nullable) NSString *releaseProperty; + +@end + + +/** + * A new version to be propagated and deployed to units. This includes pointers + * to packaged blueprints for actuation (e.g Helm or Terraform configuration + * packages) via artifact registry. + */ +@interface GTLRSaaSServiceManagement_Release : GTLRObject + +/** + * Optional. Annotations is an unstructured key-value map stored with a + * resource that may be set by external tools to store and retrieve arbitrary + * metadata. They are not queryable and should be preserved when modifying + * objects. More info: https://kubernetes.io/docs/user-guide/annotations + */ +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_Release_Annotations *annotations; + +/** + * Optional. Blueprints are OCI Images that contain all of the artifacts needed + * to provision a unit. + */ +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_Blueprint *blueprint; + +/** Output only. The timestamp when the resource was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Output only. An opaque value that uniquely identifies a version or + * generation of a resource. It can be used to confirm that the client and + * server agree on the ordering of a resource being written. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** Optional. Mapping of input variables to default values. Maximum 100 */ +@property(nonatomic, strong, nullable) NSArray *inputVariableDefaults; + +/** + * Optional. Output only. List of input variables declared on the blueprint and + * can be present with their values on the unit spec + */ +@property(nonatomic, strong, nullable) NSArray *inputVariables; + +/** + * Optional. The labels on the resource, which can be used for categorization. + * similar to Kubernetes resource labels. + */ +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_Release_Labels *labels; + +/** + * Identifier. The resource name (full URI of the resource) following the + * standard naming scheme: + * "projects/{project}/locations/{location}/releases/{release}" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Output only. List of output variables declared on the blueprint + * and can be present with their values on the unit status + */ +@property(nonatomic, strong, nullable) NSArray *outputVariables; + +/** + * Optional. Set of requirements to be fulfilled on the Unit when using this + * Release. + */ +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_ReleaseRequirements *releaseRequirements; + +/** + * Output only. The unique identifier of the resource. UID is unique in the + * time and space for this resource within the scope of the service. It is + * typically generated by the server on successful creation of a resource and + * must not be changed. UID is used to uniquely identify resources with + * resource name reuses. This should be a UUID4. + */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** + * Required. Immutable. Reference to the UnitKind this Release corresponds to + * (required and immutable once created). + */ +@property(nonatomic, copy, nullable) NSString *unitKind; + +/** + * Output only. The timestamp when the resource was last updated. Any change to + * the resource made by users must refresh this value. Changes to a resource + * made by the service should refresh this value. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. Annotations is an unstructured key-value map stored with a + * resource that may be set by external tools to store and retrieve arbitrary + * metadata. They are not queryable and should be preserved when modifying + * objects. More info: https://kubernetes.io/docs/user-guide/annotations + * + * @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 GTLRSaaSServiceManagement_Release_Annotations : GTLRObject +@end + + +/** + * Optional. The labels on the resource, which can be used for categorization. + * similar to Kubernetes resource labels. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRSaaSServiceManagement_Release_Labels : GTLRObject +@end + + +/** + * Set of requirements to be fulfilled on the Unit when using this Release. + */ +@interface GTLRSaaSServiceManagement_ReleaseRequirements : GTLRObject + +/** + * Optional. A list of releases from which a unit can be upgraded to this one + * (optional). If left empty no constraints will be applied. When provided, + * unit upgrade requests to this release will check and enforce this + * constraint. + */ +@property(nonatomic, strong, nullable) NSArray *upgradeableFromReleases; + +@end + + +/** + * Represents a single rollout execution and its results + */ +@interface GTLRSaaSServiceManagement_Rollout : GTLRObject + +/** + * Optional. Annotations is an unstructured key-value map stored with a + * resource that may be set by external tools to store and retrieve arbitrary + * metadata. They are not queryable and should be preserved when modifying + * objects. More info: https://kubernetes.io/docs/user-guide/annotations + */ +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_Rollout_Annotations *annotations; + +/** + * Optional. Requested change to the execution of this rollout. Default + * RolloutControl.action is ROLLOUT_ACTION_RUN meaning the rollout will be + * executed to completion while progressing through all natural Rollout States + * (such as RUNNING -> SUCCEEDED or RUNNING -> FAILED). Requests can only be + * made when the Rollout is in a non-terminal state. + */ +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_RolloutControl *control; + +/** Output only. The timestamp when the resource was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. Output only. The time when the rollout finished execution + * (regardless of success, failure, or cancellation). Will be empty if the + * rollout hasn't finished yet. Once set, the rollout is in terminal state and + * all the results are final. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** + * Output only. An opaque value that uniquely identifies a version or + * generation of a resource. It can be used to confirm that the client and + * server agree on the ordering of a resource being written. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Optional. The labels on the resource, which can be used for categorization. + * similar to Kubernetes resource labels. + */ +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_Rollout_Labels *labels; + +/** + * Identifier. The resource name (full URI of the resource) following the + * standard naming scheme: + * "projects/{project}/locations/{location}/rollout/{rollout_id}" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Output only. The direct parent rollout that this rollout is + * stemming from. The resource name (full URI of the resource) following the + * standard naming scheme: + * "projects/{project}/locations/{location}/rollouts/{rollout_id}" + */ +@property(nonatomic, copy, nullable) NSString *parentRollout; + +/** + * Optional. Immutable. Name of the Release that gets rolled out to target + * Units. Required if no other type of release is specified. + * + * Remapped to 'releaseProperty' to avoid NSObject's 'release'. + */ +@property(nonatomic, copy, nullable) NSString *releaseProperty; + +/** + * Optional. Immutable. Name of the RolloutKind this rollout is stemming from + * and adhering to. + */ +@property(nonatomic, copy, nullable) NSString *rolloutKind; + +/** + * Optional. The strategy used for executing this Rollout. This strategy will + * override whatever strategy is specified in the RolloutType. If not specified + * on creation, the strategy from RolloutType will be used. There are two + * supported values strategies which are used to control - + * "Google.Cloud.Simple.AllAtOnce" - "Google.Cloud.Simple.OneLocationAtATime" A + * rollout with one of these simple strategies will rollout across all + * locations defined in the targeted UnitKind's Saas Locations. + */ +@property(nonatomic, copy, nullable) NSString *rolloutOrchestrationStrategy; + +/** + * Optional. Output only. The root rollout that this rollout is stemming from. + * The resource name (full URI of the resource) following the standard naming + * scheme: "projects/{project}/locations/{location}/rollouts/{rollout_id}" + */ +@property(nonatomic, copy, nullable) NSString *rootRollout; + +/** + * Optional. Output only. The time when the rollout started executing. Will be + * empty if the rollout hasn't started yet. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; + +/** + * Output only. Current state of the rollout. + * + * Likely values: + * @arg @c kGTLRSaaSServiceManagement_Rollout_State_RolloutStateCancelled + * Rollout has been canceled. (Value: "ROLLOUT_STATE_CANCELLED") + * @arg @c kGTLRSaaSServiceManagement_Rollout_State_RolloutStateCancelling + * Rollout is being canceled. (Value: "ROLLOUT_STATE_CANCELLING") + * @arg @c kGTLRSaaSServiceManagement_Rollout_State_RolloutStateFailed + * Rollout has failed. (Value: "ROLLOUT_STATE_FAILED") + * @arg @c kGTLRSaaSServiceManagement_Rollout_State_RolloutStatePaused + * Rollout has been paused. (Value: "ROLLOUT_STATE_PAUSED") + * @arg @c kGTLRSaaSServiceManagement_Rollout_State_RolloutStatePausing + * Rollout is being paused. (Value: "ROLLOUT_STATE_PAUSING") + * @arg @c kGTLRSaaSServiceManagement_Rollout_State_RolloutStateResuming + * Rollout is being resumed. (Value: "ROLLOUT_STATE_RESUMING") + * @arg @c kGTLRSaaSServiceManagement_Rollout_State_RolloutStateRunning + * Rollout is in progress. (Value: "ROLLOUT_STATE_RUNNING") + * @arg @c kGTLRSaaSServiceManagement_Rollout_State_RolloutStateSucceeded + * Rollout completed successfully. (Value: "ROLLOUT_STATE_SUCCEEDED") + * @arg @c kGTLRSaaSServiceManagement_Rollout_State_RolloutStateUnspecified + * Unspecified state. (Value: "ROLLOUT_STATE_UNSPECIFIED") + * @arg @c kGTLRSaaSServiceManagement_Rollout_State_RolloutStateWaiting + * Rollout is waiting for some condition to be met before starting. + * (Value: "ROLLOUT_STATE_WAITING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Output only. Human readable message indicating details about the last state + * transition. + */ +@property(nonatomic, copy, nullable) NSString *stateMessage; + +/** + * Optional. Output only. The time when the rollout transitioned into its + * current state. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *stateTransitionTime; + +/** Optional. Output only. Details about the progress of the rollout. */ +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_RolloutStats *stats; + +/** + * Output only. The unique identifier of the resource. UID is unique in the + * time and space for this resource within the scope of the service. It is + * typically generated by the server on successful creation of a resource and + * must not be changed. UID is used to uniquely identify resources with + * resource name reuses. This should be a UUID4. + */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** + * Optional. CEL(https://github.com/google/cel-spec) formatted filter string + * against Unit. The filter will be applied to determine the eligible unit + * population. This filter can only reduce, but not expand the scope of the + * rollout. If not provided, the unit_filter from the RolloutType will be used. + */ +@property(nonatomic, copy, nullable) NSString *unitFilter; + +/** + * Output only. The timestamp when the resource was last updated. Any change to + * the resource made by users must refresh this value. Changes to a resource + * made by the service should refresh this value. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. Annotations is an unstructured key-value map stored with a + * resource that may be set by external tools to store and retrieve arbitrary + * metadata. They are not queryable and should be preserved when modifying + * objects. More info: https://kubernetes.io/docs/user-guide/annotations + * + * @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 GTLRSaaSServiceManagement_Rollout_Annotations : GTLRObject +@end + + +/** + * Optional. The labels on the resource, which can be used for categorization. + * similar to Kubernetes resource labels. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRSaaSServiceManagement_Rollout_Labels : GTLRObject +@end + + +/** + * RolloutControl provides a way to request a change to the execution of a + * Rollout by pausing or canceling it. + */ +@interface GTLRSaaSServiceManagement_RolloutControl : GTLRObject + +/** + * Required. Action to be performed on the Rollout. The default behavior is to + * run the rollout until it naturally reaches a terminal state. + * + * Likely values: + * @arg @c kGTLRSaaSServiceManagement_RolloutControl_Action_RolloutActionCancel + * Cancel the Rollout permanently. (Value: "ROLLOUT_ACTION_CANCEL") + * @arg @c kGTLRSaaSServiceManagement_RolloutControl_Action_RolloutActionPause + * Pause the Rollout until it is resumed (i.e. RUN is requested). (Value: + * "ROLLOUT_ACTION_PAUSE") + * @arg @c kGTLRSaaSServiceManagement_RolloutControl_Action_RolloutActionRun + * Run the Rollout until it naturally reaches a terminal state. A rollout + * requested to run will progress through all natural Rollout States + * (such as RUNNING -> SUCCEEDED or RUNNING -> FAILED). If retriable + * errors are encountered during the rollout, the rollout will paused by + * default and can be resumed by re-requesting this RUN action. (Value: + * "ROLLOUT_ACTION_RUN") + * @arg @c kGTLRSaaSServiceManagement_RolloutControl_Action_RolloutActionUnspecified + * Unspecified action, will be treated as RUN by default. (Value: + * "ROLLOUT_ACTION_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *action; + +/** + * Optional. Parameters for the RUN action. It is an error to specify this if + * the RolloutAction is not set to RUN. By default, the rollout will retry + * failed operations when resumed. + */ +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_RunRolloutActionParams *runParams; + +@end + + +/** + * An object that describes various settings of Rollout execution. Includes + * built-in policies across GCP and GDC, and customizable policies. + */ +@interface GTLRSaaSServiceManagement_RolloutKind : GTLRObject + +/** + * Optional. Annotations is an unstructured key-value map stored with a + * resource that may be set by external tools to store and retrieve arbitrary + * metadata. They are not queryable and should be preserved when modifying + * objects. More info: https://kubernetes.io/docs/user-guide/annotations + */ +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_RolloutKind_Annotations *annotations; + +/** Output only. The timestamp when the resource was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. The configuration for error budget. If the number of failed units + * exceeds max(allowed_count, allowed_ratio * total_units), the rollout will be + * paused. If not set, all units will be attempted to be updated regardless of + * the number of failures encountered. + */ +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_ErrorBudget *errorBudget; + +/** + * Output only. An opaque value that uniquely identifies a version or + * generation of a resource. It can be used to confirm that the client and + * server agree on the ordering of a resource being written. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Optional. The labels on the resource, which can be used for categorization. + * similar to Kubernetes resource labels. + */ +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_RolloutKind_Labels *labels; + +/** + * Identifier. The resource name (full URI of the resource) following the + * standard naming scheme: + * "projects/{project}/locations/{location}/rolloutKinds/{rollout_kind_id}" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The strategy used for executing a Rollout. This is a required + * field. There are two supported values strategies which are used to control - + * "Google.Cloud.Simple.AllAtOnce" - "Google.Cloud.Simple.OneLocationAtATime" A + * rollout with one of these simple strategies will rollout across all + * locations defined in the associated UnitKind's Saas Locations. + */ +@property(nonatomic, copy, nullable) NSString *rolloutOrchestrationStrategy; + +/** + * Output only. The unique identifier of the resource. UID is unique in the + * time and space for this resource within the scope of the service. It is + * typically generated by the server on successful creation of a resource and + * must not be changed. UID is used to uniquely identify resources with + * resource name reuses. This should be a UUID4. + */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** + * Optional. CEL(https://github.com/google/cel-spec) formatted filter string + * against Unit. The filter will be applied to determine the eligible unit + * population. This filter can only reduce, but not expand the scope of the + * rollout. + */ +@property(nonatomic, copy, nullable) NSString *unitFilter; + +/** + * Required. Immutable. UnitKind that this rollout kind corresponds to. + * Rollouts stemming from this rollout kind will target the units of this unit + * kind. In other words, this defines the population of target units to be + * upgraded by rollouts. + */ +@property(nonatomic, copy, nullable) NSString *unitKind; + +/** + * Output only. The timestamp when the resource was last updated. Any change to + * the resource made by users must refresh this value. Changes to a resource + * made by the service should refresh this value. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +/** + * Optional. The config for updating the unit kind. By default, the unit kind + * will be updated on the rollout start. + * + * Likely values: + * @arg @c kGTLRSaaSServiceManagement_RolloutKind_UpdateUnitKindStrategy_UpdateUnitKindStrategyNever + * Never update the unit kind. (Value: "UPDATE_UNIT_KIND_STRATEGY_NEVER") + * @arg @c kGTLRSaaSServiceManagement_RolloutKind_UpdateUnitKindStrategy_UpdateUnitKindStrategyOnStart + * Update the unit kind strategy on the rollout start. (Value: + * "UPDATE_UNIT_KIND_STRATEGY_ON_START") + * @arg @c kGTLRSaaSServiceManagement_RolloutKind_UpdateUnitKindStrategy_UpdateUnitKindStrategyUnspecified + * Strategy unspecified. (Value: "UPDATE_UNIT_KIND_STRATEGY_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *updateUnitKindStrategy; + +@end + + +/** + * Optional. Annotations is an unstructured key-value map stored with a + * resource that may be set by external tools to store and retrieve arbitrary + * metadata. They are not queryable and should be preserved when modifying + * objects. More info: https://kubernetes.io/docs/user-guide/annotations + * + * @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 GTLRSaaSServiceManagement_RolloutKind_Annotations : GTLRObject +@end + + +/** + * Optional. The labels on the resource, which can be used for categorization. + * similar to Kubernetes resource labels. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRSaaSServiceManagement_RolloutKind_Labels : GTLRObject +@end + + +/** + * RolloutStats contains information about the progress of a rollout. + */ +@interface GTLRSaaSServiceManagement_RolloutStats : GTLRObject + +/** + * Output only. A breakdown of the progress of operations triggered by the + * rollout. Provides a count of Operations by their state. This can be used to + * determine the number of units which have been updated, or are scheduled to + * be updated. There will be at most one entry per group. Possible values for + * operation groups are: - "SCHEDULED" - "PENDING" - "RUNNING" - "SUCCEEDED" - + * "FAILED" - "CANCELLED" + */ +@property(nonatomic, strong, nullable) NSArray *operationsByState; + +@end + + +/** + * Parameters for the RUN action controlling the behavior of the rollout when + * it is resumed from a PAUSED state. + */ +@interface GTLRSaaSServiceManagement_RunRolloutActionParams : GTLRObject + +/** + * Required. If true, the rollout will retry failed operations when resumed. + * This is applicable only the current state of the Rollout is PAUSED and the + * requested action is RUN. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *retryFailedOperations; + +@end + + +/** + * Saas is a representation of a SaaS service managed by the Producer. + */ +@interface GTLRSaaSServiceManagement_Saas : GTLRObject + +/** + * Optional. Annotations is an unstructured key-value map stored with a + * resource that may be set by external tools to store and retrieve arbitrary + * metadata. They are not queryable and should be preserved when modifying + * objects. More info: https://kubernetes.io/docs/user-guide/annotations + */ +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_Saas_Annotations *annotations; + +/** Output only. The timestamp when the resource was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Output only. An opaque value that uniquely identifies a version or + * generation of a resource. It can be used to confirm that the client and + * server agree on the ordering of a resource being written. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Optional. The labels on the resource, which can be used for categorization. + * similar to Kubernetes resource labels. + */ +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_Saas_Labels *labels; + +/** + * Optional. Immutable. List of locations that the service is available in. + * Rollout refers to the list to generate a rollout plan. + */ +@property(nonatomic, strong, nullable) NSArray *locations; + +/** + * Identifier. The resource name (full URI of the resource) following the + * standard naming scheme: + * "projects/{project}/locations/{location}/saas/{saas}" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The unique identifier of the resource. UID is unique in the + * time and space for this resource within the scope of the service. It is + * typically generated by the server on successful creation of a resource and + * must not be changed. UID is used to uniquely identify resources with + * resource name reuses. This should be a UUID4. + */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** + * Output only. The timestamp when the resource was last updated. Any change to + * the resource made by users must refresh this value. Changes to a resource + * made by the service should refresh this value. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. Annotations is an unstructured key-value map stored with a + * resource that may be set by external tools to store and retrieve arbitrary + * metadata. They are not queryable and should be preserved when modifying + * objects. More info: https://kubernetes.io/docs/user-guide/annotations + * + * @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 GTLRSaaSServiceManagement_Saas_Annotations : GTLRObject +@end + + +/** + * Optional. The labels on the resource, which can be used for categorization. + * similar to Kubernetes resource labels. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRSaaSServiceManagement_Saas_Labels : GTLRObject +@end + + +/** + * A time specification to schedule the maintenance. + */ +@interface GTLRSaaSServiceManagement_Schedule : GTLRObject + +/** + * Optional. Start of operation. If not set, will be set to the start of the + * next window. (optional) + */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; + +@end + + +/** + * Tenant represents the service producer side of an instance of the service + * created based on a request from a consumer. In a typical scenario a Tenant + * has a one-to-one mapping with a resource given out to a service consumer. + * Example: tenant: name: "projects/svc1/locations/loc/tenants/inst-068afff8" + * consumer_resource: "projects/gshoe/locations/loc/shoes/black-shoe" + */ +@interface GTLRSaaSServiceManagement_Tenant : GTLRObject + +/** + * Optional. Annotations is an unstructured key-value map stored with a + * resource that may be set by external tools to store and retrieve arbitrary + * metadata. They are not queryable and should be preserved when modifying + * objects. More info: https://kubernetes.io/docs/user-guide/annotations + */ +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_Tenant_Annotations *annotations; + +/** + * Optional. Immutable. A reference to the consumer resource this SaaS Tenant + * is representing. The relationship with a consumer resource can be used by + * EasySaaS for retrieving consumer-defined settings and policies such as + * maintenance policies (using Unified Maintenance Policy API). + */ +@property(nonatomic, copy, nullable) NSString *consumerResource; + +/** Output only. The timestamp when the resource was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Output only. An opaque value that uniquely identifies a version or + * generation of a resource. It can be used to confirm that the client and + * server agree on the ordering of a resource being written. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Optional. The labels on the resource, which can be used for categorization. + * similar to Kubernetes resource labels. + */ +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_Tenant_Labels *labels; + +/** + * Identifier. The resource name (full URI of the resource) following the + * standard naming scheme: + * "projects/{project}/locations/{location}/tenants/{tenant}" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. Immutable. A reference to the Saas that defines the product + * (managed service) that the producer wants to manage with EasySaaS. Part of + * the EasySaaS common data model. + */ +@property(nonatomic, copy, nullable) NSString *saas; + +/** + * Output only. The unique identifier of the resource. UID is unique in the + * time and space for this resource within the scope of the service. It is + * typically generated by the server on successful creation of a resource and + * must not be changed. UID is used to uniquely identify resources with + * resource name reuses. This should be a UUID4. + */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** + * Output only. The timestamp when the resource was last updated. Any change to + * the resource made by users must refresh this value. Changes to a resource + * made by the service should refresh this value. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. Annotations is an unstructured key-value map stored with a + * resource that may be set by external tools to store and retrieve arbitrary + * metadata. They are not queryable and should be preserved when modifying + * objects. More info: https://kubernetes.io/docs/user-guide/annotations + * + * @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 GTLRSaaSServiceManagement_Tenant_Annotations : GTLRObject +@end + + +/** + * Optional. The labels on the resource, which can be used for categorization. + * similar to Kubernetes resource labels. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRSaaSServiceManagement_Tenant_Labels : GTLRObject +@end + + +/** + * Input variables whose values will be passed on to dependencies + */ +@interface GTLRSaaSServiceManagement_ToMapping : GTLRObject + +/** + * Required. Alias of the dependency that the inputVariable will pass its value + * to + */ +@property(nonatomic, copy, nullable) NSString *dependency; + +/** + * Optional. Tells EasySaaS if this mapping should be used during lookup or not + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *ignoreForLookup; + +/** Required. Name of the inputVariable on the dependency */ +@property(nonatomic, copy, nullable) NSString *inputVariable; + +@end + + +/** + * A unit of deployment that has its lifecycle via a CRUD API using an + * actuation engine under the hood (e.g. based on Terraform, Helm or a custom + * implementation provided by a service producer). A building block of a SaaS + * Tenant. + */ +@interface GTLRSaaSServiceManagement_Unit : GTLRObject + +/** + * Optional. Annotations is an unstructured key-value map stored with a + * resource that may be set by external tools to store and retrieve arbitrary + * metadata. They are not queryable and should be preserved when modifying + * objects. More info: https://kubernetes.io/docs/user-guide/annotations + */ +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_Unit_Annotations *annotations; + +/** + * Optional. Output only. A set of conditions which indicate the various + * conditions this resource can have. + */ +@property(nonatomic, strong, nullable) NSArray *conditions; + +/** Output only. The timestamp when the resource was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Optional. Output only. Set of dependencies for this unit. Maximum 10. */ +@property(nonatomic, strong, nullable) NSArray *dependencies; + +/** + * Optional. Output only. List of Units that depend on this unit. Unit can only + * be deprovisioned if this list is empty. Maximum 1000. + */ +@property(nonatomic, strong, nullable) NSArray *dependents; + +/** + * Output only. An opaque value that uniquely identifies a version or + * generation of a resource. It can be used to confirm that the client and + * server agree on the ordering of a resource being written. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Optional. Output only. Indicates the current input variables deployed by the + * unit + */ +@property(nonatomic, strong, nullable) NSArray *inputVariables; + +/** + * Optional. The labels on the resource, which can be used for categorization. + * similar to Kubernetes resource labels. + */ +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_Unit_Labels *labels; + +/** + * Optional. Captures requested directives for performing future maintenance on + * the unit. This includes a request for the unit to skip maintenance for a + * period of time and remain pinned to its current release as well as controls + * for postponing maintenance scheduled in future. + */ +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_MaintenanceSettings *maintenance; + +/** + * Optional. Immutable. Indicates whether the Unit life cycle is controlled by + * the user or by the system. Immutable once created. + * + * Likely values: + * @arg @c kGTLRSaaSServiceManagement_Unit_ManagementMode_ManagementModeSystem + * The system will decide when to deprovision and delete the unit. User + * still can deprovision or delete the unit manually. (Value: + * "MANAGEMENT_MODE_SYSTEM") + * @arg @c kGTLRSaaSServiceManagement_Unit_ManagementMode_ManagementModeUnspecified + * Value "MANAGEMENT_MODE_UNSPECIFIED" + * @arg @c kGTLRSaaSServiceManagement_Unit_ManagementMode_ManagementModeUser + * Unit's lifecycle is managed by the user. (Value: + * "MANAGEMENT_MODE_USER") + */ +@property(nonatomic, copy, nullable) NSString *managementMode; + +/** + * Identifier. The resource name (full URI of the resource) following the + * standard naming scheme: + * "projects/{project}/locations/{location}/units/{unit}" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Output only. List of concurrent UnitOperations that are operating + * on this Unit. + */ +@property(nonatomic, strong, nullable) NSArray *ongoingOperations; + +/** + * Optional. Output only. Set of key/value pairs corresponding to output + * variables from execution of actuation templates. The variables are declared + * in actuation configs (e.g in helm chart or terraform) and the values are + * fetched and returned by the actuation engine upon completion of execution. + */ +@property(nonatomic, strong, nullable) NSArray *outputVariables; + +/** + * Optional. Output only. List of pending (wait to be executed) UnitOperations + * for this unit. + */ +@property(nonatomic, strong, nullable) NSArray *pendingOperations; + +/** + * Optional. Output only. The current Release object for this Unit. + * + * Remapped to 'releaseProperty' to avoid NSObject's 'release'. + */ +@property(nonatomic, copy, nullable) NSString *releaseProperty; + +/** Optional. Output only. List of scheduled UnitOperations for this unit. */ +@property(nonatomic, strong, nullable) NSArray *scheduledOperations; + +/** + * Optional. Output only. Current lifecycle state of the resource (e.g. if it's + * being created or ready to use). + * + * Likely values: + * @arg @c kGTLRSaaSServiceManagement_Unit_State_UnitStateDeprovisioning Unit + * is being deleted. (Value: "UNIT_STATE_DEPROVISIONING") + * @arg @c kGTLRSaaSServiceManagement_Unit_State_UnitStateError Unit has + * error, when it is not ready and some error operation (Value: + * "UNIT_STATE_ERROR") + * @arg @c kGTLRSaaSServiceManagement_Unit_State_UnitStateNotProvisioned Unit + * is not provisioned. (Value: "UNIT_STATE_NOT_PROVISIONED") + * @arg @c kGTLRSaaSServiceManagement_Unit_State_UnitStateProvisioning Unit + * is being provisioned. (Value: "UNIT_STATE_PROVISIONING") + * @arg @c kGTLRSaaSServiceManagement_Unit_State_UnitStateReady Unit has been + * provisioned and is ready for use (Value: "UNIT_STATE_READY") + * @arg @c kGTLRSaaSServiceManagement_Unit_State_UnitStateUnspecified + * Unspecified state. (Value: "UNIT_STATE_UNSPECIFIED") + * @arg @c kGTLRSaaSServiceManagement_Unit_State_UnitStateUpdating Unit is + * being updated. This is typically when a unit is being upgraded to a + * new release or some of the input variables on the Unit is being + * changed. Certain kinds of updates may cause the Unit to become + * unusable while the update is in progress. (Value: + * "UNIT_STATE_UPDATING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Optional. Output only. If set, indicates the time when the system will start + * removing the unit. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *systemCleanupAt; + +/** + * Optional. Output only. Indicates the system managed state of the unit. + * + * Likely values: + * @arg @c kGTLRSaaSServiceManagement_Unit_SystemManagedState_SystemManagedStateActive + * Unit has dependents attached. (Value: "SYSTEM_MANAGED_STATE_ACTIVE") + * @arg @c kGTLRSaaSServiceManagement_Unit_SystemManagedState_SystemManagedStateDecommissioned + * Unit has no dependencies attached, and attachment is not allowed. + * (Value: "SYSTEM_MANAGED_STATE_DECOMMISSIONED") + * @arg @c kGTLRSaaSServiceManagement_Unit_SystemManagedState_SystemManagedStateInactive + * Unit has no dependencies attached, but attachment is allowed. (Value: + * "SYSTEM_MANAGED_STATE_INACTIVE") + * @arg @c kGTLRSaaSServiceManagement_Unit_SystemManagedState_SystemManagedStateUnspecified + * Value "SYSTEM_MANAGED_STATE_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *systemManagedState; + +/** + * Optional. Reference to the Saas Tenant resource this unit belongs to. This + * for example informs the maintenance policies to use for scheduling future + * updates on a unit. (optional and immutable once created) + */ +@property(nonatomic, copy, nullable) NSString *tenant; + +/** + * Output only. The unique identifier of the resource. UID is unique in the + * time and space for this resource within the scope of the service. It is + * typically generated by the server on successful creation of a resource and + * must not be changed. UID is used to uniquely identify resources with + * resource name reuses. This should be a UUID4. + */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** + * Optional. Reference to the UnitKind this Unit belongs to. Immutable once + * set. + */ +@property(nonatomic, copy, nullable) NSString *unitKind; + +/** + * Output only. The timestamp when the resource was last updated. Any change to + * the resource made by users must refresh this value. Changes to a resource + * made by the service should refresh this value. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. Annotations is an unstructured key-value map stored with a + * resource that may be set by external tools to store and retrieve arbitrary + * metadata. They are not queryable and should be preserved when modifying + * objects. More info: https://kubernetes.io/docs/user-guide/annotations + * + * @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 GTLRSaaSServiceManagement_Unit_Annotations : GTLRObject +@end + + +/** + * Optional. The labels on the resource, which can be used for categorization. + * similar to Kubernetes resource labels. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRSaaSServiceManagement_Unit_Labels : GTLRObject +@end + + +/** + * UnitCondition describes the status of an Unit. UnitCondition is individual + * components that contribute to an overall state. + */ +@interface GTLRSaaSServiceManagement_UnitCondition : GTLRObject + +/** Required. Last time the condition transited from one status to another. */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastTransitionTime; + +/** + * Required. Human readable message indicating details about the last + * transition. + */ +@property(nonatomic, copy, nullable) NSString *message; + +/** Required. Brief reason for the condition's last transition. */ +@property(nonatomic, copy, nullable) NSString *reason; + +/** + * Required. Status of the condition. + * + * Likely values: + * @arg @c kGTLRSaaSServiceManagement_UnitCondition_Status_StatusFalse + * Condition is false. (Value: "STATUS_FALSE") + * @arg @c kGTLRSaaSServiceManagement_UnitCondition_Status_StatusTrue + * Condition is true. (Value: "STATUS_TRUE") + * @arg @c kGTLRSaaSServiceManagement_UnitCondition_Status_StatusUnknown + * Condition is unknown. (Value: "STATUS_UNKNOWN") + * @arg @c kGTLRSaaSServiceManagement_UnitCondition_Status_StatusUnspecified + * Condition status is unspecified. (Value: "STATUS_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *status; + +/** + * Required. Type of the condition. + * + * Likely values: + * @arg @c kGTLRSaaSServiceManagement_UnitCondition_Type_TypeOperationError + * Condition type is operationError. True when the last unit operation + * fails with a non-ignorable error. (Value: "TYPE_OPERATION_ERROR") + * @arg @c kGTLRSaaSServiceManagement_UnitCondition_Type_TypeProvisioned + * Condition type is provisioned. (Value: "TYPE_PROVISIONED") + * @arg @c kGTLRSaaSServiceManagement_UnitCondition_Type_TypeReady Condition + * type is ready. (Value: "TYPE_READY") + * @arg @c kGTLRSaaSServiceManagement_UnitCondition_Type_TypeUnspecified + * Condition type is unspecified. (Value: "TYPE_UNSPECIFIED") + * @arg @c kGTLRSaaSServiceManagement_UnitCondition_Type_TypeUpdating + * Condition type is updating. (Value: "TYPE_UPDATING") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * Set of dependencies for this unit. Maximum 10. + */ +@interface GTLRSaaSServiceManagement_UnitDependency : GTLRObject + +/** Output only. Alias for the name of the dependency. */ +@property(nonatomic, copy, nullable) NSString *alias; + +/** Output only. A reference to the Unit object. */ +@property(nonatomic, copy, nullable) NSString *unit; + +@end + + +/** + * Definition of a Unit. Units belonging to the same UnitKind are managed + * together; for example they follow the same release model (blueprints, + * versions etc.) and are typically rolled out together. + */ +@interface GTLRSaaSServiceManagement_UnitKind : GTLRObject + +/** + * Optional. Annotations is an unstructured key-value map stored with a + * resource that may be set by external tools to store and retrieve arbitrary + * metadata. They are not queryable and should be preserved when modifying + * objects. More info: https://kubernetes.io/docs/user-guide/annotations + */ +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_UnitKind_Annotations *annotations; + +/** Output only. The timestamp when the resource was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. A reference to the Release object to use as default for creating + * new units of this UnitKind (optional). If not specified, a new unit must + * explicitly reference which release to use for its creation. + */ +@property(nonatomic, copy, nullable) NSString *defaultRelease; + +/** + * Optional. Immutable. List of other unit kinds that this release will depend + * on. Dependencies will be automatically provisioned if not found. Maximum 10. + */ +@property(nonatomic, strong, nullable) NSArray *dependencies; + +/** + * Output only. An opaque value that uniquely identifies a version or + * generation of a resource. It can be used to confirm that the client and + * server agree on the ordering of a resource being written. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Optional. List of inputVariables for this release that will either be + * retrieved from a dependency’s outputVariables, or will be passed on to a + * dependency’s inputVariables. Maximum 100. + */ +@property(nonatomic, strong, nullable) NSArray *inputVariableMappings; + +/** + * Optional. The labels on the resource, which can be used for categorization. + * similar to Kubernetes resource labels. + */ +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_UnitKind_Labels *labels; + +/** + * Identifier. The resource name (full URI of the resource) following the + * standard naming scheme: + * "projects/{project}/locations/{location}/unitKinds/{unitKind}" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. List of outputVariables for this unit kind will be passed to this + * unit's outputVariables. Maximum 100. + */ +@property(nonatomic, strong, nullable) NSArray *outputVariableMappings; + +/** + * Required. Immutable. A reference to the Saas that defines the product + * (managed service) that the producer wants to manage with EasySaaS. Part of + * the EasySaaS common data model. Immutable once set. + */ +@property(nonatomic, copy, nullable) NSString *saas; + +/** + * Output only. The unique identifier of the resource. UID is unique in the + * time and space for this resource within the scope of the service. It is + * typically generated by the server on successful creation of a resource and + * must not be changed. UID is used to uniquely identify resources with + * resource name reuses. This should be a UUID4. + */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** + * Output only. The timestamp when the resource was last updated. Any change to + * the resource made by users must refresh this value. Changes to a resource + * made by the service should refresh this value. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. Annotations is an unstructured key-value map stored with a + * resource that may be set by external tools to store and retrieve arbitrary + * metadata. They are not queryable and should be preserved when modifying + * objects. More info: https://kubernetes.io/docs/user-guide/annotations + * + * @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 GTLRSaaSServiceManagement_UnitKind_Annotations : GTLRObject +@end + + +/** + * Optional. The labels on the resource, which can be used for categorization. + * similar to Kubernetes resource labels. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRSaaSServiceManagement_UnitKind_Labels : GTLRObject +@end + + +/** + * UnitOperation encapsulates the intent of changing/interacting with the + * service component represented by the specific Unit. Multiple UnitOperations + * can be created (requested) and scheduled in the future, however only one + * will be allowed to execute at a time (that can change in the future for + * non-mutating operations). UnitOperations allow different actors interacting + * with the same unit to focus only on the change they have requested. This is + * a base object that contains the common fields in all unit operations. + */ +@interface GTLRSaaSServiceManagement_UnitOperation : GTLRObject + +/** + * Optional. Annotations is an unstructured key-value map stored with a + * resource that may be set by external tools to store and retrieve arbitrary + * metadata. They are not queryable and should be preserved when modifying + * objects. More info: https://kubernetes.io/docs/user-guide/annotations + */ +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_UnitOperation_Annotations *annotations; + +/** + * Optional. When true, attempt to cancel the operation. Cancellation may fail + * if the operation is already executing. (Optional) + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *cancel; + +/** + * Optional. Output only. A set of conditions which indicate the various + * conditions this resource can have. + */ +@property(nonatomic, strong, nullable) NSArray *conditions; + +/** Output only. The timestamp when the resource was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_Deprovision *deprovision; + +/** + * Optional. Output only. The engine state for on-going deployment engine + * operation(s). This field is opaque for external usage. + */ +@property(nonatomic, copy, nullable) NSString *engineState; + +/** + * Optional. Output only. UnitOperationErrorCategory describe the error + * category. + * + * Likely values: + * @arg @c kGTLRSaaSServiceManagement_UnitOperation_ErrorCategory_Fatal Unit + * operation error category is fatal (Value: "FATAL") + * @arg @c kGTLRSaaSServiceManagement_UnitOperation_ErrorCategory_Ignorable + * Unit operation error category is ignorable (Value: "IGNORABLE") + * @arg @c kGTLRSaaSServiceManagement_UnitOperation_ErrorCategory_NotApplicable + * Unit operation error category is not applicable, or it is not an error + * (Value: "NOT_APPLICABLE") + * @arg @c kGTLRSaaSServiceManagement_UnitOperation_ErrorCategory_Retriable + * Unit operation error category is retriable (Value: "RETRIABLE") + * @arg @c kGTLRSaaSServiceManagement_UnitOperation_ErrorCategory_Standard + * Unit operation error category is standard, counts towards Rollout + * error budget (Value: "STANDARD") + * @arg @c kGTLRSaaSServiceManagement_UnitOperation_ErrorCategory_UnitOperationErrorCategoryUnspecified + * Unit operation error category is unspecified (Value: + * "UNIT_OPERATION_ERROR_CATEGORY_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *errorCategory; + +/** + * Output only. An opaque value that uniquely identifies a version or + * generation of a resource. It can be used to confirm that the client and + * server agree on the ordering of a resource being written. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Optional. The labels on the resource, which can be used for categorization. + * similar to Kubernetes resource labels. + */ +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_UnitOperation_Labels *labels; + +/** + * Identifier. The resource name (full URI of the resource) following the + * standard naming scheme: + * "projects/{project}/locations/{location}/unitOperations/{unitOperation}" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Reference to parent resource: UnitOperation. If an operation needs + * to create other operations as part of its workflow, each of the child + * operations should have this field set to the parent. This can be used for + * tracing. (Optional) + */ +@property(nonatomic, copy, nullable) NSString *parentUnitOperation; + +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_Provision *provision; + +/** + * Optional. Specifies which rollout created this Unit Operation. This cannot + * be modified and is used for filtering purposes only. If a dependent unit and + * unit operation are created as part of another unit operation, they will use + * the same rolloutId. + */ +@property(nonatomic, copy, nullable) NSString *rollout; + +/** Optional. When to schedule this operation. */ +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_Schedule *schedule; + +/** + * Optional. Output only. UnitOperationState describes the current state of the + * unit operation. + * + * Likely values: + * @arg @c kGTLRSaaSServiceManagement_UnitOperation_State_UnitOperationStateCancelled + * Unit operation was cancelled. (Value: + * "UNIT_OPERATION_STATE_CANCELLED") + * @arg @c kGTLRSaaSServiceManagement_UnitOperation_State_UnitOperationStateFailed + * Unit operation has failed. (Value: "UNIT_OPERATION_STATE_FAILED") + * @arg @c kGTLRSaaSServiceManagement_UnitOperation_State_UnitOperationStatePending + * Unit operation is accepted but not ready to run. (Value: + * "UNIT_OPERATION_STATE_PENDING") + * @arg @c kGTLRSaaSServiceManagement_UnitOperation_State_UnitOperationStateRunning + * Unit operation is running. (Value: "UNIT_OPERATION_STATE_RUNNING") + * @arg @c kGTLRSaaSServiceManagement_UnitOperation_State_UnitOperationStateScheduled + * Unit operation is accepted and scheduled. (Value: + * "UNIT_OPERATION_STATE_SCHEDULED") + * @arg @c kGTLRSaaSServiceManagement_UnitOperation_State_UnitOperationStateSucceeded + * Unit operation has completed successfully. (Value: + * "UNIT_OPERATION_STATE_SUCCEEDED") + * @arg @c kGTLRSaaSServiceManagement_UnitOperation_State_UnitOperationStateUnknown + * Value "UNIT_OPERATION_STATE_UNKNOWN" + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Output only. The unique identifier of the resource. UID is unique in the + * time and space for this resource within the scope of the service. It is + * typically generated by the server on successful creation of a resource and + * must not be changed. UID is used to uniquely identify resources with + * resource name reuses. This should be a UUID4. + */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** Required. Immutable. The Unit a given UnitOperation will act upon. */ +@property(nonatomic, copy, nullable) NSString *unit; + +/** + * Output only. The timestamp when the resource was last updated. Any change to + * the resource made by users must refresh this value. Changes to a resource + * made by the service should refresh this value. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_Upgrade *upgrade; + +@end + + +/** + * Optional. Annotations is an unstructured key-value map stored with a + * resource that may be set by external tools to store and retrieve arbitrary + * metadata. They are not queryable and should be preserved when modifying + * objects. More info: https://kubernetes.io/docs/user-guide/annotations + * + * @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 GTLRSaaSServiceManagement_UnitOperation_Annotations : GTLRObject +@end + + +/** + * Optional. The labels on the resource, which can be used for categorization. + * similar to Kubernetes resource labels. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRSaaSServiceManagement_UnitOperation_Labels : GTLRObject +@end + + +/** + * UnitOperationCondition describes the status of an Unit Operation. + * UnitOperationCondition is individual components that contribute to an + * overall state. + */ +@interface GTLRSaaSServiceManagement_UnitOperationCondition : GTLRObject + +/** Required. Last time the condition transited from one status to another. */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastTransitionTime; + +/** + * Required. Human readable message indicating details about the last + * transition. + */ +@property(nonatomic, copy, nullable) NSString *message; + +/** Required. Brief reason for the condition's last transition. */ +@property(nonatomic, copy, nullable) NSString *reason; + +/** + * Required. Status of the condition. + * + * Likely values: + * @arg @c kGTLRSaaSServiceManagement_UnitOperationCondition_Status_StatusFalse + * Condition is false. (Value: "STATUS_FALSE") + * @arg @c kGTLRSaaSServiceManagement_UnitOperationCondition_Status_StatusTrue + * Condition is true. (Value: "STATUS_TRUE") + * @arg @c kGTLRSaaSServiceManagement_UnitOperationCondition_Status_StatusUnknown + * Condition is unknown. (Value: "STATUS_UNKNOWN") + * @arg @c kGTLRSaaSServiceManagement_UnitOperationCondition_Status_StatusUnspecified + * Condition status is unspecified. (Value: "STATUS_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *status; + +/** + * Required. Type of the condition. + * + * Likely values: + * @arg @c kGTLRSaaSServiceManagement_UnitOperationCondition_Type_TypeCancelled + * Condition type is cancelled. (Value: "TYPE_CANCELLED") + * @arg @c kGTLRSaaSServiceManagement_UnitOperationCondition_Type_TypeRunning + * Condition type is running. (Value: "TYPE_RUNNING") + * @arg @c kGTLRSaaSServiceManagement_UnitOperationCondition_Type_TypeScheduled + * Condition type is scheduled. (Value: "TYPE_SCHEDULED") + * @arg @c kGTLRSaaSServiceManagement_UnitOperationCondition_Type_TypeSucceeded + * Condition type is succeeded. (Value: "TYPE_SUCCEEDED") + * @arg @c kGTLRSaaSServiceManagement_UnitOperationCondition_Type_TypeUnspecified + * Condition type is unspecified. (Value: "TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * UnitVariable describes a parameter for a Unit. + */ +@interface GTLRSaaSServiceManagement_UnitVariable : GTLRObject + +/** + * Optional. Immutable. Name of a supported variable type. Supported types are + * string, int, bool. + * + * Likely values: + * @arg @c kGTLRSaaSServiceManagement_UnitVariable_Type_Bool Variable type is + * bool. (Value: "BOOL") + * @arg @c kGTLRSaaSServiceManagement_UnitVariable_Type_Int Variable type is + * int. (Value: "INT") + * @arg @c kGTLRSaaSServiceManagement_UnitVariable_Type_String Variable type + * is string. (Value: "STRING") + * @arg @c kGTLRSaaSServiceManagement_UnitVariable_Type_TypeUnspecified + * Variable type is unspecified. (Value: "TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; + +/** Optional. String encoded value for the variable. */ +@property(nonatomic, copy, nullable) NSString *value; + +/** Required. Immutable. Name of the variable from actuation configs. */ +@property(nonatomic, copy, nullable) NSString *variable; + +@end + + +/** + * Upgrade is the unit operation that upgrades a provisioned unit, which may + * also include the underlying resources represented by a Unit. Can only + * execute if the Unit is currently provisioned. + */ +@interface GTLRSaaSServiceManagement_Upgrade : GTLRObject + +/** Optional. Set of input variables. Maximum 100. (optional) */ +@property(nonatomic, strong, nullable) NSArray *inputVariables; + +/** + * Optional. Reference to the Release object to use for the Unit. (optional). + * + * Remapped to 'releaseProperty' to avoid NSObject's 'release'. + */ +@property(nonatomic, copy, nullable) NSString *releaseProperty; + +@end + + +/** + * Mapping of input variables to their respective output variable for + * depedenencies + */ +@interface GTLRSaaSServiceManagement_VariableMapping : GTLRObject + +/** + * Optional. Output variables which will get their values from dependencies + */ +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_FromMapping *from; + +/** + * Optional. Input variables whose values will be passed on to dependencies. + */ +@property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_ToMapping *to; + +/** Required. name of the variable */ +@property(nonatomic, copy, nullable) NSString *variable; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementQuery.h b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementQuery.h new file mode 100644 index 000000000..b9551acd7 --- /dev/null +++ b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementQuery.h @@ -0,0 +1,2099 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// SaaS Runtime API (saasservicemgmt/v1beta1) +// Documentation: +// https://cloud.google.com/saas-runtime/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 "GTLRSaaSServiceManagementObjects.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 SaaS Service Management query classes. + */ +@interface GTLRSaaSServiceManagementQuery : GTLRQuery + +/** Selector specifying which fields to include in a partial response. */ +@property(nonatomic, copy, nullable) NSString *fields; + +@end + +/** + * Gets information about a location. + * + * Method: saasservicemgmt.projects.locations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsGet : GTLRSaaSServiceManagementQuery + +/** Resource name for the location. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSaaSServiceManagement_GoogleCloudLocationLocation. + * + * Gets information about a location. + * + * @param name Resource name for the location. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists information about the supported locations for this service. + * + * Method: saasservicemgmt.projects.locations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsList : GTLRSaaSServiceManagementQuery + +/** + * Optional. A list of extra location types that should be used as conditions + * for controlling the visibility of the locations. + */ +@property(nonatomic, strong, nullable) NSArray *extraLocationTypes; + +/** + * A filter to narrow down results to a preferred subset. The filtering + * language accepts strings like `"displayName=tokyo"`, and is documented in + * more detail in [AIP-160](https://google.aip.dev/160). + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** The resource that owns the locations collection, if applicable. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The maximum number of results to return. If not set, the service selects a + * default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token received from the `next_page_token` field in the response. Send + * that page token to receive the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRSaaSServiceManagement_ListLocationsResponse. + * + * Lists information about the supported locations for this service. + * + * @param name The resource that owns the locations collection, if applicable. + * + * @return GTLRSaaSServiceManagementQuery_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 + +/** + * Create a new release. + * + * Method: saasservicemgmt.projects.locations.releases.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsReleasesCreate : GTLRSaaSServiceManagementQuery + +/** Required. The parent of the release. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** Required. The ID value for the new release. */ +@property(nonatomic, copy, nullable) NSString *releaseId; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. The server will guarantee that for + * at least 60 minutes since the first request. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * If "validate_only" is set to true, the service will try to validate that + * this request would succeed, but will not actually make changes. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSaaSServiceManagement_Release. + * + * Create a new release. + * + * @param object The @c GTLRSaaSServiceManagement_Release to include in the + * query. + * @param parent Required. The parent of the release. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsReleasesCreate + */ ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_Release *)object + parent:(NSString *)parent; + +@end + +/** + * Delete a single release. + * + * Method: saasservicemgmt.projects.locations.releases.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsReleasesDelete : GTLRSaaSServiceManagementQuery + +/** + * The etag known to the client for the expected state of the release. This is + * used with state-changing methods to prevent accidental overwrites when + * multiple user agents might be acting in parallel on the same resource. An + * etag wildcard provide optimistic concurrency based on the expected existence + * of the release. The Any wildcard (`*`) requires that the resource must + * already exists, and the Not Any wildcard (`!*`) requires that it must not. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** Required. The resource name of the resource within a service. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. The server will guarantee that for + * at least 60 minutes since the first request. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * If "validate_only" is set to true, the service will try to validate that + * this request would succeed, but will not actually make changes. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSaaSServiceManagement_Empty. + * + * Delete a single release. + * + * @param name Required. The resource name of the resource within a service. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsReleasesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Retrieve a single release. + * + * Method: saasservicemgmt.projects.locations.releases.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsReleasesGet : GTLRSaaSServiceManagementQuery + +/** Required. The resource name of the resource within a service. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSaaSServiceManagement_Release. + * + * Retrieve a single release. + * + * @param name Required. The resource name of the resource within a service. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsReleasesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Retrieve a collection of releases. + * + * Method: saasservicemgmt.projects.locations.releases.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsReleasesList : GTLRSaaSServiceManagementQuery + +/** Filter the list as specified in https://google.aip.dev/160. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Order results as specified in https://google.aip.dev/132. */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** The maximum number of releases to send per page. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * The page token: If the next_page_token from a previous response is provided, + * this request will send the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The parent of the release. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSaaSServiceManagement_ListReleasesResponse. + * + * Retrieve a collection of releases. + * + * @param parent Required. The parent of the release. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsReleasesList + * + * @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 + +/** + * Update a single release. + * + * Method: saasservicemgmt.projects.locations.releases.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsReleasesPatch : GTLRSaaSServiceManagementQuery + +/** + * Identifier. The resource name (full URI of the resource) following the + * standard naming scheme: + * "projects/{project}/locations/{location}/releases/{release}" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. The server will guarantee that for + * at least 60 minutes since the first request. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Field mask is used to specify the fields to be overwritten in the Release + * 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 in the + * Release will be overwritten. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * If "validate_only" is set to true, the service will try to validate that + * this request would succeed, but will not actually make changes. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSaaSServiceManagement_Release. + * + * Update a single release. + * + * @param object The @c GTLRSaaSServiceManagement_Release to include in the + * query. + * @param name Identifier. The resource name (full URI of the resource) + * following the standard naming scheme: + * "projects/{project}/locations/{location}/releases/{release}" + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsReleasesPatch + */ ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_Release *)object + name:(NSString *)name; + +@end + +/** + * Create a new rollout kind. + * + * Method: saasservicemgmt.projects.locations.rolloutKinds.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutKindsCreate : GTLRSaaSServiceManagementQuery + +/** Required. The parent of the rollout kind. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. The server will guarantee that for + * at least 60 minutes since the first request. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** Required. The ID value for the new rollout kind. */ +@property(nonatomic, copy, nullable) NSString *rolloutKindId; + +/** + * If "validate_only" is set to true, the service will try to validate that + * this request would succeed, but will not actually make changes. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSaaSServiceManagement_RolloutKind. + * + * Create a new rollout kind. + * + * @param object The @c GTLRSaaSServiceManagement_RolloutKind to include in the + * query. + * @param parent Required. The parent of the rollout kind. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutKindsCreate + */ ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_RolloutKind *)object + parent:(NSString *)parent; + +@end + +/** + * Delete a single rollout kind. + * + * Method: saasservicemgmt.projects.locations.rolloutKinds.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutKindsDelete : GTLRSaaSServiceManagementQuery + +/** + * The etag known to the client for the expected state of the rollout kind. + * This is used with state-changing methods to prevent accidental overwrites + * when multiple user agents might be acting in parallel on the same resource. + * An etag wildcard provide optimistic concurrency based on the expected + * existence of the rollout kind. The Any wildcard (`*`) requires that the + * resource must already exists, and the Not Any wildcard (`!*`) requires that + * it must not. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** Required. The resource name of the resource within a service. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. The server will guarantee that for + * at least 60 minutes since the first request. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * If "validate_only" is set to true, the service will try to validate that + * this request would succeed, but will not actually make changes. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSaaSServiceManagement_Empty. + * + * Delete a single rollout kind. + * + * @param name Required. The resource name of the resource within a service. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutKindsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Retrieve a single rollout kind. + * + * Method: saasservicemgmt.projects.locations.rolloutKinds.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutKindsGet : GTLRSaaSServiceManagementQuery + +/** Required. The resource name of the resource within a service. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSaaSServiceManagement_RolloutKind. + * + * Retrieve a single rollout kind. + * + * @param name Required. The resource name of the resource within a service. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutKindsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Retrieve a collection of rollout kinds. + * + * Method: saasservicemgmt.projects.locations.rolloutKinds.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutKindsList : GTLRSaaSServiceManagementQuery + +/** Filter the list as specified in https://google.aip.dev/160. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Order results as specified in https://google.aip.dev/132. */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** The maximum number of rollout kinds to send per page. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * The page token: If the next_page_token from a previous response is provided, + * this request will send the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The parent of the rollout kind. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSaaSServiceManagement_ListRolloutKindsResponse. + * + * Retrieve a collection of rollout kinds. + * + * @param parent Required. The parent of the rollout kind. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutKindsList + * + * @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 + +/** + * Update a single rollout kind. + * + * Method: saasservicemgmt.projects.locations.rolloutKinds.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutKindsPatch : GTLRSaaSServiceManagementQuery + +/** + * Identifier. The resource name (full URI of the resource) following the + * standard naming scheme: + * "projects/{project}/locations/{location}/rolloutKinds/{rollout_kind_id}" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. The server will guarantee that for + * at least 60 minutes since the first request. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Field mask is used to specify the fields to be overwritten in the + * RolloutKind 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 in the RolloutKind will be overwritten. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * If "validate_only" is set to true, the service will try to validate that + * this request would succeed, but will not actually make changes. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSaaSServiceManagement_RolloutKind. + * + * Update a single rollout kind. + * + * @param object The @c GTLRSaaSServiceManagement_RolloutKind to include in the + * query. + * @param name Identifier. The resource name (full URI of the resource) + * following the standard naming scheme: + * "projects/{project}/locations/{location}/rolloutKinds/{rollout_kind_id}" + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutKindsPatch + */ ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_RolloutKind *)object + name:(NSString *)name; + +@end + +/** + * Create a new rollout. + * + * Method: saasservicemgmt.projects.locations.rollouts.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutsCreate : GTLRSaaSServiceManagementQuery + +/** Required. The parent of the rollout. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. The server will guarantee that for + * at least 60 minutes since the first request. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** Required. The ID value for the new rollout. */ +@property(nonatomic, copy, nullable) NSString *rolloutId; + +/** + * If "validate_only" is set to true, the service will try to validate that + * this request would succeed, but will not actually make changes. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSaaSServiceManagement_Rollout. + * + * Create a new rollout. + * + * @param object The @c GTLRSaaSServiceManagement_Rollout to include in the + * query. + * @param parent Required. The parent of the rollout. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutsCreate + */ ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_Rollout *)object + parent:(NSString *)parent; + +@end + +/** + * Delete a single rollout. + * + * Method: saasservicemgmt.projects.locations.rollouts.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutsDelete : GTLRSaaSServiceManagementQuery + +/** + * The etag known to the client for the expected state of the rollout. This is + * used with state-changing methods to prevent accidental overwrites when + * multiple user agents might be acting in parallel on the same resource. An + * etag wildcard provide optimistic concurrency based on the expected existence + * of the rollout. The Any wildcard (`*`) requires that the resource must + * already exists, and the Not Any wildcard (`!*`) requires that it must not. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** Required. The resource name of the resource within a service. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. The server will guarantee that for + * at least 60 minutes since the first request. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * If "validate_only" is set to true, the service will try to validate that + * this request would succeed, but will not actually make changes. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSaaSServiceManagement_Empty. + * + * Delete a single rollout. + * + * @param name Required. The resource name of the resource within a service. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Retrieve a single rollout. + * + * Method: saasservicemgmt.projects.locations.rollouts.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutsGet : GTLRSaaSServiceManagementQuery + +/** Required. The resource name of the resource within a service. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSaaSServiceManagement_Rollout. + * + * Retrieve a single rollout. + * + * @param name Required. The resource name of the resource within a service. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Retrieve a collection of rollouts. + * + * Method: saasservicemgmt.projects.locations.rollouts.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutsList : GTLRSaaSServiceManagementQuery + +/** Filter the list as specified in https://google.aip.dev/160. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Order results as specified in https://google.aip.dev/132. */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** The maximum number of rollouts to send per page. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * The page token: If the next_page_token from a previous response is provided, + * this request will send the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The parent of the rollout. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSaaSServiceManagement_ListRolloutsResponse. + * + * Retrieve a collection of rollouts. + * + * @param parent Required. The parent of the rollout. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutsList + * + * @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 + +/** + * Update a single rollout. + * + * Method: saasservicemgmt.projects.locations.rollouts.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutsPatch : GTLRSaaSServiceManagementQuery + +/** + * Identifier. The resource name (full URI of the resource) following the + * standard naming scheme: + * "projects/{project}/locations/{location}/rollout/{rollout_id}" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. The server will guarantee that for + * at least 60 minutes since the first request. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Field mask is used to specify the fields to be overwritten in the Rollout + * 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 in the + * Rollout will be overwritten. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * If "validate_only" is set to true, the service will try to validate that + * this request would succeed, but will not actually make changes. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSaaSServiceManagement_Rollout. + * + * Update a single rollout. + * + * @param object The @c GTLRSaaSServiceManagement_Rollout to include in the + * query. + * @param name Identifier. The resource name (full URI of the resource) + * following the standard naming scheme: + * "projects/{project}/locations/{location}/rollout/{rollout_id}" + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsRolloutsPatch + */ ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_Rollout *)object + name:(NSString *)name; + +@end + +/** + * Create a new saas. + * + * Method: saasservicemgmt.projects.locations.saas.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsSaasCreate : GTLRSaaSServiceManagementQuery + +/** Required. The parent of the saas. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. The server will guarantee that for + * at least 60 minutes since the first request. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** Required. The ID value for the new saas. */ +@property(nonatomic, copy, nullable) NSString *saasId; + +/** + * If "validate_only" is set to true, the service will try to validate that + * this request would succeed, but will not actually make changes. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSaaSServiceManagement_Saas. + * + * Create a new saas. + * + * @param object The @c GTLRSaaSServiceManagement_Saas to include in the query. + * @param parent Required. The parent of the saas. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsSaasCreate + */ ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_Saas *)object + parent:(NSString *)parent; + +@end + +/** + * Delete a single saas. + * + * Method: saasservicemgmt.projects.locations.saas.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsSaasDelete : GTLRSaaSServiceManagementQuery + +/** + * The etag known to the client for the expected state of the saas. This is + * used with state-changing methods to prevent accidental overwrites when + * multiple user agents might be acting in parallel on the same resource. An + * etag wildcard provide optimistic concurrency based on the expected existence + * of the saas. The Any wildcard (`*`) requires that the resource must already + * exists, and the Not Any wildcard (`!*`) requires that it must not. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** Required. The resource name of the resource within a service. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. The server will guarantee that for + * at least 60 minutes since the first request. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * If "validate_only" is set to true, the service will try to validate that + * this request would succeed, but will not actually make changes. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSaaSServiceManagement_Empty. + * + * Delete a single saas. + * + * @param name Required. The resource name of the resource within a service. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsSaasDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Retrieve a single saas. + * + * Method: saasservicemgmt.projects.locations.saas.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsSaasGet : GTLRSaaSServiceManagementQuery + +/** Required. The resource name of the resource within a service. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSaaSServiceManagement_Saas. + * + * Retrieve a single saas. + * + * @param name Required. The resource name of the resource within a service. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsSaasGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Retrieve a collection of saas. + * + * Method: saasservicemgmt.projects.locations.saas.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsSaasList : GTLRSaaSServiceManagementQuery + +/** Filter the list as specified in https://google.aip.dev/160. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Order results as specified in https://google.aip.dev/132. */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** The maximum number of saas to send per page. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * The page token: If the next_page_token from a previous response is provided, + * this request will send the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The parent of the saas. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSaaSServiceManagement_ListSaasResponse. + * + * Retrieve a collection of saas. + * + * @param parent Required. The parent of the saas. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsSaasList + * + * @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 + +/** + * Update a single saas. + * + * Method: saasservicemgmt.projects.locations.saas.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsSaasPatch : GTLRSaaSServiceManagementQuery + +/** + * Identifier. The resource name (full URI of the resource) following the + * standard naming scheme: + * "projects/{project}/locations/{location}/saas/{saas}" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. The server will guarantee that for + * at least 60 minutes since the first request. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Field mask is used to specify the fields to be overwritten in the Saas + * 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 in the Saas + * will be overwritten. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * If "validate_only" is set to true, the service will try to validate that + * this request would succeed, but will not actually make changes. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSaaSServiceManagement_Saas. + * + * Update a single saas. + * + * @param object The @c GTLRSaaSServiceManagement_Saas to include in the query. + * @param name Identifier. The resource name (full URI of the resource) + * following the standard naming scheme: + * "projects/{project}/locations/{location}/saas/{saas}" + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsSaasPatch + */ ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_Saas *)object + name:(NSString *)name; + +@end + +/** + * Create a new tenant. + * + * Method: saasservicemgmt.projects.locations.tenants.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsTenantsCreate : GTLRSaaSServiceManagementQuery + +/** Required. The parent of the tenant. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. The server will guarantee that for + * at least 60 minutes since the first request. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** Required. The ID value for the new tenant. */ +@property(nonatomic, copy, nullable) NSString *tenantId; + +/** + * If "validate_only" is set to true, the service will try to validate that + * this request would succeed, but will not actually make changes. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSaaSServiceManagement_Tenant. + * + * Create a new tenant. + * + * @param object The @c GTLRSaaSServiceManagement_Tenant to include in the + * query. + * @param parent Required. The parent of the tenant. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsTenantsCreate + */ ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_Tenant *)object + parent:(NSString *)parent; + +@end + +/** + * Delete a single tenant. + * + * Method: saasservicemgmt.projects.locations.tenants.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsTenantsDelete : GTLRSaaSServiceManagementQuery + +/** + * The etag known to the client for the expected state of the tenant. This is + * used with state-changing methods to prevent accidental overwrites when + * multiple user agents might be acting in parallel on the same resource. An + * etag wildcard provide optimistic concurrency based on the expected existence + * of the tenant. The Any wildcard (`*`) requires that the resource must + * already exists, and the Not Any wildcard (`!*`) requires that it must not. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** Required. The resource name of the resource within a service. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. The server will guarantee that for + * at least 60 minutes since the first request. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * If "validate_only" is set to true, the service will try to validate that + * this request would succeed, but will not actually make changes. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSaaSServiceManagement_Empty. + * + * Delete a single tenant. + * + * @param name Required. The resource name of the resource within a service. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsTenantsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Retrieve a single tenant. + * + * Method: saasservicemgmt.projects.locations.tenants.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsTenantsGet : GTLRSaaSServiceManagementQuery + +/** Required. The resource name of the resource within a service. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSaaSServiceManagement_Tenant. + * + * Retrieve a single tenant. + * + * @param name Required. The resource name of the resource within a service. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsTenantsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Retrieve a collection of tenants. + * + * Method: saasservicemgmt.projects.locations.tenants.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsTenantsList : GTLRSaaSServiceManagementQuery + +/** Filter the list as specified in https://google.aip.dev/160. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Order results as specified in https://google.aip.dev/132. */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** The maximum number of tenants to send per page. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * The page token: If the next_page_token from a previous response is provided, + * this request will send the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The parent of the tenant. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSaaSServiceManagement_ListTenantsResponse. + * + * Retrieve a collection of tenants. + * + * @param parent Required. The parent of the tenant. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsTenantsList + * + * @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 + +/** + * Update a single tenant. + * + * Method: saasservicemgmt.projects.locations.tenants.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsTenantsPatch : GTLRSaaSServiceManagementQuery + +/** + * Identifier. The resource name (full URI of the resource) following the + * standard naming scheme: + * "projects/{project}/locations/{location}/tenants/{tenant}" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. The server will guarantee that for + * at least 60 minutes since the first request. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Field mask is used to specify the fields to be overwritten in the Tenant + * 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 in the + * Tenant will be overwritten. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * If "validate_only" is set to true, the service will try to validate that + * this request would succeed, but will not actually make changes. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSaaSServiceManagement_Tenant. + * + * Update a single tenant. + * + * @param object The @c GTLRSaaSServiceManagement_Tenant to include in the + * query. + * @param name Identifier. The resource name (full URI of the resource) + * following the standard naming scheme: + * "projects/{project}/locations/{location}/tenants/{tenant}" + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsTenantsPatch + */ ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_Tenant *)object + name:(NSString *)name; + +@end + +/** + * Create a new unit kind. + * + * Method: saasservicemgmt.projects.locations.unitKinds.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitKindsCreate : GTLRSaaSServiceManagementQuery + +/** Required. The parent of the unit kind. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. The server will guarantee that for + * at least 60 minutes since the first request. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** Required. The ID value for the new unit kind. */ +@property(nonatomic, copy, nullable) NSString *unitKindId; + +/** + * If "validate_only" is set to true, the service will try to validate that + * this request would succeed, but will not actually make changes. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSaaSServiceManagement_UnitKind. + * + * Create a new unit kind. + * + * @param object The @c GTLRSaaSServiceManagement_UnitKind to include in the + * query. + * @param parent Required. The parent of the unit kind. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitKindsCreate + */ ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_UnitKind *)object + parent:(NSString *)parent; + +@end + +/** + * Delete a single unit kind. + * + * Method: saasservicemgmt.projects.locations.unitKinds.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitKindsDelete : GTLRSaaSServiceManagementQuery + +/** + * The etag known to the client for the expected state of the unit kind. This + * is used with state-changing methods to prevent accidental overwrites when + * multiple user agents might be acting in parallel on the same resource. An + * etag wildcard provide optimistic concurrency based on the expected existence + * of the unit kind. The Any wildcard (`*`) requires that the resource must + * already exists, and the Not Any wildcard (`!*`) requires that it must not. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** Required. The resource name of the resource within a service. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. The server will guarantee that for + * at least 60 minutes since the first request. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * If "validate_only" is set to true, the service will try to validate that + * this request would succeed, but will not actually make changes. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSaaSServiceManagement_Empty. + * + * Delete a single unit kind. + * + * @param name Required. The resource name of the resource within a service. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitKindsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Retrieve a single unit kind. + * + * Method: saasservicemgmt.projects.locations.unitKinds.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitKindsGet : GTLRSaaSServiceManagementQuery + +/** Required. The resource name of the resource within a service. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSaaSServiceManagement_UnitKind. + * + * Retrieve a single unit kind. + * + * @param name Required. The resource name of the resource within a service. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitKindsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Retrieve a collection of unit kinds. + * + * Method: saasservicemgmt.projects.locations.unitKinds.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitKindsList : GTLRSaaSServiceManagementQuery + +/** Filter the list as specified in https://google.aip.dev/160. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Order results as specified in https://google.aip.dev/132. */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** The maximum number of unit kinds to send per page. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * The page token: If the next_page_token from a previous response is provided, + * this request will send the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The parent of the unit kind. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSaaSServiceManagement_ListUnitKindsResponse. + * + * Retrieve a collection of unit kinds. + * + * @param parent Required. The parent of the unit kind. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitKindsList + * + * @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 + +/** + * Update a single unit kind. + * + * Method: saasservicemgmt.projects.locations.unitKinds.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitKindsPatch : GTLRSaaSServiceManagementQuery + +/** + * Identifier. The resource name (full URI of the resource) following the + * standard naming scheme: + * "projects/{project}/locations/{location}/unitKinds/{unitKind}" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. The server will guarantee that for + * at least 60 minutes since the first request. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Field mask is used to specify the fields to be overwritten in the UnitKind + * 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 in the + * UnitKind will be overwritten. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * If "validate_only" is set to true, the service will try to validate that + * this request would succeed, but will not actually make changes. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSaaSServiceManagement_UnitKind. + * + * Update a single unit kind. + * + * @param object The @c GTLRSaaSServiceManagement_UnitKind to include in the + * query. + * @param name Identifier. The resource name (full URI of the resource) + * following the standard naming scheme: + * "projects/{project}/locations/{location}/unitKinds/{unitKind}" + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitKindsPatch + */ ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_UnitKind *)object + name:(NSString *)name; + +@end + +/** + * Create a new unit operation. + * + * Method: saasservicemgmt.projects.locations.unitOperations.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitOperationsCreate : GTLRSaaSServiceManagementQuery + +/** Required. The parent of the unit operation. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. The server will guarantee that for + * at least 60 minutes since the first request. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** Required. The ID value for the new unit operation. */ +@property(nonatomic, copy, nullable) NSString *unitOperationId; + +/** + * If "validate_only" is set to true, the service will try to validate that + * this request would succeed, but will not actually make changes. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSaaSServiceManagement_UnitOperation. + * + * Create a new unit operation. + * + * @param object The @c GTLRSaaSServiceManagement_UnitOperation to include in + * the query. + * @param parent Required. The parent of the unit operation. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitOperationsCreate + */ ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_UnitOperation *)object + parent:(NSString *)parent; + +@end + +/** + * Delete a single unit operation. + * + * Method: saasservicemgmt.projects.locations.unitOperations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitOperationsDelete : GTLRSaaSServiceManagementQuery + +/** + * The etag known to the client for the expected state of the unit operation. + * This is used with state-changing methods to prevent accidental overwrites + * when multiple user agents might be acting in parallel on the same resource. + * An etag wildcard provide optimistic concurrency based on the expected + * existence of the unit operation. The Any wildcard (`*`) requires that the + * resource must already exists, and the Not Any wildcard (`!*`) requires that + * it must not. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** Required. The resource name of the resource within a service. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. The server will guarantee that for + * at least 60 minutes since the first request. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * If "validate_only" is set to true, the service will try to validate that + * this request would succeed, but will not actually make changes. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSaaSServiceManagement_Empty. + * + * Delete a single unit operation. + * + * @param name Required. The resource name of the resource within a service. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitOperationsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Retrieve a single unit operation. + * + * Method: saasservicemgmt.projects.locations.unitOperations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitOperationsGet : GTLRSaaSServiceManagementQuery + +/** Required. The resource name of the resource within a service. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSaaSServiceManagement_UnitOperation. + * + * Retrieve a single unit operation. + * + * @param name Required. The resource name of the resource within a service. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitOperationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Retrieve a collection of unit operations. + * + * Method: saasservicemgmt.projects.locations.unitOperations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitOperationsList : GTLRSaaSServiceManagementQuery + +/** Filter the list as specified in https://google.aip.dev/160. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Order results as specified in https://google.aip.dev/132. */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** The maximum number of unit operations to send per page. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * The page token: If the next_page_token from a previous response is provided, + * this request will send the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The parent of the unit operation. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSaaSServiceManagement_ListUnitOperationsResponse. + * + * Retrieve a collection of unit operations. + * + * @param parent Required. The parent of the unit operation. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitOperationsList + * + * @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 + +/** + * Update a single unit operation. + * + * Method: saasservicemgmt.projects.locations.unitOperations.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitOperationsPatch : GTLRSaaSServiceManagementQuery + +/** + * Identifier. The resource name (full URI of the resource) following the + * standard naming scheme: + * "projects/{project}/locations/{location}/unitOperations/{unitOperation}" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. The server will guarantee that for + * at least 60 minutes since the first request. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Field mask is used to specify the fields to be overwritten in the + * UnitOperation 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 in the UnitOperation will be overwritten. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * If "validate_only" is set to true, the service will try to validate that + * this request would succeed, but will not actually make changes. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSaaSServiceManagement_UnitOperation. + * + * Update a single unit operation. + * + * @param object The @c GTLRSaaSServiceManagement_UnitOperation to include in + * the query. + * @param name Identifier. The resource name (full URI of the resource) + * following the standard naming scheme: + * "projects/{project}/locations/{location}/unitOperations/{unitOperation}" + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitOperationsPatch + */ ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_UnitOperation *)object + name:(NSString *)name; + +@end + +/** + * Create a new unit. + * + * Method: saasservicemgmt.projects.locations.units.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitsCreate : GTLRSaaSServiceManagementQuery + +/** Required. The parent of the unit. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. The server will guarantee that for + * at least 60 minutes since the first request. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** Required. The ID value for the new unit. */ +@property(nonatomic, copy, nullable) NSString *unitId; + +/** + * If "validate_only" is set to true, the service will try to validate that + * this request would succeed, but will not actually make changes. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSaaSServiceManagement_Unit. + * + * Create a new unit. + * + * @param object The @c GTLRSaaSServiceManagement_Unit to include in the query. + * @param parent Required. The parent of the unit. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitsCreate + */ ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_Unit *)object + parent:(NSString *)parent; + +@end + +/** + * Delete a single unit. + * + * Method: saasservicemgmt.projects.locations.units.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitsDelete : GTLRSaaSServiceManagementQuery + +/** + * The etag known to the client for the expected state of the unit. This is + * used with state-changing methods to prevent accidental overwrites when + * multiple user agents might be acting in parallel on the same resource. An + * etag wildcard provide optimistic concurrency based on the expected existence + * of the unit. The Any wildcard (`*`) requires that the resource must already + * exists, and the Not Any wildcard (`!*`) requires that it must not. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** Required. The resource name of the resource within a service. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. The server will guarantee that for + * at least 60 minutes since the first request. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * If "validate_only" is set to true, the service will try to validate that + * this request would succeed, but will not actually make changes. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSaaSServiceManagement_Empty. + * + * Delete a single unit. + * + * @param name Required. The resource name of the resource within a service. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Retrieve a single unit. + * + * Method: saasservicemgmt.projects.locations.units.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitsGet : GTLRSaaSServiceManagementQuery + +/** Required. The resource name of the resource within a service. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSaaSServiceManagement_Unit. + * + * Retrieve a single unit. + * + * @param name Required. The resource name of the resource within a service. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Retrieve a collection of units. + * + * Method: saasservicemgmt.projects.locations.units.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitsList : GTLRSaaSServiceManagementQuery + +/** Filter the list as specified in https://google.aip.dev/160. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Order results as specified in https://google.aip.dev/132. */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** The maximum number of units to send per page. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * The page token: If the next_page_token from a previous response is provided, + * this request will send the subsequent page. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The parent of the unit. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSaaSServiceManagement_ListUnitsResponse. + * + * Retrieve a collection of units. + * + * @param parent Required. The parent of the unit. + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitsList + * + * @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 + +/** + * Update a single unit. + * + * Method: saasservicemgmt.projects.locations.units.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSaaSServiceManagementCloudPlatform + */ +@interface GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitsPatch : GTLRSaaSServiceManagementQuery + +/** + * Identifier. The resource name (full URI of the resource) following the + * standard naming scheme: + * "projects/{project}/locations/{location}/units/{unit}" + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. The server will guarantee that for + * at least 60 minutes since the first request. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check if + * original operation with the same request ID was received, and if so, will + * ignore the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Field mask is used to specify the fields to be overwritten in the Unit + * 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 in the Unit + * will be overwritten. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * If "validate_only" is set to true, the service will try to validate that + * this request would succeed, but will not actually make changes. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSaaSServiceManagement_Unit. + * + * Update a single unit. + * + * @param object The @c GTLRSaaSServiceManagement_Unit to include in the query. + * @param name Identifier. The resource name (full URI of the resource) + * following the standard naming scheme: + * "projects/{project}/locations/{location}/units/{unit}" + * + * @return GTLRSaaSServiceManagementQuery_ProjectsLocationsUnitsPatch + */ ++ (instancetype)queryWithObject:(GTLRSaaSServiceManagement_Unit *)object + name:(NSString *)name; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementService.h b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementService.h new file mode 100644 index 000000000..93bd789ee --- /dev/null +++ b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementService.h @@ -0,0 +1,69 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// SaaS Runtime API (saasservicemgmt/v1beta1) +// Documentation: +// https://cloud.google.com/saas-runtime/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 kGTLRAuthScopeSaaSServiceManagementCloudPlatform; + +// ---------------------------------------------------------------------------- +// GTLRSaaSServiceManagementService +// + +/** + * Service for executing SaaS Runtime API queries. + */ +@interface GTLRSaaSServiceManagementService : GTLRService + +// No new methods + +// Clients should create a standard query with any of the class methods in +// GTLRSaaSServiceManagementQuery.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/Script/Public/GoogleAPIClientForREST/GTLRScriptObjects.h b/Sources/GeneratedServices/Script/Public/GoogleAPIClientForREST/GTLRScriptObjects.h index 2231e6ad1..cd838beed 100644 --- a/Sources/GeneratedServices/Script/Public/GoogleAPIClientForREST/GTLRScriptObjects.h +++ b/Sources/GeneratedServices/Script/Public/GoogleAPIClientForREST/GTLRScriptObjects.h @@ -422,7 +422,7 @@ FOUNDATION_EXTERN NSString * const kGTLRScript_GoogleAppsScriptTypeWebAppConfig_ /** - * Request to create a script project. Request to create a script project. + * Request to create a script project. */ @interface GTLRScript_CreateProjectRequest : GTLRObject diff --git a/Sources/GeneratedServices/SecretManager/GTLRSecretManagerObjects.m b/Sources/GeneratedServices/SecretManager/GTLRSecretManagerObjects.m index c7c239a35..c464683a5 100644 --- a/Sources/GeneratedServices/SecretManager/GTLRSecretManagerObjects.m +++ b/Sources/GeneratedServices/SecretManager/GTLRSecretManagerObjects.m @@ -393,7 +393,7 @@ @implementation GTLRSecretManager_Rotation @implementation GTLRSecretManager_Secret @dynamic annotations, createTime, customerManagedEncryption, ETag, expireTime, - labels, name, replication, rotation, topics, ttl, versionAliases, + labels, name, replication, rotation, tags, topics, ttl, versionAliases, versionDestroyTtl; + (NSDictionary *)propertyToJSONKeyMap { @@ -438,6 +438,20 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRSecretManager_Secret_Tags +// + +@implementation GTLRSecretManager_Secret_Tags + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSecretManager_Secret_VersionAliases diff --git a/Sources/GeneratedServices/SecretManager/Public/GoogleAPIClientForREST/GTLRSecretManagerObjects.h b/Sources/GeneratedServices/SecretManager/Public/GoogleAPIClientForREST/GTLRSecretManagerObjects.h index e08ad2b13..5b557b36c 100644 --- a/Sources/GeneratedServices/SecretManager/Public/GoogleAPIClientForREST/GTLRSecretManagerObjects.h +++ b/Sources/GeneratedServices/SecretManager/Public/GoogleAPIClientForREST/GTLRSecretManagerObjects.h @@ -35,6 +35,7 @@ @class GTLRSecretManager_Secret; @class GTLRSecretManager_Secret_Annotations; @class GTLRSecretManager_Secret_Labels; +@class GTLRSecretManager_Secret_Tags; @class GTLRSecretManager_Secret_VersionAliases; @class GTLRSecretManager_SecretPayload; @class GTLRSecretManager_SecretVersion; @@ -883,6 +884,14 @@ FOUNDATION_EXTERN NSString * const kGTLRSecretManager_SecretVersion_State_StateU */ @property(nonatomic, strong, nullable) GTLRSecretManager_Rotation *rotation; +/** + * Optional. Input only. Immutable. Mapping of Tag keys/values directly bound + * to this resource. For example: "123/environment": "production", + * "123/costCenter": "marketing" Tags are used to organize and group resources. + * Tags can be used to control policy evaluation for the resource. + */ +@property(nonatomic, strong, nullable) GTLRSecretManager_Secret_Tags *tags; + /** * Optional. A list of up to 10 Pub/Sub topics to which messages are published * when control plane operations are called on the secret or its versions. @@ -953,6 +962,21 @@ FOUNDATION_EXTERN NSString * const kGTLRSecretManager_SecretVersion_State_StateU @end +/** + * Optional. Input only. Immutable. Mapping of Tag keys/values directly bound + * to this resource. For example: "123/environment": "production", + * "123/costCenter": "marketing" Tags are used to organize and group resources. + * Tags can be used to control policy evaluation for 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 GTLRSecretManager_Secret_Tags : GTLRObject +@end + + /** * Optional. Mapping from version alias to version name. A version alias is a * string with a maximum length of 63 characters and can contain uppercase and diff --git a/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m index dc7b8531a..3e40921f6 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m +++ b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m @@ -14,6 +14,11 @@ // ---------------------------------------------------------------------------- // Constants +// GTLRSecurityCommandCenter_AiModel.deploymentPlatform +NSString * const kGTLRSecurityCommandCenter_AiModel_DeploymentPlatform_DeploymentPlatformUnspecified = @"DEPLOYMENT_PLATFORM_UNSPECIFIED"; +NSString * const kGTLRSecurityCommandCenter_AiModel_DeploymentPlatform_Gke = @"GKE"; +NSString * const kGTLRSecurityCommandCenter_AiModel_DeploymentPlatform_VertexAi = @"VERTEX_AI"; + // GTLRSecurityCommandCenter_AssetDiscoveryConfig.inclusionMode NSString * const kGTLRSecurityCommandCenter_AssetDiscoveryConfig_InclusionMode_Exclude = @"EXCLUDE"; NSString * const kGTLRSecurityCommandCenter_AssetDiscoveryConfig_InclusionMode_IncludeOnly = @"INCLUDE_ONLY"; @@ -291,6 +296,11 @@ NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_MediumSensitivityMapping_None = @"NONE"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_MediumSensitivityMapping_ResourceValueUnspecified = @"RESOURCE_VALUE_UNSPECIFIED"; +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AiModel.deploymentPlatform +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AiModel_DeploymentPlatform_DeploymentPlatformUnspecified = @"DEPLOYMENT_PLATFORM_UNSPECIFIED"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AiModel_DeploymentPlatform_Gke = @"GKE"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AiModel_DeploymentPlatform_VertexAi = @"VERTEX_AI"; + // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AttackExposure.state NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AttackExposure_State_Calculated = @"CALCULATED"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AttackExposure_State_NotCalculated = @"NOT_CALCULATED"; @@ -504,6 +514,7 @@ // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack.additionalTechniques NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_AbuseElevationControlMechanism = @"ABUSE_ELEVATION_CONTROL_MECHANISM"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_AbuseElevationControlMechanismSetuidAndSetgid = @"ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_AbuseElevationControlMechanismSudoAndSudoCaching = @"ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_AccessTokenManipulation = @"ACCESS_TOKEN_MANIPULATION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_AccountAccessRemoval = @"ACCOUNT_ACCESS_REMOVAL"; @@ -557,6 +568,7 @@ NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_EventTriggeredExecution = @"EVENT_TRIGGERED_EXECUTION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ExfiltrationOverWebService = @"EXFILTRATION_OVER_WEB_SERVICE"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ExfiltrationToCloudStorage = @"EXFILTRATION_TO_CLOUD_STORAGE"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ExploitationForClientExecution = @"EXPLOITATION_FOR_CLIENT_EXECUTION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ExploitationForPrivilegeEscalation = @"EXPLOITATION_FOR_PRIVILEGE_ESCALATION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ExploitPublicFacingApplication = @"EXPLOIT_PUBLIC_FACING_APPLICATION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ExternalProxy = @"EXTERNAL_PROXY"; @@ -583,6 +595,7 @@ NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_InstallRootCertificate = @"INSTALL_ROOT_CERTIFICATE"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_KernelModulesAndExtensions = @"KERNEL_MODULES_AND_EXTENSIONS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_LateralToolTransfer = @"LATERAL_TOOL_TRANSFER"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_LinuxAndMacFileAndDirectoryPermissionsModification = @"LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_LocalAccount = @"LOCAL_ACCOUNT"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_LocalAccounts = @"LOCAL_ACCOUNTS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_Masquerading = @"MASQUERADING"; @@ -657,6 +670,7 @@ // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack.primaryTechniques NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_AbuseElevationControlMechanism = @"ABUSE_ELEVATION_CONTROL_MECHANISM"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_AbuseElevationControlMechanismSetuidAndSetgid = @"ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_AbuseElevationControlMechanismSudoAndSudoCaching = @"ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_AccessTokenManipulation = @"ACCESS_TOKEN_MANIPULATION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_AccountAccessRemoval = @"ACCOUNT_ACCESS_REMOVAL"; @@ -710,6 +724,7 @@ NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_EventTriggeredExecution = @"EVENT_TRIGGERED_EXECUTION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ExfiltrationOverWebService = @"EXFILTRATION_OVER_WEB_SERVICE"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ExfiltrationToCloudStorage = @"EXFILTRATION_TO_CLOUD_STORAGE"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ExploitationForClientExecution = @"EXPLOITATION_FOR_CLIENT_EXECUTION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ExploitationForPrivilegeEscalation = @"EXPLOITATION_FOR_PRIVILEGE_ESCALATION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ExploitPublicFacingApplication = @"EXPLOIT_PUBLIC_FACING_APPLICATION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ExternalProxy = @"EXTERNAL_PROXY"; @@ -736,6 +751,7 @@ NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_InstallRootCertificate = @"INSTALL_ROOT_CERTIFICATE"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_KernelModulesAndExtensions = @"KERNEL_MODULES_AND_EXTENSIONS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_LateralToolTransfer = @"LATERAL_TOOL_TRANSFER"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_LinuxAndMacFileAndDirectoryPermissionsModification = @"LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_LocalAccount = @"LOCAL_ACCOUNT"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_LocalAccounts = @"LOCAL_ACCOUNTS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_Masquerading = @"MASQUERADING"; @@ -917,6 +933,7 @@ // GTLRSecurityCommandCenter_MitreAttack.additionalTechniques NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_AbuseElevationControlMechanism = @"ABUSE_ELEVATION_CONTROL_MECHANISM"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_AbuseElevationControlMechanismSetuidAndSetgid = @"ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_AbuseElevationControlMechanismSudoAndSudoCaching = @"ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_AccessTokenManipulation = @"ACCESS_TOKEN_MANIPULATION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_AccountAccessRemoval = @"ACCOUNT_ACCESS_REMOVAL"; @@ -970,6 +987,7 @@ NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_EventTriggeredExecution = @"EVENT_TRIGGERED_EXECUTION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ExfiltrationOverWebService = @"EXFILTRATION_OVER_WEB_SERVICE"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ExfiltrationToCloudStorage = @"EXFILTRATION_TO_CLOUD_STORAGE"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ExploitationForClientExecution = @"EXPLOITATION_FOR_CLIENT_EXECUTION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ExploitationForPrivilegeEscalation = @"EXPLOITATION_FOR_PRIVILEGE_ESCALATION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ExploitPublicFacingApplication = @"EXPLOIT_PUBLIC_FACING_APPLICATION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ExternalProxy = @"EXTERNAL_PROXY"; @@ -996,6 +1014,7 @@ NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_InstallRootCertificate = @"INSTALL_ROOT_CERTIFICATE"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_KernelModulesAndExtensions = @"KERNEL_MODULES_AND_EXTENSIONS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_LateralToolTransfer = @"LATERAL_TOOL_TRANSFER"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_LinuxAndMacFileAndDirectoryPermissionsModification = @"LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_LocalAccount = @"LOCAL_ACCOUNT"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_LocalAccounts = @"LOCAL_ACCOUNTS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_Masquerading = @"MASQUERADING"; @@ -1070,6 +1089,7 @@ // GTLRSecurityCommandCenter_MitreAttack.primaryTechniques NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_AbuseElevationControlMechanism = @"ABUSE_ELEVATION_CONTROL_MECHANISM"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_AbuseElevationControlMechanismSetuidAndSetgid = @"ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_AbuseElevationControlMechanismSudoAndSudoCaching = @"ABUSE_ELEVATION_CONTROL_MECHANISM_SUDO_AND_SUDO_CACHING"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_AccessTokenManipulation = @"ACCESS_TOKEN_MANIPULATION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_AccountAccessRemoval = @"ACCOUNT_ACCESS_REMOVAL"; @@ -1123,6 +1143,7 @@ NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_EventTriggeredExecution = @"EVENT_TRIGGERED_EXECUTION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ExfiltrationOverWebService = @"EXFILTRATION_OVER_WEB_SERVICE"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ExfiltrationToCloudStorage = @"EXFILTRATION_TO_CLOUD_STORAGE"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ExploitationForClientExecution = @"EXPLOITATION_FOR_CLIENT_EXECUTION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ExploitationForPrivilegeEscalation = @"EXPLOITATION_FOR_PRIVILEGE_ESCALATION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ExploitPublicFacingApplication = @"EXPLOIT_PUBLIC_FACING_APPLICATION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ExternalProxy = @"EXTERNAL_PROXY"; @@ -1149,6 +1170,7 @@ NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_InstallRootCertificate = @"INSTALL_ROOT_CERTIFICATE"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_KernelModulesAndExtensions = @"KERNEL_MODULES_AND_EXTENSIONS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_LateralToolTransfer = @"LATERAL_TOOL_TRANSFER"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_LinuxAndMacFileAndDirectoryPermissionsModification = @"LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_LocalAccount = @"LOCAL_ACCOUNT"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_LocalAccounts = @"LOCAL_ACCOUNTS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_Masquerading = @"MASQUERADING"; @@ -1323,6 +1345,17 @@ @implementation GTLRSecurityCommandCenter_AffectedResources @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_AiModel +// + +@implementation GTLRSecurityCommandCenter_AiModel +@dynamic deploymentPlatform, displayName, domain, library, location, name, + publisher; +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_Allowed @@ -1729,6 +1762,16 @@ @implementation GTLRSecurityCommandCenter_BatchCreateResourceValueConfigsRespons @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_BigQueryDestination +// + +@implementation GTLRSecurityCommandCenter_BigQueryDestination +@dynamic dataset; +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_Binding @@ -2039,6 +2082,16 @@ @implementation GTLRSecurityCommandCenter_DataRetentionDeletionEvent @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_Dataset +// + +@implementation GTLRSecurityCommandCenter_Dataset +@dynamic displayName, name, source; +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_Denied @@ -2213,6 +2266,25 @@ @implementation GTLRSecurityCommandCenter_Exfiltration @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_ExportFindingsMetadata +// + +@implementation GTLRSecurityCommandCenter_ExportFindingsMetadata +@dynamic bigQueryDestination, exportStartTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_ExportFindingsResponse +// + +@implementation GTLRSecurityCommandCenter_ExportFindingsResponse +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_Expr @@ -2263,7 +2335,7 @@ @implementation GTLRSecurityCommandCenter_FileOperation // @implementation GTLRSecurityCommandCenter_Finding -@dynamic access, affectedResources, application, attackExposure, +@dynamic access, affectedResources, aiModel, application, attackExposure, backupDisasterRecovery, canonicalName, category, chokepoint, cloudArmor, cloudDlpDataProfile, cloudDlpInspection, compliances, connections, contacts, containers, createTime, dataAccessEvents, @@ -2275,7 +2347,7 @@ @implementation GTLRSecurityCommandCenter_Finding muteUpdateTime, name, networks, nextSteps, notebook, orgPolicies, parent, parentDisplayName, processes, resourceName, securityMarks, securityPosture, severity, sourceProperties, state, toxicCombination, - vulnerability; + vertexAi, vulnerability; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -2812,6 +2884,17 @@ @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AffectedRes @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AiModel +// + +@implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AiModel +@dynamic deploymentPlatform, displayName, domain, library, location, name, + publisher; +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Allowed @@ -3306,6 +3389,16 @@ @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DataRetenti @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Dataset +// + +@implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Dataset +@dynamic displayName, name, source; +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Denied @@ -3466,7 +3559,7 @@ @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2FileOperati // @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Finding -@dynamic access, affectedResources, application, attackExposure, +@dynamic access, affectedResources, aiModel, application, attackExposure, backupDisasterRecovery, canonicalName, category, chokepoint, cloudArmor, cloudDlpDataProfile, cloudDlpInspection, compliances, connections, contacts, containers, createTime, dataAccessEvents, @@ -3478,7 +3571,7 @@ @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Finding muteUpdateTime, name, networks, nextSteps, notebook, orgPolicies, parent, parentDisplayName, processes, resourceName, securityMarks, securityPosture, severity, sourceProperties, state, toxicCombination, - vulnerability; + vertexAi, vulnerability; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -4089,6 +4182,16 @@ @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Package @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Pipeline +// + +@implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Pipeline +@dynamic displayName, name; +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Pod @@ -4135,7 +4238,7 @@ @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2PortRange @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Process @dynamic args, argumentsTruncated, binary, envVariables, envVariablesTruncated, - libraries, name, parentPid, pid, script; + libraries, name, parentPid, pid, script, userId; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -4425,6 +4528,25 @@ @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2ToxicCombin @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2VertexAi +// + +@implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2VertexAi +@dynamic datasets, pipelines; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"datasets" : [GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Dataset class], + @"pipelines" : [GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Pipeline class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Vulnerability @@ -5304,6 +5426,16 @@ @implementation GTLRSecurityCommandCenter_PathNodeAssociatedFinding @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_Pipeline +// + +@implementation GTLRSecurityCommandCenter_Pipeline +@dynamic displayName, name; +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_Pod @@ -5383,7 +5515,7 @@ @implementation GTLRSecurityCommandCenter_Position @implementation GTLRSecurityCommandCenter_Process @dynamic args, argumentsTruncated, binary, envVariables, envVariablesTruncated, - libraries, name, parentPid, pid, script; + libraries, name, parentPid, pid, script, userId; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -5909,6 +6041,25 @@ @implementation GTLRSecurityCommandCenter_ValuedResource @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_VertexAi +// + +@implementation GTLRSecurityCommandCenter_VertexAi +@dynamic datasets, pipelines; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"datasets" : [GTLRSecurityCommandCenter_Dataset class], + @"pipelines" : [GTLRSecurityCommandCenter_Pipeline class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_Vulnerability diff --git a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h index b0443538f..5c5017960 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h +++ b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h @@ -19,6 +19,7 @@ @class GTLRSecurityCommandCenter_AccessReview; @class GTLRSecurityCommandCenter_AdaptiveProtection; @class GTLRSecurityCommandCenter_AffectedResources; +@class GTLRSecurityCommandCenter_AiModel; @class GTLRSecurityCommandCenter_Allowed; @class GTLRSecurityCommandCenter_Application; @class GTLRSecurityCommandCenter_Asset; @@ -43,6 +44,7 @@ @class GTLRSecurityCommandCenter_AzureSubscription; @class GTLRSecurityCommandCenter_AzureTenant; @class GTLRSecurityCommandCenter_BackupDisasterRecovery; +@class GTLRSecurityCommandCenter_BigQueryDestination; @class GTLRSecurityCommandCenter_Binding; @class GTLRSecurityCommandCenter_Chokepoint; @class GTLRSecurityCommandCenter_CloudArmor; @@ -64,6 +66,7 @@ @class GTLRSecurityCommandCenter_Database; @class GTLRSecurityCommandCenter_DataFlowEvent; @class GTLRSecurityCommandCenter_DataRetentionDeletionEvent; +@class GTLRSecurityCommandCenter_Dataset; @class GTLRSecurityCommandCenter_Denied; @class GTLRSecurityCommandCenter_Detection; @class GTLRSecurityCommandCenter_Disk; @@ -112,6 +115,7 @@ @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AccessReview; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AdaptiveProtection; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AffectedResources; +@class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AiModel; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Allowed; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Application; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Attack; @@ -144,6 +148,7 @@ @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Database; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DataFlowEvent; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2DataRetentionDeletionEvent; +@class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Dataset; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Denied; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Detection; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Disk; @@ -196,6 +201,7 @@ @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Object; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2OrgPolicy; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Package; +@class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Pipeline; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Pod; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2PolicyDriftDetails; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2PortRange; @@ -219,6 +225,7 @@ @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Subject; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2TicketInfo; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2ToxicCombination; +@class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2VertexAi; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Vulnerability; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2YaraRuleSignature; @class GTLRSecurityCommandCenter_GroupMembership; @@ -252,6 +259,7 @@ @class GTLRSecurityCommandCenter_OrgPolicy; @class GTLRSecurityCommandCenter_Package; @class GTLRSecurityCommandCenter_PathNodeAssociatedFinding; +@class GTLRSecurityCommandCenter_Pipeline; @class GTLRSecurityCommandCenter_Pod; @class GTLRSecurityCommandCenter_Policy; @class GTLRSecurityCommandCenter_PolicyDriftDetails; @@ -285,6 +293,7 @@ @class GTLRSecurityCommandCenter_TicketInfo; @class GTLRSecurityCommandCenter_ToxicCombination; @class GTLRSecurityCommandCenter_ValuedResource; +@class GTLRSecurityCommandCenter_VertexAi; @class GTLRSecurityCommandCenter_Vulnerability; @class GTLRSecurityCommandCenter_VulnerabilityCountBySeverity; @class GTLRSecurityCommandCenter_VulnerabilityCountBySeverity_SeverityToFindingCount; @@ -300,6 +309,28 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the classes' properties below. +// ---------------------------------------------------------------------------- +// GTLRSecurityCommandCenter_AiModel.deploymentPlatform + +/** + * Unspecified deployment platform. + * + * Value: "DEPLOYMENT_PLATFORM_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_AiModel_DeploymentPlatform_DeploymentPlatformUnspecified; +/** + * Google Kubernetes Engine. + * + * Value: "GKE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_AiModel_DeploymentPlatform_Gke; +/** + * Vertex AI. + * + * Value: "VERTEX_AI" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_AiModel_DeploymentPlatform_VertexAi; + // ---------------------------------------------------------------------------- // GTLRSecurityCommandCenter_AssetDiscoveryConfig.inclusionMode @@ -1679,6 +1710,28 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping_MediumSensitivityMapping_ResourceValueUnspecified; +// ---------------------------------------------------------------------------- +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AiModel.deploymentPlatform + +/** + * Unspecified deployment platform. + * + * Value: "DEPLOYMENT_PLATFORM_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AiModel_DeploymentPlatform_DeploymentPlatformUnspecified; +/** + * Google Kubernetes Engine. + * + * Value: "GKE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AiModel_DeploymentPlatform_Gke; +/** + * Vertex AI. + * + * Value: "VERTEX_AI" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AiModel_DeploymentPlatform_VertexAi; + // ---------------------------------------------------------------------------- // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AttackExposure.state @@ -2758,6 +2811,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "ABUSE_ELEVATION_CONTROL_MECHANISM" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_AbuseElevationControlMechanism; +/** + * T1548.001 + * + * Value: "ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_AbuseElevationControlMechanismSetuidAndSetgid; /** * T1548.003 * @@ -3076,6 +3135,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "EXFILTRATION_TO_CLOUD_STORAGE" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ExfiltrationToCloudStorage; +/** + * T1203 + * + * Value: "EXPLOITATION_FOR_CLIENT_EXECUTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ExploitationForClientExecution; /** * T1068 * @@ -3232,6 +3297,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "LATERAL_TOOL_TRANSFER" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_LateralToolTransfer; +/** + * T1222.002 + * + * Value: "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_LinuxAndMacFileAndDirectoryPermissionsModification; /** * T1136.001 * @@ -3660,6 +3731,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "ABUSE_ELEVATION_CONTROL_MECHANISM" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_AbuseElevationControlMechanism; +/** + * T1548.001 + * + * Value: "ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_AbuseElevationControlMechanismSetuidAndSetgid; /** * T1548.003 * @@ -3978,6 +4055,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "EXFILTRATION_TO_CLOUD_STORAGE" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ExfiltrationToCloudStorage; +/** + * T1203 + * + * Value: "EXPLOITATION_FOR_CLIENT_EXECUTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ExploitationForClientExecution; /** * T1068 * @@ -4134,6 +4217,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "LATERAL_TOOL_TRANSFER" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_LateralToolTransfer; +/** + * T1222.002 + * + * Value: "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_LinuxAndMacFileAndDirectoryPermissionsModification; /** * T1136.001 * @@ -5078,6 +5167,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Additi * Value: "ABUSE_ELEVATION_CONTROL_MECHANISM" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_AbuseElevationControlMechanism; +/** + * T1548.001 + * + * Value: "ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_AbuseElevationControlMechanismSetuidAndSetgid; /** * T1548.003 * @@ -5396,6 +5491,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Additi * Value: "EXFILTRATION_TO_CLOUD_STORAGE" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ExfiltrationToCloudStorage; +/** + * T1203 + * + * Value: "EXPLOITATION_FOR_CLIENT_EXECUTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ExploitationForClientExecution; /** * T1068 * @@ -5552,6 +5653,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Additi * Value: "LATERAL_TOOL_TRANSFER" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_LateralToolTransfer; +/** + * T1222.002 + * + * Value: "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_LinuxAndMacFileAndDirectoryPermissionsModification; /** * T1136.001 * @@ -5980,6 +6087,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Primar * Value: "ABUSE_ELEVATION_CONTROL_MECHANISM" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_AbuseElevationControlMechanism; +/** + * T1548.001 + * + * Value: "ABUSE_ELEVATION_CONTROL_MECHANISM_SETUID_AND_SETGID" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_AbuseElevationControlMechanismSetuidAndSetgid; /** * T1548.003 * @@ -6298,6 +6411,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Primar * Value: "EXFILTRATION_TO_CLOUD_STORAGE" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ExfiltrationToCloudStorage; +/** + * T1203 + * + * Value: "EXPLOITATION_FOR_CLIENT_EXECUTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ExploitationForClientExecution; /** * T1068 * @@ -6454,6 +6573,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Primar * Value: "LATERAL_TOOL_TRANSFER" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_LateralToolTransfer; +/** + * T1222.002 + * + * Value: "LINUX_AND_MAC_FILE_AND_DIRECTORY_PERMISSIONS_MODIFICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_LinuxAndMacFileAndDirectoryPermissionsModification; /** * T1136.001 * @@ -7259,6 +7384,48 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps @end +/** + * Contains information about the AI model associated with the finding. + */ +@interface GTLRSecurityCommandCenter_AiModel : GTLRObject + +/** + * The platform on which the model is deployed. + * + * Likely values: + * @arg @c kGTLRSecurityCommandCenter_AiModel_DeploymentPlatform_DeploymentPlatformUnspecified + * Unspecified deployment platform. (Value: + * "DEPLOYMENT_PLATFORM_UNSPECIFIED") + * @arg @c kGTLRSecurityCommandCenter_AiModel_DeploymentPlatform_Gke Google + * Kubernetes Engine. (Value: "GKE") + * @arg @c kGTLRSecurityCommandCenter_AiModel_DeploymentPlatform_VertexAi + * Vertex AI. (Value: "VERTEX_AI") + */ +@property(nonatomic, copy, nullable) NSString *deploymentPlatform; + +/** + * The user defined display name of model. Ex. baseline-classification-model + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** The domain of the model, for example, “image-classification”. */ +@property(nonatomic, copy, nullable) NSString *domain; + +/** The name of the model library, for example, “transformers”. */ +@property(nonatomic, copy, nullable) NSString *library; + +/** The region in which the model is used, for example, “us-central1”. */ +@property(nonatomic, copy, nullable) NSString *location; + +/** The name of the AI model, for example, "gemini:1.0.0". */ +@property(nonatomic, copy, nullable) NSString *name; + +/** The publisher of the model, for example, “google” or “nvidia”. */ +@property(nonatomic, copy, nullable) NSString *publisher; + +@end + + /** * Allowed IP rule. */ @@ -7977,6 +8144,20 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps @end +/** + * The destination big query dataset to export findings to. + */ +@interface GTLRSecurityCommandCenter_BigQueryDestination : GTLRObject + +/** + * Required. The relative resource name of the destination dataset, in the form + * projects/{projectId}/datasets/{datasetId}. + */ +@property(nonatomic, copy, nullable) NSString *dataset; + +@end + + /** * Associates `members`, or principals, with a `role`. */ @@ -8922,6 +9103,29 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps @end +/** + * Vertex AI dataset associated with the finding. + */ +@interface GTLRSecurityCommandCenter_Dataset : GTLRObject + +/** The user defined display name of dataset, e.g. plants-dataset */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Resource name of the dataset, e.g. + * projects/{project}/locations/{location}/datasets/2094040236064505856 + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Data source, such as BigQuery source URI, e.g. + * bq://scc-nexus-test.AIPPtest.gsod + */ +@property(nonatomic, copy, nullable) NSString *source; + +@end + + /** * Denied IP rule. */ @@ -9267,6 +9471,27 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps @end +/** + * The LRO metadata for a ExportFindings request. + */ +@interface GTLRSecurityCommandCenter_ExportFindingsMetadata : GTLRObject + +/** Required. The destination big query dataset to export findings to. */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_BigQueryDestination *bigQueryDestination; + +/** Optional. Timestamp at which export was started */ +@property(nonatomic, strong, nullable) GTLRDateTime *exportStartTime; + +@end + + +/** + * The response to a ExportFindings request. Contains the LRO information. + */ +@interface GTLRSecurityCommandCenter_ExportFindingsResponse : GTLRObject +@end + + /** * Represents a textual expression in the Common Expression Language (CEL) * syntax. CEL is a C-like expression language. The syntax and semantics of CEL @@ -9411,6 +9636,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps /** AffectedResources associated with the finding. */ @property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_AffectedResources *affectedResources; +/** The AI model associated with the finding. */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_AiModel *aiModel; + /** Represents an application associated with the finding. */ @property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_Application *application; @@ -9795,6 +10023,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps */ @property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_ToxicCombination *toxicCombination; +/** VertexAi associated with the finding. */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_VertexAi *vertexAi; + /** * Represents vulnerability-specific fields like CVE and CVSS scores. CVE * stands for Common Vulnerabilities and Exposures @@ -11237,6 +11468,48 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps @end +/** + * Contains information about the AI model associated with the finding. + */ +@interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AiModel : GTLRObject + +/** + * The platform on which the model is deployed. + * + * Likely values: + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AiModel_DeploymentPlatform_DeploymentPlatformUnspecified + * Unspecified deployment platform. (Value: + * "DEPLOYMENT_PLATFORM_UNSPECIFIED") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AiModel_DeploymentPlatform_Gke + * Google Kubernetes Engine. (Value: "GKE") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AiModel_DeploymentPlatform_VertexAi + * Vertex AI. (Value: "VERTEX_AI") + */ +@property(nonatomic, copy, nullable) NSString *deploymentPlatform; + +/** + * The user defined display name of model. Ex. baseline-classification-model + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** The domain of the model, for example, “image-classification”. */ +@property(nonatomic, copy, nullable) NSString *domain; + +/** The name of the model library, for example, “transformers”. */ +@property(nonatomic, copy, nullable) NSString *library; + +/** The region in which the model is used, for example, “us-central1”. */ +@property(nonatomic, copy, nullable) NSString *location; + +/** The name of the AI model, for example, "gemini:1.0.0". */ +@property(nonatomic, copy, nullable) NSString *name; + +/** The publisher of the model, for example, “google” or “nvidia”. */ +@property(nonatomic, copy, nullable) NSString *publisher; + +@end + + /** * Allowed IP rule. */ @@ -12497,6 +12770,29 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps @end +/** + * Vertex AI dataset associated with the finding. + */ +@interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Dataset : GTLRObject + +/** The user defined display name of dataset, e.g. plants-dataset */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Resource name of the dataset, e.g. + * projects/{project}/locations/{location}/datasets/2094040236064505856 + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Data source, such as a BigQuery source URI, e.g. + * bq://scc-nexus-test.AIPPtest.gsod + */ +@property(nonatomic, copy, nullable) NSString *source; + +@end + + /** * Denied IP rule. */ @@ -12808,6 +13104,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps /** AffectedResources associated with the finding. */ @property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AffectedResources *affectedResources; +/** The AI model associated with the finding. */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AiModel *aiModel; + /** Represents an application associated with the finding. */ @property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Application *application; @@ -13061,7 +13360,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps @property(nonatomic, strong, nullable) GTLRDateTime *muteUpdateTime; /** - * The [relative resource + * Identifier. The [relative resource * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) * of the finding. The following list shows some examples: + * `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}` @@ -13211,6 +13510,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps */ @property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2ToxicCombination *toxicCombination; +/** VertexAi associated with the finding. */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2VertexAi *vertexAi; + /** * Represents vulnerability-specific fields like CVE and CVSS scores. CVE * stands for Common Vulnerabilities and Exposures @@ -14387,6 +14689,23 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps @end +/** + * Vertex AI training pipeline associated with the finding. + */ +@interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Pipeline : GTLRObject + +/** The user-defined display name of pipeline, e.g. plants-classification */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Resource name of the pipeline, e.g. + * projects/{project}/locations/{location}/trainingPipelines/5253428229225578496 + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * A Kubernetes Pod. */ @@ -14519,6 +14838,14 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps */ @property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2File *script; +/** + * The ID of the user that executed the process. E.g. If this is the root user + * this will always be 0. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *userId; + @end @@ -15238,6 +15565,20 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps @end +/** + * Vertex AI-related information associated with the finding. + */ +@interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2VertexAi : GTLRObject + +/** Datasets associated with the finding. */ +@property(nonatomic, strong, nullable) NSArray *datasets; + +/** Pipelines associated with the finding. */ +@property(nonatomic, strong, nullable) NSArray *pipelines; + +@end + + /** * Refers to common vulnerability fields e.g. cve, cvss, cwe etc. */ @@ -16910,6 +17251,23 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps @end +/** + * Vertex AI training pipeline associated with the finding. + */ +@interface GTLRSecurityCommandCenter_Pipeline : GTLRObject + +/** The user defined display name of pipeline, e.g. plants-classification */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Resource name of the pipeline, e.g. + * projects/{project}/locations/{location}/trainingPipelines/5253428229225578496 + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * A Kubernetes Pod. */ @@ -17155,6 +17513,14 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps */ @property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_File *script; +/** + * The ID of the user that executed the process. E.g. If this is the root user + * this will always be 0. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *userId; + @end @@ -18230,6 +18596,20 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps @end +/** + * Vertex AI-related information associated with the finding. + */ +@interface GTLRSecurityCommandCenter_VertexAi : GTLRObject + +/** Datasets associated with the finding. */ +@property(nonatomic, strong, nullable) NSArray *datasets; + +/** Pipelines associated with the finding. */ +@property(nonatomic, strong, nullable) NSArray *pipelines; + +@end + + /** * Refers to common vulnerability fields e.g. cve, cvss, cwe etc. */ diff --git a/Sources/GeneratedServices/SecurityPosture/GTLRSecurityPostureQuery.m b/Sources/GeneratedServices/SecurityPosture/GTLRSecurityPostureQuery.m index e774662d8..9d6b89bdd 100644 --- a/Sources/GeneratedServices/SecurityPosture/GTLRSecurityPostureQuery.m +++ b/Sources/GeneratedServices/SecurityPosture/GTLRSecurityPostureQuery.m @@ -503,7 +503,14 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRSecurityPostureQuery_ProjectsLocationsList -@dynamic filter, name, pageSize, pageToken; +@dynamic extraLocationTypes, filter, name, pageSize, pageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"extraLocationTypes" : [NSString class] + }; + return map; +} + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; diff --git a/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureQuery.h b/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureQuery.h index 11af72aac..6926f79cf 100644 --- a/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureQuery.h +++ b/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureQuery.h @@ -962,6 +962,12 @@ NS_ASSUME_NONNULL_BEGIN */ @interface GTLRSecurityPostureQuery_ProjectsLocationsList : GTLRSecurityPostureQuery +/** + * Optional. A list of extra location types that should be used as conditions + * for controlling the visibility of the locations. + */ +@property(nonatomic, strong, nullable) NSArray *extraLocationTypes; + /** * A filter to narrow down results to a preferred subset. The filtering * language accepts strings like `"displayName=tokyo"`, and is documented in diff --git a/Sources/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.m b/Sources/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.m index a507eaa42..c11d53231 100644 --- a/Sources/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.m +++ b/Sources/GeneratedServices/ServiceManagement/GTLRServiceManagementObjects.m @@ -1788,7 +1788,7 @@ @implementation GTLRServiceManagement_ResourceReference @implementation GTLRServiceManagement_Rollout @dynamic createdBy, createTime, deleteServiceStrategy, rolloutId, serviceName, - status, trafficPercentStrategy; + status, trafficPercentStrategy, universe; @end diff --git a/Sources/GeneratedServices/ServiceManagement/Public/GoogleAPIClientForREST/GTLRServiceManagementObjects.h b/Sources/GeneratedServices/ServiceManagement/Public/GoogleAPIClientForREST/GTLRServiceManagementObjects.h index a7bfe2377..032fcb47e 100644 --- a/Sources/GeneratedServices/ServiceManagement/Public/GoogleAPIClientForREST/GTLRServiceManagementObjects.h +++ b/Sources/GeneratedServices/ServiceManagement/Public/GoogleAPIClientForREST/GTLRServiceManagementObjects.h @@ -4982,6 +4982,9 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceManagement_Type_Syntax_SyntaxProt */ @property(nonatomic, strong, nullable) GTLRServiceManagement_TrafficPercentStrategy *trafficPercentStrategy; +/** The TPC universe which the rollout will be rolled out to. */ +@property(nonatomic, copy, nullable) NSString *universe; + @end diff --git a/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m b/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m index 0b0501cda..98dd50d3d 100644 --- a/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m +++ b/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m @@ -549,6 +549,15 @@ @implementation GTLRServiceNetworking_CancelOperationRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRServiceNetworking_CleanupConnectionMetadata +// + +@implementation GTLRServiceNetworking_CleanupConnectionMetadata +@end + + // ---------------------------------------------------------------------------- // // GTLRServiceNetworking_ClientLibrarySettings @@ -1697,7 +1706,7 @@ @implementation GTLRServiceNetworking_PeeredDnsDomainMetadata // @implementation GTLRServiceNetworking_PhpSettings -@dynamic common; +@dynamic common, libraryPackage; @end diff --git a/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h b/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h index a428b7311..7732c0146 100644 --- a/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h +++ b/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h @@ -1250,7 +1250,8 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig @property(nonatomic, copy, nullable) NSString *purpose; /** - * Required. The name of a [region](/compute/docs/regions-zones) for the + * Required. The name of a + * [region](https://cloud.google.com/compute/docs/regions-zones) for the * subnet, such `europe-west1`. */ @property(nonatomic, copy, nullable) NSString *region; @@ -1302,7 +1303,8 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig /** * Required. A name for the new subnet. For information about the naming - * requirements, see [subnetwork](/compute/docs/reference/rest/v1/subnetworks) + * requirements, see + * [subnetwork](https://cloud.google.com/compute/docs/reference/rest/v1/subnetworks) * in the Compute API documentation. */ @property(nonatomic, copy, nullable) NSString *subnetwork; @@ -1907,6 +1909,14 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig @end +/** + * Metadata provided through GetOperation request for the LRO generated by + * Cleanup Connection API + */ +@interface GTLRServiceNetworking_CleanupConnectionMetadata : GTLRObject +@end + + /** * Details about how and where to publish client libraries. */ @@ -2006,14 +2016,17 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig */ @interface GTLRServiceNetworking_CloudSQLConfig : GTLRObject -/** Peering service used for peering with the Cloud SQL project. */ +/** Required. Peering service used for peering with the Cloud SQL project. */ @property(nonatomic, copy, nullable) NSString *service; -/** The name of the umbrella network in the Cloud SQL umbrella project. */ +/** + * Required. The name of the umbrella network in the Cloud SQL umbrella + * project. + */ @property(nonatomic, copy, nullable) NSString *umbrellaNetwork; /** - * The project number of the Cloud SQL umbrella project. + * Required. The project number of the Cloud SQL umbrella project. * * Uses NSNumber of longLongValue. */ @@ -2052,8 +2065,8 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig @interface GTLRServiceNetworking_Connection : GTLRObject /** - * The name of service consumer's VPC network that's connected with service - * producer network, in the following format: + * Required. The name of service consumer's VPC network that's connected with + * service producer network, in the following format: * `projects/{project}/global/networks/{network}`. `{project}` is a project * number, such as in `12345` that includes the VPC service consumer's VPC * network. `{network}` is the name of the service consumer's VPC network. @@ -4527,10 +4540,10 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig @property(nonatomic, copy, nullable) NSString *dnsSuffix; /** - * User assigned name for this resource. Must be unique within the consumer - * network. The name must be 1-63 characters long, must begin with a letter, - * end with a letter or digit, and only contain lowercase letters, digits or - * dashes. + * Required. User assigned name for this resource. Must be unique within the + * consumer network. The name must be 1-63 characters long, must begin with a + * letter, end with a letter or digit, and only contain lowercase letters, + * digits or dashes. */ @property(nonatomic, copy, nullable) NSString *name; @@ -4553,6 +4566,16 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig /** Some settings. */ @property(nonatomic, strong, nullable) GTLRServiceNetworking_CommonLanguageSettings *common; +/** + * The package name to use in Php. Clobbers the php_namespace option set in the + * protobuf. This should be used **only** by APIs who have already set the + * language_settings.php.package_name" field in gapic.yaml. API teams should + * use the protobuf php_namespace option where possible. Example of a YAML + * configuration:: publishing: library_settings: php_settings: library_package: + * Google\\Cloud\\PubSub\\V1 + */ +@property(nonatomic, copy, nullable) NSString *libraryPackage; + @end @@ -5049,10 +5072,10 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig @property(nonatomic, strong, nullable) NSNumber *ipPrefixLength; /** - * Network name in the consumer project. This network must have been already - * peered with a shared VPC network using CreateConnection method. Must be in a - * form 'projects/{project}/global/networks/{network}'. {project} is a project - * number, as in '12345' {network} is network name. + * Required. Network name in the consumer project. This network must have been + * already peered with a shared VPC network using CreateConnection method. Must + * be in a form 'projects/{project}/global/networks/{network}'. {project} is a + * project number, as in '12345' {network} is network name. */ @property(nonatomic, copy, nullable) NSString *network; diff --git a/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingQuery.h b/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingQuery.h index 8bbb69494..2cd79560b 100644 --- a/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingQuery.h +++ b/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingQuery.h @@ -263,9 +263,9 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRServiceNetworkingQuery_ServicesConnectionsCreate : GTLRServiceNetworkingQuery /** - * The service that is managing peering connectivity for a service producer's - * organization. For Google services that support this functionality, this - * value is `services/servicenetworking.googleapis.com`. + * Required. The service that is managing peering connectivity for a service + * producer's organization. For Google services that support this + * functionality, this value is `services/servicenetworking.googleapis.com`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -282,9 +282,10 @@ NS_ASSUME_NONNULL_BEGIN * * @param object The @c GTLRServiceNetworking_Connection to include in the * query. - * @param parent The service that is managing peering connectivity for a - * service producer's organization. For Google services that support this - * functionality, this value is `services/servicenetworking.googleapis.com`. + * @param parent Required. The service that is managing peering connectivity + * for a service producer's organization. For Google services that support + * this functionality, this value is + * `services/servicenetworking.googleapis.com`. * * @return GTLRServiceNetworkingQuery_ServicesConnectionsCreate */ @@ -402,7 +403,7 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, assign) BOOL force; /** - * The private service connection that connects to a service producer + * Required. The private service connection that connects to a service producer * organization. The name includes both the private service name and the VPC * network peering name in the format of * `services/{peering_service_name}/connections/{vpc_peering_name}`. For Google @@ -426,9 +427,9 @@ NS_ASSUME_NONNULL_BEGIN * * @param object The @c GTLRServiceNetworking_Connection to include in the * query. - * @param name The private service connection that connects to a service - * producer organization. The name includes both the private service name and - * the VPC network peering name in the format of + * @param name Required. The private service connection that connects to a + * service producer organization. The name includes both the private service + * name and the VPC network peering name in the format of * `services/{peering_service_name}/connections/{vpc_peering_name}`. For * Google services that support this functionality, this is * `services/servicenetworking.googleapis.com/connections/servicenetworking-googleapis-com`. @@ -452,9 +453,9 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRServiceNetworkingQuery_ServicesDisableVpcServiceControls : GTLRServiceNetworkingQuery /** - * The service that is managing peering connectivity for a service producer's - * organization. For Google services that support this functionality, this - * value is `services/servicenetworking.googleapis.com`. + * Required. The service that is managing peering connectivity for a service + * producer's organization. For Google services that support this + * functionality, this value is `services/servicenetworking.googleapis.com`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -465,9 +466,10 @@ NS_ASSUME_NONNULL_BEGIN * * @param object The @c GTLRServiceNetworking_DisableVpcServiceControlsRequest * to include in the query. - * @param parent The service that is managing peering connectivity for a - * service producer's organization. For Google services that support this - * functionality, this value is `services/servicenetworking.googleapis.com`. + * @param parent Required. The service that is managing peering connectivity + * for a service producer's organization. For Google services that support + * this functionality, this value is + * `services/servicenetworking.googleapis.com`. * * @return GTLRServiceNetworkingQuery_ServicesDisableVpcServiceControls */ @@ -796,9 +798,9 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRServiceNetworkingQuery_ServicesEnableVpcServiceControls : GTLRServiceNetworkingQuery /** - * The service that is managing peering connectivity for a service producer's - * organization. For Google services that support this functionality, this - * value is `services/servicenetworking.googleapis.com`. + * Required. The service that is managing peering connectivity for a service + * producer's organization. For Google services that support this + * functionality, this value is `services/servicenetworking.googleapis.com`. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -809,9 +811,10 @@ NS_ASSUME_NONNULL_BEGIN * * @param object The @c GTLRServiceNetworking_EnableVpcServiceControlsRequest * to include in the query. - * @param parent The service that is managing peering connectivity for a - * service producer's organization. For Google services that support this - * functionality, this value is `services/servicenetworking.googleapis.com`. + * @param parent Required. The service that is managing peering connectivity + * for a service producer's organization. For Google services that support + * this functionality, this value is + * `services/servicenetworking.googleapis.com`. * * @return GTLRServiceNetworkingQuery_ServicesEnableVpcServiceControls */ diff --git a/Sources/GeneratedServices/Sheets/GTLRSheetsObjects.m b/Sources/GeneratedServices/Sheets/GTLRSheetsObjects.m index df383aa55..b4b3068bc 100644 --- a/Sources/GeneratedServices/Sheets/GTLRSheetsObjects.m +++ b/Sources/GeneratedServices/Sheets/GTLRSheetsObjects.m @@ -486,6 +486,12 @@ NSString * const kGTLRSheets_PasteDataRequest_Type_PasteNormal = @"PASTE_NORMAL"; NSString * const kGTLRSheets_PasteDataRequest_Type_PasteValues = @"PASTE_VALUES"; +// GTLRSheets_PersonProperties.displayFormat +NSString * const kGTLRSheets_PersonProperties_DisplayFormat_Default = @"DEFAULT"; +NSString * const kGTLRSheets_PersonProperties_DisplayFormat_DisplayFormatUnspecified = @"DISPLAY_FORMAT_UNSPECIFIED"; +NSString * const kGTLRSheets_PersonProperties_DisplayFormat_Email = @"EMAIL"; +NSString * const kGTLRSheets_PersonProperties_DisplayFormat_LastNameCommaFirstName = @"LAST_NAME_COMMA_FIRST_NAME"; + // GTLRSheets_PieChartSpec.legendPosition NSString * const kGTLRSheets_PieChartSpec_LegendPosition_BottomLegend = @"BOTTOM_LEGEND"; NSString * const kGTLRSheets_PieChartSpec_LegendPosition_LabeledLegend = @"LABELED_LEGEND"; @@ -1492,12 +1498,13 @@ @implementation GTLRSheets_CandlestickSeries // @implementation GTLRSheets_CellData -@dynamic dataSourceFormula, dataSourceTable, dataValidation, effectiveFormat, - effectiveValue, formattedValue, hyperlink, note, pivotTable, - textFormatRuns, userEnteredFormat, userEnteredValue; +@dynamic chipRuns, dataSourceFormula, dataSourceTable, dataValidation, + effectiveFormat, effectiveValue, formattedValue, hyperlink, note, + pivotTable, textFormatRuns, userEnteredFormat, userEnteredValue; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"chipRuns" : [GTLRSheets_ChipRun class], @"textFormatRuns" : [GTLRSheets_TextFormatRun class] }; return map; @@ -1620,6 +1627,26 @@ @implementation GTLRSheets_ChartSpec @end +// ---------------------------------------------------------------------------- +// +// GTLRSheets_Chip +// + +@implementation GTLRSheets_Chip +@dynamic personProperties, richLinkProperties; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSheets_ChipRun +// + +@implementation GTLRSheets_ChipRun +@dynamic chip, startIndex; +@end + + // ---------------------------------------------------------------------------- // // GTLRSheets_ClearBasicFilterRequest @@ -2874,6 +2901,16 @@ @implementation GTLRSheets_PasteDataRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRSheets_PersonProperties +// + +@implementation GTLRSheets_PersonProperties +@dynamic displayFormat, email; +@end + + // ---------------------------------------------------------------------------- // // GTLRSheets_PieChartSpec @@ -3174,6 +3211,16 @@ @implementation GTLRSheets_Response @end +// ---------------------------------------------------------------------------- +// +// GTLRSheets_RichLinkProperties +// + +@implementation GTLRSheets_RichLinkProperties +@dynamic mimeType, uri; +@end + + // ---------------------------------------------------------------------------- // // GTLRSheets_RowData diff --git a/Sources/GeneratedServices/Sheets/Public/GoogleAPIClientForREST/GTLRSheetsObjects.h b/Sources/GeneratedServices/Sheets/Public/GoogleAPIClientForREST/GTLRSheetsObjects.h index dde88f2e9..f5e224571 100644 --- a/Sources/GeneratedServices/Sheets/Public/GoogleAPIClientForREST/GTLRSheetsObjects.h +++ b/Sources/GeneratedServices/Sheets/Public/GoogleAPIClientForREST/GTLRSheetsObjects.h @@ -74,6 +74,8 @@ @class GTLRSheets_ChartHistogramRule; @class GTLRSheets_ChartSourceRange; @class GTLRSheets_ChartSpec; +@class GTLRSheets_Chip; +@class GTLRSheets_ChipRun; @class GTLRSheets_ClearBasicFilterRequest; @class GTLRSheets_Color; @class GTLRSheets_ColorStyle; @@ -174,6 +176,7 @@ @class GTLRSheets_OverlayPosition; @class GTLRSheets_Padding; @class GTLRSheets_PasteDataRequest; +@class GTLRSheets_PersonProperties; @class GTLRSheets_PieChartSpec; @class GTLRSheets_PivotFilterCriteria; @class GTLRSheets_PivotFilterSpec; @@ -195,6 +198,7 @@ @class GTLRSheets_RepeatCellRequest; @class GTLRSheets_Request; @class GTLRSheets_Response; +@class GTLRSheets_RichLinkProperties; @class GTLRSheets_RowData; @class GTLRSheets_ScorecardChartSpec; @class GTLRSheets_SetBasicFilterRequest; @@ -2822,6 +2826,34 @@ FOUNDATION_EXTERN NSString * const kGTLRSheets_PasteDataRequest_Type_PasteNormal */ FOUNDATION_EXTERN NSString * const kGTLRSheets_PasteDataRequest_Type_PasteValues; +// ---------------------------------------------------------------------------- +// GTLRSheets_PersonProperties.displayFormat + +/** + * Default display format. + * + * Value: "DEFAULT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSheets_PersonProperties_DisplayFormat_Default; +/** + * Default value, do not use. + * + * Value: "DISPLAY_FORMAT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSheets_PersonProperties_DisplayFormat_DisplayFormatUnspecified; +/** + * Email display format. + * + * Value: "EMAIL" + */ +FOUNDATION_EXTERN NSString * const kGTLRSheets_PersonProperties_DisplayFormat_Email; +/** + * Last name, first name display format. + * + * Value: "LAST_NAME_COMMA_FIRST_NAME" + */ +FOUNDATION_EXTERN NSString * const kGTLRSheets_PersonProperties_DisplayFormat_LastNameCommaFirstName; + // ---------------------------------------------------------------------------- // GTLRSheets_PieChartSpec.legendPosition @@ -5700,6 +5732,17 @@ GTLR_DEPRECATED */ @interface GTLRSheets_CellData : GTLRObject +/** + * Optional. Runs of chips applied to subsections of the cell. Properties of a + * run start at a specific index in the text and continue until the next run. + * When reading, all chipped and non-chipped runs are included. Non-chipped + * runs will have an empty Chip. When writing, only runs with chips are + * included. Runs containing chips are of length 1 and are represented in the + * user-entered text by an “\@” placeholder symbol. New runs will overwrite any + * prior runs. Writing a new user_entered_value will erase previous runs. + */ +@property(nonatomic, strong, nullable) NSArray *chipRuns; + /** * Output only. Information about a data source formula on the cell. The field * is set if user_entered_value is a formula referencing some DATA_SOURCE @@ -6291,6 +6334,39 @@ GTLR_DEPRECATED @end +/** + * The Smart Chip. + */ +@interface GTLRSheets_Chip : GTLRObject + +/** Properties of a linked person. */ +@property(nonatomic, strong, nullable) GTLRSheets_PersonProperties *personProperties; + +/** Properties of a rich link. */ +@property(nonatomic, strong, nullable) GTLRSheets_RichLinkProperties *richLinkProperties; + +@end + + +/** + * The run of a chip. The chip continues until the start index of the next run. + */ +@interface GTLRSheets_ChipRun : GTLRObject + +/** Optional. The chip of this run. */ +@property(nonatomic, strong, nullable) GTLRSheets_Chip *chip; + +/** + * Required. The zero-based character index where this run starts, in UTF-16 + * code units. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *startIndex; + +@end + + /** * Clears the basic filter, if any exists on the sheet. */ @@ -9426,6 +9502,37 @@ GTLR_DEPRECATED @end +/** + * Properties specific to a linked person. + */ +@interface GTLRSheets_PersonProperties : GTLRObject + +/** + * Optional. The display format of the person chip. If not set, the default + * display format is used. + * + * Likely values: + * @arg @c kGTLRSheets_PersonProperties_DisplayFormat_Default Default display + * format. (Value: "DEFAULT") + * @arg @c kGTLRSheets_PersonProperties_DisplayFormat_DisplayFormatUnspecified + * Default value, do not use. (Value: "DISPLAY_FORMAT_UNSPECIFIED") + * @arg @c kGTLRSheets_PersonProperties_DisplayFormat_Email Email display + * format. (Value: "EMAIL") + * @arg @c kGTLRSheets_PersonProperties_DisplayFormat_LastNameCommaFirstName + * Last name, first name display format. (Value: + * "LAST_NAME_COMMA_FIRST_NAME") + */ +@property(nonatomic, copy, nullable) NSString *displayFormat; + +/** + * Required. The email address linked to this person. This field is always + * present. + */ +@property(nonatomic, copy, nullable) NSString *email; + +@end + + /** * A pie chart. */ @@ -10466,6 +10573,28 @@ GTLR_DEPRECATED @end +/** + * Properties of a link to a Google resource (such as a file in Drive, a + * YouTube video, a Maps address, or a Calendar event). Only Drive files can be + * written as chips. All other rich link types are read only. URIs cannot + * exceed 2000 bytes when writing. NOTE: Writing Drive file chips requires at + * least one of the `drive.file`, `drive.readonly`, or `drive` OAuth scopes. + */ +@interface GTLRSheets_RichLinkProperties : GTLRObject + +/** + * Output only. The [MIME + * type](https://developers.google.com/drive/api/v3/mime-types) of the link, if + * there's one (for example, when it's a file in Drive). + */ +@property(nonatomic, copy, nullable) NSString *mimeType; + +/** Required. The URI to the link. This is always present. */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + + /** * Data about each cell in a row. */ diff --git a/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m b/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m index 49915ddbd..123cddf71 100644 --- a/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m +++ b/Sources/GeneratedServices/ShoppingContent/GTLRShoppingContentObjects.m @@ -261,6 +261,15 @@ NSString * const kGTLRShoppingContent_Promotion_RedemptionChannel_Online = @"ONLINE"; NSString * const kGTLRShoppingContent_Promotion_RedemptionChannel_RedemptionChannelUnspecified = @"REDEMPTION_CHANNEL_UNSPECIFIED"; +// GTLRShoppingContent_Promotion.redemptionRestriction +NSString * const kGTLRShoppingContent_Promotion_RedemptionRestriction_Custom = @"CUSTOM"; +NSString * const kGTLRShoppingContent_Promotion_RedemptionRestriction_FirstOrder = @"FIRST_ORDER"; +NSString * const kGTLRShoppingContent_Promotion_RedemptionRestriction_FormsOfPayment = @"FORMS_OF_PAYMENT"; +NSString * const kGTLRShoppingContent_Promotion_RedemptionRestriction_RedemptionRestrictionUnspecified = @"REDEMPTION_RESTRICTION_UNSPECIFIED"; +NSString * const kGTLRShoppingContent_Promotion_RedemptionRestriction_SignUpForEmail = @"SIGN_UP_FOR_EMAIL"; +NSString * const kGTLRShoppingContent_Promotion_RedemptionRestriction_SignUpForText = @"SIGN_UP_FOR_TEXT"; +NSString * const kGTLRShoppingContent_Promotion_RedemptionRestriction_SubscribeAndSave = @"SUBSCRIBE_AND_SAVE"; + // GTLRShoppingContent_Promotion.storeApplicability NSString * const kGTLRShoppingContent_Promotion_StoreApplicability_AllStores = @"ALL_STORES"; NSString * const kGTLRShoppingContent_Promotion_StoreApplicability_SpecificStores = @"SPECIFIC_STORES"; @@ -1244,7 +1253,7 @@ @implementation GTLRShoppingContent_AccountTaxTaxRule @implementation GTLRShoppingContent_AccountUser @dynamic admin, emailAddress, orderManager, paymentsAnalyst, paymentsManager, - reportingManager; + readOnly, reportingManager; @end @@ -3660,13 +3669,13 @@ @implementation GTLRShoppingContent_Product identifierExists, imageLink, includedDestinations, installment, isBundle, itemGroupId, kind, lifestyleImageLinks, link, linkTemplate, loyaltyProgram, loyaltyPrograms, material, maxEnergyEfficiencyClass, - maxHandlingTime, minEnergyEfficiencyClass, minHandlingTime, mobileLink, - mobileLinkTemplate, mpn, multipack, offerId, pattern, pause, - pickupMethod, pickupSla, price, productDetails, productHeight, - productHighlights, productLength, productTypes, productWeight, - productWidth, promotionIds, salePrice, salePriceEffectiveDate, - sellOnGoogleQuantity, shipping, shippingHeight, shippingLabel, - shippingLength, shippingWeight, shippingWidth, + maxHandlingTime, maximumRetailPrice, minEnergyEfficiencyClass, + minHandlingTime, mobileLink, mobileLinkTemplate, mpn, multipack, + offerId, pattern, pause, pickupMethod, pickupSla, price, + productDetails, productHeight, productHighlights, productLength, + productTypes, productWeight, productWidth, promotionIds, salePrice, + salePriceEffectiveDate, sellOnGoogleQuantity, shipping, shippingHeight, + shippingLabel, shippingLength, shippingWeight, shippingWidth, shoppingAdsExcludedCountries, sizes, sizeSystem, sizeType, source, structuredDescription, structuredTitle, subscriptionCost, sustainabilityIncentives, targetCountry, taxCategory, taxes, title, @@ -4330,17 +4339,19 @@ @implementation GTLRShoppingContent_ProductWeight @implementation GTLRShoppingContent_Promotion @dynamic brand, brandExclusion, contentLanguage, couponValueType, - freeGiftDescription, freeGiftItemId, freeGiftValue, - genericRedemptionCode, getThisQuantityDiscounted, identifier, - itemGroupId, itemGroupIdExclusion, itemId, itemIdExclusion, - limitQuantity, limitValue, longTitle, minimumPurchaseAmount, - minimumPurchaseQuantity, moneyBudget, moneyOffAmount, offerType, - orderLimit, percentOff, productApplicability, productType, - productTypeExclusion, promotionDestinationIds, promotionDisplayDates, + customRedemptionRestriction, freeGiftDescription, freeGiftItemId, + freeGiftValue, genericRedemptionCode, getThisQuantityDiscounted, + identifier, itemGroupId, itemGroupIdExclusion, itemId, itemIdExclusion, + limitQuantity, limitValue, longTitle, maxDiscountAmount, + minimumPurchaseAmount, minimumPurchaseQuantity, moneyBudget, + moneyOffAmount, offerType, orderLimit, percentOff, + productApplicability, productType, productTypeExclusion, + promotionDestinationIds, promotionDisplayDates, promotionDisplayTimePeriod, promotionEffectiveDates, promotionEffectiveTimePeriod, promotionId, promotionStatus, - promotionUrl, redemptionChannel, shippingServiceNames, - storeApplicability, storeCode, storeCodeExclusion, targetCountry; + promotionUrl, redemptionChannel, redemptionRestriction, + shippingServiceNames, storeApplicability, storeCode, + storeCodeExclusion, targetCountry; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; diff --git a/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentObjects.h b/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentObjects.h index 615e84c3f..4f5377659 100644 --- a/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentObjects.h +++ b/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentObjects.h @@ -1502,6 +1502,54 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_Promotion_RedemptionChan */ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_Promotion_RedemptionChannel_RedemptionChannelUnspecified; +// ---------------------------------------------------------------------------- +// GTLRShoppingContent_Promotion.redemptionRestriction + +/** + * The customer must meet a custom restriction to redeem the promotion. If + * selected, the `custom_redemption_restriction` field must be set. + * + * Value: "CUSTOM" + */ +FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_Promotion_RedemptionRestriction_Custom; +/** + * The customer must be a first-time customer to redeem the promotion. + * + * Value: "FIRST_ORDER" + */ +FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_Promotion_RedemptionRestriction_FirstOrder; +/** + * The customer must use a specific form of payment to redeem the promotion. + * + * Value: "FORMS_OF_PAYMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_Promotion_RedemptionRestriction_FormsOfPayment; +/** + * The redemption restriction is unspecified. + * + * Value: "REDEMPTION_RESTRICTION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_Promotion_RedemptionRestriction_RedemptionRestrictionUnspecified; +/** + * The customer must sign up for email's to redeem the promotion. + * + * Value: "SIGN_UP_FOR_EMAIL" + */ +FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_Promotion_RedemptionRestriction_SignUpForEmail; +/** + * The customer must sign up for text to redeem the promotion. + * + * Value: "SIGN_UP_FOR_TEXT" + */ +FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_Promotion_RedemptionRestriction_SignUpForText; +/** + * The customer must subscribe to the merchant's channel to redeem the + * promotion. + * + * Value: "SUBSCRIBE_AND_SAVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_Promotion_RedemptionRestriction_SubscribeAndSave; + // ---------------------------------------------------------------------------- // GTLRShoppingContent_Promotion.storeApplicability @@ -3889,6 +3937,13 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest */ @property(nonatomic, strong, nullable) NSNumber *paymentsManager; +/** + * Optional. Whether user has standard read-only access. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *readOnly; + /** * Whether user is a reporting manager. This role is equivalent to the * Performance and insights role in Merchant Center. @@ -9606,6 +9661,9 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest */ @property(nonatomic, strong, nullable) NSNumber *maxHandlingTime; +/** Maximum retail price (MRP) of the item. Applicable to India only. */ +@property(nonatomic, strong, nullable) GTLRShoppingContent_Price *maximumRetailPrice; + /** The energy efficiency class as defined in EU directive 2010/30/EU. */ @property(nonatomic, copy, nullable) NSString *minEnergyEfficiencyClass; @@ -11314,6 +11372,12 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest */ @property(nonatomic, copy, nullable) NSString *couponValueType; +/** + * The custom redemption restriction for the promotion. If the + * `redemption_restriction` field is set to `CUSTOM`, this field must be set. + */ +@property(nonatomic, copy, nullable) NSString *customRedemptionRestriction; + /** Free gift description for the promotion. */ @property(nonatomic, copy, nullable) NSString *freeGiftDescription; @@ -11372,6 +11436,12 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest /** Required. Long title for the promotion. */ @property(nonatomic, copy, nullable) NSString *longTitle; +/** + * The maximum monetary discount a customer can receive for the promotion. This + * field is only supported with the `Percent off` coupon value type. + */ +@property(nonatomic, strong, nullable) GTLRShoppingContent_PriceAmount *maxDiscountAmount; + /** Minimum purchase amount for the promotion. */ @property(nonatomic, strong, nullable) GTLRShoppingContent_PriceAmount *minimumPurchaseAmount; @@ -11481,6 +11551,35 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContent_VerifyPhoneNumberRequest */ @property(nonatomic, strong, nullable) NSArray *redemptionChannel; +/** + * The redemption restriction for the promotion. + * + * Likely values: + * @arg @c kGTLRShoppingContent_Promotion_RedemptionRestriction_Custom The + * customer must meet a custom restriction to redeem the promotion. If + * selected, the `custom_redemption_restriction` field must be set. + * (Value: "CUSTOM") + * @arg @c kGTLRShoppingContent_Promotion_RedemptionRestriction_FirstOrder + * The customer must be a first-time customer to redeem the promotion. + * (Value: "FIRST_ORDER") + * @arg @c kGTLRShoppingContent_Promotion_RedemptionRestriction_FormsOfPayment + * The customer must use a specific form of payment to redeem the + * promotion. (Value: "FORMS_OF_PAYMENT") + * @arg @c kGTLRShoppingContent_Promotion_RedemptionRestriction_RedemptionRestrictionUnspecified + * The redemption restriction is unspecified. (Value: + * "REDEMPTION_RESTRICTION_UNSPECIFIED") + * @arg @c kGTLRShoppingContent_Promotion_RedemptionRestriction_SignUpForEmail + * The customer must sign up for email's to redeem the promotion. (Value: + * "SIGN_UP_FOR_EMAIL") + * @arg @c kGTLRShoppingContent_Promotion_RedemptionRestriction_SignUpForText + * The customer must sign up for text to redeem the promotion. (Value: + * "SIGN_UP_FOR_TEXT") + * @arg @c kGTLRShoppingContent_Promotion_RedemptionRestriction_SubscribeAndSave + * The customer must subscribe to the merchant's channel to redeem the + * promotion. (Value: "SUBSCRIBE_AND_SAVE") + */ +@property(nonatomic, copy, nullable) NSString *redemptionRestriction; + /** Shipping service names for the promotion. */ @property(nonatomic, strong, nullable) NSArray *shippingServiceNames; diff --git a/Sources/GeneratedServices/Spanner/GTLRSpannerObjects.m b/Sources/GeneratedServices/Spanner/GTLRSpannerObjects.m index 1dabe9e92..9f6cbae6e 100644 --- a/Sources/GeneratedServices/Spanner/GTLRSpannerObjects.m +++ b/Sources/GeneratedServices/Spanner/GTLRSpannerObjects.m @@ -64,6 +64,19 @@ NSString * const kGTLRSpanner_Database_State_ReadyOptimizing = @"READY_OPTIMIZING"; NSString * const kGTLRSpanner_Database_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRSpanner_DataChangeRecord.modType +NSString * const kGTLRSpanner_DataChangeRecord_ModType_Delete = @"DELETE"; +NSString * const kGTLRSpanner_DataChangeRecord_ModType_Insert = @"INSERT"; +NSString * const kGTLRSpanner_DataChangeRecord_ModType_ModTypeUnspecified = @"MOD_TYPE_UNSPECIFIED"; +NSString * const kGTLRSpanner_DataChangeRecord_ModType_Update = @"UPDATE"; + +// GTLRSpanner_DataChangeRecord.valueCaptureType +NSString * const kGTLRSpanner_DataChangeRecord_ValueCaptureType_NewRow = @"NEW_ROW"; +NSString * const kGTLRSpanner_DataChangeRecord_ValueCaptureType_NewRowAndOldValues = @"NEW_ROW_AND_OLD_VALUES"; +NSString * const kGTLRSpanner_DataChangeRecord_ValueCaptureType_NewValues = @"NEW_VALUES"; +NSString * const kGTLRSpanner_DataChangeRecord_ValueCaptureType_OldAndNewValues = @"OLD_AND_NEW_VALUES"; +NSString * const kGTLRSpanner_DataChangeRecord_ValueCaptureType_ValueCaptureTypeUnspecified = @"VALUE_CAPTURE_TYPE_UNSPECIFIED"; + // GTLRSpanner_DiagnosticMessage.severity NSString * const kGTLRSpanner_DiagnosticMessage_Severity_Error = @"ERROR"; NSString * const kGTLRSpanner_DiagnosticMessage_Severity_Fatal = @"FATAL"; @@ -564,6 +577,17 @@ @implementation GTLRSpanner_ChangeQuorumRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_ChangeStreamRecord +// + +@implementation GTLRSpanner_ChangeStreamRecord +@dynamic dataChangeRecord, heartbeatRecord, partitionEndRecord, + partitionEventRecord, partitionStartRecord; +@end + + // ---------------------------------------------------------------------------- // // GTLRSpanner_ChildLink @@ -574,6 +598,16 @@ @implementation GTLRSpanner_ChildLink @end +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_ColumnMetadata +// + +@implementation GTLRSpanner_ColumnMetadata +@dynamic isPrimaryKey, name, ordinalPosition, type; +@end + + // ---------------------------------------------------------------------------- // // GTLRSpanner_CommitRequest @@ -838,6 +872,28 @@ @implementation GTLRSpanner_DatabaseRole @end +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_DataChangeRecord +// + +@implementation GTLRSpanner_DataChangeRecord +@dynamic columnMetadata, commitTimestamp, isLastRecordInTransactionInPartition, + isSystemTransaction, mods, modType, numberOfPartitionsInTransaction, + numberOfRecordsInTransaction, recordSequence, serverTransactionId, + table, transactionTag, valueCaptureType; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"columnMetadata" : [GTLRSpanner_ColumnMetadata class], + @"mods" : [GTLRSpanner_Mod class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSpanner_DdlStatementActionInfo @@ -1118,6 +1174,16 @@ @implementation GTLRSpanner_GetPolicyOptions @end +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_HeartbeatRecord +// + +@implementation GTLRSpanner_HeartbeatRecord +@dynamic timestamp; +@end + + // ---------------------------------------------------------------------------- // // GTLRSpanner_IncludeReplicas @@ -1855,6 +1921,46 @@ @implementation GTLRSpanner_MetricMatrixRow @end +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_Mod +// + +@implementation GTLRSpanner_Mod +@dynamic keys, newValues, oldValues; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"keys" : [GTLRSpanner_ModValue class], + @"newValues" : [GTLRSpanner_ModValue class], + @"oldValues" : [GTLRSpanner_ModValue class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_ModValue +// + +@implementation GTLRSpanner_ModValue +@dynamic columnMetadataIndex, value; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_MoveInEvent +// + +@implementation GTLRSpanner_MoveInEvent +@dynamic sourcePartitionToken; +@end + + // ---------------------------------------------------------------------------- // // GTLRSpanner_MoveInstanceRequest @@ -1873,6 +1979,16 @@ @implementation GTLRSpanner_MoveInstanceRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_MoveOutEvent +// + +@implementation GTLRSpanner_MoveOutEvent +@dynamic destinationPartitionToken; +@end + + // ---------------------------------------------------------------------------- // // GTLRSpanner_MultiplexedSessionPrecommitToken @@ -2012,6 +2128,36 @@ @implementation GTLRSpanner_PartitionedDml @end +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_PartitionEndRecord +// + +@implementation GTLRSpanner_PartitionEndRecord +@dynamic endTimestamp, partitionToken, recordSequence; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_PartitionEventRecord +// + +@implementation GTLRSpanner_PartitionEventRecord +@dynamic commitTimestamp, moveInEvents, moveOutEvents, partitionToken, + recordSequence; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"moveInEvents" : [GTLRSpanner_MoveInEvent class], + @"moveOutEvents" : [GTLRSpanner_MoveOutEvent class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSpanner_PartitionOptions @@ -2096,6 +2242,24 @@ @implementation GTLRSpanner_PartitionResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRSpanner_PartitionStartRecord +// + +@implementation GTLRSpanner_PartitionStartRecord +@dynamic partitionTokens, recordSequence, startTimestamp; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"partitionTokens" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSpanner_PlanNode diff --git a/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h b/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h index c36b315e8..474878d6d 100644 --- a/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h +++ b/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h @@ -30,6 +30,7 @@ @class GTLRSpanner_Binding; @class GTLRSpanner_ChangeQuorumRequest; @class GTLRSpanner_ChildLink; +@class GTLRSpanner_ColumnMetadata; @class GTLRSpanner_CommitStats; @class GTLRSpanner_ContextValue; @class GTLRSpanner_CopyBackupEncryptionConfig; @@ -38,6 +39,7 @@ @class GTLRSpanner_Database; @class GTLRSpanner_DatabaseMoveConfig; @class GTLRSpanner_DatabaseRole; +@class GTLRSpanner_DataChangeRecord; @class GTLRSpanner_DdlStatementActionInfo; @class GTLRSpanner_Delete; @class GTLRSpanner_DerivedMetric; @@ -54,6 +56,7 @@ @class GTLRSpanner_FreeInstanceMetadata; @class GTLRSpanner_FullBackupSpec; @class GTLRSpanner_GetPolicyOptions; +@class GTLRSpanner_HeartbeatRecord; @class GTLRSpanner_IncludeReplicas; @class GTLRSpanner_IncrementalBackupSpec; @class GTLRSpanner_IndexAdvice; @@ -81,6 +84,10 @@ @class GTLRSpanner_Metric_IndexedKeyRangeInfos; @class GTLRSpanner_MetricMatrix; @class GTLRSpanner_MetricMatrixRow; +@class GTLRSpanner_Mod; +@class GTLRSpanner_ModValue; +@class GTLRSpanner_MoveInEvent; +@class GTLRSpanner_MoveOutEvent; @class GTLRSpanner_MultiplexedSessionPrecommitToken; @class GTLRSpanner_Mutation; @class GTLRSpanner_MutationGroup; @@ -90,9 +97,12 @@ @class GTLRSpanner_OperationProgress; @class GTLRSpanner_Partition; @class GTLRSpanner_PartitionedDml; +@class GTLRSpanner_PartitionEndRecord; +@class GTLRSpanner_PartitionEventRecord; @class GTLRSpanner_PartitionOptions; @class GTLRSpanner_PartitionQueryRequest_Params; @class GTLRSpanner_PartitionQueryRequest_ParamTypes; +@class GTLRSpanner_PartitionStartRecord; @class GTLRSpanner_PlanNode; @class GTLRSpanner_PlanNode_ExecutionStats; @class GTLRSpanner_PlanNode_Metadata; @@ -396,6 +406,70 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_Database_State_ReadyOptimizing; */ FOUNDATION_EXTERN NSString * const kGTLRSpanner_Database_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRSpanner_DataChangeRecord.modType + +/** + * Indicates existing data was deleted. + * + * Value: "DELETE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSpanner_DataChangeRecord_ModType_Delete; +/** + * Indicates data was inserted. + * + * Value: "INSERT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSpanner_DataChangeRecord_ModType_Insert; +/** + * Not specified. + * + * Value: "MOD_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSpanner_DataChangeRecord_ModType_ModTypeUnspecified; +/** + * Indicates existing data was updated. + * + * Value: "UPDATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSpanner_DataChangeRecord_ModType_Update; + +// ---------------------------------------------------------------------------- +// GTLRSpanner_DataChangeRecord.valueCaptureType + +/** + * Records new values of all watched columns, including modified and unmodified + * columns. + * + * Value: "NEW_ROW" + */ +FOUNDATION_EXTERN NSString * const kGTLRSpanner_DataChangeRecord_ValueCaptureType_NewRow; +/** + * Records the new values of all watched columns, including modified and + * unmodified columns. Also records the old values of the modified columns. + * + * Value: "NEW_ROW_AND_OLD_VALUES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSpanner_DataChangeRecord_ValueCaptureType_NewRowAndOldValues; +/** + * Records only new values of the modified watched columns. + * + * Value: "NEW_VALUES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSpanner_DataChangeRecord_ValueCaptureType_NewValues; +/** + * Records both old and new values of the modified watched columns. + * + * Value: "OLD_AND_NEW_VALUES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSpanner_DataChangeRecord_ValueCaptureType_OldAndNewValues; +/** + * Not specified. + * + * Value: "VALUE_CAPTURE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSpanner_DataChangeRecord_ValueCaptureType_ValueCaptureTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRSpanner_DiagnosticMessage.severity @@ -2112,6 +2186,42 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni @end +/** + * Spanner Change Streams enable customers to capture and stream out changes to + * their Spanner databases in real-time. A change stream can be created with + * option partition_mode='IMMUTABLE_KEY_RANGE' or + * partition_mode='MUTABLE_KEY_RANGE'. This message is only used in Change + * Streams created with the option partition_mode='MUTABLE_KEY_RANGE'. Spanner + * automatically creates a special Table-Valued Function (TVF) along with each + * Change Streams. The function provides access to the change stream's records. + * The function is named READ_ (where is the name of the change stream), and it + * returns a table with only one column called ChangeRecord. + */ +@interface GTLRSpanner_ChangeStreamRecord : GTLRObject + +/** + * Data change record describing a data change for a change stream partition. + */ +@property(nonatomic, strong, nullable) GTLRSpanner_DataChangeRecord *dataChangeRecord; + +/** Heartbeat record describing a heartbeat for a change stream partition. */ +@property(nonatomic, strong, nullable) GTLRSpanner_HeartbeatRecord *heartbeatRecord; + +/** Partition end record describing a terminated change stream partition. */ +@property(nonatomic, strong, nullable) GTLRSpanner_PartitionEndRecord *partitionEndRecord; + +/** + * Partition event record describing key range changes for a change stream + * partition. + */ +@property(nonatomic, strong, nullable) GTLRSpanner_PartitionEventRecord *partitionEventRecord; + +/** Partition start record describing a new change stream partition. */ +@property(nonatomic, strong, nullable) GTLRSpanner_PartitionStartRecord *partitionStartRecord; + +@end + + /** * Metadata associated with a parent-child relationship appearing in a * PlanNode. @@ -2147,6 +2257,35 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni @end +/** + * Metadata for a column. + */ +@interface GTLRSpanner_ColumnMetadata : GTLRObject + +/** + * Indicates whether the column is a primary key column. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isPrimaryKey; + +/** Name of the column. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Ordinal position of the column based on the original table definition in the + * schema starting with a value of 1. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *ordinalPosition; + +/** Type of the column. */ +@property(nonatomic, strong, nullable) GTLRSpanner_Type *type; + +@end + + /** * The request for Commit. */ @@ -2953,6 +3092,136 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni @end +/** + * A data change record contains a set of changes to a table with the same + * modification type (insert, update, or delete) committed at the same commit + * timestamp in one change stream partition for the same transaction. Multiple + * data change records can be returned for the same transaction across multiple + * change stream partitions. + */ +@interface GTLRSpanner_DataChangeRecord : GTLRObject + +/** + * Provides metadata describing the columns associated with the mods listed + * below. + */ +@property(nonatomic, strong, nullable) NSArray *columnMetadata; + +/** + * Indicates the timestamp in which the change was committed. + * DataChangeRecord.commit_timestamps, PartitionStartRecord.start_timestamps, + * PartitionEventRecord.commit_timestamps, and + * PartitionEndRecord.end_timestamps can have the same value in the same + * partition. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *commitTimestamp; + +/** + * Indicates whether this is the last record for a transaction in the current + * partition. Clients can use this field to determine when all records for a + * transaction in the current partition have been received. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isLastRecordInTransactionInPartition; + +/** + * Indicates whether the transaction is a system transaction. System + * transactions include those issued by time-to-live (TTL), column backfill, + * etc. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isSystemTransaction; + +/** Describes the changes that were made. */ +@property(nonatomic, strong, nullable) NSArray *mods; + +/** + * Describes the type of change. + * + * Likely values: + * @arg @c kGTLRSpanner_DataChangeRecord_ModType_Delete Indicates existing + * data was deleted. (Value: "DELETE") + * @arg @c kGTLRSpanner_DataChangeRecord_ModType_Insert Indicates data was + * inserted. (Value: "INSERT") + * @arg @c kGTLRSpanner_DataChangeRecord_ModType_ModTypeUnspecified Not + * specified. (Value: "MOD_TYPE_UNSPECIFIED") + * @arg @c kGTLRSpanner_DataChangeRecord_ModType_Update Indicates existing + * data was updated. (Value: "UPDATE") + */ +@property(nonatomic, copy, nullable) NSString *modType; + +/** + * Indicates the number of partitions that return data change records for this + * transaction. This value can be helpful in assembling all records associated + * with a particular transaction. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *numberOfPartitionsInTransaction; + +/** + * Indicates the number of data change records that are part of this + * transaction across all change stream partitions. This value can be used to + * assemble all the records associated with a particular transaction. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *numberOfRecordsInTransaction; + +/** + * Record sequence numbers are unique and monotonically increasing (but not + * necessarily contiguous) for a specific timestamp across record types in the + * same partition. To guarantee ordered processing, the reader should process + * records (of potentially different types) in record_sequence order for a + * specific timestamp in the same partition. The record sequence number + * ordering across partitions is only meaningful in the context of a specific + * transaction. Record sequence numbers are unique across partitions for a + * specific transaction. Sort the DataChangeRecords for the same + * server_transaction_id by record_sequence to reconstruct the ordering of the + * changes within the transaction. + */ +@property(nonatomic, copy, nullable) NSString *recordSequence; + +/** + * Provides a globally unique string that represents the transaction in which + * the change was committed. Multiple transactions can have the same commit + * timestamp, but each transaction has a unique server_transaction_id. + */ +@property(nonatomic, copy, nullable) NSString *serverTransactionId; + +/** Name of the table affected by the change. */ +@property(nonatomic, copy, nullable) NSString *table; + +/** Indicates the transaction tag associated with this transaction. */ +@property(nonatomic, copy, nullable) NSString *transactionTag; + +/** + * Describes the value capture type that was specified in the change stream + * configuration when this change was captured. + * + * Likely values: + * @arg @c kGTLRSpanner_DataChangeRecord_ValueCaptureType_NewRow Records new + * values of all watched columns, including modified and unmodified + * columns. (Value: "NEW_ROW") + * @arg @c kGTLRSpanner_DataChangeRecord_ValueCaptureType_NewRowAndOldValues + * Records the new values of all watched columns, including modified and + * unmodified columns. Also records the old values of the modified + * columns. (Value: "NEW_ROW_AND_OLD_VALUES") + * @arg @c kGTLRSpanner_DataChangeRecord_ValueCaptureType_NewValues Records + * only new values of the modified watched columns. (Value: "NEW_VALUES") + * @arg @c kGTLRSpanner_DataChangeRecord_ValueCaptureType_OldAndNewValues + * Records both old and new values of the modified watched columns. + * (Value: "OLD_AND_NEW_VALUES") + * @arg @c kGTLRSpanner_DataChangeRecord_ValueCaptureType_ValueCaptureTypeUnspecified + * Not specified. (Value: "VALUE_CAPTURE_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *valueCaptureType; + +@end + + /** * Action information extracted from a DDL statement. This proto is used to * display the brief info of the DDL statement for the operation @@ -3649,6 +3918,24 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni @end +/** + * A heartbeat record is returned as a progress indicator, when there are no + * data changes or any other partition record types in the change stream + * partition. + */ +@interface GTLRSpanner_HeartbeatRecord : GTLRObject + +/** + * Indicates the timestamp at which the query has returned all the records in + * the change stream partition with timestamp <= heartbeat timestamp. The + * heartbeat timestamp will not be the same as the timestamps of other record + * types in the same partition. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *timestamp; + +@end + + /** * An `IncludeReplicas` contains a repeated set of `ReplicaSelection` which * indicates the order in which replicas should be considered. @@ -5135,6 +5422,73 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni @end +/** + * A mod describes all data changes in a watched table row. + */ +@interface GTLRSpanner_Mod : GTLRObject + +/** Returns the value of the primary key of the modified row. */ +@property(nonatomic, strong, nullable) NSArray *keys; + +/** + * Returns the new values after the change for the modified columns. Always + * empty for DELETE. + */ +@property(nonatomic, strong, nullable) NSArray *newValues NS_RETURNS_NOT_RETAINED; + +/** + * Returns the old values before the change for the modified columns. Always + * empty for INSERT, or if old values are not being captured specified by + * value_capture_type. + */ +@property(nonatomic, strong, nullable) NSArray *oldValues; + +@end + + +/** + * Returns the value and associated metadata for a particular field of the Mod. + */ +@interface GTLRSpanner_ModValue : GTLRObject + +/** + * Index within the repeated column_metadata field, to obtain the column + * metadata for the column that was modified. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *columnMetadataIndex; + +/** + * The value of the column. + * + * Can be any valid JSON type. + */ +@property(nonatomic, strong, nullable) id value; + +@end + + +/** + * Describes move-in of the key ranges into the change stream partition + * identified by partition_token. To maintain processing the changes for a + * particular key in timestamp order, the query processing the change stream + * partition identified by partition_token should not advance beyond the + * partition event record commit timestamp until the queries processing the + * source change stream partitions have processed all change stream records + * with timestamps <= the partition event record commit timestamp. + */ +@interface GTLRSpanner_MoveInEvent : GTLRObject + +/** + * An unique partition identifier describing the source change stream partition + * that recorded changes for the key range that is moving into this partition. + */ +@property(nonatomic, copy, nullable) NSString *sourcePartitionToken; + +@end + + /** * The request for MoveInstance. */ @@ -5155,6 +5509,26 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni @end +/** + * Describes move-out of the key ranges out of the change stream partition + * identified by partition_token. To maintain processing the changes for a + * particular key in timestamp order, the query processing the MoveOutEvent in + * the partition identified by partition_token should inform the queries + * processing the destination partitions that they can unblock and proceed + * processing records past the commit_timestamp. + */ +@interface GTLRSpanner_MoveOutEvent : GTLRObject + +/** + * An unique partition identifier describing the destination change stream + * partition that will record changes for the key range that is moving out of + * this partition. + */ +@property(nonatomic, copy, nullable) NSString *destinationPartitionToken; + +@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 @@ -5496,6 +5870,123 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni @end +/** + * A partition end record serves as a notification that the client should stop + * reading the partition. No further records are expected to be retrieved on + * it. + */ +@interface GTLRSpanner_PartitionEndRecord : GTLRObject + +/** + * End timestamp at which the change stream partition is terminated. All + * changes generated by this partition will have timestamps <= end_timestamp. + * DataChangeRecord.commit_timestamps, PartitionStartRecord.start_timestamps, + * PartitionEventRecord.commit_timestamps, and + * PartitionEndRecord.end_timestamps can have the same value in the same + * partition. PartitionEndRecord is the last record returned for a partition. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTimestamp; + +/** + * Unique partition identifier describing the terminated change stream + * partition. partition_token is equal to the partition token of the change + * stream partition currently queried to return this PartitionEndRecord. + */ +@property(nonatomic, copy, nullable) NSString *partitionToken; + +/** + * Record sequence numbers are unique and monotonically increasing (but not + * necessarily contiguous) for a specific timestamp across record types in the + * same partition. To guarantee ordered processing, the reader should process + * records (of potentially different types) in record_sequence order for a + * specific timestamp in the same partition. + */ +@property(nonatomic, copy, nullable) NSString *recordSequence; + +@end + + +/** + * A partition event record describes key range changes for a change stream + * partition. The changes to a row defined by its primary key can be captured + * in one change stream partition for a specific time range, and then be + * captured in a different change stream partition for a different time range. + * This movement of key ranges across change stream partitions is a reflection + * of activities, such as Spanner's dynamic splitting and load balancing, etc. + * Processing this event is needed if users want to guarantee processing of the + * changes for any key in timestamp order. If time ordered processing of + * changes for a primary key is not needed, this event can be ignored. To + * guarantee time ordered processing for each primary key, if the event + * describes move-ins, the reader of this partition needs to wait until the + * readers of the source partitions have processed all records with timestamps + * <= this PartitionEventRecord.commit_timestamp, before advancing beyond this + * PartitionEventRecord. If the event describes move-outs, the reader can + * notify the readers of the destination partitions that they can continue + * processing. + */ +@interface GTLRSpanner_PartitionEventRecord : GTLRObject + +/** + * Indicates the commit timestamp at which the key range change occurred. + * DataChangeRecord.commit_timestamps, PartitionStartRecord.start_timestamps, + * PartitionEventRecord.commit_timestamps, and + * PartitionEndRecord.end_timestamps can have the same value in the same + * partition. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *commitTimestamp; + +/** + * Set when one or more key ranges are moved into the change stream partition + * identified by partition_token. Example: Two key ranges are moved into + * partition (P1) from partition (P2) and partition (P3) in a single + * transaction at timestamp T. The PartitionEventRecord returned in P1 will + * reflect the move as: PartitionEventRecord { commit_timestamp: T + * partition_token: "P1" move_in_events { source_partition_token: "P2" } + * move_in_events { source_partition_token: "P3" } } The PartitionEventRecord + * returned in P2 will reflect the move as: PartitionEventRecord { + * commit_timestamp: T partition_token: "P2" move_out_events { + * destination_partition_token: "P1" } } The PartitionEventRecord returned in + * P3 will reflect the move as: PartitionEventRecord { commit_timestamp: T + * partition_token: "P3" move_out_events { destination_partition_token: "P1" } + * } + */ +@property(nonatomic, strong, nullable) NSArray *moveInEvents; + +/** + * Set when one or more key ranges are moved out of the change stream partition + * identified by partition_token. Example: Two key ranges are moved out of + * partition (P1) to partition (P2) and partition (P3) in a single transaction + * at timestamp T. The PartitionEventRecord returned in P1 will reflect the + * move as: PartitionEventRecord { commit_timestamp: T partition_token: "P1" + * move_out_events { destination_partition_token: "P2" } move_out_events { + * destination_partition_token: "P3" } } The PartitionEventRecord returned in + * P2 will reflect the move as: PartitionEventRecord { commit_timestamp: T + * partition_token: "P2" move_in_events { source_partition_token: "P1" } } The + * PartitionEventRecord returned in P3 will reflect the move as: + * PartitionEventRecord { commit_timestamp: T partition_token: "P3" + * move_in_events { source_partition_token: "P1" } } + */ +@property(nonatomic, strong, nullable) NSArray *moveOutEvents; + +/** + * Unique partition identifier describing the partition this event occurred on. + * partition_token is equal to the partition token of the change stream + * partition currently queried to return this PartitionEventRecord. + */ +@property(nonatomic, copy, nullable) NSString *partitionToken; + +/** + * Record sequence numbers are unique and monotonically increasing (but not + * necessarily contiguous) for a specific timestamp across record types in the + * same partition. To guarantee ordered processing, the reader should process + * records (of potentially different types) in record_sequence order for a + * specific timestamp in the same partition. + */ +@property(nonatomic, copy, nullable) NSString *recordSequence; + +@end + + /** * Options for a `PartitionQueryRequest` and `PartitionReadRequest`. */ @@ -5666,6 +6157,38 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni @end +/** + * A partition start record serves as a notification that the client should + * schedule the partitions to be queried. PartitionStartRecord returns + * information about one or more partitions. + */ +@interface GTLRSpanner_PartitionStartRecord : GTLRObject + +/** Unique partition identifiers to be used in queries. */ +@property(nonatomic, strong, nullable) NSArray *partitionTokens; + +/** + * Record sequence numbers are unique and monotonically increasing (but not + * necessarily contiguous) for a specific timestamp across record types in the + * same partition. To guarantee ordered processing, the reader should process + * records (of potentially different types) in record_sequence order for a + * specific timestamp in the same partition. + */ +@property(nonatomic, copy, nullable) NSString *recordSequence; + +/** + * Start timestamp at which the partitions should be queried to return change + * stream records with timestamps >= start_timestamp. + * DataChangeRecord.commit_timestamps, PartitionStartRecord.start_timestamps, + * PartitionEventRecord.commit_timestamps, and + * PartitionEndRecord.end_timestamps can have the same value in the same + * partition. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTimestamp; + +@end + + /** * Node information for nodes appearing in a QueryPlan.plan_nodes. */ @@ -7168,204 +7691,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni /** - * Transactions: Each session can have at most one active transaction at a time - * (note that standalone reads and queries use a transaction internally and do - * count towards the one transaction limit). After the active transaction is - * completed, the session can immediately be re-used for the next transaction. - * It is not necessary to create a new session for each transaction. - * Transaction modes: Cloud Spanner supports three transaction modes: 1. - * Locking read-write. This type of transaction is the only way to write data - * into Cloud Spanner. These transactions rely on pessimistic locking and, if - * necessary, two-phase commit. Locking read-write transactions may abort, - * requiring the application to retry. 2. Snapshot read-only. Snapshot - * read-only transactions provide guaranteed consistency across several reads, - * but do not allow writes. Snapshot read-only transactions can be configured - * to read at timestamps in the past, or configured to perform a strong read - * (where Spanner selects a timestamp such that the read is guaranteed to see - * the effects of all transactions that have committed before the start of the - * read). Snapshot read-only transactions do not need to be committed. Queries - * on change streams must be performed with the snapshot read-only transaction - * mode, specifying a strong read. See TransactionOptions.ReadOnly.strong for - * more details. 3. Partitioned DML. This type of transaction is used to - * execute a single Partitioned DML statement. Partitioned DML partitions the - * key space and runs the DML statement over each partition in parallel using - * separate, internal transactions that commit independently. Partitioned DML - * transactions do not need to be committed. For transactions that only read, - * snapshot read-only transactions provide simpler semantics and are almost - * always faster. In particular, read-only transactions do not take locks, so - * they do not conflict with read-write transactions. As a consequence of not - * taking locks, they also do not abort, so retry loops are not needed. - * Transactions may only read-write data in a single database. They may, - * however, read-write data in different tables within that database. Locking - * read-write transactions: Locking transactions may be used to atomically - * read-modify-write data anywhere in a database. This type of transaction is - * externally consistent. Clients should attempt to minimize the amount of time - * a transaction is active. Faster transactions commit with higher probability - * and cause less contention. Cloud Spanner attempts to keep read locks active - * as long as the transaction continues to do reads, and the transaction has - * not been terminated by Commit or Rollback. Long periods of inactivity at the - * client may cause Cloud Spanner to release a transaction's locks and abort - * it. Conceptually, a read-write transaction consists of zero or more reads or - * SQL statements followed by Commit. At any time before Commit, the client can - * send a Rollback request to abort the transaction. Semantics: Cloud Spanner - * can commit the transaction if all read locks it acquired are still valid at - * commit time, and it is able to acquire write locks for all writes. Cloud - * Spanner can abort the transaction for any reason. If a commit attempt - * returns `ABORTED`, Cloud Spanner guarantees that the transaction has not - * modified any user data in Cloud Spanner. Unless the transaction commits, - * Cloud Spanner makes no guarantees about how long the transaction's locks - * were held for. It is an error to use Cloud Spanner locks for any sort of - * mutual exclusion other than between Cloud Spanner transactions themselves. - * Retrying aborted transactions: When a transaction aborts, the application - * can choose to retry the whole transaction again. To maximize the chances of - * successfully committing the retry, the client should execute the retry in - * the same session as the original attempt. The original session's lock - * priority increases with each consecutive abort, meaning that each attempt - * has a slightly better chance of success than the previous. Note that the - * lock priority is preserved per session (not per transaction). Lock priority - * is set by the first read or write in the first attempt of a read-write - * transaction. If the application starts a new session to retry the whole - * transaction, the transaction loses its original lock priority. Moreover, the - * lock priority is only preserved if the transaction fails with an `ABORTED` - * error. Under some circumstances (for example, many transactions attempting - * to modify the same row(s)), a transaction can abort many times in a short - * period before successfully committing. Thus, it is not a good idea to cap - * the number of retries a transaction can attempt; instead, it is better to - * limit the total amount of time spent retrying. Idle transactions: A - * transaction is considered idle if it has no outstanding reads or SQL queries - * and has not started a read or SQL query within the last 10 seconds. Idle - * transactions can be aborted by Cloud Spanner so that they don't hold on to - * locks indefinitely. If an idle transaction is aborted, the commit fails with - * error `ABORTED`. If this behavior is undesirable, periodically executing a - * simple SQL query in the transaction (for example, `SELECT 1`) prevents the - * transaction from becoming idle. Snapshot read-only transactions: Snapshot - * read-only transactions provides a simpler method than locking read-write - * transactions for doing several consistent reads. However, this type of - * transaction does not support writes. Snapshot transactions do not take - * locks. Instead, they work by choosing a Cloud Spanner timestamp, then - * executing all reads at that timestamp. Since they do not acquire locks, they - * do not block concurrent read-write transactions. Unlike locking read-write - * transactions, snapshot read-only transactions never abort. They can fail if - * the chosen read timestamp is garbage collected; however, the default garbage - * collection policy is generous enough that most applications do not need to - * worry about this in practice. Snapshot read-only transactions do not need to - * call Commit or Rollback (and in fact are not permitted to do so). To execute - * a snapshot transaction, the client specifies a timestamp bound, which tells - * Cloud Spanner how to choose a read timestamp. The types of timestamp bound - * are: - Strong (the default). - Bounded staleness. - Exact staleness. If the - * Cloud Spanner database to be read is geographically distributed, stale - * read-only transactions can execute more quickly than strong or read-write - * transactions, because they are able to execute far from the leader replica. - * Each type of timestamp bound is discussed in detail below. Strong: Strong - * reads are guaranteed to see the effects of all transactions that have - * committed before the start of the read. Furthermore, all rows yielded by a - * single read are consistent with each other -- if any part of the read - * observes a transaction, all parts of the read see the transaction. Strong - * reads are not repeatable: two consecutive strong read-only transactions - * might return inconsistent results if there are concurrent writes. If - * consistency across reads is required, the reads should be executed within a - * transaction or at an exact read timestamp. Queries on change streams (see - * below for more details) must also specify the strong read timestamp bound. - * See TransactionOptions.ReadOnly.strong. Exact staleness: These timestamp - * bounds execute reads at a user-specified timestamp. Reads at a timestamp are - * guaranteed to see a consistent prefix of the global transaction history: - * they observe modifications done by all transactions with a commit timestamp - * less than or equal to the read timestamp, and observe none of the - * modifications done by transactions with a larger commit timestamp. They - * block until all conflicting transactions that can be assigned commit - * timestamps <= the read timestamp have finished. The timestamp can either be - * expressed as an absolute Cloud Spanner commit timestamp or a staleness - * relative to the current time. These modes do not require a "negotiation - * phase" to pick a timestamp. As a result, they execute slightly faster than - * the equivalent boundedly stale concurrency modes. On the other hand, - * boundedly stale reads usually return fresher results. See - * TransactionOptions.ReadOnly.read_timestamp and - * TransactionOptions.ReadOnly.exact_staleness. Bounded staleness: Bounded - * staleness modes allow Cloud Spanner to pick the read timestamp, subject to a - * user-provided staleness bound. Cloud Spanner chooses the newest timestamp - * within the staleness bound that allows execution of the reads at the closest - * available replica without blocking. All rows yielded are consistent with - * each other -- if any part of the read observes a transaction, all parts of - * the read see the transaction. Boundedly stale reads are not repeatable: two - * stale reads, even if they use the same staleness bound, can execute at - * different timestamps and thus return inconsistent results. Boundedly stale - * reads execute in two phases: the first phase negotiates a timestamp among - * all replicas needed to serve the read. In the second phase, reads are - * executed at the negotiated timestamp. As a result of the two phase - * execution, bounded staleness reads are usually a little slower than - * comparable exact staleness reads. However, they are typically able to return - * fresher results, and are more likely to execute at the closest replica. - * Because the timestamp negotiation requires up-front knowledge of which rows - * are read, it can only be used with single-use read-only transactions. See - * TransactionOptions.ReadOnly.max_staleness and - * TransactionOptions.ReadOnly.min_read_timestamp. Old read timestamps and - * garbage collection: Cloud Spanner continuously garbage collects deleted and - * overwritten data in the background to reclaim storage space. This process is - * known as "version GC". By default, version GC reclaims versions after they - * are one hour old. Because of this, Cloud Spanner can't perform reads at read - * timestamps more than one hour in the past. This restriction also applies to - * in-progress reads and/or SQL queries whose timestamp become too old while - * executing. Reads and SQL queries with too-old read timestamps fail with the - * error `FAILED_PRECONDITION`. You can configure and extend the - * `VERSION_RETENTION_PERIOD` of a database up to a period as long as one week, - * which allows Cloud Spanner to perform reads up to one week in the past. - * Querying change Streams: A Change Stream is a schema object that can be - * configured to watch data changes on the entire database, a set of tables, or - * a set of columns in a database. When a change stream is created, Spanner - * automatically defines a corresponding SQL Table-Valued Function (TVF) that - * can be used to query the change records in the associated change stream - * using the ExecuteStreamingSql API. The name of the TVF for a change stream - * is generated from the name of the change stream: READ_. All queries on - * change stream TVFs must be executed using the ExecuteStreamingSql API with a - * single-use read-only transaction with a strong read-only timestamp_bound. - * The change stream TVF allows users to specify the start_timestamp and - * end_timestamp for the time range of interest. All change records within the - * retention period is accessible using the strong read-only timestamp_bound. - * All other TransactionOptions are invalid for change stream queries. In - * addition, if TransactionOptions.read_only.return_read_timestamp is set to - * true, a special value of 2^63 - 2 is returned in the Transaction message - * that describes the transaction, instead of a valid read timestamp. This - * special value should be discarded and not used for any subsequent queries. - * Please see https://cloud.google.com/spanner/docs/change-streams for more - * details on how to query the change stream TVFs. Partitioned DML - * transactions: Partitioned DML transactions are used to execute DML - * statements with a different execution strategy that provides different, and - * often better, scalability properties for large, table-wide operations than - * DML in a ReadWrite transaction. Smaller scoped statements, such as an OLTP - * workload, should prefer using ReadWrite transactions. Partitioned DML - * partitions the keyspace and runs the DML statement on each partition in - * separate, internal transactions. These transactions commit automatically - * when complete, and run independently from one another. To reduce lock - * contention, this execution strategy only acquires read locks on rows that - * match the WHERE clause of the statement. Additionally, the smaller - * per-partition transactions hold locks for less time. That said, Partitioned - * DML is not a drop-in replacement for standard DML used in ReadWrite - * transactions. - The DML statement must be fully-partitionable. Specifically, - * the statement must be expressible as the union of many statements which each - * access only a single row of the table. - The statement is not applied - * atomically to all rows of the table. Rather, the statement is applied - * atomically to partitions of the table, in independent transactions. - * Secondary index rows are updated atomically with the base table rows. - - * Partitioned DML does not guarantee exactly-once execution semantics against - * a partition. The statement is applied at least once to each partition. It is - * strongly recommended that the DML statement should be idempotent to avoid - * unexpected results. For instance, it is potentially dangerous to run a - * statement such as `UPDATE table SET column = column + 1` as it could be run - * multiple times against some rows. - The partitions are committed - * automatically - there is no support for Commit or Rollback. If the call - * returns an error, or if the client issuing the ExecuteSql call dies, it is - * possible that some rows had the statement executed on them successfully. It - * is also possible that statement was never executed against other rows. - - * Partitioned DML transactions may only contain the execution of a single DML - * statement via ExecuteSql or ExecuteStreamingSql. - If any error is - * encountered during the execution of the partitioned DML operation (for - * instance, a UNIQUE INDEX violation, division by zero, or a value that can't - * be stored due to schema constraints), then the operation is stopped at that - * point and an error is returned. It is possible that at this point, some - * partitions have been committed (or even committed multiple times), and other - * partitions have not been run at all. Given the above, Partitioned DML is - * good fit for large, database-wide, operations that are idempotent, such as - * deleting old rows from a very large table. + * Options to use for transactions. */ @interface GTLRSpanner_TransactionOptions : GTLRObject diff --git a/Sources/GeneratedServices/Storage/GTLRStorageObjects.m b/Sources/GeneratedServices/Storage/GTLRStorageObjects.m index 9440601f5..5b0a90128 100644 --- a/Sources/GeneratedServices/Storage/GTLRStorageObjects.m +++ b/Sources/GeneratedServices/Storage/GTLRStorageObjects.m @@ -188,7 +188,8 @@ @implementation GTLRStorage_Bucket_IamConfiguration // @implementation GTLRStorage_Bucket_IpFilter -@dynamic allowCrossOrgVpcs, mode, publicNetworkSource, vpcNetworkSources; +@dynamic allowAllServiceAgentAccess, allowCrossOrgVpcs, mode, + publicNetworkSource, vpcNetworkSources; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -896,7 +897,7 @@ @implementation GTLRStorage_Notifications @implementation GTLRStorage_Object @dynamic acl, bucket, cacheControl, componentCount, contentDisposition, - contentEncoding, contentLanguage, contentType, crc32c, + contentEncoding, contentLanguage, contentType, contexts, crc32c, customerEncryption, customTime, ETag, eventBasedHold, generation, hardDeleteTime, identifier, kind, kmsKeyName, md5Hash, mediaLink, metadata, metageneration, name, owner, restoreToken, retention, @@ -922,6 +923,16 @@ @implementation GTLRStorage_Object @end +// ---------------------------------------------------------------------------- +// +// GTLRStorage_Object_Contexts +// + +@implementation GTLRStorage_Object_Contexts +@dynamic custom; +@end + + // ---------------------------------------------------------------------------- // // GTLRStorage_Object_CustomerEncryption @@ -966,6 +977,20 @@ @implementation GTLRStorage_Object_Retention @end +// ---------------------------------------------------------------------------- +// +// GTLRStorage_Object_Contexts_Custom +// + +@implementation GTLRStorage_Object_Contexts_Custom + ++ (Class)classForAdditionalProperties { + return [GTLRStorage_ObjectCustomContextPayload class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRStorage_ObjectAccessControl @@ -1014,6 +1039,16 @@ @implementation GTLRStorage_ObjectAccessControls @end +// ---------------------------------------------------------------------------- +// +// GTLRStorage_ObjectCustomContextPayload +// + +@implementation GTLRStorage_ObjectCustomContextPayload +@dynamic createTime, updateTime, value; +@end + + // ---------------------------------------------------------------------------- // // GTLRStorage_Objects diff --git a/Sources/GeneratedServices/Storage/GTLRStorageQuery.m b/Sources/GeneratedServices/Storage/GTLRStorageQuery.m index 2ed67f05e..87cb179a8 100644 --- a/Sources/GeneratedServices/Storage/GTLRStorageQuery.m +++ b/Sources/GeneratedServices/Storage/GTLRStorageQuery.m @@ -1620,7 +1620,7 @@ + (instancetype)queryWithObject:(GTLRStorage_Object *)object @implementation GTLRStorageQuery_ObjectsList -@dynamic bucket, delimiter, endOffset, includeFoldersAsPrefixes, +@dynamic bucket, delimiter, endOffset, filter, includeFoldersAsPrefixes, includeTrailingDelimiter, matchGlob, maxResults, pageToken, prefix, projection, softDeleted, startOffset, userProject, versions; diff --git a/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h b/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h index 34acacc9c..8698c129e 100644 --- a/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h +++ b/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h @@ -60,12 +60,15 @@ @class GTLRStorage_Notification; @class GTLRStorage_Notification_CustomAttributes; @class GTLRStorage_Object; +@class GTLRStorage_Object_Contexts; +@class GTLRStorage_Object_Contexts_Custom; @class GTLRStorage_Object_CustomerEncryption; @class GTLRStorage_Object_Metadata; @class GTLRStorage_Object_Owner; @class GTLRStorage_Object_Retention; @class GTLRStorage_ObjectAccessControl; @class GTLRStorage_ObjectAccessControl_ProjectTeam; +@class GTLRStorage_ObjectCustomContextPayload; @class GTLRStorage_Policy_Bindings_Item; @class GTLRStorage_RelocateBucketRequest_DestinationCustomPlacementConfig; @@ -557,6 +560,14 @@ NS_ASSUME_NONNULL_BEGIN */ @interface GTLRStorage_Bucket_IpFilter : GTLRObject +/** + * Whether to allow all service agents to access the bucket regardless of the + * IP filter configuration. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowAllServiceAgentAccess; + /** * Whether to allow cross-org VPCs in the bucket's IP filter configuration. * @@ -1945,6 +1956,13 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *contentType; +/** + * User-defined or system-defined object contexts. Each object context is a + * key-payload pair, where the key provides the identification and the payload + * holds the associated value and additional metadata. + */ +@property(nonatomic, strong, nullable) GTLRStorage_Object_Contexts *contexts; + /** * CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 * in big-endian byte order. For more information about using the CRC32c @@ -2122,6 +2140,19 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * User-defined or system-defined object contexts. Each object context is a + * key-payload pair, where the key provides the identification and the payload + * holds the associated value and additional metadata. + */ +@interface GTLRStorage_Object_Contexts : GTLRObject + +/** User-defined object contexts. */ +@property(nonatomic, strong, nullable) GTLRStorage_Object_Contexts_Custom *custom; + +@end + + /** * Metadata of customer-supplied encryption key, if the object is encrypted by * such a key. @@ -2179,6 +2210,18 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * User-defined object contexts. + * + * @note This class is documented as having more properties of + * GTLRStorage_ObjectCustomContextPayload. 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 GTLRStorage_Object_Contexts_Custom : GTLRObject +@end + + /** * An access-control entry. */ @@ -2291,6 +2334,25 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * The payload of a single user-defined object context. + */ +@interface GTLRStorage_ObjectCustomContextPayload : GTLRObject + +/** The time at which the object context was created in RFC 3339 format. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * The time at which the object context was last updated in RFC 3339 format. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +/** The value of the object context. */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + + /** * A list of objects. * diff --git a/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageQuery.h b/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageQuery.h index 7093934f0..5fab2c5cf 100644 --- a/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageQuery.h +++ b/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageQuery.h @@ -3511,6 +3511,13 @@ FOUNDATION_EXTERN NSString * const kGTLRStorageProjectionNoAcl; */ @property(nonatomic, copy, nullable) NSString *endOffset; +/** + * Filter the returned objects. Currently only supported for the contexts + * field. If delimiter is set, the returned prefixes are exempt from this + * filter. + */ +@property(nonatomic, copy, nullable) NSString *filter; + /** * Only applicable if delimiter is set to '/'. If true, will also include * folders and managed folders (besides objects) in the returned prefixes. diff --git a/Sources/GeneratedServices/SubscriptionLinking/GTLRSubscriptionLinkingObjects.m b/Sources/GeneratedServices/SubscriptionLinking/GTLRSubscriptionLinkingObjects.m index 297cf3654..72416080d 100644 --- a/Sources/GeneratedServices/SubscriptionLinking/GTLRSubscriptionLinkingObjects.m +++ b/Sources/GeneratedServices/SubscriptionLinking/GTLRSubscriptionLinkingObjects.m @@ -35,7 +35,7 @@ @implementation GTLRSubscriptionLinking_Entitlement // @implementation GTLRSubscriptionLinking_Reader -@dynamic createTime, name; +@dynamic createTime, name, originatingPublicationId, ppid, publicationId; @end diff --git a/Sources/GeneratedServices/SubscriptionLinking/Public/GoogleAPIClientForREST/GTLRSubscriptionLinkingObjects.h b/Sources/GeneratedServices/SubscriptionLinking/Public/GoogleAPIClientForREST/GTLRSubscriptionLinkingObjects.h index 9c53432b1..a8f549f9f 100644 --- a/Sources/GeneratedServices/SubscriptionLinking/Public/GoogleAPIClientForREST/GTLRSubscriptionLinkingObjects.h +++ b/Sources/GeneratedServices/SubscriptionLinking/Public/GoogleAPIClientForREST/GTLRSubscriptionLinkingObjects.h @@ -83,6 +83,21 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Output only. The SwG publication id that the reader's subscription linking + * was originating from. + */ +@property(nonatomic, copy, nullable) NSString *originatingPublicationId; + +/** Output only. The publisher provided id of the reader. */ +@property(nonatomic, copy, nullable) NSString *ppid; + +/** + * Output only. The SwG publication id that the reader has linked their + * subscription to. + */ +@property(nonatomic, copy, nullable) NSString *publicationId; + @end diff --git a/Sources/GeneratedServices/Testing/GTLRTestingObjects.m b/Sources/GeneratedServices/Testing/GTLRTestingObjects.m index 1db0e6a3b..56663d2cd 100644 --- a/Sources/GeneratedServices/Testing/GTLRTestingObjects.m +++ b/Sources/GeneratedServices/Testing/GTLRTestingObjects.m @@ -431,13 +431,31 @@ @implementation GTLRTesting_ApkManifest @end +// ---------------------------------------------------------------------------- +// +// GTLRTesting_ApkSplits +// + +@implementation GTLRTesting_ApkSplits +@dynamic bundleSplits; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"bundleSplits" : [GTLRTesting_FileReference class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRTesting_AppBundle // @implementation GTLRTesting_AppBundle -@dynamic bundleLocation; +@dynamic apks, bundleLocation; @end diff --git a/Sources/GeneratedServices/Testing/Public/GoogleAPIClientForREST/GTLRTestingObjects.h b/Sources/GeneratedServices/Testing/Public/GoogleAPIClientForREST/GTLRTestingObjects.h index 169d3c8dd..419898af1 100644 --- a/Sources/GeneratedServices/Testing/Public/GoogleAPIClientForREST/GTLRTestingObjects.h +++ b/Sources/GeneratedServices/Testing/Public/GoogleAPIClientForREST/GTLRTestingObjects.h @@ -29,6 +29,7 @@ @class GTLRTesting_Apk; @class GTLRTesting_ApkDetail; @class GTLRTesting_ApkManifest; +@class GTLRTesting_ApkSplits; @class GTLRTesting_AppBundle; @class GTLRTesting_ClientInfo; @class GTLRTesting_ClientInfoDetail; @@ -1648,6 +1649,22 @@ FOUNDATION_EXTERN NSString * const kGTLRTesting_TestMatrix_State_Validating; @end +/** + * A single dynamic feature apk. + */ +@interface GTLRTesting_ApkSplits : GTLRObject + +/** + * A list of .apk files generated by bundletool to install to the device under + * test as a single android app with adb install-multiple. If specified, + * requires one or more bundle_splits. The first split specified represents the + * base APK, while subsequent splits represent feature apks. + */ +@property(nonatomic, strong, nullable) NSArray *bundleSplits; + +@end + + /** * An Android App Bundle file format, containing a BundleConfig.pb file, a base * module directory, zero or more dynamic feature module directories. See @@ -1656,6 +1673,9 @@ FOUNDATION_EXTERN NSString * const kGTLRTesting_TestMatrix_State_Validating; */ @interface GTLRTesting_AppBundle : GTLRObject +/** .apk files generated by bundletool to install as a single android app. */ +@property(nonatomic, strong, nullable) GTLRTesting_ApkSplits *apks; + /** .aab file representing the app bundle under test. */ @property(nonatomic, strong, nullable) GTLRTesting_FileReference *bundleLocation; diff --git a/Sources/GeneratedServices/Texttospeech/GTLRTexttospeechObjects.m b/Sources/GeneratedServices/Texttospeech/GTLRTexttospeechObjects.m index b55cc4595..e517657bf 100644 --- a/Sources/GeneratedServices/Texttospeech/GTLRTexttospeechObjects.m +++ b/Sources/GeneratedServices/Texttospeech/GTLRTexttospeechObjects.m @@ -18,6 +18,7 @@ NSString * const kGTLRTexttospeech_AudioConfig_AudioEncoding_Alaw = @"ALAW"; NSString * const kGTLRTexttospeech_AudioConfig_AudioEncoding_AudioEncodingUnspecified = @"AUDIO_ENCODING_UNSPECIFIED"; NSString * const kGTLRTexttospeech_AudioConfig_AudioEncoding_Linear16 = @"LINEAR16"; +NSString * const kGTLRTexttospeech_AudioConfig_AudioEncoding_M4a = @"M4A"; NSString * const kGTLRTexttospeech_AudioConfig_AudioEncoding_Mp3 = @"MP3"; NSString * const kGTLRTexttospeech_AudioConfig_AudioEncoding_Mulaw = @"MULAW"; NSString * const kGTLRTexttospeech_AudioConfig_AudioEncoding_OggOpus = @"OGG_OPUS"; diff --git a/Sources/GeneratedServices/Texttospeech/Public/GoogleAPIClientForREST/GTLRTexttospeechObjects.h b/Sources/GeneratedServices/Texttospeech/Public/GoogleAPIClientForREST/GTLRTexttospeechObjects.h index cd7271981..09838df60 100644 --- a/Sources/GeneratedServices/Texttospeech/Public/GoogleAPIClientForREST/GTLRTexttospeechObjects.h +++ b/Sources/GeneratedServices/Texttospeech/Public/GoogleAPIClientForREST/GTLRTexttospeechObjects.h @@ -65,6 +65,12 @@ FOUNDATION_EXTERN NSString * const kGTLRTexttospeech_AudioConfig_AudioEncoding_A * Value: "LINEAR16" */ FOUNDATION_EXTERN NSString * const kGTLRTexttospeech_AudioConfig_AudioEncoding_Linear16; +/** + * M4A audio. + * + * Value: "M4A" + */ +FOUNDATION_EXTERN NSString * const kGTLRTexttospeech_AudioConfig_AudioEncoding_M4a; /** * MP3 audio at 32kbps. * @@ -260,6 +266,8 @@ FOUNDATION_EXTERN NSString * const kGTLRTexttospeech_VoiceSelectionParams_SsmlGe * @arg @c kGTLRTexttospeech_AudioConfig_AudioEncoding_Linear16 Uncompressed * 16-bit signed little-endian samples (Linear PCM). Audio content * returned as LINEAR16 also contains a WAV header. (Value: "LINEAR16") + * @arg @c kGTLRTexttospeech_AudioConfig_AudioEncoding_M4a M4A audio. (Value: + * "M4A") * @arg @c kGTLRTexttospeech_AudioConfig_AudioEncoding_Mp3 MP3 audio at * 32kbps. (Value: "MP3") * @arg @c kGTLRTexttospeech_AudioConfig_AudioEncoding_Mulaw 8-bit samples diff --git a/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorServiceObjects.h b/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorServiceObjects.h index fa5212877..8de550884 100644 --- a/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorServiceObjects.h +++ b/Sources/GeneratedServices/TrafficDirectorService/Public/GoogleAPIClientForREST/GTLRTrafficDirectorServiceObjects.h @@ -1851,9 +1851,13 @@ FOUNDATION_EXTERN NSString * const kGTLRTrafficDirectorService_SocketAddress_Pro @property(nonatomic, copy, nullable) NSString *namedPort; /** - * The Linux network namespace to bind the socket to. If this is set, Envoy - * will create the socket in the specified network namespace. Only supported on - * Linux. [#not-implemented-hide:] + * Filepath that specifies the Linux network namespace this socket will be + * created in (see ``man 7 network_namespaces``). If this field is set, Envoy + * will create the socket in the specified network namespace. .. note:: Setting + * this parameter requires Envoy to run with the ``CAP_NET_ADMIN`` capability. + * .. note:: Currently only used for Listener sockets. .. attention:: Network + * namespaces are only configurable on Linux. Otherwise, this field has no + * effect. */ @property(nonatomic, copy, nullable) NSString *networkNamespaceFilepath; diff --git a/Sources/GeneratedServices/TravelImpactModel/GTLRTravelImpactModelObjects.m b/Sources/GeneratedServices/TravelImpactModel/GTLRTravelImpactModelObjects.m index ba9ab18bb..7e0f1d37a 100644 --- a/Sources/GeneratedServices/TravelImpactModel/GTLRTravelImpactModelObjects.m +++ b/Sources/GeneratedServices/TravelImpactModel/GTLRTravelImpactModelObjects.m @@ -10,6 +10,20 @@ #import +// ---------------------------------------------------------------------------- +// Constants + +// GTLRTravelImpactModel_FlightWithEmissions.contrailsImpactBucket +NSString * const kGTLRTravelImpactModel_FlightWithEmissions_ContrailsImpactBucket_ContrailsImpactModerate = @"CONTRAILS_IMPACT_MODERATE"; +NSString * const kGTLRTravelImpactModel_FlightWithEmissions_ContrailsImpactBucket_ContrailsImpactNegligible = @"CONTRAILS_IMPACT_NEGLIGIBLE"; +NSString * const kGTLRTravelImpactModel_FlightWithEmissions_ContrailsImpactBucket_ContrailsImpactSevere = @"CONTRAILS_IMPACT_SEVERE"; +NSString * const kGTLRTravelImpactModel_FlightWithEmissions_ContrailsImpactBucket_ContrailsImpactUnspecified = @"CONTRAILS_IMPACT_UNSPECIFIED"; + +// GTLRTravelImpactModel_FlightWithEmissions.source +NSString * const kGTLRTravelImpactModel_FlightWithEmissions_Source_Easa = @"EASA"; +NSString * const kGTLRTravelImpactModel_FlightWithEmissions_Source_SourceUnspecified = @"SOURCE_UNSPECIFIED"; +NSString * const kGTLRTravelImpactModel_FlightWithEmissions_Source_Tim = @"TIM"; + // ---------------------------------------------------------------------------- // // GTLRTravelImpactModel_ComputeFlightEmissionsRequest @@ -46,6 +60,42 @@ @implementation GTLRTravelImpactModel_ComputeFlightEmissionsResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRTravelImpactModel_ComputeTypicalFlightEmissionsRequest +// + +@implementation GTLRTravelImpactModel_ComputeTypicalFlightEmissionsRequest +@dynamic markets; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"markets" : [GTLRTravelImpactModel_Market class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRTravelImpactModel_ComputeTypicalFlightEmissionsResponse +// + +@implementation GTLRTravelImpactModel_ComputeTypicalFlightEmissionsResponse +@dynamic modelVersion, typicalFlightEmissions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"typicalFlightEmissions" : [GTLRTravelImpactModel_TypicalFlightEmissions class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRTravelImpactModel_Date @@ -56,6 +106,16 @@ @implementation GTLRTravelImpactModel_Date @end +// ---------------------------------------------------------------------------- +// +// GTLRTravelImpactModel_EasaLabelMetadata +// + +@implementation GTLRTravelImpactModel_EasaLabelMetadata +@dynamic labelExpiryDate, labelIssueDate, labelVersion, safDiscountPercentage; +@end + + // ---------------------------------------------------------------------------- // // GTLRTravelImpactModel_EmissionsGramsPerPax @@ -82,7 +142,18 @@ @implementation GTLRTravelImpactModel_Flight // @implementation GTLRTravelImpactModel_FlightWithEmissions -@dynamic emissionsGramsPerPax, flight; +@dynamic contrailsImpactBucket, easaLabelMetadata, emissionsGramsPerPax, flight, + source; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRTravelImpactModel_Market +// + +@implementation GTLRTravelImpactModel_Market +@dynamic destination, origin; @end @@ -94,3 +165,13 @@ @implementation GTLRTravelImpactModel_FlightWithEmissions @implementation GTLRTravelImpactModel_ModelVersion @dynamic dated, major, minor, patch; @end + + +// ---------------------------------------------------------------------------- +// +// GTLRTravelImpactModel_TypicalFlightEmissions +// + +@implementation GTLRTravelImpactModel_TypicalFlightEmissions +@dynamic emissionsGramsPerPax, market; +@end diff --git a/Sources/GeneratedServices/TravelImpactModel/GTLRTravelImpactModelQuery.m b/Sources/GeneratedServices/TravelImpactModel/GTLRTravelImpactModelQuery.m index c65c54059..7a8479723 100644 --- a/Sources/GeneratedServices/TravelImpactModel/GTLRTravelImpactModelQuery.m +++ b/Sources/GeneratedServices/TravelImpactModel/GTLRTravelImpactModelQuery.m @@ -37,3 +37,25 @@ + (instancetype)queryWithObject:(GTLRTravelImpactModel_ComputeFlightEmissionsReq } @end + +@implementation GTLRTravelImpactModelQuery_FlightsComputeTypicalFlightEmissions + ++ (instancetype)queryWithObject:(GTLRTravelImpactModel_ComputeTypicalFlightEmissionsRequest *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"v1/flights:computeTypicalFlightEmissions"; + GTLRTravelImpactModelQuery_FlightsComputeTypicalFlightEmissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRTravelImpactModel_ComputeTypicalFlightEmissionsResponse class]; + query.loggingName = @"travelimpactmodel.flights.computeTypicalFlightEmissions"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/TravelImpactModel/Public/GoogleAPIClientForREST/GTLRTravelImpactModelObjects.h b/Sources/GeneratedServices/TravelImpactModel/Public/GoogleAPIClientForREST/GTLRTravelImpactModelObjects.h index cd4396e7d..748ebb0c5 100644 --- a/Sources/GeneratedServices/TravelImpactModel/Public/GoogleAPIClientForREST/GTLRTravelImpactModelObjects.h +++ b/Sources/GeneratedServices/TravelImpactModel/Public/GoogleAPIClientForREST/GTLRTravelImpactModelObjects.h @@ -15,10 +15,13 @@ #endif @class GTLRTravelImpactModel_Date; +@class GTLRTravelImpactModel_EasaLabelMetadata; @class GTLRTravelImpactModel_EmissionsGramsPerPax; @class GTLRTravelImpactModel_Flight; @class GTLRTravelImpactModel_FlightWithEmissions; +@class GTLRTravelImpactModel_Market; @class GTLRTravelImpactModel_ModelVersion; +@class GTLRTravelImpactModel_TypicalFlightEmissions; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -27,6 +30,59 @@ NS_ASSUME_NONNULL_BEGIN +// ---------------------------------------------------------------------------- +// Constants - For some of the classes' properties below. + +// ---------------------------------------------------------------------------- +// GTLRTravelImpactModel_FlightWithEmissions.contrailsImpactBucket + +/** + * The contrails impact is comparable to the total CO2e emissions. + * + * Value: "CONTRAILS_IMPACT_MODERATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRTravelImpactModel_FlightWithEmissions_ContrailsImpactBucket_ContrailsImpactModerate; +/** + * The contrails impact is negligible compared to the total CO2e emissions. + * + * Value: "CONTRAILS_IMPACT_NEGLIGIBLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRTravelImpactModel_FlightWithEmissions_ContrailsImpactBucket_ContrailsImpactNegligible; +/** + * The contrails impact is higher than the total CO2e emissions impact. + * + * Value: "CONTRAILS_IMPACT_SEVERE" + */ +FOUNDATION_EXTERN NSString * const kGTLRTravelImpactModel_FlightWithEmissions_ContrailsImpactBucket_ContrailsImpactSevere; +/** + * The contrails impact is unspecified. + * + * Value: "CONTRAILS_IMPACT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRTravelImpactModel_FlightWithEmissions_ContrailsImpactBucket_ContrailsImpactUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRTravelImpactModel_FlightWithEmissions.source + +/** + * The emissions data is from the EASA environmental labels. + * + * Value: "EASA" + */ +FOUNDATION_EXTERN NSString * const kGTLRTravelImpactModel_FlightWithEmissions_Source_Easa; +/** + * The source of the emissions data is unspecified. + * + * Value: "SOURCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRTravelImpactModel_FlightWithEmissions_Source_SourceUnspecified; +/** + * The emissions data is from the Travel Impact Model. + * + * Value: "TIM" + */ +FOUNDATION_EXTERN NSString * const kGTLRTravelImpactModel_FlightWithEmissions_Source_Tim; + /** * Input definition for the ComputeFlightEmissions request. */ @@ -55,6 +111,37 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * A list of pair of airports (markets) to request the typical emissions for. + */ +@interface GTLRTravelImpactModel_ComputeTypicalFlightEmissionsRequest : GTLRObject + +/** + * Required. Request the typical flight emissions estimates for this market + * pair. A maximum of 1000 markets can be requested. + */ +@property(nonatomic, strong, nullable) NSArray *markets; + +@end + + +/** + * The response includes the emissions but also the model version. + */ +@interface GTLRTravelImpactModel_ComputeTypicalFlightEmissionsResponse : GTLRObject + +/** + * The model version under which typical flight emission estimates for all + * flights in this response were computed. + */ +@property(nonatomic, strong, nullable) GTLRTravelImpactModel_ModelVersion *modelVersion; + +/** Market's Typical Flight Emissions requested. */ +@property(nonatomic, strong, nullable) NSArray *typicalFlightEmissions; + +@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 @@ -95,6 +182,37 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Metadata about the EASA Flight Emissions Label. + */ +@interface GTLRTravelImpactModel_EasaLabelMetadata : GTLRObject + +/** + * The date when the label expires. The label can be displayed until the end of + * this date. + */ +@property(nonatomic, strong, nullable) GTLRTravelImpactModel_Date *labelExpiryDate; + +/** The date when the label was issued. */ +@property(nonatomic, strong, nullable) GTLRTravelImpactModel_Date *labelIssueDate; + +/** Version of the label. */ +@property(nonatomic, copy, nullable) NSString *labelVersion; + +/** + * Sustainable Aviation Fuel (SAF) emissions discount percentage applied to the + * label. It is a percentage as a decimal. The values are in the interval + * [0,1]. For example, 0.0021 means 0.21%. This discount and reduction in + * emissions are reported by the EASA label but they are not included in the + * CO2e estimates distributed by this API. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *safDiscountPercentage; + +@end + + /** * Grouped emissions per seating class results. */ @@ -175,11 +293,36 @@ NS_ASSUME_NONNULL_BEGIN */ @interface GTLRTravelImpactModel_FlightWithEmissions : GTLRObject +/** + * Optional. The significance of contrails warming impact compared to the total + * CO2e emissions impact. + * + * Likely values: + * @arg @c kGTLRTravelImpactModel_FlightWithEmissions_ContrailsImpactBucket_ContrailsImpactModerate + * The contrails impact is comparable to the total CO2e emissions. + * (Value: "CONTRAILS_IMPACT_MODERATE") + * @arg @c kGTLRTravelImpactModel_FlightWithEmissions_ContrailsImpactBucket_ContrailsImpactNegligible + * The contrails impact is negligible compared to the total CO2e + * emissions. (Value: "CONTRAILS_IMPACT_NEGLIGIBLE") + * @arg @c kGTLRTravelImpactModel_FlightWithEmissions_ContrailsImpactBucket_ContrailsImpactSevere + * The contrails impact is higher than the total CO2e emissions impact. + * (Value: "CONTRAILS_IMPACT_SEVERE") + * @arg @c kGTLRTravelImpactModel_FlightWithEmissions_ContrailsImpactBucket_ContrailsImpactUnspecified + * The contrails impact is unspecified. (Value: + * "CONTRAILS_IMPACT_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *contrailsImpactBucket; + +/** + * Optional. Metadata about the EASA Flight Emissions Label. Only set when the + * emissions data source is EASA. + */ +@property(nonatomic, strong, nullable) GTLRTravelImpactModel_EasaLabelMetadata *easaLabelMetadata; + /** * Optional. Per-passenger emission estimate numbers. Will not be present if * emissions could not be computed. For the list of reasons why emissions could - * not be computed, see ComputeFlightEmissions. This field uses wtw emissions - * aka ttw_emissions_grams_per_pax + wtt_emissions_grams_per_pax. + * not be computed, see ComputeFlightEmissions. */ @property(nonatomic, strong, nullable) GTLRTravelImpactModel_EmissionsGramsPerPax *emissionsGramsPerPax; @@ -189,12 +332,40 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, strong, nullable) GTLRTravelImpactModel_Flight *flight; +/** + * Optional. The source of the emissions data. + * + * Likely values: + * @arg @c kGTLRTravelImpactModel_FlightWithEmissions_Source_Easa The + * emissions data is from the EASA environmental labels. (Value: "EASA") + * @arg @c kGTLRTravelImpactModel_FlightWithEmissions_Source_SourceUnspecified + * The source of the emissions data is unspecified. (Value: + * "SOURCE_UNSPECIFIED") + * @arg @c kGTLRTravelImpactModel_FlightWithEmissions_Source_Tim The + * emissions data is from the Travel Impact Model. (Value: "TIM") + */ +@property(nonatomic, copy, nullable) NSString *source; + +@end + + +/** + * A pair of airports. + */ +@interface GTLRTravelImpactModel_Market : GTLRObject + +/** Required. IATA airport code for flight destination, e.g. "JFK". */ +@property(nonatomic, copy, nullable) NSString *destination; + +/** Required. IATA airport code for flight origin, e.g. "LHR". */ +@property(nonatomic, copy, nullable) NSString *origin; + @end /** * Travel Impact Model version. For more information about the model versioning - * see https://github.com/google/travel-impact-model/#versioning. + * see [GitHub](https://github.com/google/travel-impact-model/#versioning). */ @interface GTLRTravelImpactModel_ModelVersion : GTLRObject @@ -208,8 +379,8 @@ NS_ASSUME_NONNULL_BEGIN * Major versions: Major changes to methodology (e.g. adding new data sources * to the model that lead to major output changes). Such changes will be * infrequent and announced well in advance. Might involve API version changes, - * which will respect guidelines in - * https://cloud.google.com/endpoints/docs/openapi/versioning-an-api#backwards-incompatible + * which will respect [Google Cloud API + * guidelines](https://cloud.google.com/endpoints/docs/openapi/versioning-an-api#backwards-incompatible) * * Uses NSNumber of intValue. */ @@ -233,6 +404,28 @@ NS_ASSUME_NONNULL_BEGIN @end + +/** + * Typical flight emission estimates for a certain market + */ +@interface GTLRTravelImpactModel_TypicalFlightEmissions : GTLRObject + +/** + * Optional. Typical flight emissions per passenger for requested market. Will + * not be present if a typical emissions could not be computed. For the list of + * reasons why typical flight emissions could not be computed, see + * [GitHub](https://github.com/google/travel-impact-model/blob/main/projects/typical_flight_emissions.md#step-7-validate-dataset). + */ +@property(nonatomic, strong, nullable) GTLRTravelImpactModel_EmissionsGramsPerPax *emissionsGramsPerPax; + +/** + * Required. Matches the flight identifiers in the request. Note: all IATA + * codes are capitalized. + */ +@property(nonatomic, strong, nullable) GTLRTravelImpactModel_Market *market; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/TravelImpactModel/Public/GoogleAPIClientForREST/GTLRTravelImpactModelQuery.h b/Sources/GeneratedServices/TravelImpactModel/Public/GoogleAPIClientForREST/GTLRTravelImpactModelQuery.h index 095e567a5..f7bc19de1 100644 --- a/Sources/GeneratedServices/TravelImpactModel/Public/GoogleAPIClientForREST/GTLRTravelImpactModelQuery.h +++ b/Sources/GeneratedServices/TravelImpactModel/Public/GoogleAPIClientForREST/GTLRTravelImpactModelQuery.h @@ -35,17 +35,17 @@ NS_ASSUME_NONNULL_BEGIN /** * Stateless method to retrieve emission estimates. Details on how emission - * estimates are computed: https://github.com/google/travel-impact-model The - * response will contain all entries that match the input flight legs, in the - * same order. If there are no estimates available for a certain flight leg, - * the response will return the flight leg object with empty emission fields. - * The request will still be considered successful. Reasons for missing - * emission estimates include: * The flight is unknown to the server. * The - * input flight leg is missing one or more identifiers. * The flight date is in - * the past. * The aircraft type is not supported by the model. * Missing seat - * configuration. The request can contain up to 1000 flight legs. If the - * request has more than 1000 direct flights, if will fail with an - * INVALID_ARGUMENT error. + * estimates are computed are in + * [GitHub](https://github.com/google/travel-impact-model) The response will + * contain all entries that match the input flight legs, in the same order. If + * there are no estimates available for a certain flight leg, the response will + * return the flight leg object with empty emission fields. The request will + * still be considered successful. Reasons for missing emission estimates + * include: * The flight is unknown to the server. * The input flight leg is + * missing one or more identifiers. * The flight date is in the past. * The + * aircraft type is not supported by the model. * Missing seat configuration. + * The request can contain up to 1000 flight legs. If the request has more than + * 1000 direct flights, if will fail with an INVALID_ARGUMENT error. * * Method: travelimpactmodel.flights.computeFlightEmissions */ @@ -55,17 +55,17 @@ NS_ASSUME_NONNULL_BEGIN * Fetches a @c GTLRTravelImpactModel_ComputeFlightEmissionsResponse. * * Stateless method to retrieve emission estimates. Details on how emission - * estimates are computed: https://github.com/google/travel-impact-model The - * response will contain all entries that match the input flight legs, in the - * same order. If there are no estimates available for a certain flight leg, - * the response will return the flight leg object with empty emission fields. - * The request will still be considered successful. Reasons for missing - * emission estimates include: * The flight is unknown to the server. * The - * input flight leg is missing one or more identifiers. * The flight date is in - * the past. * The aircraft type is not supported by the model. * Missing seat - * configuration. The request can contain up to 1000 flight legs. If the - * request has more than 1000 direct flights, if will fail with an - * INVALID_ARGUMENT error. + * estimates are computed are in + * [GitHub](https://github.com/google/travel-impact-model) The response will + * contain all entries that match the input flight legs, in the same order. If + * there are no estimates available for a certain flight leg, the response will + * return the flight leg object with empty emission fields. The request will + * still be considered successful. Reasons for missing emission estimates + * include: * The flight is unknown to the server. * The input flight leg is + * missing one or more identifiers. * The flight date is in the past. * The + * aircraft type is not supported by the model. * Missing seat configuration. + * The request can contain up to 1000 flight legs. If the request has more than + * 1000 direct flights, if will fail with an INVALID_ARGUMENT error. * * @param object The @c GTLRTravelImpactModel_ComputeFlightEmissionsRequest to * include in the query. @@ -76,6 +76,42 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Retrieves typical flight emissions estimates between two airports, also + * known as a market. If there are no estimates available for a certain market, + * the response will return the market object with empty emission fields. The + * request will still be considered successful. Details on how the typical + * emissions estimates are computed are on + * [GitHub](https://github.com/google/travel-impact-model/blob/main/projects/typical_flight_emissions.md). + * The request can contain up to 1000 markets. If the request has more than + * 1000 markets, it will fail with an INVALID_ARGUMENT error. + * + * Method: travelimpactmodel.flights.computeTypicalFlightEmissions + */ +@interface GTLRTravelImpactModelQuery_FlightsComputeTypicalFlightEmissions : GTLRTravelImpactModelQuery + +/** + * Fetches a @c GTLRTravelImpactModel_ComputeTypicalFlightEmissionsResponse. + * + * Retrieves typical flight emissions estimates between two airports, also + * known as a market. If there are no estimates available for a certain market, + * the response will return the market object with empty emission fields. The + * request will still be considered successful. Details on how the typical + * emissions estimates are computed are on + * [GitHub](https://github.com/google/travel-impact-model/blob/main/projects/typical_flight_emissions.md). + * The request can contain up to 1000 markets. If the request has more than + * 1000 markets, it will fail with an INVALID_ARGUMENT error. + * + * @param object The @c + * GTLRTravelImpactModel_ComputeTypicalFlightEmissionsRequest to include in + * the query. + * + * @return GTLRTravelImpactModelQuery_FlightsComputeTypicalFlightEmissions + */ ++ (instancetype)queryWithObject:(GTLRTravelImpactModel_ComputeTypicalFlightEmissionsRequest *)object; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/VMMigrationService/GTLRVMMigrationServiceObjects.m b/Sources/GeneratedServices/VMMigrationService/GTLRVMMigrationServiceObjects.m index c0e3d039a..eefe24727 100644 --- a/Sources/GeneratedServices/VMMigrationService/GTLRVMMigrationServiceObjects.m +++ b/Sources/GeneratedServices/VMMigrationService/GTLRVMMigrationServiceObjects.m @@ -754,10 +754,11 @@ @implementation GTLRVMMigrationService_ComputeEngineDisksTargetDetails @implementation GTLRVMMigrationService_ComputeEngineTargetDefaults @dynamic additionalLicenses, appliedLicense, bootConversion, bootOption, - computeScheduling, diskType, enableIntegrityMonitoring, enableVtpm, - encryption, hostname, labels, licenseType, machineType, - machineTypeSeries, metadata, networkInterfaces, networkTags, - secureBoot, serviceAccount, targetProject, vmName, zoneProperty; + computeScheduling, diskReplicaZones, diskType, + enableIntegrityMonitoring, enableVtpm, encryption, hostname, labels, + licenseType, machineType, machineTypeSeries, metadata, + networkInterfaces, networkTags, secureBoot, serviceAccount, + targetProject, vmName, zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"zoneProperty" : @"zone" }; @@ -766,6 +767,7 @@ @implementation GTLRVMMigrationService_ComputeEngineTargetDefaults + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"additionalLicenses" : [NSString class], + @"diskReplicaZones" : [NSString class], @"networkInterfaces" : [GTLRVMMigrationService_NetworkInterface class], @"networkTags" : [NSString class] }; @@ -810,10 +812,11 @@ + (Class)classForAdditionalProperties { @implementation GTLRVMMigrationService_ComputeEngineTargetDetails @dynamic additionalLicenses, appliedLicense, bootConversion, bootOption, - computeScheduling, diskType, enableIntegrityMonitoring, enableVtpm, - encryption, hostname, labels, licenseType, machineType, - machineTypeSeries, metadata, networkInterfaces, networkTags, project, - secureBoot, serviceAccount, vmName, zoneProperty; + computeScheduling, diskReplicaZones, diskType, + enableIntegrityMonitoring, enableVtpm, encryption, hostname, labels, + licenseType, machineType, machineTypeSeries, metadata, + networkInterfaces, networkTags, project, secureBoot, serviceAccount, + vmName, zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"zoneProperty" : @"zone" }; @@ -822,6 +825,7 @@ @implementation GTLRVMMigrationService_ComputeEngineTargetDetails + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"additionalLicenses" : [NSString class], + @"diskReplicaZones" : [NSString class], @"networkInterfaces" : [GTLRVMMigrationService_NetworkInterface class], @"networkTags" : [NSString class] }; diff --git a/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceObjects.h b/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceObjects.h index 96237fc9e..d9f9fe5e4 100644 --- a/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceObjects.h +++ b/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceObjects.h @@ -2597,6 +2597,17 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_VmwareVmDetails_Power /** Compute instance scheduling information (if empty default is used). */ @property(nonatomic, strong, nullable) GTLRVMMigrationService_ComputeScheduling *computeScheduling; +/** + * Optional. Additional replica zones of the target regional disks. If this + * list is not empty a regional disk will be created. The first supported zone + * would be the one stated in the zone field. The rest are taken from this + * list. Please refer to the [regional disk creation + * API](https://cloud.google.com/compute/docs/regions-zones/global-regional-zonal-resources) + * for further details about regional vs zonal disks. If not specified, a zonal + * disk will be created in the same zone the VM is created. + */ +@property(nonatomic, strong, nullable) NSArray *diskReplicaZones; + /** * The disk type to use in the VM. * @@ -2772,6 +2783,17 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_VmwareVmDetails_Power /** Compute instance scheduling information (if empty default is used). */ @property(nonatomic, strong, nullable) GTLRVMMigrationService_ComputeScheduling *computeScheduling; +/** + * Optional. Additional replica zones of the target regional disks. If this + * list is not empty a regional disk will be created. The first supported zone + * would be the one stated in the zone field. The rest are taken from this + * list. Please refer to the [regional disk creation + * API](https://cloud.google.com/compute/docs/regions-zones/global-regional-zonal-resources) + * for further details about regional vs zonal disks. If not specified, a zonal + * disk will be created in the same zone the VM is created. + */ +@property(nonatomic, strong, nullable) NSArray *diskReplicaZones; + /** * The disk type to use in the VM. * @@ -4317,7 +4339,11 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_VmwareVmDetails_Power */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; -/** Immutable. The encryption to apply to the machine image. */ +/** + * Immutable. The encryption to apply to the machine image. If the Image Import + * resource has an encryption, this field must be set to the same encryption + * key. + */ @property(nonatomic, strong, nullable) GTLRVMMigrationService_Encryption *encryption; /** @@ -4336,8 +4362,8 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_VmwareVmDetails_Power /** * Optional. The network interfaces to create with the instance created by the - * machine image. Internal and external IP addresses are ignored for machine - * image import. + * machine image. Internal and external IP addresses, and network tiers are + * ignored for machine image import. */ @property(nonatomic, strong, nullable) NSArray *networkInterfaces; diff --git a/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineObjects.m b/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineObjects.m index f18a0d8f5..03ea2764d 100644 --- a/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineObjects.m +++ b/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineObjects.m @@ -105,6 +105,7 @@ // GTLRVMwareEngine_NetworkPeering.peerNetworkType NSString * const kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_DellPowerscale = @"DELL_POWERSCALE"; +NSString * const kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_GoogleCloudFilestoreInstances = @"GOOGLE_CLOUD_FILESTORE_INSTANCES"; NSString * const kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_GoogleCloudNetappVolumes = @"GOOGLE_CLOUD_NETAPP_VOLUMES"; NSString * const kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_NetappCloudVolumes = @"NETAPP_CLOUD_VOLUMES"; NSString * const kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_PeerNetworkTypeUnspecified = @"PEER_NETWORK_TYPE_UNSPECIFIED"; diff --git a/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineObjects.h b/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineObjects.h index d4167bf70..133e8d5f9 100644 --- a/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineObjects.h +++ b/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineObjects.h @@ -518,6 +518,12 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_Network_Type_TypeUnspecifie * Value: "DELL_POWERSCALE" */ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_DellPowerscale; +/** + * Peering connection used for connecting to Google Cloud Filestore Instances. + * + * Value: "GOOGLE_CLOUD_FILESTORE_INSTANCES" + */ +FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_GoogleCloudFilestoreInstances; /** * Peering connection used for connecting to Google Cloud NetApp Volumes. * @@ -3567,6 +3573,9 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_WeeklyTimeInterval_StartDay * @arg @c kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_DellPowerscale * Peering connection used for connecting to Dell PowerScale Filers * (Value: "DELL_POWERSCALE") + * @arg @c kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_GoogleCloudFilestoreInstances + * Peering connection used for connecting to Google Cloud Filestore + * Instances. (Value: "GOOGLE_CLOUD_FILESTORE_INSTANCES") * @arg @c kGTLRVMwareEngine_NetworkPeering_PeerNetworkType_GoogleCloudNetappVolumes * Peering connection used for connecting to Google Cloud NetApp Volumes. * (Value: "GOOGLE_CLOUD_NETAPP_VOLUMES") diff --git a/Sources/GeneratedServices/Vault/Public/GoogleAPIClientForREST/GTLRVaultObjects.h b/Sources/GeneratedServices/Vault/Public/GoogleAPIClientForREST/GTLRVaultObjects.h index 2eb29ba4d..123f81d75 100644 --- a/Sources/GeneratedServices/Vault/Public/GoogleAPIClientForREST/GTLRVaultObjects.h +++ b/Sources/GeneratedServices/Vault/Public/GoogleAPIClientForREST/GTLRVaultObjects.h @@ -259,7 +259,11 @@ FOUNDATION_EXTERN NSString * const kGTLRVault_DriveOptions_ClientSideEncryptedOp */ FOUNDATION_EXTERN NSString * const kGTLRVault_DriveOptions_SharedDrivesOption_Included; /** - * (Previously "include_shared_drives" off) + * Shared drive resources are only included in instances where the account is a + * collaborator on a resource but they are not a member of the shared drive. + * This maps to the *"Included only if documents shared directly (not due to + * shared drive membership)"* option in the Vault UI. (Previously + * "include_shared_drives" off) * * Value: "INCLUDED_IF_ACCOUNT_IS_NOT_A_MEMBER" */ @@ -1416,7 +1420,11 @@ FOUNDATION_EXTERN NSString * const kGTLRVault_VoiceOptions_CoveredData_Voicemail * shared drives are included in the search. (Previously * "include_shared_drives" on) (Value: "INCLUDED") * @arg @c kGTLRVault_DriveOptions_SharedDrivesOption_IncludedIfAccountIsNotAMember - * (Previously "include_shared_drives" off) (Value: + * Shared drive resources are only included in instances where the + * account is a collaborator on a resource but they are not a member of + * the shared drive. This maps to the *"Included only if documents shared + * directly (not due to shared drive membership)"* option in the Vault + * UI. (Previously "include_shared_drives" off) (Value: * "INCLUDED_IF_ACCOUNT_IS_NOT_A_MEMBER") * @arg @c kGTLRVault_DriveOptions_SharedDrivesOption_NotIncluded If a * resource is in a shared drive, it isn't included in the search. diff --git a/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryObjects.m b/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryObjects.m index 4bfeba034..2ee24e31d 100644 --- a/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryObjects.m +++ b/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryObjects.m @@ -6,7 +6,7 @@ // Description: // Version History API - Prod // Documentation: -// https://developers.chrome.com/versionhistory +// https://developer.chrome.com/docs/web-platform/versionhistory/guide #import diff --git a/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryQuery.m b/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryQuery.m index a3d8306e0..54a2ea92a 100644 --- a/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryQuery.m +++ b/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryQuery.m @@ -6,7 +6,7 @@ // Description: // Version History API - Prod // Documentation: -// https://developers.chrome.com/versionhistory +// https://developer.chrome.com/docs/web-platform/versionhistory/guide #import diff --git a/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryService.m b/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryService.m index b15eee6ed..d81386520 100644 --- a/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryService.m +++ b/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryService.m @@ -6,7 +6,7 @@ // Description: // Version History API - Prod // Documentation: -// https://developers.chrome.com/versionhistory +// https://developer.chrome.com/docs/web-platform/versionhistory/guide #import diff --git a/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistory.h b/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistory.h index ea9b707f8..e3db1a65a 100644 --- a/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistory.h +++ b/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistory.h @@ -6,7 +6,7 @@ // Description: // Version History API - Prod // Documentation: -// https://developers.chrome.com/versionhistory +// https://developer.chrome.com/docs/web-platform/versionhistory/guide #import "GTLRVersionHistoryObjects.h" #import "GTLRVersionHistoryQuery.h" diff --git a/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryObjects.h b/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryObjects.h index 418c0565c..a3c7bdb5f 100644 --- a/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryObjects.h +++ b/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryObjects.h @@ -6,7 +6,7 @@ // Description: // Version History API - Prod // Documentation: -// https://developers.chrome.com/versionhistory +// https://developer.chrome.com/docs/web-platform/versionhistory/guide #import diff --git a/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryQuery.h b/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryQuery.h index 4c1c90a1a..a6c8259f1 100644 --- a/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryQuery.h +++ b/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryQuery.h @@ -6,7 +6,7 @@ // Description: // Version History API - Prod // Documentation: -// https://developers.chrome.com/versionhistory +// https://developer.chrome.com/docs/web-platform/versionhistory/guide #import diff --git a/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryService.h b/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryService.h index 42a1583b4..b5a9b122a 100644 --- a/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryService.h +++ b/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryService.h @@ -6,7 +6,7 @@ // Description: // Version History API - Prod // Documentation: -// https://developers.chrome.com/versionhistory +// https://developer.chrome.com/docs/web-platform/versionhistory/guide #import diff --git a/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m b/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m index f8203d081..3f3c44163 100644 --- a/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m +++ b/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m @@ -15,6 +15,48 @@ // ---------------------------------------------------------------------------- // Constants +// GTLRWorkloadManager_AgentStatus.cloudApiAccessFullScopesGranted +NSString * const kGTLRWorkloadManager_AgentStatus_CloudApiAccessFullScopesGranted_ErrorState = @"ERROR_STATE"; +NSString * const kGTLRWorkloadManager_AgentStatus_CloudApiAccessFullScopesGranted_FailureState = @"FAILURE_STATE"; +NSString * const kGTLRWorkloadManager_AgentStatus_CloudApiAccessFullScopesGranted_SuccessState = @"SUCCESS_STATE"; +NSString * const kGTLRWorkloadManager_AgentStatus_CloudApiAccessFullScopesGranted_UnspecifiedState = @"UNSPECIFIED_STATE"; + +// GTLRWorkloadManager_AgentStatus.configurationValid +NSString * const kGTLRWorkloadManager_AgentStatus_ConfigurationValid_ErrorState = @"ERROR_STATE"; +NSString * const kGTLRWorkloadManager_AgentStatus_ConfigurationValid_FailureState = @"FAILURE_STATE"; +NSString * const kGTLRWorkloadManager_AgentStatus_ConfigurationValid_SuccessState = @"SUCCESS_STATE"; +NSString * const kGTLRWorkloadManager_AgentStatus_ConfigurationValid_UnspecifiedState = @"UNSPECIFIED_STATE"; + +// GTLRWorkloadManager_AgentStatus.systemdServiceEnabled +NSString * const kGTLRWorkloadManager_AgentStatus_SystemdServiceEnabled_ErrorState = @"ERROR_STATE"; +NSString * const kGTLRWorkloadManager_AgentStatus_SystemdServiceEnabled_FailureState = @"FAILURE_STATE"; +NSString * const kGTLRWorkloadManager_AgentStatus_SystemdServiceEnabled_SuccessState = @"SUCCESS_STATE"; +NSString * const kGTLRWorkloadManager_AgentStatus_SystemdServiceEnabled_UnspecifiedState = @"UNSPECIFIED_STATE"; + +// GTLRWorkloadManager_AgentStatus.systemdServiceRunning +NSString * const kGTLRWorkloadManager_AgentStatus_SystemdServiceRunning_ErrorState = @"ERROR_STATE"; +NSString * const kGTLRWorkloadManager_AgentStatus_SystemdServiceRunning_FailureState = @"FAILURE_STATE"; +NSString * const kGTLRWorkloadManager_AgentStatus_SystemdServiceRunning_SuccessState = @"SUCCESS_STATE"; +NSString * const kGTLRWorkloadManager_AgentStatus_SystemdServiceRunning_UnspecifiedState = @"UNSPECIFIED_STATE"; + +// GTLRWorkloadManager_AgentStatusIAMPermission.granted +NSString * const kGTLRWorkloadManager_AgentStatusIAMPermission_Granted_ErrorState = @"ERROR_STATE"; +NSString * const kGTLRWorkloadManager_AgentStatusIAMPermission_Granted_FailureState = @"FAILURE_STATE"; +NSString * const kGTLRWorkloadManager_AgentStatusIAMPermission_Granted_SuccessState = @"SUCCESS_STATE"; +NSString * const kGTLRWorkloadManager_AgentStatusIAMPermission_Granted_UnspecifiedState = @"UNSPECIFIED_STATE"; + +// GTLRWorkloadManager_AgentStatusServiceStatus.fullyFunctional +NSString * const kGTLRWorkloadManager_AgentStatusServiceStatus_FullyFunctional_ErrorState = @"ERROR_STATE"; +NSString * const kGTLRWorkloadManager_AgentStatusServiceStatus_FullyFunctional_FailureState = @"FAILURE_STATE"; +NSString * const kGTLRWorkloadManager_AgentStatusServiceStatus_FullyFunctional_SuccessState = @"SUCCESS_STATE"; +NSString * const kGTLRWorkloadManager_AgentStatusServiceStatus_FullyFunctional_UnspecifiedState = @"UNSPECIFIED_STATE"; + +// GTLRWorkloadManager_AgentStatusServiceStatus.state +NSString * const kGTLRWorkloadManager_AgentStatusServiceStatus_State_ErrorState = @"ERROR_STATE"; +NSString * const kGTLRWorkloadManager_AgentStatusServiceStatus_State_FailureState = @"FAILURE_STATE"; +NSString * const kGTLRWorkloadManager_AgentStatusServiceStatus_State_SuccessState = @"SUCCESS_STATE"; +NSString * const kGTLRWorkloadManager_AgentStatusServiceStatus_State_UnspecifiedState = @"UNSPECIFIED_STATE"; + // GTLRWorkloadManager_BackupProperties.latestBackupStatus NSString * const kGTLRWorkloadManager_BackupProperties_LatestBackupStatus_BackupStateFailure = @"BACKUP_STATE_FAILURE"; NSString * const kGTLRWorkloadManager_BackupProperties_LatestBackupStatus_BackupStateSuccess = @"BACKUP_STATE_SUCCESS"; @@ -91,27 +133,6 @@ NSString * const kGTLRWorkloadManager_HealthCheck_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRWorkloadManager_HealthCheck_State_Unsupported = @"UNSUPPORTED"; -// GTLRWorkloadManager_Instance.status -NSString * const kGTLRWorkloadManager_Instance_Status_Deprovisioning = @"DEPROVISIONING"; -NSString * const kGTLRWorkloadManager_Instance_Status_InstancestateUnspecified = @"INSTANCESTATE_UNSPECIFIED"; -NSString * const kGTLRWorkloadManager_Instance_Status_Provisioning = @"PROVISIONING"; -NSString * const kGTLRWorkloadManager_Instance_Status_Repairing = @"REPAIRING"; -NSString * const kGTLRWorkloadManager_Instance_Status_Running = @"RUNNING"; -NSString * const kGTLRWorkloadManager_Instance_Status_Staging = @"STAGING"; -NSString * const kGTLRWorkloadManager_Instance_Status_Stopped = @"STOPPED"; -NSString * const kGTLRWorkloadManager_Instance_Status_Stopping = @"STOPPING"; -NSString * const kGTLRWorkloadManager_Instance_Status_Suspended = @"SUSPENDED"; -NSString * const kGTLRWorkloadManager_Instance_Status_Suspending = @"SUSPENDING"; -NSString * const kGTLRWorkloadManager_Instance_Status_Terminated = @"TERMINATED"; - -// GTLRWorkloadManager_InstanceProperties.role -NSString * const kGTLRWorkloadManager_InstanceProperties_Role_InstanceRoleAppServer = @"INSTANCE_ROLE_APP_SERVER"; -NSString * const kGTLRWorkloadManager_InstanceProperties_Role_InstanceRoleAscs = @"INSTANCE_ROLE_ASCS"; -NSString * const kGTLRWorkloadManager_InstanceProperties_Role_InstanceRoleErs = @"INSTANCE_ROLE_ERS"; -NSString * const kGTLRWorkloadManager_InstanceProperties_Role_InstanceRoleHanaPrimary = @"INSTANCE_ROLE_HANA_PRIMARY"; -NSString * const kGTLRWorkloadManager_InstanceProperties_Role_InstanceRoleHanaSecondary = @"INSTANCE_ROLE_HANA_SECONDARY"; -NSString * const kGTLRWorkloadManager_InstanceProperties_Role_InstanceRoleUnspecified = @"INSTANCE_ROLE_UNSPECIFIED"; - // GTLRWorkloadManager_InstanceProperties.roles NSString * const kGTLRWorkloadManager_InstanceProperties_Roles_InstanceRoleAppServer = @"INSTANCE_ROLE_APP_SERVER"; NSString * const kGTLRWorkloadManager_InstanceProperties_Roles_InstanceRoleAscs = @"INSTANCE_ROLE_ASCS"; @@ -235,17 +256,8 @@ NSString * const kGTLRWorkloadManager_TorsoValidation_WorkloadType_Redis = @"REDIS"; NSString * const kGTLRWorkloadManager_TorsoValidation_WorkloadType_WorkloadTypeUnspecified = @"WORKLOAD_TYPE_UNSPECIFIED"; -// GTLRWorkloadManager_WorkloadProfile.state -NSString * const kGTLRWorkloadManager_WorkloadProfile_State_Active = @"ACTIVE"; -NSString * const kGTLRWorkloadManager_WorkloadProfile_State_Deploying = @"DEPLOYING"; -NSString * const kGTLRWorkloadManager_WorkloadProfile_State_Destroying = @"DESTROYING"; -NSString * const kGTLRWorkloadManager_WorkloadProfile_State_Maintenance = @"MAINTENANCE"; -NSString * const kGTLRWorkloadManager_WorkloadProfile_State_StateUnspecified = @"STATE_UNSPECIFIED"; - // GTLRWorkloadManager_WorkloadProfile.workloadType NSString * const kGTLRWorkloadManager_WorkloadProfile_WorkloadType_S4Hana = @"S4_HANA"; -NSString * const kGTLRWorkloadManager_WorkloadProfile_WorkloadType_SqlServer = @"SQL_SERVER"; -NSString * const kGTLRWorkloadManager_WorkloadProfile_WorkloadType_ThreeTierWebApp = @"THREE_TIER_WEB_APP"; NSString * const kGTLRWorkloadManager_WorkloadProfile_WorkloadType_WorkloadTypeUnspecified = @"WORKLOAD_TYPE_UNSPECIFIED"; // GTLRWorkloadManager_WorkloadProfileHealth.state @@ -279,6 +291,78 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRWorkloadManager_AgentStatus +// + +@implementation GTLRWorkloadManager_AgentStatus +@dynamic agentName, availableVersion, cloudApiAccessFullScopesGranted, + configurationErrorMessage, configurationFilePath, configurationValid, + installedVersion, kernelVersion, references, services, + systemdServiceEnabled, systemdServiceRunning; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"references" : [GTLRWorkloadManager_AgentStatusReference class], + @"services" : [GTLRWorkloadManager_AgentStatusServiceStatus class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWorkloadManager_AgentStatusConfigValue +// + +@implementation GTLRWorkloadManager_AgentStatusConfigValue +@dynamic isDefault, name, value; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWorkloadManager_AgentStatusIAMPermission +// + +@implementation GTLRWorkloadManager_AgentStatusIAMPermission +@dynamic granted, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWorkloadManager_AgentStatusReference +// + +@implementation GTLRWorkloadManager_AgentStatusReference +@dynamic name, url; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWorkloadManager_AgentStatusServiceStatus +// + +@implementation GTLRWorkloadManager_AgentStatusServiceStatus +@dynamic configValues, errorMessage, fullyFunctional, iamPermissions, name, + state, unspecifiedStateMessage; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"configValues" : [GTLRWorkloadManager_AgentStatusConfigValue class], + @"iamPermissions" : [GTLRWorkloadManager_AgentStatusIAMPermission class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRWorkloadManager_BackupProperties @@ -342,12 +426,13 @@ @implementation GTLRWorkloadManager_Command @implementation GTLRWorkloadManager_ComponentHealth @dynamic component, componentHealthChecks, componentHealthType, isRequired, - state, subComponentHealthes; + state, subComponentHealthes, subComponentsHealth; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"componentHealthChecks" : [GTLRWorkloadManager_HealthCheck class], - @"subComponentHealthes" : [GTLRWorkloadManager_ComponentHealth class] + @"subComponentHealthes" : [GTLRWorkloadManager_ComponentHealth class], + @"subComponentsHealth" : [GTLRWorkloadManager_ComponentHealth class] }; return map; } @@ -511,18 +596,8 @@ @implementation GTLRWorkloadManager_HealthCheck // @implementation GTLRWorkloadManager_Insight -@dynamic instanceId, sapDiscovery, sapValidation, sentTime, sqlserverValidation, - torsoValidation; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRWorkloadManager_Instance -// - -@implementation GTLRWorkloadManager_Instance -@dynamic name, region, status; +@dynamic agentStatus, instanceId, sapDiscovery, sapValidation, sentTime, + sqlserverValidation, torsoValidation; @end @@ -532,8 +607,8 @@ @implementation GTLRWorkloadManager_Instance // @implementation GTLRWorkloadManager_InstanceProperties -@dynamic instanceNumber, machineType, role, roles, sapInstanceProperties, - status, upcomingMaintenanceEvent; +@dynamic instanceNumber, machineType, roles, sapInstanceProperties, status, + upcomingMaintenanceEvent; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -545,24 +620,6 @@ @implementation GTLRWorkloadManager_InstanceProperties @end -// ---------------------------------------------------------------------------- -// -// GTLRWorkloadManager_Layer -// - -@implementation GTLRWorkloadManager_Layer -@dynamic applicationType, databaseType, instances, sid; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"instances" : [GTLRWorkloadManager_Instance class] - }; - return map; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRWorkloadManager_ListDiscoveredProfilesResponse @@ -1072,7 +1129,7 @@ @implementation GTLRWorkloadManager_SapDiscoveryResource @implementation GTLRWorkloadManager_SapDiscoveryResourceInstanceProperties @dynamic appInstances, clusterInstances, diskMounts, instanceNumber, - instanceRole, isDrSite, virtualHostname; + instanceRole, isDrSite, osKernelVersion, virtualHostname; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1114,6 +1171,26 @@ @implementation GTLRWorkloadManager_SapDiscoveryResourceInstancePropertiesDiskMo @end +// ---------------------------------------------------------------------------- +// +// GTLRWorkloadManager_SapDiscoveryResourceInstancePropertiesKernelVersion +// + +@implementation GTLRWorkloadManager_SapDiscoveryResourceInstancePropertiesKernelVersion +@dynamic distroKernel, osKernel, rawString; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWorkloadManager_SapDiscoveryResourceInstancePropertiesKernelVersionVersion +// + +@implementation GTLRWorkloadManager_SapDiscoveryResourceInstancePropertiesKernelVersionVersion +@dynamic build, major, minor, patch, remainder; +@end + + // ---------------------------------------------------------------------------- // // GTLRWorkloadManager_SapDiscoveryWorkloadProperties @@ -1435,8 +1512,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRWorkloadManager_WorkloadProfile -@dynamic application, ascs, database, labels, name, refreshedTime, sapWorkload, - state, workloadType; +@dynamic labels, name, refreshedTime, sapWorkload, workloadType; @end @@ -1460,11 +1536,12 @@ + (Class)classForAdditionalProperties { // @implementation GTLRWorkloadManager_WorkloadProfileHealth -@dynamic checkTime, componentHealthes, state; +@dynamic checkTime, componentHealthes, componentsHealth, state; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"componentHealthes" : [GTLRWorkloadManager_ComponentHealth class] + @"componentHealthes" : [GTLRWorkloadManager_ComponentHealth class], + @"componentsHealth" : [GTLRWorkloadManager_ComponentHealth class] }; return map; } diff --git a/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h b/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h index ec3791f79..c08a7d4ea 100644 --- a/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h +++ b/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h @@ -18,6 +18,11 @@ @class GTLRWorkloadManager_AgentCommand; @class GTLRWorkloadManager_AgentCommand_Parameters; +@class GTLRWorkloadManager_AgentStatus; +@class GTLRWorkloadManager_AgentStatusConfigValue; +@class GTLRWorkloadManager_AgentStatusIAMPermission; +@class GTLRWorkloadManager_AgentStatusReference; +@class GTLRWorkloadManager_AgentStatusServiceStatus; @class GTLRWorkloadManager_BackupProperties; @class GTLRWorkloadManager_BigQueryDestination; @class GTLRWorkloadManager_CloudResource; @@ -33,9 +38,7 @@ @class GTLRWorkloadManager_GceInstanceFilter; @class GTLRWorkloadManager_HealthCheck; @class GTLRWorkloadManager_Insight; -@class GTLRWorkloadManager_Instance; @class GTLRWorkloadManager_InstanceProperties; -@class GTLRWorkloadManager_Layer; @class GTLRWorkloadManager_Location; @class GTLRWorkloadManager_Location_Labels; @class GTLRWorkloadManager_Location_Metadata; @@ -61,6 +64,8 @@ @class GTLRWorkloadManager_SapDiscoveryResourceInstanceProperties; @class GTLRWorkloadManager_SapDiscoveryResourceInstancePropertiesAppInstance; @class GTLRWorkloadManager_SapDiscoveryResourceInstancePropertiesDiskMount; +@class GTLRWorkloadManager_SapDiscoveryResourceInstancePropertiesKernelVersion; +@class GTLRWorkloadManager_SapDiscoveryResourceInstancePropertiesKernelVersionVersion; @class GTLRWorkloadManager_SapDiscoveryWorkloadProperties; @class GTLRWorkloadManager_SapDiscoveryWorkloadPropertiesProductVersion; @class GTLRWorkloadManager_SapDiscoveryWorkloadPropertiesSoftwareComponentProperties; @@ -97,6 +102,202 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the classes' properties below. +// ---------------------------------------------------------------------------- +// GTLRWorkloadManager_AgentStatus.cloudApiAccessFullScopesGranted + +/** + * There was an internal error while checking the state, state is unknown. + * + * Value: "ERROR_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatus_CloudApiAccessFullScopesGranted_ErrorState; +/** + * The state is failed (disabled, denied, not fully functional). + * + * Value: "FAILURE_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatus_CloudApiAccessFullScopesGranted_FailureState; +/** + * The state is successful (enabled, granted, fully functional). + * + * Value: "SUCCESS_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatus_CloudApiAccessFullScopesGranted_SuccessState; +/** + * The state is unspecified and has not been checked yet. + * + * Value: "UNSPECIFIED_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatus_CloudApiAccessFullScopesGranted_UnspecifiedState; + +// ---------------------------------------------------------------------------- +// GTLRWorkloadManager_AgentStatus.configurationValid + +/** + * There was an internal error while checking the state, state is unknown. + * + * Value: "ERROR_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatus_ConfigurationValid_ErrorState; +/** + * The state is failed (disabled, denied, not fully functional). + * + * Value: "FAILURE_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatus_ConfigurationValid_FailureState; +/** + * The state is successful (enabled, granted, fully functional). + * + * Value: "SUCCESS_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatus_ConfigurationValid_SuccessState; +/** + * The state is unspecified and has not been checked yet. + * + * Value: "UNSPECIFIED_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatus_ConfigurationValid_UnspecifiedState; + +// ---------------------------------------------------------------------------- +// GTLRWorkloadManager_AgentStatus.systemdServiceEnabled + +/** + * There was an internal error while checking the state, state is unknown. + * + * Value: "ERROR_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatus_SystemdServiceEnabled_ErrorState; +/** + * The state is failed (disabled, denied, not fully functional). + * + * Value: "FAILURE_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatus_SystemdServiceEnabled_FailureState; +/** + * The state is successful (enabled, granted, fully functional). + * + * Value: "SUCCESS_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatus_SystemdServiceEnabled_SuccessState; +/** + * The state is unspecified and has not been checked yet. + * + * Value: "UNSPECIFIED_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatus_SystemdServiceEnabled_UnspecifiedState; + +// ---------------------------------------------------------------------------- +// GTLRWorkloadManager_AgentStatus.systemdServiceRunning + +/** + * There was an internal error while checking the state, state is unknown. + * + * Value: "ERROR_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatus_SystemdServiceRunning_ErrorState; +/** + * The state is failed (disabled, denied, not fully functional). + * + * Value: "FAILURE_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatus_SystemdServiceRunning_FailureState; +/** + * The state is successful (enabled, granted, fully functional). + * + * Value: "SUCCESS_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatus_SystemdServiceRunning_SuccessState; +/** + * The state is unspecified and has not been checked yet. + * + * Value: "UNSPECIFIED_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatus_SystemdServiceRunning_UnspecifiedState; + +// ---------------------------------------------------------------------------- +// GTLRWorkloadManager_AgentStatusIAMPermission.granted + +/** + * There was an internal error while checking the state, state is unknown. + * + * Value: "ERROR_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatusIAMPermission_Granted_ErrorState; +/** + * The state is failed (disabled, denied, not fully functional). + * + * Value: "FAILURE_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatusIAMPermission_Granted_FailureState; +/** + * The state is successful (enabled, granted, fully functional). + * + * Value: "SUCCESS_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatusIAMPermission_Granted_SuccessState; +/** + * The state is unspecified and has not been checked yet. + * + * Value: "UNSPECIFIED_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatusIAMPermission_Granted_UnspecifiedState; + +// ---------------------------------------------------------------------------- +// GTLRWorkloadManager_AgentStatusServiceStatus.fullyFunctional + +/** + * There was an internal error while checking the state, state is unknown. + * + * Value: "ERROR_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatusServiceStatus_FullyFunctional_ErrorState; +/** + * The state is failed (disabled, denied, not fully functional). + * + * Value: "FAILURE_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatusServiceStatus_FullyFunctional_FailureState; +/** + * The state is successful (enabled, granted, fully functional). + * + * Value: "SUCCESS_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatusServiceStatus_FullyFunctional_SuccessState; +/** + * The state is unspecified and has not been checked yet. + * + * Value: "UNSPECIFIED_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatusServiceStatus_FullyFunctional_UnspecifiedState; + +// ---------------------------------------------------------------------------- +// GTLRWorkloadManager_AgentStatusServiceStatus.state + +/** + * There was an internal error while checking the state, state is unknown. + * + * Value: "ERROR_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatusServiceStatus_State_ErrorState; +/** + * The state is failed (disabled, denied, not fully functional). + * + * Value: "FAILURE_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatusServiceStatus_State_FailureState; +/** + * The state is successful (enabled, granted, fully functional). + * + * Value: "SUCCESS_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatusServiceStatus_State_SuccessState; +/** + * The state is unspecified and has not been checked yet. + * + * Value: "UNSPECIFIED_STATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_AgentStatusServiceStatus_State_UnspecifiedState; + // ---------------------------------------------------------------------------- // GTLRWorkloadManager_BackupProperties.latestBackupStatus @@ -465,118 +666,6 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_HealthCheck_State_StateU */ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_HealthCheck_State_Unsupported; -// ---------------------------------------------------------------------------- -// GTLRWorkloadManager_Instance.status - -/** - * The instance is in de-provisioning state. - * - * Value: "DEPROVISIONING" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Instance_Status_Deprovisioning; -/** - * The Status of the VM is unspecified - * - * Value: "INSTANCESTATE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Instance_Status_InstancestateUnspecified; -/** - * Resources are being allocated for the instance. - * - * Value: "PROVISIONING" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Instance_Status_Provisioning; -/** - * The instance is in repair. - * - * Value: "REPAIRING" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Instance_Status_Repairing; -/** - * The instance is running. - * - * Value: "RUNNING" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Instance_Status_Running; -/** - * All required resources have been allocated and the instance is being - * started. - * - * Value: "STAGING" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Instance_Status_Staging; -/** - * The instance has stopped due to various reasons (user request, VM - * preemption, project freezing, etc.). - * - * Value: "STOPPED" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Instance_Status_Stopped; -/** - * The instance is currently stopping (either being deleted or killed). - * - * Value: "STOPPING" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Instance_Status_Stopping; -/** - * The instance is suspended. - * - * Value: "SUSPENDED" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Instance_Status_Suspended; -/** - * The instance is suspending. - * - * Value: "SUSPENDING" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Instance_Status_Suspending; -/** - * The instance has failed in some way. - * - * Value: "TERMINATED" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Instance_Status_Terminated; - -// ---------------------------------------------------------------------------- -// GTLRWorkloadManager_InstanceProperties.role - -/** - * APP server. - * - * Value: "INSTANCE_ROLE_APP_SERVER" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_InstanceProperties_Role_InstanceRoleAppServer; -/** - * ASCS role. - * - * Value: "INSTANCE_ROLE_ASCS" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_InstanceProperties_Role_InstanceRoleAscs; -/** - * ERS role. - * - * Value: "INSTANCE_ROLE_ERS" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_InstanceProperties_Role_InstanceRoleErs; -/** - * HANA primary role. - * - * Value: "INSTANCE_ROLE_HANA_PRIMARY" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_InstanceProperties_Role_InstanceRoleHanaPrimary; -/** - * HANA secondary role. - * - * Value: "INSTANCE_ROLE_HANA_SECONDARY" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_InstanceProperties_Role_InstanceRoleHanaSecondary; -/** - * Unspecified role. - * - * Value: "INSTANCE_ROLE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_InstanceProperties_Role_InstanceRoleUnspecified; - // ---------------------------------------------------------------------------- // GTLRWorkloadManager_InstanceProperties.roles @@ -1213,40 +1302,6 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_TorsoValidation_Workload */ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_TorsoValidation_WorkloadType_WorkloadTypeUnspecified; -// ---------------------------------------------------------------------------- -// GTLRWorkloadManager_WorkloadProfile.state - -/** - * ACTIVE state - * - * Value: "ACTIVE" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfile_State_Active; -/** - * workload is in Deploying state - * - * Value: "DEPLOYING" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfile_State_Deploying; -/** - * The workload is in Destroying state - * - * Value: "DESTROYING" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfile_State_Destroying; -/** - * The Workload is undermaintance - * - * Value: "MAINTENANCE" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfile_State_Maintenance; -/** - * unspecified - * - * Value: "STATE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfile_State_StateUnspecified; - // ---------------------------------------------------------------------------- // GTLRWorkloadManager_WorkloadProfile.workloadType @@ -1256,18 +1311,6 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfile_State_St * Value: "S4_HANA" */ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfile_WorkloadType_S4Hana; -/** - * running sqlserver workload - * - * Value: "SQL_SERVER" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfile_WorkloadType_SqlServer; -/** - * running 3 tier web app workload - * - * Value: "THREE_TIER_WEB_APP" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfile_WorkloadType_ThreeTierWebApp; /** * unspecified workload type * @@ -1342,6 +1385,247 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_St @end +/** + * The schema of agent status data. + */ +@interface GTLRWorkloadManager_AgentStatus : GTLRObject + +/** Output only. The name of the agent. */ +@property(nonatomic, copy, nullable) NSString *agentName; + +/** Output only. The available version of the agent in artifact registry. */ +@property(nonatomic, copy, nullable) NSString *availableVersion; + +/** + * Output only. Whether the agent has full access to Cloud APIs. + * + * Likely values: + * @arg @c kGTLRWorkloadManager_AgentStatus_CloudApiAccessFullScopesGranted_ErrorState + * There was an internal error while checking the state, state is + * unknown. (Value: "ERROR_STATE") + * @arg @c kGTLRWorkloadManager_AgentStatus_CloudApiAccessFullScopesGranted_FailureState + * The state is failed (disabled, denied, not fully functional). (Value: + * "FAILURE_STATE") + * @arg @c kGTLRWorkloadManager_AgentStatus_CloudApiAccessFullScopesGranted_SuccessState + * The state is successful (enabled, granted, fully functional). (Value: + * "SUCCESS_STATE") + * @arg @c kGTLRWorkloadManager_AgentStatus_CloudApiAccessFullScopesGranted_UnspecifiedState + * The state is unspecified and has not been checked yet. (Value: + * "UNSPECIFIED_STATE") + */ +@property(nonatomic, copy, nullable) NSString *cloudApiAccessFullScopesGranted; + +/** Output only. The error message for the agent configuration if invalid. */ +@property(nonatomic, copy, nullable) NSString *configurationErrorMessage; + +/** Output only. The path to the agent configuration file. */ +@property(nonatomic, copy, nullable) NSString *configurationFilePath; + +/** + * Output only. Whether the agent configuration is valid. + * + * Likely values: + * @arg @c kGTLRWorkloadManager_AgentStatus_ConfigurationValid_ErrorState + * There was an internal error while checking the state, state is + * unknown. (Value: "ERROR_STATE") + * @arg @c kGTLRWorkloadManager_AgentStatus_ConfigurationValid_FailureState + * The state is failed (disabled, denied, not fully functional). (Value: + * "FAILURE_STATE") + * @arg @c kGTLRWorkloadManager_AgentStatus_ConfigurationValid_SuccessState + * The state is successful (enabled, granted, fully functional). (Value: + * "SUCCESS_STATE") + * @arg @c kGTLRWorkloadManager_AgentStatus_ConfigurationValid_UnspecifiedState + * The state is unspecified and has not been checked yet. (Value: + * "UNSPECIFIED_STATE") + */ +@property(nonatomic, copy, nullable) NSString *configurationValid; + +/** Output only. The installed version of the agent on the host. */ +@property(nonatomic, copy, nullable) NSString *installedVersion; + +/** Output only. The kernel version of the system. */ +@property(nonatomic, strong, nullable) GTLRWorkloadManager_SapDiscoveryResourceInstancePropertiesKernelVersion *kernelVersion; + +/** Output only. Optional references to public documentation. */ +@property(nonatomic, strong, nullable) NSArray *references; + +/** Output only. The services (process metrics, host metrics, etc.). */ +@property(nonatomic, strong, nullable) NSArray *services; + +/** + * Output only. Whether the agent service is enabled in systemd. + * + * Likely values: + * @arg @c kGTLRWorkloadManager_AgentStatus_SystemdServiceEnabled_ErrorState + * There was an internal error while checking the state, state is + * unknown. (Value: "ERROR_STATE") + * @arg @c kGTLRWorkloadManager_AgentStatus_SystemdServiceEnabled_FailureState + * The state is failed (disabled, denied, not fully functional). (Value: + * "FAILURE_STATE") + * @arg @c kGTLRWorkloadManager_AgentStatus_SystemdServiceEnabled_SuccessState + * The state is successful (enabled, granted, fully functional). (Value: + * "SUCCESS_STATE") + * @arg @c kGTLRWorkloadManager_AgentStatus_SystemdServiceEnabled_UnspecifiedState + * The state is unspecified and has not been checked yet. (Value: + * "UNSPECIFIED_STATE") + */ +@property(nonatomic, copy, nullable) NSString *systemdServiceEnabled; + +/** + * Output only. Whether the agent service is running in systemd. + * + * Likely values: + * @arg @c kGTLRWorkloadManager_AgentStatus_SystemdServiceRunning_ErrorState + * There was an internal error while checking the state, state is + * unknown. (Value: "ERROR_STATE") + * @arg @c kGTLRWorkloadManager_AgentStatus_SystemdServiceRunning_FailureState + * The state is failed (disabled, denied, not fully functional). (Value: + * "FAILURE_STATE") + * @arg @c kGTLRWorkloadManager_AgentStatus_SystemdServiceRunning_SuccessState + * The state is successful (enabled, granted, fully functional). (Value: + * "SUCCESS_STATE") + * @arg @c kGTLRWorkloadManager_AgentStatus_SystemdServiceRunning_UnspecifiedState + * The state is unspecified and has not been checked yet. (Value: + * "UNSPECIFIED_STATE") + */ +@property(nonatomic, copy, nullable) NSString *systemdServiceRunning; + +@end + + +/** + * The configuration value. + */ +@interface GTLRWorkloadManager_AgentStatusConfigValue : GTLRObject + +/** + * Output only. Whether the configuration value is the default value or + * overridden. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isDefault; + +/** Output only. The name of the configuration value. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. The value of the configuration value. */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + + +/** + * The IAM permission status. + */ +@interface GTLRWorkloadManager_AgentStatusIAMPermission : GTLRObject + +/** + * Output only. Whether the permission is granted. + * + * Likely values: + * @arg @c kGTLRWorkloadManager_AgentStatusIAMPermission_Granted_ErrorState + * There was an internal error while checking the state, state is + * unknown. (Value: "ERROR_STATE") + * @arg @c kGTLRWorkloadManager_AgentStatusIAMPermission_Granted_FailureState + * The state is failed (disabled, denied, not fully functional). (Value: + * "FAILURE_STATE") + * @arg @c kGTLRWorkloadManager_AgentStatusIAMPermission_Granted_SuccessState + * The state is successful (enabled, granted, fully functional). (Value: + * "SUCCESS_STATE") + * @arg @c kGTLRWorkloadManager_AgentStatusIAMPermission_Granted_UnspecifiedState + * The state is unspecified and has not been checked yet. (Value: + * "UNSPECIFIED_STATE") + */ +@property(nonatomic, copy, nullable) NSString *granted; + +/** Output only. The name of the permission. */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + +/** + * The reference to public documentation. + */ +@interface GTLRWorkloadManager_AgentStatusReference : GTLRObject + +/** Output only. The name of the reference. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. The URL of the reference. */ +@property(nonatomic, copy, nullable) NSString *url; + +@end + + +/** + * The status of a service (process metrics, host metrics, etc.). + */ +@interface GTLRWorkloadManager_AgentStatusServiceStatus : GTLRObject + +/** Output only. The configuration values for the service. */ +@property(nonatomic, strong, nullable) NSArray *configValues; + +/** + * Output only. The error message for the service if it is not fully + * functional. + */ +@property(nonatomic, copy, nullable) NSString *errorMessage; + +/** + * Output only. Whether the service is fully functional (all checks passed). + * + * Likely values: + * @arg @c kGTLRWorkloadManager_AgentStatusServiceStatus_FullyFunctional_ErrorState + * There was an internal error while checking the state, state is + * unknown. (Value: "ERROR_STATE") + * @arg @c kGTLRWorkloadManager_AgentStatusServiceStatus_FullyFunctional_FailureState + * The state is failed (disabled, denied, not fully functional). (Value: + * "FAILURE_STATE") + * @arg @c kGTLRWorkloadManager_AgentStatusServiceStatus_FullyFunctional_SuccessState + * The state is successful (enabled, granted, fully functional). (Value: + * "SUCCESS_STATE") + * @arg @c kGTLRWorkloadManager_AgentStatusServiceStatus_FullyFunctional_UnspecifiedState + * The state is unspecified and has not been checked yet. (Value: + * "UNSPECIFIED_STATE") + */ +@property(nonatomic, copy, nullable) NSString *fullyFunctional; + +/** Output only. The permissions required for the service. */ +@property(nonatomic, strong, nullable) NSArray *iamPermissions; + +/** Output only. The name of the service. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The state of the service (enabled or disabled in the + * configuration). + * + * Likely values: + * @arg @c kGTLRWorkloadManager_AgentStatusServiceStatus_State_ErrorState + * There was an internal error while checking the state, state is + * unknown. (Value: "ERROR_STATE") + * @arg @c kGTLRWorkloadManager_AgentStatusServiceStatus_State_FailureState + * The state is failed (disabled, denied, not fully functional). (Value: + * "FAILURE_STATE") + * @arg @c kGTLRWorkloadManager_AgentStatusServiceStatus_State_SuccessState + * The state is successful (enabled, granted, fully functional). (Value: + * "SUCCESS_STATE") + * @arg @c kGTLRWorkloadManager_AgentStatusServiceStatus_State_UnspecifiedState + * The state is unspecified and has not been checked yet. (Value: + * "UNSPECIFIED_STATE") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Output only. The message to display when the service state is unspecified. + */ +@property(nonatomic, copy, nullable) NSString *unspecifiedStateMessage; + +@end + + /** * Backup properties. */ @@ -1506,8 +1790,10 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_St */ @property(nonatomic, copy, nullable) NSString *state; +@property(nonatomic, strong, nullable) NSArray *subComponentHealthes GTLR_DEPRECATED; + /** Sub component health. */ -@property(nonatomic, strong, nullable) NSArray *subComponentHealthes; +@property(nonatomic, strong, nullable) NSArray *subComponentsHealth; @end @@ -1856,6 +2142,9 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_St */ @interface GTLRWorkloadManager_Insight : GTLRObject +/** The insights data for the agent status. */ +@property(nonatomic, strong, nullable) GTLRWorkloadManager_AgentStatus *agentStatus; + /** Required. The instance id where the insight is generated from */ @property(nonatomic, copy, nullable) NSString *instanceId; @@ -1880,52 +2169,6 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_St @end -/** - * a vm instance - */ -@interface GTLRWorkloadManager_Instance : GTLRObject - -/** Output only. name of the VM */ -@property(nonatomic, copy, nullable) NSString *name; - -/** Output only. The location of the VM */ -@property(nonatomic, copy, nullable) NSString *region; - -/** - * Output only. The state of the VM - * - * Likely values: - * @arg @c kGTLRWorkloadManager_Instance_Status_Deprovisioning The instance - * is in de-provisioning state. (Value: "DEPROVISIONING") - * @arg @c kGTLRWorkloadManager_Instance_Status_InstancestateUnspecified The - * Status of the VM is unspecified (Value: "INSTANCESTATE_UNSPECIFIED") - * @arg @c kGTLRWorkloadManager_Instance_Status_Provisioning Resources are - * being allocated for the instance. (Value: "PROVISIONING") - * @arg @c kGTLRWorkloadManager_Instance_Status_Repairing The instance is in - * repair. (Value: "REPAIRING") - * @arg @c kGTLRWorkloadManager_Instance_Status_Running The instance is - * running. (Value: "RUNNING") - * @arg @c kGTLRWorkloadManager_Instance_Status_Staging All required - * resources have been allocated and the instance is being started. - * (Value: "STAGING") - * @arg @c kGTLRWorkloadManager_Instance_Status_Stopped The instance has - * stopped due to various reasons (user request, VM preemption, project - * freezing, etc.). (Value: "STOPPED") - * @arg @c kGTLRWorkloadManager_Instance_Status_Stopping The instance is - * currently stopping (either being deleted or killed). (Value: - * "STOPPING") - * @arg @c kGTLRWorkloadManager_Instance_Status_Suspended The instance is - * suspended. (Value: "SUSPENDED") - * @arg @c kGTLRWorkloadManager_Instance_Status_Suspending The instance is - * suspending. (Value: "SUSPENDING") - * @arg @c kGTLRWorkloadManager_Instance_Status_Terminated The instance has - * failed in some way. (Value: "TERMINATED") - */ -@property(nonatomic, copy, nullable) NSString *status; - -@end - - /** * Instance Properties. */ @@ -1937,25 +2180,6 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_St /** Optional. Instance machine type. */ @property(nonatomic, copy, nullable) NSString *machineType; -/** - * Optional. Instance role. - * - * Likely values: - * @arg @c kGTLRWorkloadManager_InstanceProperties_Role_InstanceRoleAppServer - * APP server. (Value: "INSTANCE_ROLE_APP_SERVER") - * @arg @c kGTLRWorkloadManager_InstanceProperties_Role_InstanceRoleAscs ASCS - * role. (Value: "INSTANCE_ROLE_ASCS") - * @arg @c kGTLRWorkloadManager_InstanceProperties_Role_InstanceRoleErs ERS - * role. (Value: "INSTANCE_ROLE_ERS") - * @arg @c kGTLRWorkloadManager_InstanceProperties_Role_InstanceRoleHanaPrimary - * HANA primary role. (Value: "INSTANCE_ROLE_HANA_PRIMARY") - * @arg @c kGTLRWorkloadManager_InstanceProperties_Role_InstanceRoleHanaSecondary - * HANA secondary role. (Value: "INSTANCE_ROLE_HANA_SECONDARY") - * @arg @c kGTLRWorkloadManager_InstanceProperties_Role_InstanceRoleUnspecified - * Unspecified role. (Value: "INSTANCE_ROLE_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *role GTLR_DEPRECATED; - /** Optional. Instance roles. */ @property(nonatomic, strong, nullable) NSArray *roles; @@ -1971,26 +2195,6 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_St @end -/** - * The database layer - */ -@interface GTLRWorkloadManager_Layer : GTLRObject - -/** the application layer */ -@property(nonatomic, copy, nullable) NSString *applicationType; - -/** Optional. the database layer */ -@property(nonatomic, copy, nullable) NSString *databaseType; - -/** Optional. instances in a layer */ -@property(nonatomic, strong, nullable) NSArray *instances; - -/** Output only. system identification of a layer */ -@property(nonatomic, copy, nullable) NSString *sid; - -@end - - /** * List discovered profile Response returns discovered profiles from agents * @@ -3026,6 +3230,9 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_St */ @property(nonatomic, strong, nullable) NSNumber *isDrSite; +/** Optional. The kernel version of the instance. */ +@property(nonatomic, strong, nullable) GTLRWorkloadManager_SapDiscoveryResourceInstancePropertiesKernelVersion *osKernelVersion; + /** Optional. A virtual hostname of the instance if it has one. */ @property(nonatomic, copy, nullable) NSString *virtualHostname; @@ -3063,6 +3270,71 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_St @end +/** + * KernelVersion encapsulates the kernel version data for the system. + */ +@interface GTLRWorkloadManager_SapDiscoveryResourceInstancePropertiesKernelVersion : GTLRObject + +/** + * Optional. Captures the distro-specific kernel version, the portion of the + * string following the first dash. + */ +@property(nonatomic, strong, nullable) GTLRWorkloadManager_SapDiscoveryResourceInstancePropertiesKernelVersionVersion *distroKernel; + +/** + * Optional. Captures the OS-specific kernel version, the portion of the string + * up to the first dash. + */ +@property(nonatomic, strong, nullable) GTLRWorkloadManager_SapDiscoveryResourceInstancePropertiesKernelVersionVersion *osKernel; + +/** Optional. Raw string of the kernel version. */ +@property(nonatomic, copy, nullable) NSString *rawString; + +@end + + +/** + * Version is reported as Major.Minor.Build.Patch. + */ +@interface GTLRWorkloadManager_SapDiscoveryResourceInstancePropertiesKernelVersionVersion : GTLRObject + +/** + * Optional. The build version number. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *build; + +/** + * Optional. The major version number. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *major; + +/** + * Optional. The minor version number. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minor; + +/** + * Optional. The patch version number. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *patch; + +/** + * Optional. A catch-all for any unparsed version components. This is in case + * the number of points in the version string exceeds the expected count of 4. + */ +@property(nonatomic, copy, nullable) NSString *remainder; + +@end + + /** * A set of properties describing an SAP workload. */ @@ -3599,15 +3871,6 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_St */ @interface GTLRWorkloadManager_WorkloadProfile : GTLRObject -/** Optional. The application layer */ -@property(nonatomic, strong, nullable) GTLRWorkloadManager_Layer *application GTLR_DEPRECATED; - -/** Optional. The ascs layer */ -@property(nonatomic, strong, nullable) GTLRWorkloadManager_Layer *ascs GTLR_DEPRECATED; - -/** Optional. The database layer */ -@property(nonatomic, strong, nullable) GTLRWorkloadManager_Layer *database GTLR_DEPRECATED; - /** * Optional. such as name, description, version. More example can be found in * deployment @@ -3616,7 +3879,7 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_St /** * Identifier. name of resource names have the form - * 'projects/{project_id}/workloads/{workload_id}' + * 'projects/{project_id}/locations/{location}/workloadProfiles/{workload_id}' */ @property(nonatomic, copy, nullable) NSString *name; @@ -3626,33 +3889,12 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_St /** The sap workload content */ @property(nonatomic, strong, nullable) GTLRWorkloadManager_SapWorkload *sapWorkload; -/** - * Output only. [output only] the current state if a a workload - * - * Likely values: - * @arg @c kGTLRWorkloadManager_WorkloadProfile_State_Active ACTIVE state - * (Value: "ACTIVE") - * @arg @c kGTLRWorkloadManager_WorkloadProfile_State_Deploying workload is - * in Deploying state (Value: "DEPLOYING") - * @arg @c kGTLRWorkloadManager_WorkloadProfile_State_Destroying The workload - * is in Destroying state (Value: "DESTROYING") - * @arg @c kGTLRWorkloadManager_WorkloadProfile_State_Maintenance The - * Workload is undermaintance (Value: "MAINTENANCE") - * @arg @c kGTLRWorkloadManager_WorkloadProfile_State_StateUnspecified - * unspecified (Value: "STATE_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *state GTLR_DEPRECATED; - /** * Required. The type of the workload * * Likely values: * @arg @c kGTLRWorkloadManager_WorkloadProfile_WorkloadType_S4Hana running * sap workload s4/hana (Value: "S4_HANA") - * @arg @c kGTLRWorkloadManager_WorkloadProfile_WorkloadType_SqlServer - * running sqlserver workload (Value: "SQL_SERVER") - * @arg @c kGTLRWorkloadManager_WorkloadProfile_WorkloadType_ThreeTierWebApp - * running 3 tier web app workload (Value: "THREE_TIER_WEB_APP") * @arg @c kGTLRWorkloadManager_WorkloadProfile_WorkloadType_WorkloadTypeUnspecified * unspecified workload type (Value: "WORKLOAD_TYPE_UNSPECIFIED") */ @@ -3682,8 +3924,10 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_St /** The time when the health check was performed. */ @property(nonatomic, strong, nullable) GTLRDateTime *checkTime; +@property(nonatomic, strong, nullable) NSArray *componentHealthes GTLR_DEPRECATED; + /** The detailed condition reports of each component. */ -@property(nonatomic, strong, nullable) NSArray *componentHealthes; +@property(nonatomic, strong, nullable) NSArray *componentsHealth; /** * Output only. The health state of the workload. diff --git a/Sources/GeneratedServices/WorkspaceEvents/GTLRWorkspaceEventsService.m b/Sources/GeneratedServices/WorkspaceEvents/GTLRWorkspaceEventsService.m index 84cb11525..711d08a14 100644 --- a/Sources/GeneratedServices/WorkspaceEvents/GTLRWorkspaceEventsService.m +++ b/Sources/GeneratedServices/WorkspaceEvents/GTLRWorkspaceEventsService.m @@ -14,6 +14,8 @@ // ---------------------------------------------------------------------------- // Authorization scopes +NSString * const kGTLRAuthScopeWorkspaceEventsChatAppMemberships = @"https://www.googleapis.com/auth/chat.app.memberships"; +NSString * const kGTLRAuthScopeWorkspaceEventsChatAppSpaces = @"https://www.googleapis.com/auth/chat.app.spaces"; NSString * const kGTLRAuthScopeWorkspaceEventsChatBot = @"https://www.googleapis.com/auth/chat.bot"; NSString * const kGTLRAuthScopeWorkspaceEventsChatMemberships = @"https://www.googleapis.com/auth/chat.memberships"; NSString * const kGTLRAuthScopeWorkspaceEventsChatMembershipsReadonly = @"https://www.googleapis.com/auth/chat.memberships.readonly"; diff --git a/Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEventsQuery.h b/Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEventsQuery.h index 6a2d4eda7..f48fa5aff 100644 --- a/Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEventsQuery.h +++ b/Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEventsQuery.h @@ -87,6 +87,8 @@ NS_ASSUME_NONNULL_BEGIN * Method: workspaceevents.subscriptions.create * * Authorization scope(s): + * @c kGTLRAuthScopeWorkspaceEventsChatAppMemberships + * @c kGTLRAuthScopeWorkspaceEventsChatAppSpaces * @c kGTLRAuthScopeWorkspaceEventsChatMemberships * @c kGTLRAuthScopeWorkspaceEventsChatMembershipsReadonly * @c kGTLRAuthScopeWorkspaceEventsChatMessages @@ -329,6 +331,8 @@ NS_ASSUME_NONNULL_BEGIN * Method: workspaceevents.subscriptions.patch * * Authorization scope(s): + * @c kGTLRAuthScopeWorkspaceEventsChatAppMemberships + * @c kGTLRAuthScopeWorkspaceEventsChatAppSpaces * @c kGTLRAuthScopeWorkspaceEventsChatMemberships * @c kGTLRAuthScopeWorkspaceEventsChatMembershipsReadonly * @c kGTLRAuthScopeWorkspaceEventsChatMessages @@ -358,9 +362,9 @@ NS_ASSUME_NONNULL_BEGIN * the request. You can update one of the following fields in a subscription: * * `expire_time`: The timestamp when the subscription expires. * `ttl`: The * time-to-live (TTL) or duration of the subscription. * `event_types`: The - * list of event types to receive about the target resource. To fully replace - * the subscription (the equivalent of `PUT`), use `*`. Any omitted fields are - * updated with empty values. + * list of event types to receive about the target resource. When using the `*` + * wildcard (equivalent to `PUT`), omitted fields are set to empty values and + * rejected if they're invalid. * * String format is a comma-separated list of fields. */ @@ -402,6 +406,8 @@ NS_ASSUME_NONNULL_BEGIN * Method: workspaceevents.subscriptions.reactivate * * Authorization scope(s): + * @c kGTLRAuthScopeWorkspaceEventsChatAppMemberships + * @c kGTLRAuthScopeWorkspaceEventsChatAppSpaces * @c kGTLRAuthScopeWorkspaceEventsChatMemberships * @c kGTLRAuthScopeWorkspaceEventsChatMembershipsReadonly * @c kGTLRAuthScopeWorkspaceEventsChatMessages diff --git a/Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEventsService.h b/Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEventsService.h index c3cb65583..97483b8e5 100644 --- a/Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEventsService.h +++ b/Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEventsService.h @@ -25,6 +25,21 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Authorization scopes +/** + * 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 kGTLRAuthScopeWorkspaceEventsChatAppMemberships; +/** + * 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 kGTLRAuthScopeWorkspaceEventsChatAppSpaces; /** * Authorization scope: Private Service: * https://www.googleapis.com/auth/chat.bot diff --git a/Tools/GenerateCheckedInServices-message_filter.json b/Tools/GenerateCheckedInServices-message_filter.json index 013f2a1b9..a0f68014f 100644 --- a/Tools/GenerateCheckedInServices-message_filter.json +++ b/Tools/GenerateCheckedInServices-message_filter.json @@ -36,5 +36,6 @@ "Won't add the kind 'compute#interconnectAttachmentGroup' to the kind registry: it is used on multiple schema: InterconnectAttachmentGroup, InterconnectAttachmentGroupsListResponse", "Won't add the kind 'compute#metadata' to the kind registry: it is used on multiple schema: InstanceSettingsMetadata, Metadata", "Won't add the kind 'compute#reservationBlock' to the kind registry: it is used on multiple schema: ReservationBlock, ReservationBlocksListResponse", + "Won't add the kind 'compute#reservationSubBlock' to the kind registry: it is used on multiple schema: ReservationSubBlock, ReservationSubBlocksListResponse", ] } From ce724abbb44ee44e16eee32cd4bb1c891f25ed9d Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Mon, 7 Jul 2025 12:42:23 -0400 Subject: [PATCH 5/7] Bump the min versions to match what Firebase will do for version 12. https://github.com/firebase/firebase-ios-sdk/blob/main/FirebaseCore/CHANGELOG.md#unreleased --- GoogleAPIClientForREST.podspec | 9 +++++---- Package.swift | 8 ++++---- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/GoogleAPIClientForREST.podspec b/GoogleAPIClientForREST.podspec index 05feb0f38..570a69e0e 100644 --- a/GoogleAPIClientForREST.podspec +++ b/GoogleAPIClientForREST.podspec @@ -12,16 +12,17 @@ Pod::Spec.new do |s| framework for accessing JSON REST APIs. This is the recommended library for accessing JSON-based Google APIs for iOS, OS X, and tvOS applications. - This version can be used with iOS ≥ 10.0, OS X ≥ 10.12, tvOS ≥ 10.0, watchOS ≥ 6.0. + This version can be used with iOS ≥ 15.0, OS X ≥ 10.15, tvOS ≥ 15.0, visionOS ≥ 1.0, + watchOS ≥ 7.0. DESC # Ensure developers won't hit CocoaPods/CocoaPods#11402 with the resource # bundle for the privacy manifest. s.cocoapods_version = '>= 1.12.0' - ios_deployment_target = '12.0' + ios_deployment_target = '15.0' osx_deployment_target = '10.15' - tvos_deployment_target = '13.0' + tvos_deployment_target = '15.0' visionos_deployment_target = '1.0' watchos_deployment_target = '7.0' @@ -31,7 +32,7 @@ Pod::Spec.new do |s| s.visionos.deployment_target = visionos_deployment_target s.watchos.deployment_target = watchos_deployment_target - s.dependency 'GTMSessionFetcher/Full', '>= 1.6.1', '< 5.0' + s.dependency 'GTMSessionFetcher/Full', '>= 1.6.1', '< 6.0' s.prefix_header_file = false diff --git a/Package.swift b/Package.swift index 5f192adc3..3e3b0c719 100644 --- a/Package.swift +++ b/Package.swift @@ -1,13 +1,13 @@ -// swift-tools-version:5.3 +// swift-tools-version:5.8 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription let package = Package( name: "GoogleAPIClientForREST", platforms: [ - .iOS(.v12), + .iOS(.v15), .macOS(.v10_15), - .tvOS(.v13), + .tvOS(.v15), .watchOS(.v7) ], products: [ @@ -1224,7 +1224,7 @@ let package = Package( // End of products. ], dependencies: [ - .package(url: "https://github.com/google/gtm-session-fetcher.git", "1.6.1" ..< "5.0.0"), + .package(url: "https://github.com/google/gtm-session-fetcher.git", "1.6.1" ..< "6.0.0"), ], targets: [ .target( From c3bd80eeb32fbb2998bf52ba23c58234ae7af046 Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Mon, 7 Jul 2025 13:13:54 -0400 Subject: [PATCH 6/7] Remove some `@available` checks that are no long needed. --- UnitTests/GTLRErrorObjectTest.m | 90 ++++++++-------- UnitTests/GTLRObjectTest.m | 175 +++++++++++++++----------------- 2 files changed, 124 insertions(+), 141 deletions(-) diff --git a/UnitTests/GTLRErrorObjectTest.m b/UnitTests/GTLRErrorObjectTest.m index 68c579f2d..f4ec239e5 100644 --- a/UnitTests/GTLRErrorObjectTest.m +++ b/UnitTests/GTLRErrorObjectTest.m @@ -121,54 +121,50 @@ - (void)testObjectCoding { // Make sure the underlying JSON support didn't get busted. - if (@available(macOS 10.13, iOS 11.0, tvOS 11.0, *)) { - GTLRErrorObject *obj = [GTLRErrorObject object]; - obj.code = @123; - obj.message = @"A message"; - - NSError *err; - NSData *data = [NSKeyedArchiver archivedDataWithRootObject:obj - requiringSecureCoding:YES - error:&err]; - XCTAssertNil(err); - XCTAssertTrue(data.length > 0); - - NSSet *classes = [NSSet setWithArray:@[ [GTLRErrorObject class], - [NSString class] ]]; - GTLRErrorObject *obj2 = - [NSKeyedUnarchiver unarchivedObjectOfClasses:classes - fromData:data + GTLRErrorObject *obj = [GTLRErrorObject object]; + obj.code = @123; + obj.message = @"A message"; + + NSError *err; + NSData *data = [NSKeyedArchiver archivedDataWithRootObject:obj + requiringSecureCoding:YES + error:&err]; + XCTAssertNil(err); + XCTAssertTrue(data.length > 0); + + NSSet *classes = [NSSet setWithArray:@[ [GTLRErrorObject class], + [NSString class] ]]; + GTLRErrorObject *obj2 = + [NSKeyedUnarchiver unarchivedObjectOfClasses:classes + fromData:data + error:&err]; + XCTAssertNil(err); + XCTAssertNotNil(obj2); + XCTAssertNotEqual(obj, obj2); // Pointer compare + XCTAssertEqualObjects(obj, obj2); + + // Test with a foundation error. + + err = [NSError errorWithDomain:@"my.domain" + code:111 + userInfo:nil]; + obj = [GTLRErrorObject objectWithFoundationError:err]; + + err = nil; + data = [NSKeyedArchiver archivedDataWithRootObject:obj + requiringSecureCoding:YES error:&err]; - XCTAssertNil(err); - XCTAssertNotNil(obj2); - XCTAssertNotEqual(obj, obj2); // Pointer compare - XCTAssertEqualObjects(obj, obj2); - - // Test with a foundation error. - - err = [NSError errorWithDomain:@"my.domain" - code:111 - userInfo:nil]; - obj = [GTLRErrorObject objectWithFoundationError:err]; - - err = nil; - data = [NSKeyedArchiver archivedDataWithRootObject:obj - requiringSecureCoding:YES - error:&err]; - XCTAssertNil(err); - XCTAssertTrue(data.length > 0); - - err = nil; - obj2 = [NSKeyedUnarchiver unarchivedObjectOfClass:[GTLRErrorObject class] - fromData:data - error:&err]; - XCTAssertNil(err); - XCTAssertNotNil(obj2); - XCTAssertNotEqual(obj, obj2); // Pointer compare. - XCTAssertEqualObjects(obj, obj2); - } else { - XCTFail("use a newer test device"); - } + XCTAssertNil(err); + XCTAssertTrue(data.length > 0); + + err = nil; + obj2 = [NSKeyedUnarchiver unarchivedObjectOfClass:[GTLRErrorObject class] + fromData:data + error:&err]; + XCTAssertNil(err); + XCTAssertNotNil(obj2); + XCTAssertNotEqual(obj, obj2); // Pointer compare. + XCTAssertEqualObjects(obj, obj2); } @end diff --git a/UnitTests/GTLRObjectTest.m b/UnitTests/GTLRObjectTest.m index 4aa125c34..2eb933c7e 100644 --- a/UnitTests/GTLRObjectTest.m +++ b/UnitTests/GTLRObjectTest.m @@ -288,23 +288,18 @@ - (void)testSetBasicTypes { } - (GTLRTestingObject *)objectFromRoundTripArchiveDearchiveWithObject:(GTLRTestingObject *)obj { - if (@available(macOS 10.13, iOS 11.0, tvOS 11.0, *)) { - NSError *err; - NSData *data = - [NSKeyedArchiver archivedDataWithRootObject:obj - requiringSecureCoding:YES - error:&err]; - XCTAssertNil(err); - GTLRTestingObject *obj2 = - [NSKeyedUnarchiver unarchivedObjectOfClass:[obj class] - fromData:data - error:&err]; - XCTAssertNil(err); - return obj2; - } else { - XCTFail("use a newer test device"); - return nil; - } + NSError *err; + NSData *data = + [NSKeyedArchiver archivedDataWithRootObject:obj + requiringSecureCoding:YES + error:&err]; + XCTAssertNil(err); + GTLRTestingObject *obj2 = + [NSKeyedUnarchiver unarchivedObjectOfClass:[obj class] + fromData:data + error:&err]; + XCTAssertNil(err); + return obj2; } - (void)testSecureCodingEmptyObject { @@ -1671,88 +1666,80 @@ - (void)testObjectCoding { XCTAssertTrue([GTLRObject supportsSecureCoding]); XCTAssertTrue([GTLRTestingObject supportsSecureCoding]); - if (@available(macOS 10.13, iOS 11.0, tvOS 11.0, *)) { - GTLRTestingObject *obj = [GTLRTestingObject object]; - obj.aStr = @"a string"; - obj.aNum = @123; - obj.aBool = @YES; - - NSError *err = nil; - NSData *data = - [NSKeyedArchiver archivedDataWithRootObject:obj - requiringSecureCoding:YES - error:&err]; - XCTAssertNil(err); - XCTAssertTrue(data.length > 0); - - GTLRTestingObject *obj2 = - [NSKeyedUnarchiver unarchivedObjectOfClass:[GTLRTestingObject class] - fromData:data - error:&err]; - XCTAssertNil(err); - XCTAssertNotNil(obj2); - XCTAssertNotEqual(obj, obj2); // Pointer compare - XCTAssertEqualObjects(obj, obj2); - } else { - XCTFail("use a newer test device"); - } + GTLRTestingObject *obj = [GTLRTestingObject object]; + obj.aStr = @"a string"; + obj.aNum = @123; + obj.aBool = @YES; + + NSError *err = nil; + NSData *data = + [NSKeyedArchiver archivedDataWithRootObject:obj + requiringSecureCoding:YES + error:&err]; + XCTAssertNil(err); + XCTAssertTrue(data.length > 0); + + GTLRTestingObject *obj2 = + [NSKeyedUnarchiver unarchivedObjectOfClass:[GTLRTestingObject class] + fromData:data + error:&err]; + XCTAssertNil(err); + XCTAssertNotNil(obj2); + XCTAssertNotEqual(obj, obj2); // Pointer compare + XCTAssertEqualObjects(obj, obj2); } - (void)testBatchResultCoding { XCTAssertTrue([GTLRBatchResult supportsSecureCoding]); - if (@available(macOS 10.13, iOS 11.0, tvOS 11.0, *)) { - GTLRTestingObject *obj = [GTLRTestingObject object]; - obj.aStr = @"a string"; - obj.aNum = @123; - obj.aBool = @YES; - - GTLRErrorObject *err = [GTLRErrorObject object]; - err.code = @101; - err.message = @"My Error"; - - NSDictionary *responseHeaders = @{ - @"key1" : @{ - @"X-Header1" : @"Value1", - @"X-Header2" : @"Value2", - }, - @"key2" : @{ - @"X-Header3" : @"Value4", - @"X-Header4" : @"Value3", - }, - }; - - GTLRBatchResult *result = [GTLRBatchResult object]; - result.successes = @{ @"key2" : obj }; - result.failures = @{ @"key1" : err }; - result.responseHeaders = responseHeaders; - - NSError *error = nil; - NSData *data = - [NSKeyedArchiver archivedDataWithRootObject:result - requiringSecureCoding:YES - error:&error]; - XCTAssertNil(error); - XCTAssertTrue(data.length > 0); - - GTLRBatchResult *result2 = - [NSKeyedUnarchiver unarchivedObjectOfClass:[GTLRBatchResult class] - fromData:data - error:&error]; - XCTAssertNil(error); - XCTAssertNotNil(result2); - XCTAssertNotEqual(result, result2); // Pointer compare. - XCTAssertNotEqual(result.successes, result2.successes); // Pointer compare. - XCTAssertNotEqual(result.failures, result2.failures); // Pointer compare. - XCTAssertNotEqual(result.responseHeaders, result2.responseHeaders); // Pointer compare. - XCTAssertNotEqual(result, result2); // Pointer compare. - XCTAssertEqualObjects(result, result2); - XCTAssertEqualObjects(result.successes, result2.successes); - XCTAssertEqualObjects(result.failures, result2.failures); - XCTAssertEqualObjects(result.responseHeaders, result2.responseHeaders); - } else { - XCTFail("use a newer test device"); - } + GTLRTestingObject *obj = [GTLRTestingObject object]; + obj.aStr = @"a string"; + obj.aNum = @123; + obj.aBool = @YES; + + GTLRErrorObject *err = [GTLRErrorObject object]; + err.code = @101; + err.message = @"My Error"; + + NSDictionary *responseHeaders = @{ + @"key1" : @{ + @"X-Header1" : @"Value1", + @"X-Header2" : @"Value2", + }, + @"key2" : @{ + @"X-Header3" : @"Value4", + @"X-Header4" : @"Value3", + }, + }; + + GTLRBatchResult *result = [GTLRBatchResult object]; + result.successes = @{ @"key2" : obj }; + result.failures = @{ @"key1" : err }; + result.responseHeaders = responseHeaders; + + NSError *error = nil; + NSData *data = + [NSKeyedArchiver archivedDataWithRootObject:result + requiringSecureCoding:YES + error:&error]; + XCTAssertNil(error); + XCTAssertTrue(data.length > 0); + + GTLRBatchResult *result2 = + [NSKeyedUnarchiver unarchivedObjectOfClass:[GTLRBatchResult class] + fromData:data + error:&error]; + XCTAssertNil(error); + XCTAssertNotNil(result2); + XCTAssertNotEqual(result, result2); // Pointer compare. + XCTAssertNotEqual(result.successes, result2.successes); // Pointer compare. + XCTAssertNotEqual(result.failures, result2.failures); // Pointer compare. + XCTAssertNotEqual(result.responseHeaders, result2.responseHeaders); // Pointer compare. + XCTAssertNotEqual(result, result2); // Pointer compare. + XCTAssertEqualObjects(result, result2); + XCTAssertEqualObjects(result.successes, result2.successes); + XCTAssertEqualObjects(result.failures, result2.failures); + XCTAssertEqualObjects(result.responseHeaders, result2.responseHeaders); } #pragma mark NSObject description From 3981beeb0ece282c6ed8e965cbb5b1bccfbe1543 Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Mon, 7 Jul 2025 15:22:17 -0400 Subject: [PATCH 7/7] Version bump to prepare for a release. Will be a major version bump to cover both the changes to some of the min OS versions. There are no api changes to the runtime library itself. --- GoogleAPIClientForREST.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GoogleAPIClientForREST.podspec b/GoogleAPIClientForREST.podspec index 570a69e0e..37c0d1107 100644 --- a/GoogleAPIClientForREST.podspec +++ b/GoogleAPIClientForREST.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'GoogleAPIClientForREST' - s.version = '4.2.0' + s.version = '5.0.0' s.author = 'Google Inc.' s.homepage = 'https://github.com/google/google-api-objectivec-client-for-rest' s.license = { :type => 'Apache', :file => 'LICENSE' }